/* ---------------------------------------------------------------------------
   Mirage — colour variables over the Webflow export.

   Every colour the export hard-codes is mapped here onto a `--m-*` variable. The
   values are set once, in the :root block below.

   Each rule is prefixed with `html` so it outranks the export's own selector
   without !important. Decorative one-offs (the flip-cube colours, the menu
   button disc) are left as they are.

   Variables:
     --m-page / --m-paper / --m-paper2                  light grounds
     --m-ink / --m-muted / --m-line                     text and rules on light
     --m-signal / --m-signal-text / --m-on-signal / --m-link   the one highlight
     --m-deep / --m-deep-a                              dark sections and the footer
     --m-on-deep / --m-on-deep-muted                    text on dark
     --m-support                                        secondary colour
     --m-dusk                                           the footer's dusk
   --------------------------------------------------------------------------- */

:root {
  --m-page: #EFEEF0;
  --m-paper: #EFEEF0;
  --m-paper2: #E0DFE2;
  --m-line: #CEC9D0;
  --m-ink: #17101C;
  --m-muted: #6F6973;
  --m-muted-2: #6F6973;
  --m-signal: #FF7A35;
  --m-signal-text: #AE4F1C;
  --m-link: #AE4F1C;
  --m-on-signal: #17101C;
  --m-support: #4F334F;
  --m-deep: #17101C;
  --m-deep-a: #130D17;
  --m-on-deep: #EFEEF0;
  --m-on-deep-muted: #A09DA3;
  --m-dusk: linear-gradient(180deg, #EFEEF0 0%, #E8D2CB 22%, #C77A80 46%, #5A2A5E 72%, #2E1832 84.6%, #1A101E 93%, #130D17 100%);
}

/* The export's own variables follow the concept too. */
:root {
  --green-yellow: var(--m-signal);
  --black: var(--m-ink);
  --dark-grey: var(--m-muted);
  --white-smoke: var(--m-paper2);
  --grey: var(--m-muted);
}

/* --- Light grounds, with the pattern on top ---------------------------------- */

html body,
html .page-wrapper {
  background-color: var(--m-page);
  color: var(--m-ink);
}

html .page-wrapper,
html .section,
html .section-3,
html .content-section {
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

html .page-wrapper {
  background-color: var(--m-page);
}

html .section.bg-green {
  background-color: var(--m-signal);
}

/* --- Dark grounds ---------------------------------------------------------- */

html .footer-wrapper,
html .section.footer-black,
html .section.bg-footer,
html .nav-items-bg,
html .nav-pop-01,
html .nav-close {
  background-color: var(--m-deep);
}

/* --- Text on light ----------------------------------------------------------- */

html .uppercase-small,
html .heading-xxlarge-2,
html .heading-xxlarge-2.atoro,
html .heading-xxlarge-2.remoto,
html .heading-xxlarge-2.phakki,
html .heading-medium-2,
html .heading-medium-2.left,
html .nav-link-large {
  color: var(--m-ink);
}

html .uppercase-small.gray,
html .inline-link.gray {
  color: var(--m-muted);
}

html .inline-link {
  color: var(--m-link);
}

html .inline-link:hover {
  border-bottom-color: var(--m-ink);
}

/* --- The highlight ----------------------------------------------------------- */

html .nav-pop-02 {
  background-color: var(--m-signal);
}

/* --- Typography --------------------------------------------------------------
   Unbounded for display, DM Sans for text.
   Unbounded is roughly twice as wide as Big Shoulders, so every display style
   gets its own size here rather than inheriting the condensed one. */

/* The faces come from next/font (app/(frontend)/layout.tsx); DM Sans is two files, one per range.
   Inter is named bare too: the Webflow sheet declares Inter faces of its own, tried ahead of Google's. */
:root {
  --m-font-display: var(--font-unbounded), "Arial Black", sans-serif;
  --m-font-body: var(--font-dm-sans), var(--font-dm-sans-ext), Inter, var(--font-inter), system-ui, sans-serif;
}

/* --- Spacing ------------------------------------------------------------------
   One gutter and one section rhythm for every page: content sits --m-gutter in
   from the sides, and a section keeps --m-section-y above and below its content. */

:root {
  --m-gutter: 45px;
  --m-section-y: 140px;
}

/* --- Motion -------------------------------------------------------------------
   One curve for the site's interface motion: quick to leave, long soft landing.
   Colour and opacity changes take --m-fast; things that travel take --m-move. */

:root {
  --m-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --m-fast: 0.25s;
  --m-move: 0.5s;
}

/* --- Links --------------------------------------------------------------------
   Every text control (nav links, footer links, the text link) shares one keyboard
   ring, and reaches a 44px-tall target without changing the layout around it. */

:is(.mirage-quicknav__link, .mirage-footer__bar a, .mw-link)::after {
  content: "";
  position: absolute;
  inset: -14px -10px;
}

a.mw-link::after {
  inset: -11px -6px;
}

@media (max-width: 759px) {
  :root {
    --m-gutter: 20px;
    --m-section-y: 96px;
  }
}

html body,
html .inline-link,
html .uppercase-small,
html .uppercase-small.mono {
  font-family: var(--m-font-body);
}

html .heading-xxlarge-2,
html .heading-medium-2,
html .heading-medium-2.left,
html .nav-link-large {
  font-family: var(--m-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* The About statement, the call to action and the section headings. */
html .heading-medium-2,
html .heading-medium-2.left {
  font-size: clamp(26px, 4.4vw, calc(76px * var(--m-k, 1)));
  line-height: 1.04;
}

/* Featured project titles. */
html .heading-xxlarge-2 {
  font-size: clamp(40px, 10vw, calc(190px * var(--m-k, 1)));
}

/* The full-screen menu. */
html .nav-link-large {
  font-size: clamp(30px, 5.4vw, calc(88px * var(--m-k, 1)));
}

/* ---------------------------------------------------------------------------
   Navbar glass (components/Navbar.tsx). A progressive blur in the manner of
   studiomirage.io: five backdrop blurs, strongest at the top, each faded out
   further down, under a tint that follows the section behind the bar. AdaptiveLogo
   adds `is-dark-theme` to the bar over dark sections.
   --------------------------------------------------------------------------- */

.mirage-glass,
.mirage-quicknav {
  display: none;
}

html .mirage-glass {
  position: absolute;
  inset: 0 0 -24px;
  z-index: 0;
  display: block;
  pointer-events: none;
  transition: opacity 0.3s ease;
  --glass-tint: color-mix(in srgb, var(--m-paper) 62%, transparent);
}

html .navbar-version-01.is-dark-theme .mirage-glass {
  --glass-tint: color-mix(in srgb, var(--m-deep) 55%, transparent);
}

.mirage-glass span,
.mirage-glass b,
.mirage-glass i {
  position: absolute;
  inset: 0;
}

.mirage-glass__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* The liquid lens: two slow sine swells crossing each other bend the backdrop both ways. It
   is still; content moving through it is what flows. The filter itself eases the bend away
   at the bar's lower edge and the screen sides. */
.mirage-glass b {
  -webkit-backdrop-filter: url(#mirage-glass-haze);
  backdrop-filter: url(#mirage-glass-haze);
}

.mirage-glass span:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); }
.mirage-glass span:nth-child(2) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask-image: linear-gradient(#000 0%, #000 45%, transparent 88%); mask-image: linear-gradient(#000 0%, #000 45%, transparent 88%); }
.mirage-glass span:nth-child(3) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask-image: linear-gradient(#000 0%, #000 35%, transparent 75%); mask-image: linear-gradient(#000 0%, #000 35%, transparent 75%); }
.mirage-glass span:nth-child(4) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(#000 0%, #000 22%, transparent 60%); mask-image: linear-gradient(#000 0%, #000 22%, transparent 60%); }
.mirage-glass span:nth-child(5) { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask-image: linear-gradient(#000 0%, #000 10%, transparent 45%); mask-image: linear-gradient(#000 0%, #000 10%, transparent 45%); }

.mirage-glass i {
  background: linear-gradient(180deg, var(--glass-tint) 0%, transparent 100%);
  transition: background 0.35s ease;
}

/* The full-screen menu covers everything; the glass steps aside. */
.navbar-version-01:has(.w-nav-button.w--open) .mirage-glass,
.navbar-version-01:has(.w-nav-button.w--open) .mirage-quicknav {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Quick links take the menu button's place, centred on the logo (61px down). */
html .mirage-quicknav {
  position: fixed;
  top: calc(54px * var(--m-k, 1));
  right: calc(45px * var(--m-k, 1));
  z-index: 96;
  display: flex;
  align-items: center;
  gap: calc(30px * var(--m-k, 1));
  pointer-events: auto;
  transition: opacity var(--m-fast) var(--m-ease);
}

.mirage-quicknav__link {
  font: 700 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-ink);
  text-decoration: none;
  transition: color var(--m-fast) var(--m-ease), opacity var(--m-fast) var(--m-ease);
}

/* The page you're on (2026-11-01; the nav didn't show it): its link carries one short signal line
   under it, the brand's "light and line". The full menu's link takes it too. */
.mirage-quicknav__link[aria-current="page"]::before,
.nav-link-large[aria-current="page"]::before,
.mirage-phonemenu__link[aria-current="page"] span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: calc(16px * var(--m-k, 1));
  height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--m-signal);
}

.nav-link-large[aria-current="page"] {
  position: relative;
}

.nav-link-large[aria-current="page"]::before,
.mirage-phonemenu__link[aria-current="page"] span::before {
  left: 0;
  bottom: -6px;
  width: calc(28px * var(--m-k, 1));
  margin-left: 0;
}

/* Hover: the wave roll (see "Hover interactions" near the end). The new row arrives in the accent. */
.mirage-quicknav__link {
  --m-roll-accent: var(--m-signal-text);
  position: relative;
  display: inline-block;
}

.navbar-version-01.is-dark-theme .mirage-quicknav__link {
  --m-roll-accent: var(--m-signal);
}

.navbar-version-01.is-dark-theme .mirage-quicknav__link {
  color: var(--m-on-deep);
}

.mirage-quicknav a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Scrolling down tucks the bar away; scrolling up brings it back (components/NavAutoHide.tsx).
   The logo, links and menu button are fixed inside the bar, and a transformed bar
   carries them with it. The transform only exists while tucked or sliding, so the
   full-screen menu, which also lives in the bar, still covers the whole screen. */
html .navbar-version-01 {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html .navbar-version-01.is-tucked {
  transform: translateY(-140%);
}

@media (prefers-reduced-motion: reduce) {
  html .navbar-version-01 {
    transition: none;
  }
}

/* The quick links replace the menu button at every width. */
html .navbar-version-01 .w-nav-button,
html .navbar-version-01 .nav-wrapper-pop-up {
  display: none !important;
}

/* From tablets up the quick links replace the menu button. */
@media (min-width: 768px) {
  html .navbar-version-01 .w-nav-button,
  html .navbar-version-01 .nav-wrapper-pop-up {
    display: none !important;
  }
}

/* Phones: the logo is 40px and sits 20px from the top and side, so the links follow it. */
@media (max-width: 767px) {
  html .mirage-quicknav {
    top: calc(33px * var(--m-k, 1));
    right: calc(20px * var(--m-k, 1));
    gap: calc(14px * var(--m-k, 1));
  }

  html .mirage-quicknav__link {
    font-size: calc(11px * var(--m-k, 1));
    letter-spacing: 0.04em;
  }

  html .mirage-quicknav__link::after {
    inset: -16px -7px;
  }
}

@media (max-width: 767px) {
  html .mirage-glass {
    bottom: -12px;
  }
}

/* Small phones: four links (About, Works, Blog, Pricing) only clear the logo if they sit closer. */
@media (max-width: 420px) {
  html .mirage-quicknav {
    gap: calc(10px * var(--m-k, 1));
  }

  html .mirage-quicknav__link {
    font-size: calc(10.5px * var(--m-k, 1));
    letter-spacing: 0.02em;
  }

  html .mirage-quicknav__link::after {
    inset: -16px -5px;
  }
}

/* Phones (2026-11-24): the quick links fold into the two-bar button, which opens the same links
   (and Home) on a full-screen paper panel (components/PhoneMenu.tsx). The button wears the menu
   button's bars (see "The menu button" further down). On wider screens neither part shows. */
.mirage-phonemenu__button,
.mirage-phonemenu__panel {
  display: none;
}

@media (max-width: 767px) {
  html .navbar-version-01 .mirage-quicknav {
    display: none;
  }

  /* A 48px tap target centred on the logo (40px down), its bars ending 20px from the edge. */
  html .mirage-phonemenu__button {
    position: fixed;
    top: calc(40px - 24px * var(--m-k, 1));
    right: calc(10px * var(--m-k, 1));
    z-index: 96;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  /* The panel fills the screen, one layer under the logo and the button, so those two sit on it
     where they always are; the links start under the logo's 80px band. Its height is the largest
     viewport, so it also runs under Safari's toolbars whether they show or not (the page is held
     still while it is open). Closing plays the opening backwards, a little quicker, and the panel
     only hides once it has faded. */
  html .mirage-phonemenu__panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 95;
    display: block;
    height: 100vh;
    height: 100lvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(80px + var(--m-s-2)) var(--m-gutter) var(--m-s-2);
    background: var(--m-paper);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 150ms cubic-bezier(0.23, 1, 0.32, 1),
      transform 150ms cubic-bezier(0.23, 1, 0.32, 1),
      visibility 0s linear 150ms;
  }

  html .mirage-phonemenu__panel.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition-duration: 200ms, 200ms, 0s;
    transition-delay: 0s;
  }

  /* While it is open the logo and the cross belong to the panel: the glass steps aside, and the
     logo stays ink even over a dark hero (AdaptiveLogo keeps its reading of the page beneath, so
     it is right again the moment the panel closes). */
  html .navbar-version-01:has(.mirage-phonemenu__panel.is-open) .mirage-glass {
    opacity: 0;
  }

  html .navbar-version-01:has(.mirage-phonemenu__panel.is-open) .nav-logo-image.is-dark-bg {
    filter: none !important;
  }
}

/* One link a row, a hairline between rows. The page you're on takes the signal line (above). */
.mirage-phonemenu__link {
  display: flex;
  align-items: center;
  min-height: 64px;
  font: 700 calc(28px * var(--m-k, 1))/1 var(--m-font-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--m-ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mirage-phonemenu__link + .mirage-phonemenu__link {
  border-top: 1px solid var(--m-line);
}

.mirage-phonemenu__link span {
  position: relative;
}

.mirage-phonemenu__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html .mirage-phonemenu__panel {
    transform: none;
  }
}

/* The dune land along the panel's foot (2026-11-25), sized and placed as on the 404 on phones.
   Its layers only animate while the panel is open, so the land rises again on every opening.
   It sits behind the links (on a short screen they can reach it) and the panel clips its width. */
.mirage-phonemenu__panel {
  overflow-x: hidden;
}

.mirage-phonemenu__panel > .mw-land {
  --mw-land-w: 300vw;
  --mw-land-x: 0.42;
  position: absolute;
  left: calc(50% - var(--mw-land-w) * var(--mw-land-x));
  bottom: 0;
  width: var(--mw-land-w);
  aspect-ratio: 1440 / 424;
  z-index: -1;
}

.mirage-phonemenu__panel:not(.is-open) .mw-land__layer {
  animation: none;
}

/* The heat-haze canvas laid over a heading (components/MirageText.tsx). */
.mirage-heat {
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}

/* While the footer bar is mid-mirage, its canvas stands in for the live content
   (components/ScrollMirage.tsx). The two cross-fade, so there is no jump when the canvas hands back to the real text. */
.mirage-footer__bar > * {
  transition: opacity 0.28s ease;
}

.mirage-footer__bar > .mirage-heat {
  visibility: visible;
  opacity: 0;
}

[data-mirage-moving] > :not(.mirage-heat) {
  opacity: 0 !important;
}

[data-mirage-moving] > .mirage-heat {
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   Footer: the small print over the closing scene's sand (components/FooterBar.tsx),
   and the dusk band /work fades through into its process.
   --------------------------------------------------------------------------- */

/* The paper holds for a moment before the sunset starts, and the sunset has room to spread,
   so the band reads as one soft gradient. Beneath it, paper at the top and night at the
   bottom, so whatever shows at either edge matches its neighbour. */
.mirage-dusk {
  position: relative;
  /* Tucks a pixel under the section above, whose paper and grain it starts with, so the seam never shows. */
  margin-top: -1px;
  height: clamp(calc(260px * var(--m-k, 1)), 36vw, calc(520px * var(--m-k, 1)));
  background:
    var(--m-dusk) 0 100% / 100% 84% no-repeat,
    linear-gradient(180deg, var(--m-paper) 50%, var(--m-deep-a) 50%);
}

/* The paper's grain carries on into the dusk and thins out as the sky darkens, so there is no edge. */
.mirage-dusk::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 12%, transparent 58%);
  mask-image: linear-gradient(180deg, #000 12%, transparent 58%);
}

.mirage-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(24px * var(--m-k, 1));
  position: absolute;
  left: var(--m-gutter);
  right: var(--m-gutter);
  bottom: 0;
  z-index: 1;
  padding: calc(20px * var(--m-k, 1)) 0 calc(24px * var(--m-k, 1));
  font-size: calc(13px * var(--m-k, 1));
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-on-deep-muted);
}

.mirage-footer__bar a {
  /* The menu's wave roll on hover (WaveRoll); the new row arrives in the accent. */
  --m-roll-accent: var(--m-signal);
  position: relative;
  display: inline-block;
  color: var(--m-on-deep);
  text-decoration: none;
  transition: color var(--m-fast) var(--m-ease);
}

.mirage-footer__heart {
  color: var(--m-signal);
}

.mirage-footer__bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8px * var(--m-k, 1)) calc(24px * var(--m-k, 1));
}

.mw-dusk__foot a:focus-visible,
.mw-link:focus-visible,
.mw-fact dd a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  /* Wrapped onto several rows, it is taller than the sand, so it follows the dune instead of sitting on it. */
  .mirage-footer__bar {
    position: relative;
    inset: auto;
    flex-wrap: wrap;
    padding: calc(16px * var(--m-k, 1)) var(--m-gutter) calc(24px * var(--m-k, 1));
  }
}

/* ---------------------------------------------------------------------------
   The primary button (.mw-button): Book a call in the call to action, and the
   way home from the 404. One block in the signal colour with the brand's rounded
   corners (2026-11-01; it was square); the secondary action is the text link
   (.mw-link, components/HorizonLink.tsx).
   --------------------------------------------------------------------------- */

:root {
  --m-r-button: calc(14px * var(--m-k, 1));
}

.mw-button {
  /* The label's roll (WaveRoll) arrives in the night, so it reads over the white heat. */
  --m-roll-accent: var(--m-deep);
  border-radius: var(--m-r-button);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(48px * var(--m-k, 1));
  padding: 0 calc(24px * var(--m-k, 1));
  background: var(--m-signal);
  color: var(--m-deep);
  font: 800 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Hover, "white heat and glow" (2026-11-01, hover lab 2 · B4; it replaced the sunrise): warmth
   blooms from where the pointer enters, white at its core, through amber back into the signal,
   follows the pointer and cools out where it leaves (components/HeatBloom.tsx). The button throws
   its heat onto the ground: a soft warm shadow on light, a glow that carries on the night. */
.mw-heat {
  position: absolute;
  left: 0;
  top: 0;
  /* Under the label, even a bare text label: the button isolates, so -1 is still above its fill. */
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, #fff6ea 0%, #ffd2a8 18%, rgba(255, 170, 110, 0.75) 36%, rgba(255, 122, 53, 0) 66%);
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.5s ease;
}

:is(.mw-button, .mw-price__btn).is-hot > .mw-heat {
  opacity: 1;
}

.mw-button {
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

:is(.mw-button, .mw-price__btn).is-hot,
:is(.mw-button, .mw-price__btn):focus-visible {
  box-shadow: 0 10px 30px -12px rgba(255, 122, 53, 0.65);
}

.mw-button__label {
  position: relative;
  z-index: 1;
}

.mw-button:active {
  transform: scale(0.98);
  transition-duration: 0.12s;
}


a.mw-button:focus-visible {
  outline: 2px solid var(--m-signal);
  outline-offset: 3px;
}

/* --- The 404 (app/(frontend)/not-found.tsx, 2026-11-01) ----------------------------------
   One screen, built like the listing heroes: the head centred on Haze, a way home and a way to
   the work, then the dune land along the foot, rising on arrival like /work and /blog. */
.mw-404 {
  --mw-land-w: max(100vw, 1180px);
  --mw-land-x: 0.5;
  /* The land shows at most this much of the screen; on a short screen its foot sinks below. */
  --mw-404-land: min(var(--mw-land-w) * 0.2944, 46svh);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: var(--m-page-top, calc(160px * var(--m-k, 1))) 0 calc(var(--mw-404-land) * 0.72);
  overflow: clip;
  background-color: var(--m-paper);
}

.mw-404__head {
  position: relative;
  z-index: 1;
  max-width: calc(900px * var(--m-k, 1));
  margin: auto;
  padding: 0 var(--m-gutter);
  text-align: center;
}

.mw-404__head .mw-work__label {
  margin-bottom: var(--m-stack-eyebrow, calc(22px * var(--m-k, 1)));
}

.mw-404__title {
  font-size: var(--m-t-h1);
  line-height: 0.96;
  letter-spacing: var(--m-track-display);
  text-wrap: balance;
}

.mw-404__lede {
  margin: calc(22px * var(--m-k, 1)) auto 0;
  font: 400 calc(18px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--m-muted);
  text-wrap: balance;
}

.mw-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: calc(16px * var(--m-k, 1)) calc(32px * var(--m-k, 1));
  margin-top: calc(36px * var(--m-k, 1));
}

/* The land along the foot, full bleed. Its rise is shared with the listing heroes (.mw-land). */
.mw-404 > .mw-land {
  position: absolute;
  left: calc(50% - var(--mw-land-w) * var(--mw-land-x));
  bottom: calc(var(--mw-404-land) - var(--mw-land-w) * 0.2944);
  width: var(--mw-land-w);
  aspect-ratio: 1440 / 424;
}

/* The head comes in as the land settles, as on the listing heroes. */
html .mw-404__head > * {
  animation: mw-head-rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s both;
}

html .mw-404__head > :nth-child(2) {
  animation-delay: 0.58s;
}

html .mw-404__head > :nth-child(3) {
  animation-delay: 0.66s;
}

html .mw-404__head > :nth-child(4) {
  animation-delay: 0.74s;
}

/* Unlike the listing heroes it doesn't wait for .mirage-go: Next renders a 404 into a fresh root
   element, which drops the class, so the entrance plays from the first paint. */
html:not(.mirage-go) .mw-404 .mw-land__layer {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  html .mw-404__head > * {
    animation: none;
  }
}

@media (max-width: 759px) {
  .mw-404 {
    --mw-land-w: 300vw;
    --mw-land-x: 0.42;
  }
}

/* ---------------------------------------------------------------------------
   Case studies (blocks/RecentWorks, components/FlipCard, components/CaseTrack)
   and clients (blocks/Clients, components/ClientsGrid). The Thermal redesign of
   the two sections; colours and type follow the active concept.
   --------------------------------------------------------------------------- */

.mw-statement {
  margin: 0;
  font: 800 clamp(30px, 3.9vw, calc(56px * var(--m-k, 1)))/1.04 var(--m-font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--m-ink);
}

.mw-statement em {
  font-style: normal;
  color: var(--m-signal-text);
}

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

/* The secondary link (HorizonLink.tsx). Its underline is drawn in SVG so it can
   drain away and redraw with a wave; its arrow is a shaft and head so it can reach. */
.mw-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  /* the old 6px padding plus the 1.5px border the drawn underline replaces */
  padding-bottom: calc(7.5px * var(--m-k, 1));
  font: 600 calc(14px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-ink);
  text-decoration: none;
  white-space: nowrap;
}

.mw-link__reach {
  flex: none;
  width: calc(22px * var(--m-k, 1));
  height: calc(16px * var(--m-k, 1));
  overflow: visible;
}

.mw-link__reach line,
.mw-link__reach path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mw-link__reach line {
  transform-box: fill-box;
  transform-origin: 0% 50%;
  transition: transform var(--m-move) var(--m-ease);
}

.mw-link__head {
  transition: transform var(--m-move) var(--m-ease);
}

.mw-link.is-on .mw-link__reach line {
  transform: scaleX(1.5);
}

.mw-link.is-on .mw-link__head {
  transform: translateX(8px);
}

.mw-link__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(10px * var(--m-k, 1));
  overflow: visible;
  pointer-events: none;
}

.mw-link__base {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: 100% 50%;
  transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mw-link__hot {
  fill: none;
  stroke: var(--m-link);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mw-link.is-on .mw-link__base {
  transform: scaleX(0);
}

.mw-cases,
.mw-clients {
  position: relative;
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

/* --- Clients: a still grid on hairlines ----------------------------------- */

.mw-clients {
  padding: var(--m-section-y) var(--m-gutter);
}

.mw-clients .mw-statement {
  margin-bottom: calc(64px * var(--m-k, 1));
}

.mw-clients__grid {
  --mw-logo-ink: var(--m-ink);
  --mw-hair: color-mix(in srgb, var(--m-line) 60%, transparent);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mw-hair);
}

.mw-clients__cell {
  position: relative;
  height: calc(150px * var(--m-k, 1));
  border-right: 1px solid var(--mw-hair);
  border-bottom: 1px solid var(--mw-hair);
}

.mw-clients__cell:nth-child(4n) {
  border-right: 0;
}

.mw-clients__cell canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* --- Case studies: a row of flip cards that pans sideways ------------------ */

.mw-cases {
  /* Cards as big as the team's portraits (three across the page, 4:5), but never taller than
     the window leaves room for, so the pinned frame always fits. */
  --mw-card-aspect: 0.8;
  --mw-face-h: clamp(calc(320px * var(--m-k, 1)), min(calc((100vw - calc(138px * var(--m-k, 1))) / 3 * 1.25), calc(100svh - calc(320px * var(--m-k, 1)))), calc(640px * var(--m-k, 1)));
}

.mw-cases__pin {
  display: flex;
  flex-direction: column;
  padding: var(--m-section-y) 0;
}

.mw-cases[data-pinned="true"] .mw-cases__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  justify-content: center;
  padding: calc(72px * var(--m-k, 1)) 0 calc(48px * var(--m-k, 1));
  overflow: hidden;
}

.mw-cases__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: calc(24px * var(--m-k, 1));
  margin-bottom: calc(48px * var(--m-k, 1));
  padding: 0 var(--m-gutter);
}

.mw-cases__title {
  font-size: clamp(34px, 4.7vw, calc(68px * var(--m-k, 1)));
}

.mw-cases__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--m-gutter);
  scrollbar-width: none;
}

.mw-cases__viewport::-webkit-scrollbar {
  display: none;
}

.mw-cases[data-pinned="true"] .mw-cases__viewport {
  overflow: visible;
}

.mw-cases__row {
  display: flex;
  gap: calc(24px * var(--m-k, 1));
  width: max-content;
  margin: 0;
  padding: 0 var(--m-gutter);
  list-style: none;
  will-change: transform;
}

.mw-cases__item {
  scroll-snap-align: start;
}

/* The card: one solid block, as on the original flip cube. The side is in the
   original's proportion (2em on a 45em card) and colours. The corners are rounded like every
   other card (FlipCard insets the side by the radius near face-on). */
.mw-card {
  /* 30% thinner than the original's 2em on 45em (0.044). */
  --mw-card-depth: calc(var(--mw-face-h) * 0.0308);
  --mw-card-r: var(--m-r-card);
  display: block;
  width: calc(var(--mw-face-h) * var(--mw-card-aspect, 0.75));
  color: var(--m-ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mw-card:focus-visible {
  outline: none;
}

.mw-card:focus-visible .mw-card__stage {
  outline: 2px solid var(--m-ink);
  outline-offset: 6px;
}

.mw-card__stage {
  height: var(--mw-face-h);
  perspective: 2000px;
}

.mw-card__slab {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.mw-card__front,
.mw-card__back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--mw-card-r);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mw-card__front {
  background: var(--m-paper2);
}

.mw-card__front img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The side. FlipCard insets its ends by the corner radius near face-on, so it never
   pokes out past the rounded corners, and lets it grow to the full height as the card
   turns side-on (--mw-edge-inset, 1 to 0). It is shown only mid-turn and fades
   (--mw-edge) as the card nears face-on. */
.mw-card__edge {
  position: absolute;
  top: calc(var(--mw-card-r) * var(--mw-edge-inset, 1));
  width: var(--mw-card-depth);
  height: calc(100% - var(--mw-card-r) * var(--mw-edge-inset, 1) * 2);
  visibility: hidden;
  opacity: var(--mw-edge, 0);
}

.mw-card__slab[data-turning] .mw-card__edge {
  visibility: visible;
}

/* The original cube's sides: a lit grey on the left, a shaded grey on the right. */
.mw-card__edge--left {
  left: 0;
  transform-origin: 0% 50%;
  transform: rotateY(90deg);
  background-color: #bcc3c9;
  background-image: radial-gradient(circle, rgb(184 184 184 / 0) 23%, rgb(39 39 39 / 0.2));
}

.mw-card__edge--right {
  right: 0;
  transform-origin: 100% 50%;
  transform: rotateY(-90deg);
  background-color: #707070;
}

.mw-card__back-wrap {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--mw-card-depth) * -1));
}

.mw-card__back {
  transform: rotateY(180deg);
  background: var(--m-deep);
  color: var(--m-on-deep);
}

/* The project shot, blurred into the background like air over hot ground. */
.mw-card__haze {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(22px) saturate(0.9);
  opacity: 0.55;
}

.mw-card__back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--m-deep) 45%, transparent) 0%,
    color-mix(in srgb, var(--m-deep) 20%, transparent) 45%,
    color-mix(in srgb, var(--m-deep) 92%, transparent) 100%
  );
}

.mw-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: calc(40px * var(--m-k, 1)) calc(28px * var(--m-k, 1)) calc(32px * var(--m-k, 1));
}

.mw-card__client {
  margin: 0 0 calc(14px * var(--m-k, 1));
  font: 700 calc(26px * var(--m-k, 1))/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
  color: var(--m-on-deep);
}

.mw-pill {
  display: inline-flex;
  align-items: center;
  /* no outline; the padding takes the 1px the border used to, so the pill keeps its size */
  padding: calc(8px * var(--m-k, 1)) calc(15px * var(--m-k, 1));
  border-radius: 999px;
  background: color-mix(in srgb, var(--m-signal-text) 88%, transparent);
  color: var(--m-on-deep);
  font: 500 calc(11.5px * var(--m-k, 1))/calc(14px * var(--m-k, 1)) var(--m-font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mw-card__line {
  max-width: 30ch;
  margin: calc(28px * var(--m-k, 1)) 0 0;
  font: 400 calc(18px * var(--m-k, 1))/1.45 var(--m-font-body);
  color: color-mix(in srgb, var(--m-on-deep) 92%, transparent);
}

.mw-card__view {
  display: inline-flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  margin-top: auto;
  font: 600 calc(14px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mw-card__view svg {
  width: calc(16px * var(--m-k, 1));
  height: calc(16px * var(--m-k, 1));
}

.mw-card__name {
  display: flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  margin: calc(20px * var(--m-k, 1)) 0 0;
  font: 700 calc(24px * var(--m-k, 1))/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
}

.mw-card__arrow {
  width: calc(22px * var(--m-k, 1));
  height: calc(22px * var(--m-k, 1));
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mw-card[data-flipped] .mw-card__arrow {
  opacity: 1;
  transform: none;
}

/* Reduced motion: no turn, the back simply cross-fades in. */
.mw-card[data-reduce] .mw-card__edge {
  display: none;
}

.mw-card[data-reduce] .mw-card__back-wrap,
.mw-card[data-reduce] .mw-card__back {
  transform: none;
}

.mw-card[data-reduce] .mw-card__back {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mw-card[data-reduce][data-flipped] .mw-card__back {
  opacity: 1;
}

@media (max-width: 759px) {
  .mw-clients .mw-statement {
    margin-bottom: calc(40px * var(--m-k, 1));
  }

  .mw-clients__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mw-clients__cell {
    height: calc(104px * var(--m-k, 1));
  }

  .mw-clients__cell:nth-child(4n) {
    border-right: 1px solid var(--mw-hair);
  }

  .mw-clients__cell:nth-child(2n) {
    border-right: 0;
  }

  .mw-cases {
    --mw-card-aspect: 0.75;
    --mw-face-h: calc(78vw * 4 / 3);
  }

  .mw-cases__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: calc(32px * var(--m-k, 1));
  }

  .mw-cases__row {
    gap: calc(16px * var(--m-k, 1));
  }

  .mw-card__content {
    padding: calc(32px * var(--m-k, 1)) calc(22px * var(--m-k, 1)) calc(26px * var(--m-k, 1));
  }

  .mw-card__client {
    font-size: calc(22px * var(--m-k, 1));
  }

  .mw-card__line {
    font-size: calc(16px * var(--m-k, 1));
  }

  .mw-card__name {
    font-size: calc(20px * var(--m-k, 1));
  }
}

/* --- About (blocks/Introduction): the statement, then the reel that steps aside -------
   The headline runs across the top. Under it a reel fills the width of the page; on desktop
   it steps aside into a full-height column on the right as you scroll (blocks/Introduction/AboutReel.tsx),
   and the studio's lines rise in on the left under a big word that changes as you keep scrolling.
   Below 992px the frame, the word and the lines simply stack. */

.mw-about {
  position: relative;
  padding: var(--m-section-y) var(--m-gutter);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

.mw-about__title {
  max-width: 15em;
  margin-bottom: clamp(calc(40px * var(--m-k, 1)), 4.4vw, calc(64px * var(--m-k, 1)));
  font-size: clamp(34px, 4.7vw, calc(68px * var(--m-k, 1)));
  text-wrap: balance;
}

.mw-about__stage {
  display: grid;
  gap: calc(40px * var(--m-k, 1));
}

.mw-about__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--m-r-media);
  aspect-ratio: 16 / 10;
  background: var(--m-deep);
}

.mw-about__reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mw-about__aside {
  display: grid;
  gap: calc(40px * var(--m-k, 1));
  /* The word is sized off the column's width. */
  container-type: inline-size;
}

/* The word (IMAGINE. DESIGN. BUILD. LAUNCH.). Without motion: the four as a still stacked list,
   full ink, the widest word filling the width (AboutReel sets --roll-fit for it). */
.mw-about__roll {
  margin: 0;
  min-width: 0;
  font: 800 calc(17cqi * var(--roll-fit, 1))/0.94 var(--m-font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--m-ink);
}

.mw-about__word {
  display: block;
  white-space: nowrap;
}

/* With motion: one word at a time, in a mask from just above the caps to just below the baseline
   (Unbounded's caps stand 0.75em, round letters and the full stop overshoot by 0.017em; the mask
   keeps 0.05em clear at each edge). All four words share one spot; the letters rise through it
   (AboutReel.tsx). Until the script places them, the later words wait below the mask, so the
   page never shows them over the first. */
@media (prefers-reduced-motion: no-preference) {
  .mw-about__roll {
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
  }

  .mw-about__mask {
    position: relative;
    height: 0.85em;
    overflow: hidden;
  }

  /* A line box of 1em puts the baseline 0.875em down; this sets it 0.05em above the mask's foot. */
  .mw-about__word {
    position: absolute;
    left: 0;
    top: -0.075em;
  }

  .mw-about__char {
    display: inline-block;
    will-change: transform;
  }

  .mw-about__word + .mw-about__word .mw-about__char {
    visibility: hidden;
    transform: translateY(0.85em);
  }
}

.mw-about__copy {
  max-width: 26rem;
}

.mw-about__lead {
  margin: 0 0 calc(20px * var(--m-k, 1));
  font: 500 clamp(19px, 1.6vw, calc(22px * var(--m-k, 1)))/1.35 var(--m-font-body);
  letter-spacing: -0.01em;
  color: var(--m-ink);
}

.mw-about__body {
  margin: 0 0 calc(20px * var(--m-k, 1));
  font: 400 calc(16px * var(--m-k, 1))/1.55 var(--m-font-body);
  color: var(--m-muted);
}

.mw-about__link {
  margin-top: calc(12px * var(--m-k, 1));
}

/* Desktop, at rest: the reel shows through a window over the right 56% of the stage, fitted
   to its height and centred in it, with the word top-left and the copy bottom-left. This is
   where the motion ends (blocks/Introduction/AboutReel.tsx), and all there is with reduced
   motion. The frame itself always covers the whole stage; only its clip-path window moves, so
   nothing reflows while it does. The stage stays shorter than the screen so the column keeps
   close to landscape and the reel loses less of its sides. */
@media (min-width: 992px) {
  .mw-about {
    --mw-about-stage-h: min(44vw, calc(100svh - 64px));
  }

  .mw-about__stage {
    position: relative;
    display: block;
    height: var(--mw-about-stage-h);
  }

  .mw-about__frame {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    /* The 44% is also in AboutReel.tsx. */
    clip-path: inset(0 0 0 44% round var(--m-r-media));
  }

  /* 16:9 at the stage's height, centred on the window (72% across). */
  .mw-about__reel {
    left: calc(72% - var(--mw-about-stage-h) * 8 / 9);
    width: calc(var(--mw-about-stage-h) * 16 / 9);
  }

  .mw-about__aside {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(44% - calc(40px * var(--m-k, 1)));
    display: flex;
    flex-direction: column;
  }

  .mw-about__copy {
    margin-top: auto;
  }
}

/* With motion, the stage is held in the middle of the screen (below the 64px navbar) while
   the runway scrolls by, 170vh longer than the stage: that is the length of the step aside
   and then the word's three changes. The word sits midway between the frame's top edge and
   the copy. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .mw-about__runway {
    height: calc(var(--mw-about-stage-h) + 170vh);
  }

  .mw-about__aside {
    gap: 0;
  }

  .mw-about__roll {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mw-about__stage {
    position: sticky;
    top: calc(calc(64px * var(--m-k, 1)) + (100svh - calc(64px * var(--m-k, 1)) - var(--mw-about-stage-h)) / 2);
  }
}

/* --- Team (blocks/Team): the case-card language, without the flip --------- */

.mw-team {
  position: relative;
  padding: var(--m-section-y) var(--m-gutter);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

.mw-team__title {
  margin-bottom: calc(64px * var(--m-k, 1));
  font-size: clamp(34px, 4.7vw, calc(68px * var(--m-k, 1)));
}

.mw-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(56px * var(--m-k, 1)) calc(24px * var(--m-k, 1));
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-team__grid[data-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mw-member {
  display: block;
  color: var(--m-ink);
  text-decoration: none;
}

.mw-member__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--m-r-card);
  background: var(--m-paper2);
}

.mw-member__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Three across gives each portrait more width, so it goes a little squarer. */
.mw-team__grid[data-cols="3"] .mw-member__photo {
  aspect-ratio: 4 / 5;
}

a.mw-member:hover .mw-member__photo img {
  transform: scale(1.03);
}

.mw-member__name {
  display: flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  margin: calc(20px * var(--m-k, 1)) 0 calc(6px * var(--m-k, 1));
  font: 700 calc(20px * var(--m-k, 1))/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
}

.mw-member__name svg {
  width: calc(18px * var(--m-k, 1));
  height: calc(18px * var(--m-k, 1));
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

a.mw-member:hover .mw-member__name svg,
a.mw-member:focus-visible .mw-member__name svg {
  opacity: 1;
  transform: none;
}

a.mw-member:focus-visible {
  outline: none;
}

a.mw-member:focus-visible .mw-member__photo {
  outline: 2px solid var(--m-ink);
  outline-offset: 4px;
}

.mw-member__role {
  margin: 0;
  font: 400 calc(15px * var(--m-k, 1))/1.45 var(--m-font-body);
  color: var(--m-muted);
}

@media (prefers-reduced-motion: reduce) {
  .mw-member__photo img,
  .mw-member__name svg {
    transition: none;
  }
}

@media (max-width: 1199px) {
  .mw-team__grid,
  .mw-team__grid[data-cols="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .mw-team__title {
    margin-bottom: calc(40px * var(--m-k, 1));
  }

  .mw-team__grid,
  .mw-team__grid[data-cols="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(36px * var(--m-k, 1)) calc(16px * var(--m-k, 1));
  }

  .mw-team__grid[data-cols="3"] .mw-member__photo {
    aspect-ratio: 3 / 4;
  }

  .mw-member__name {
    margin-top: calc(14px * var(--m-k, 1));
    font-size: calc(16px * var(--m-k, 1));
  }

  .mw-member__role {
    font-size: calc(13px * var(--m-k, 1));
  }

  /* Names and roles break where the Team block puts a newline (2026-11-24): first name,
     then the rest; a role after its comma or before its last word. Wider screens fold
     the newline into a space. A role line also holds, so every role reads two lines
     (at 360 "Systems & Automations" runs about 4px past its column rather than
     wrapping to a third); a name line may still wrap, so a long surname never runs
     into the next card. */
  .mw-member__name {
    white-space: pre-line;
  }

  .mw-member__role {
    white-space: pre;
  }
}

/* --- Page switch: a mirage forming ------------------------------------------
   Moving between pages (home and /work) is a cross-document view transition.
   The page you leave clears at once to a solid ground in the page colour, and the
   next one forms on it like a mirage: it wavers and stretches out of the blur and
   sharpens into the real page. The navbar stays put through the switch.

   Browsers without cross-document view transitions simply load the page. When a
   page arrives this way, the layout's boot script adds .mirage-arrived to <html>
   (from the `pagereveal` event), which skips the loading screen; MirageText skips the
   hero's own haze, since the whole view has just formed out of it. */

@view-transition {
  navigation: auto;
}

html.mirage-arrived .mw-loader {
  display: none !important;
}

.mw-haze-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* The navbar is its own layer while a switch plays, so it holds still while the content
   changes. Only then: a named element can't see past itself, which would empty its glass. */
html.mirage-switching .navbar-version-01 {
  view-transition-name: mirage-nav;
}

::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: none;
}

/* The old page goes at once: the switch happens on a solid ground in the page colour,
   and only the new page moves. */
::view-transition {
  background-color: var(--m-page, var(--m-paper));
}

/* The page you arrive on sits still underneath; the one you leave fades out on top of it. */
::view-transition-image-pair(root) {
  isolation: isolate;
}

::view-transition-old(root) {
  z-index: 1;
  filter: url(#mirage-haze-out);
  animation: mirage-leave 0.28s cubic-bezier(0.2, 0, 0, 1) both;
}

@keyframes mirage-leave {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* The content comes in, top down. Each piece's place in the order is its --mirage-step. */
html.mirage-enter .mw-dune__title,
html.mirage-enter .mw-work__label,
html.mirage-enter .mw-work__title,
html.mirage-enter .mw-work__filters,
html.mirage-enter .mw-work__item,
html.mirage-enter .mw-case__back,
html.mirage-enter .mw-case__title,
html.mirage-enter .mw-case__outcome,
html.mirage-enter .mw-case__chips,
html.mirage-enter .mw-case__hero-image,
html.mirage-enter .mw-case__story {
  animation: mirage-enter 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(140ms + var(--mirage-step, 0) * 70ms);
}

/* The headline leads, resolving out of its own haze (MirageSwitch eases the haze away). */
html.mirage-enter .mw-dune__title,
html.mirage-enter .mw-work__title,
html.mirage-enter .mw-case__title {
  filter: url(#mirage-haze-title);
  --mirage-rise: 10px;
}

html.mirage-enter .mw-work__title,
html.mirage-enter .mw-case__title { --mirage-step: 1; }
html.mirage-enter .mw-case__outcome { --mirage-step: 2; }
html.mirage-enter .mw-work__filters,
html.mirage-enter .mw-case__chips { --mirage-step: 3; }
html.mirage-enter .mw-case__hero-image { --mirage-step: 4; --mirage-rise: 24px; }
html.mirage-enter .mw-case__story { --mirage-step: 6; }

/* Cards come in left to right, row by row; anything further down is off screen anyway. */
html.mirage-enter .mw-work__item { --mirage-step: 9; --mirage-rise: 24px; }
html.mirage-enter .mw-work__item:nth-child(1) { --mirage-step: 4; }
html.mirage-enter .mw-work__item:nth-child(2) { --mirage-step: 5; }
html.mirage-enter .mw-work__item:nth-child(3) { --mirage-step: 6; }
html.mirage-enter .mw-work__item:nth-child(4) { --mirage-step: 7; }
html.mirage-enter .mw-work__item:nth-child(5) { --mirage-step: 8; }

@keyframes mirage-enter {
  from {
    opacity: 0;
    translate: 0 var(--mirage-rise, 14px);
  }
}

/* Reduced motion: no haze and no movement, just a quick crossfade. */
html.mirage-still::view-transition-old(root) {
  filter: none;
  animation: mirage-fade-out 0.25s ease both;
}

@keyframes mirage-fade-out {
  to {
    opacity: 0;
  }
}

/* --- Work page: every case study, filtered by discipline ------------------
   WorkGallery.tsx. The cards are the homepage's flip cards, sized by the grid:
   each item is a size container and the card's face height follows its width. */

.mw-work {
  position: relative;
  min-height: 100vh;
  padding: calc(200px * var(--m-k, 1)) var(--m-gutter) var(--m-section-y);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

.mw-work__head {
  max-width: calc(1100px * var(--m-k, 1));
  margin-bottom: calc(56px * var(--m-k, 1));
}

.mw-work__label {
  margin: 0 0 calc(28px * var(--m-k, 1));
  font: 600 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-muted);
}

.mw-work__title {
  font-size: clamp(44px, 7.4vw, calc(112px * var(--m-k, 1)));
  line-height: 0.98;
}

.mw-work__filters {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10px * var(--m-k, 1));
  margin: 0 0 calc(56px * var(--m-k, 1));
}

.mw-work__chip {
  display: inline-flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  height: calc(40px * var(--m-k, 1));
  padding: 0 calc(18px * var(--m-k, 1));
  border: 0;
  border-radius: calc(999px * var(--m-k, 1));
  background: color-mix(in srgb, var(--m-ink) 6%, transparent);
  color: var(--m-ink);
  font: 600 calc(12.5px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mw-work__chip[aria-pressed="true"] {
  background: var(--m-ink);
  color: var(--m-paper);
}

@media (hover: hover) {
  .mw-work__chip:not([aria-pressed="true"]):hover {
    background: color-mix(in srgb, var(--m-ink) 12%, transparent);
  }
}

.mw-work__chip:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 3px;
}

.mw-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(72px * var(--m-k, 1)) calc(32px * var(--m-k, 1));
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-work__item {
  container-type: inline-size;
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* A 3:4 card as wide as its column. */
.mw-work__item .mw-card {
  --mw-face-h: calc(100cqw * 4 / 3);
}

/* Cards rise in once, slightly hazy, the first time they reach the screen; the
   same rise brings a filtered set in. Only once the script is running. */
.mw-work__grid.is-ready .mw-work__item:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
}

.mw-work__grid.is-ready .mw-work__item.is-leaving {
  opacity: 0;
  transform: scale(0.97);
  filter: blur(3px);
  transition-duration: 0.22s;
}

.mw-card__meta {
  margin: calc(6px * var(--m-k, 1)) 0 0;
  font: 500 calc(13px * var(--m-k, 1))/1.4 var(--m-font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--m-muted);
}

@media (max-width: 1099px) {
  .mw-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .mw-work {
    padding-top: calc(140px * var(--m-k, 1));
  }

  .mw-work__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(56px * var(--m-k, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-work__item,
  .mw-work__chip {
    transition: none;
  }
}

/* --- Case study page (/work/<slug>) ----------------------------------------
   Figma: Mirage Case Studies, "Case study" page. A 1312px page at 1440 with a
   640px reading column for chapters; 28px image radius; one column on phones,
   with the facts two to a row. */

.mw-case {
  --mw-case-gutter: var(--m-gutter);
  --mw-case-gap: clamp(calc(64px * var(--m-k, 1)), 8.3vw, calc(120px * var(--m-k, 1)));
  padding: calc(200px * var(--m-k, 1)) var(--mw-case-gutter) 0;
  color: var(--m-ink);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
  /* The wide and inset boards overhang their column by their shadow margin, which at the phone
     gutter would push past the viewport. clip (not hidden) keeps sticky and the pins working. */
  overflow-x: clip;
}

/* The head sits on the story's column: the vision block's 700px, centred (2026-11-01). */
.mw-case__hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(28px * var(--m-k, 1));
  width: 100%;
  max-width: calc(700px * var(--m-k, 1));
  margin-inline: auto;
  padding-bottom: calc(56px * var(--m-k, 1));
}

/* The way back is the site's text link (.mw-link), its arrow before the words and pointing back. */
.mw-link--back {
  flex-direction: row-reverse;
  padding-bottom: 0;
}

/* A way back needs no underline: the arrow says enough. */
.mw-link--back .mw-link__line {
  display: none;
}

.mw-case__next-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mw-case__title {
  margin: 0;
  font: 800 clamp(48px, 6.7vw, calc(96px * var(--m-k, 1)))/1 var(--m-font-display);
  letter-spacing: -0.03em;
  color: var(--m-ink);
}

.mw-case__outcome {
  max-width: calc(900px * var(--m-k, 1));
  margin: 0;
  font: 500 clamp(20px, 1.95vw, calc(28px * var(--m-k, 1)))/1.36 var(--m-font-body);
  letter-spacing: -0.01em;
}

.mw-case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8px * var(--m-k, 1));
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Service tags: white pills with a hairline, quiet beside the title. */
.mw-tag {
  padding: calc(9px * var(--m-k, 1)) calc(15px * var(--m-k, 1));
  border: 1px solid #e2e0e4;
  border-radius: calc(999px * var(--m-k, 1));
  font: 500 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  color: var(--m-ink);
  background: #fff;
}

.mw-case__frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(28px * var(--m-k, 1));
  background: var(--m-paper2);
}

.mw-case__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The showreel: wider than the words, still calm: 1040px, centred (2026-11-01, case v2). */
.mw-case__hero-image {
  aspect-ratio: 1312 / 820;
  max-width: calc(1040px * var(--m-k, 1));
  margin-inline: auto;
}

/* The service tags, and after them in one quiet line the year and what it was built on. */
.mw-case__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(12px * var(--m-k, 1)) calc(20px * var(--m-k, 1));
}

.mw-case__meta {
  margin: 0;
  font: 500 calc(15px * var(--m-k, 1))/1.4 var(--m-font-body);
  color: var(--m-muted);
}

.mw-fact {
  display: flex;
  flex-direction: column;
  gap: calc(6px * var(--m-k, 1));
}

.mw-fact dt,
.mw-case__label {
  margin: 0;
  font: 600 calc(12px * var(--m-k, 1))/1.33 var(--m-font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--m-muted);
}

.mw-fact dd {
  margin: 0;
  font: 600 calc(16px * var(--m-k, 1))/1.43 var(--m-font-body);
  color: var(--m-ink);
}

.mw-fact dd a {
  color: inherit;
  text-underline-offset: calc(3px * var(--m-k, 1));
  transition: color var(--m-fast) var(--m-ease);
}

@media (hover: hover) {
  .mw-fact dd a:hover {
    color: var(--m-signal-text);
  }
}

/* The story: the vision, chapters, images and motion share one 700px column, centred on
   the page; the process band, results and gallery full width. */
.mw-case__story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--mw-case-gap);
  padding-top: var(--mw-case-gap);
}

.mw-case__story > * {
  width: 100%;
}

/* Text and images share one centre line, with equal space either side of each. */
.mw-case__story > .mw-vision,
.mw-case__story > .mw-chapter,
.mw-case__story > .mw-case__media,
.mw-case__story > .mw-flow,
.mw-case__story > .mw-scene,
.mw-case__story > .mw-bento {
  margin-inline: auto;
}

/* The client's vision: the first thing the story says, in big type, on the story's 700px
   column. */
.mw-vision {
  display: flex;
  flex-direction: column;
  gap: calc(20px * var(--m-k, 1));
  max-width: calc(700px * var(--m-k, 1));
}

.mw-vision__statement {
  margin: 0;
  font: 800 clamp(24px, 2.4vw, calc(34px * var(--m-k, 1)))/1.22 var(--m-font-display);
  letter-spacing: -0.02em;
  color: var(--m-ink);
}

.mw-vision__body {
  max-width: calc(700px * var(--m-k, 1));
  margin: 0;
  font: 400 calc(18px * var(--m-k, 1))/1.56 var(--m-font-body);
  color: var(--m-muted);
}

.mw-vision__statement + .mw-vision__body {
  margin-top: calc(12px * var(--m-k, 1));
}

/* Case page surfaces: plain white panels and cards on the paper page, the Thermal
   neutrals for structure, Monday.com's status colours as each card's group bar, and the
   signal orange only as a single line. Minimal, so the work stays the loud part. */
.mw-case {
  --mw-hair: #e7e5ea;
  --mw-tint: #f4f3f5;
  --mw-card-shadow: 0 1px 2px rgba(23, 18, 28, 0.04), 0 14px 32px -22px rgba(23, 18, 28, 0.22);
  --mw-mon-blue: #579bfc;
  --mw-mon-purple: #a25ddc;
  --mw-mon-orange: #fdab3d;
  --mw-mon-green: #00c875;
  --mw-mon-lime: #9cd326;
  --mw-mon-red: #e2445c;
}

/* Flow: explains how something works. Cards on the image-frame panel, joined by arrows
   drawn with a mask so they take the concept's signal colour. */
.mw-flow {
  --mw-flow-gap: clamp(calc(28px * var(--m-k, 1)), 3vw, calc(44px * var(--m-k, 1)));
  --mw-flow-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 0 10 5 0 10z'/%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
  margin: 0;
}

/* No panel: like the journeys, a flow sits straight on the page, its white cards on the paper. */
.mw-flow__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(calc(32px * var(--m-k, 1)), 4vw, calc(56px * var(--m-k, 1)));
}

.mw-flow__steps {
  display: grid;
  gap: var(--mw-flow-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-flow--line .mw-flow__steps {
  grid-template-columns: repeat(var(--mw-flow-n), minmax(0, 1fr));
}

.mw-flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--m-k, 1));
  padding: calc(22px * var(--m-k, 1)) calc(20px * var(--m-k, 1));
  /* Each card is outlined in its own Monday status colour. */
  border: 1.5px solid var(--mw-step-c, var(--mw-mon-blue));
  border-radius: calc(18px * var(--m-k, 1));
  background: #fff;
  box-shadow: var(--mw-card-shadow);
}

/* Each step takes the next Monday status colour, so a line reads as moving through stages. */
.mw-flow__step:nth-child(1) { --mw-step-c: var(--mw-mon-blue); }
.mw-flow__step:nth-child(2) { --mw-step-c: var(--mw-mon-purple); }
.mw-flow__step:nth-child(3) { --mw-step-c: var(--mw-mon-orange); }
.mw-flow__step:nth-child(4) { --mw-step-c: var(--mw-mon-green); }
.mw-flow__step:nth-child(5) { --mw-step-c: var(--mw-mon-lime); }
.mw-flow__step:nth-child(6) { --mw-step-c: var(--mw-mon-red); }

.mw-flow__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8px * var(--m-k, 1));
  min-height: calc(26px * var(--m-k, 1));
  margin-bottom: calc(14px * var(--m-k, 1));
}

.mw-flow__n {
  font: 800 calc(20px * var(--m-k, 1))/1 var(--m-font-display);
  letter-spacing: -0.02em;
  color: var(--m-ink);
}

.mw-flow__tag {
  padding: calc(4px * var(--m-k, 1)) calc(9px * var(--m-k, 1));
  border-radius: calc(999px * var(--m-k, 1));
  font: 500 calc(11px * var(--m-k, 1))/1.2 var(--m-font-body);
  color: var(--m-muted);
  white-space: nowrap;
  background: var(--mw-tint);
}

.mw-flow__title {
  margin: 0;
  font: 700 calc(17px * var(--m-k, 1))/1.25 var(--m-font-body);
  letter-spacing: -0.01em;
  color: var(--m-ink);
}

.mw-flow__body {
  margin: 0;
  font: 400 calc(14px * var(--m-k, 1))/1.45 var(--m-font-body);
  color: var(--m-muted);
}

.mw-flow__detail {
  margin: calc(8px * var(--m-k, 1)) 0 0;
  font: 500 calc(13px * var(--m-k, 1))/1.35 var(--m-font-body);
  color: var(--m-ink);
}

.mw-flow__detail--check {
  display: flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
}

.mw-flow__box {
  position: relative;
  flex: none;
  width: calc(14px * var(--m-k, 1));
  height: calc(14px * var(--m-k, 1));
  border-radius: calc(4px * var(--m-k, 1));
  background: var(--mw-mon-green);
}

.mw-flow__box::after {
  content: '';
  position: absolute;
  left: calc(5px * var(--m-k, 1));
  top: 2px;
  width: calc(4px * var(--m-k, 1));
  height: calc(7px * var(--m-k, 1));
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mw-flow__detail--slot {
  padding: 2px 0 2px calc(10px * var(--m-k, 1));
  border-left: 2px solid var(--mw-step-c);
}

.mw-flow__detail--slot span {
  display: block;
  font-weight: 400;
  color: var(--m-muted);
}

/* Monday.com's own status colours, as a nod to the platform. */
.mw-flow__detail--pill {
  align-self: flex-start;
  padding: calc(5px * var(--m-k, 1)) calc(12px * var(--m-k, 1));
  border-radius: calc(4px * var(--m-k, 1));
  font-size: calc(12px * var(--m-k, 1));
  color: #fff;
  background: #00c875;
}
.mw-flow__detail--pill.is-lime { background: #9cd326; }
.mw-flow__detail--pill.is-orange { background: #fdab3d; }
.mw-flow__detail--pill.is-purple { background: #a25ddc; }
.mw-flow__detail--pill.is-blue { background: #579bfc; }

/* Arrows: one element each, a line plus a head. */
.mw-flow__step::after {
  content: '';
  position: absolute;
  top: 50%;
  width: var(--mw-flow-gap);
  height: calc(10px * var(--m-k, 1));
  margin-top: -5px;
  background: #b4aeb9;
  -webkit-mask: var(--mw-flow-arrow) right center / 9px 10px no-repeat, linear-gradient(#000, #000) left center / calc(100% - 7px) 1.5px no-repeat;
  mask: var(--mw-flow-arrow) right center / 9px 10px no-repeat, linear-gradient(#000, #000) left center / calc(100% - 7px) 1.5px no-repeat;
}

/* Motion draws each arrow by raising --mw-arrow-p from 0 to 1 (CaseMotion); at rest it is 1. */
.mw-flow__step::after {
  clip-path: inset(0 calc((1 - var(--mw-arrow-p, 1)) * 100%) 0 0);
}

.mw-flow--line .mw-flow__step::after {
  left: 100%;
  -webkit-mask-size: 9px 10px, calc(100% - 7px) 2px;
  mask-size: 9px 10px, calc(100% - 7px) 2px;
}

.mw-flow--line .mw-flow__step:last-child::after {
  content: none;
}

/* Hub: the first step in the middle column, the rest alternating left and right. */
.mw-flow--hub .mw-flow__steps {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: repeat(var(--mw-flow-rows), auto);
  grid-auto-flow: dense;
  column-gap: calc(var(--mw-flow-gap) * 1.6);
  --mw-flow-gap-x: calc(var(--mw-flow-gap) * 1.6);
}

.mw-flow--hub .mw-flow__step:first-child {
  grid-column: 2;
  grid-row: 1 / span var(--mw-flow-rows);
  align-self: center;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--mw-step-c, #579bfc) 12%, transparent),
    0 24px 48px -26px rgba(23, 18, 28, 0.3);
}

.mw-flow--hub .mw-flow__step:first-child::after {
  content: none;
}

.mw-flow--hub .mw-flow__step:nth-child(even) {
  grid-column: 1;
}

.mw-flow--hub .mw-flow__step:nth-child(odd):not(:first-child) {
  grid-column: 3;
}

.mw-flow--hub .mw-flow__step:nth-child(even)::after {
  left: 100%;
  width: var(--mw-flow-gap-x);
}

.mw-flow--hub .mw-flow__step:nth-child(odd):not(:first-child)::after {
  right: 100%;
  width: var(--mw-flow-gap-x);
  transform: scaleX(-1);
}

/* A line goes vertical when its panel is too narrow for the cards to sit side by side;
   a hub goes vertical below desktop. Both then read top to bottom. */
.mw-flow__panel {
  container-type: inline-size;
}

/* At the 700px measure a line wraps into rows of three (two for a four-step line); the
   numbers carry the order, so the last card in a row has no arrow. */
@container (min-width: 600px) and (max-width: 999px) {
  .mw-flow--line .mw-flow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mw-flow--line .mw-flow__step:nth-child(3n)::after {
    content: none;
  }

  .mw-flow--line .mw-flow__steps:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mw-flow--line .mw-flow__steps:has(> :nth-child(4):last-child) > .mw-flow__step:nth-child(3n)::after {
    content: '';
  }

  .mw-flow--line .mw-flow__steps:has(> :nth-child(4):last-child) > .mw-flow__step:nth-child(2n)::after {
    content: none;
  }
}

@container (max-width: 599px) {
  .mw-flow--line .mw-flow__steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc(520px * var(--m-k, 1));
  }

  .mw-flow--line .mw-flow__step::after {
    top: 100%;
    left: calc(34px * var(--m-k, 1));
    margin-top: 0;
    transform: rotate(90deg);
    transform-origin: left center;
  }
}

@media (max-width: 899px) {
  .mw-flow--hub .mw-flow__steps {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: var(--mw-flow-gap);
    max-width: calc(520px * var(--m-k, 1));
  }

  /* As specific as the desktop placement rules, and later, so it wins. */
  .mw-flow--hub .mw-flow__steps > .mw-flow__step:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  /* The middle card comes first, and a plain rail ties the rest to it. */
  .mw-flow--hub .mw-flow__step:nth-child(n):not(:first-child)::after {
    top: auto;
    bottom: 100%;
    left: calc(34px * var(--m-k, 1));
    right: auto;
    width: 1.5px;
    height: var(--mw-flow-gap);
    margin-top: 0;
    transform: none;
    -webkit-mask: none;
    mask: none;
    clip-path: inset(0 0 calc((1 - var(--mw-arrow-p, 1)) * 100%) 0);
  }
}

/* Journey: a product explained for a non-technical reader. Lanes of people doing plain
   steps (each with a small real screen) join, meet where the product works, and end on
   the outcome. White panel like the flows; lane colours are the client's. */
.mw-journey {
  --j-thumb-w: calc(156px * var(--m-k, 1));
  --j-thumb-h: calc(98px * var(--m-k, 1));
  --j-mid: calc(49px * var(--m-k, 1));
  --j-line: #b4aeb9;
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
  margin: 0;
}

.mw-journey__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(calc(32px * var(--m-k, 1)), 4vw, calc(56px * var(--m-k, 1)));
  padding: clamp(calc(28px * var(--m-k, 1)), 4.4vw, calc(64px * var(--m-k, 1)));
  border-radius: calc(28px * var(--m-k, 1));
  background: #fff;
  container-type: inline-size;
}

.mw-journey__map {
  display: flex;
  align-items: center;
}

.mw-journey__lanes {
  position: relative;
  display: grid;
  flex: 1;
  gap: calc(36px * var(--m-k, 1));
}

.mw-journey__lanes.is-joined {
  padding-right: calc(28px * var(--m-k, 1));
}

.mw-journey__lane {
  display: flex;
  align-items: flex-start;
}

.mw-journey__who {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  width: calc(96px * var(--m-k, 1));
  margin: calc(var(--j-mid) - calc(22px * var(--m-k, 1))) 0 0;
  font: 600 calc(13px * var(--m-k, 1))/1.2 var(--m-font-body);
  color: var(--m-ink);
}

.mw-journey__avatar {
  display: grid;
  place-items: center;
  width: calc(44px * var(--m-k, 1));
  height: calc(44px * var(--m-k, 1));
  border-radius: 50%;
  background: var(--lane-c);
}

.mw-journey__avatar svg {
  width: calc(22px * var(--m-k, 1));
  height: calc(22px * var(--m-k, 1));
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mw-journey__steps {
  display: flex;
  flex: none;
  gap: calc(28px * var(--m-k, 1));
  margin: 0 0 0 calc(12px * var(--m-k, 1));
  padding: 0;
  list-style: none;
}

.mw-journey__step {
  position: relative;
  width: var(--j-thumb-w);
}

.mw-journey__thumb {
  height: var(--j-thumb-h);
  overflow: hidden;
  border: 1.5px solid var(--lane-c);
  border-radius: calc(10px * var(--m-k, 1));
  background: #f4f3f5;
}

.mw-journey__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mw-journey__step p {
  min-height: calc(37px * var(--m-k, 1));
  margin: calc(10px * var(--m-k, 1)) 0 0;
  font: 600 calc(14px * var(--m-k, 1))/1.3 var(--m-font-body);
  color: var(--m-ink);
}

/* Lines, drawn by raising --mw-arrow-p from 0 to 1 (CaseMotion); at rest it is 1. */
.mw-journey__step:not(:last-child)::after,
.mw-journey__arrow {
  content: '';
  height: calc(10px * var(--m-k, 1));
  background: var(--j-line);
  -webkit-mask: var(--mw-flow-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 0 10 5 0 10z'/%3E%3C/svg%3E")) right center / 9px 10px no-repeat, linear-gradient(#000, #000) left center / calc(100% - 7px) 2px no-repeat;
  mask: var(--mw-flow-arrow, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M0 0 10 5 0 10z'/%3E%3C/svg%3E")) right center / 9px 10px no-repeat, linear-gradient(#000, #000) left center / calc(100% - 7px) 2px no-repeat;
  clip-path: inset(0 calc((1 - var(--mw-arrow-p, 1)) * 100%) 0 0);
}

.mw-journey__step:not(:last-child)::after {
  position: absolute;
  top: calc(var(--j-mid) - calc(5px * var(--m-k, 1)));
  left: 100%;
  width: calc(28px * var(--m-k, 1));
  background: var(--lane-c);
}

.mw-journey__arrow {
  flex: none;
  width: calc(36px * var(--m-k, 1));
  margin: 0 calc(4px * var(--m-k, 1));
}

.mw-journey__run {
  flex: 1;
  min-width: calc(20px * var(--m-k, 1));
  height: 2px;
  margin: calc(var(--j-mid) - 1px) 0 0 calc(4px * var(--m-k, 1));
  background: var(--lane-c);
  transform-origin: left center;
}

/* The bracket that gathers the lanes into one line. */
.mw-journey__join {
  position: absolute;
  top: calc(var(--j-mid) - 1px);
  right: 0;
  /* From the last lane's thumbnail middle down: thumbnail, gap and two-line label below it. */
  bottom: calc(var(--j-thumb-h) + calc(10px * var(--m-k, 1)) + calc(37px * var(--m-k, 1)) - var(--j-mid) - 1px);
  width: calc(28px * var(--m-k, 1));
  border: 2px solid var(--j-line);
  border-left: 0;
  border-radius: 0 calc(14px * var(--m-k, 1)) calc(14px * var(--m-k, 1)) 0;
}

.mw-journey__meet,
.mw-journey__end {
  position: relative;
  flex: none;
  padding: calc(18px * var(--m-k, 1)) calc(20px * var(--m-k, 1));
  border: 1.5px solid var(--node-c);
  border-radius: calc(18px * var(--m-k, 1));
  background: #fff;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--node-c) 12%, transparent),
    0 18px 36px -24px rgba(23, 18, 28, 0.35);
}

.mw-journey__meet {
  width: calc(184px * var(--m-k, 1));
}

.mw-journey__end {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(8px * var(--m-k, 1));
  width: calc(136px * var(--m-k, 1));
}

.mw-journey__node-title,
.mw-journey__node-note {
  margin: 0;
}

.mw-journey__node-title {
  font: 700 calc(17px * var(--m-k, 1))/1.25 var(--m-font-body);
  color: var(--m-ink);
}

.mw-journey__node-note {
  margin-top: calc(6px * var(--m-k, 1));
  font: 400 calc(13px * var(--m-k, 1))/1.4 var(--m-font-body);
  color: var(--m-muted);
}

.mw-journey__check {
  position: relative;
  width: calc(24px * var(--m-k, 1));
  height: calc(24px * var(--m-k, 1));
  border-radius: 50%;
  background: var(--node-c);
}

.mw-journey__check::after {
  content: '';
  position: absolute;
  left: calc(9px * var(--m-k, 1));
  top: calc(5px * var(--m-k, 1));
  width: calc(5px * var(--m-k, 1));
  height: calc(10px * var(--m-k, 1));
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Narrow panels: one column, read top to bottom. */
@container (max-width: 999px) {
  .mw-journey__map {
    flex-direction: column;
    align-items: stretch;
  }

  .mw-journey__lanes.is-joined {
    padding-right: 0;
  }

  .mw-journey__lane {
    flex-direction: column;
    gap: calc(14px * var(--m-k, 1));
  }

  .mw-journey__who {
    flex-direction: row;
    width: auto;
    margin: 0;
  }

  .mw-journey__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(12px * var(--m-k, 1));
    margin: 0;
  }

  .mw-journey__step {
    width: auto;
  }

  .mw-journey__thumb {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .mw-journey__step:not(:last-child)::after,
  .mw-journey__run,
  .mw-journey__join {
    display: none;
  }

  .mw-journey__arrow {
    width: calc(32px * var(--m-k, 1));
    margin: calc(18px * var(--m-k, 1)) auto;
    transform: rotate(90deg);
  }

  .mw-journey__meet,
  .mw-journey__end {
    width: auto;
  }
}

/* Scene: a bespoke animated explainer (components/motion, lib/sceneMotions), for when a flow
   can't show how a product works. It sits straight on the page with no panel behind it, its
   film on a clear background, so it fills the story's column. */
.mw-scene {
  display: flex;
  flex-direction: column;
  gap: clamp(calc(24px * var(--m-k, 1)), 2.4vw, calc(32px * var(--m-k, 1)));
  margin: 0;
}

.mw-scene__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(calc(28px * var(--m-k, 1)), 3.4vw, calc(48px * var(--m-k, 1)));
  container-type: inline-size;
}

.mw-chapter {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--m-k, 1));
  max-width: calc(700px * var(--m-k, 1));
}

.mw-chapter__subhead {
  margin: 0;
  font: 600 calc(20px * var(--m-k, 1))/1.4 var(--m-font-body);
  letter-spacing: -0.005em;
  color: var(--m-signal-text);
}

.mw-chapter__body {
  margin: 0;
  font: 400 calc(18px * var(--m-k, 1))/1.56 var(--m-font-body);
  color: var(--m-ink);
}

/* Two chapters in a row sit a little closer than a chapter and an image. */
.mw-chapter + .mw-chapter {
  margin-top: calc(var(--mw-case-gap) * -0.2);
}

.mw-case__media {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
  margin: 0;
}

.mw-case__media-row {
  display: grid;
  gap: calc(32px * var(--m-k, 1));
  align-items: start;
}

.mw-case__media--pair .mw-case__media-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mw-case__media--pair .mw-case__frame {
  aspect-ratio: 640 / 800;
}

.mw-case__media--feature .mw-case__media-row {
  grid-template-columns: minmax(0, 864fr) minmax(0, 416fr);
}

.mw-case__media--feature .mw-case__frame {
  height: clamp(calc(420px * var(--m-k, 1)), 44.4vw, calc(640px * var(--m-k, 1)));
}

/* Only the tall image so far (the wide screen not in yet): it keeps phone width. */
.mw-case__media--feature .mw-case__media-row:has(> :only-child) {
  grid-template-columns: minmax(0, calc(416px * var(--m-k, 1)));
}

.mw-case__media--full .mw-case__frame {
  aspect-ratio: 16 / 10;
}

/* Inset: one image, smaller, for boards (research, journeys) that would otherwise fill the
   whole screen. Scenes and bentos take the same width, so the explainers after the research
   keep its measure. All are centred, like the text. The process band and the results stay
   full width. */
.mw-case__media--inset,
.mw-case__story > .mw-case__media,
.mw-case__story > .mw-flow,
.mw-case__story > .mw-scene,
.mw-case__story > .mw-bento {
  width: min(100%, calc(700px * var(--m-k, 1)));
}

/* An inset board (the research) has no panel: its cards sit straight on the page. It is
   drawn at the column's 700px on a clear ground, with a 40px margin all round for the
   cards' shadows, so the image overhangs the column by that margin (40/700 of its width)
   and the cards line up with the text. */
.mw-case__media--inset .mw-case__frame {
  overflow: visible;
  border-radius: 0;
  background: none;
}

.mw-case__media--inset .mw-case__frame img {
  width: calc(100% * 780 / 700);
  max-width: none;
  height: auto;
  margin: calc(-100% * 40 / 700);
  object-fit: initial;
}

/* Every picture in the story is the reel's 1040px wide (2026-11-01: "keep all the images the same
   width as this", the research board): screenshots, boards, scenes, journeys, flows and the
   gallery. Each one's label and caption keep the vision's 700px column. A board drawn at 700
   scales with its frame (the inset rules below work in shares of it). The inset research board
   keeps its drawn 700px, so its text is not enlarged. Set before the wide board's
   own rules; it wins over the older 700px and journey widths above. */
.mw-case__story > :is(.mw-case__media:not(.mw-case__media--inset), .mw-flow, .mw-scene, .mw-journey, .mw-bento, .mw-gallery) {
  width: min(100%, calc(1040px * var(--m-k, 1)));
  margin-inline: auto;
}

/* The journey film's own rule comes later in the file (it ran from the text's edge to 920px). */
.mw-case__story > .mw-scene.mw-scene--journey {
  width: min(100%, calc(1040px * var(--m-k, 1)));
  margin-inline: auto;
}

.mw-case__story > :is(.mw-case__media, .mw-flow, .mw-scene, .mw-journey, .mw-bento, .mw-gallery) .mw-case__label,
.mw-case__story > :is(.mw-case__media, .mw-flow, .mw-scene, .mw-journey) > figcaption {
  align-self: center;
  width: min(100%, calc(700px * var(--m-k, 1)));
  margin-inline: auto;
}

/* Wide board: a board drawn for the reel's 1040px column (2026-11-01, Remoto's research as one
   rectangle in place of a tall 700px board). Like the inset board it has no panel and a 40px clear
   margin all round for its shadows (1120px drawn), so its cards line up with the column. */
.mw-case__story > .mw-case__media--wide {
  width: min(100%, calc(1040px * var(--m-k, 1)));
}

.mw-case__media--wide .mw-case__frame {
  overflow: visible;
  border-radius: 0;
  background: none;
}

.mw-case__media--wide .mw-case__frame img {
  width: calc(100% * 1120 / 1040);
  max-width: none;
  height: auto;
  margin: calc(-100% * 40 / 1040);
  object-fit: initial;
}

.mw-case__media--wide > .mw-case__caption {
  width: min(100%, calc(700px * var(--m-k, 1)));
  margin-inline: auto;
}

/* On a phone the board would shrink past reading, so it keeps a readable width and scrolls sideways
   from the gutter. The inset board does the same at its drawn 780px (its cards at the column's
   700px). */
@media (max-width: 760px) {
  :is(.mw-case__media--wide, .mw-case__media--inset) .mw-case__media-row {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.mw-case__media--wide, .mw-case__media--inset) .mw-case__media-item {
    min-width: 0;
  }

  :is(.mw-case__media--wide, .mw-case__media--inset) .mw-case__frame {
    overflow-x: auto;
    margin-inline: calc(-1 * var(--m-gutter));
    padding: 0 var(--m-gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  :is(.mw-case__media--wide, .mw-case__media--inset) .mw-case__frame::-webkit-scrollbar {
    display: none;
  }

  .mw-case__media--wide .mw-case__frame img {
    width: calc(800px * var(--m-k, 1));
    margin: -28px -29px;
  }

  .mw-case__media--inset .mw-case__frame img {
    width: calc(780px * var(--m-k, 1));
    margin: -40px;
  }

  /* The scroller would cut the shadow margin above and below the cards, or scroll 40px up and
     down; room inside it, given back outside, keeps the board where it was. */
  .mw-case__media--inset .mw-case__frame {
    margin-block: -40px;
    padding-block: 40px;
  }
}

/* Bento: a large tile and two small ones in place of a run of full-width screenshots. Each
   tile names its point, then shows a crop of just that detail, anchored top-left. */
.mw-bento {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--m-k, 1));
}

/* The bento's label, heading and description span the story's 700px column, so they line
   up with the chapter text above. */
.mw-bento__head {
  width: min(100%, calc(700px * var(--m-k, 1)));
}

.mw-bento__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: calc(24px * var(--m-k, 1));
  margin-top: calc(16px * var(--m-k, 1));
}

.mw-bento__tile {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--m-k, 1));
  margin: 0;
  padding: calc(24px * var(--m-k, 1)) calc(24px * var(--m-k, 1)) 0;
  overflow: hidden;
  border-radius: calc(28px * var(--m-k, 1));
  background: #fff;
}

.mw-bento__tile:first-child {
  grid-row: 1 / 3;
}

.mw-bento__text {
  display: flex;
  flex-direction: column;
  gap: calc(6px * var(--m-k, 1));
  text-align: left;
}

.mw-bento__title {
  font: 600 calc(17px * var(--m-k, 1))/1.3 var(--m-font-body);
  color: var(--m-ink);
}

.mw-bento__body {
  max-width: 46ch;
  font: 400 calc(15px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--m-muted);
}

.mw-bento__shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.6 / 1;
  border: 1px solid #ecebef;
  border-bottom: 0;
  border-radius: calc(14px * var(--m-k, 1)) calc(14px * var(--m-k, 1)) 0 0;
}

.mw-bento__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* The large tile's crop fills whatever height the two small tiles give the row. */
.mw-bento__tile:first-child .mw-bento__shot {
  flex: 1;
  aspect-ratio: auto;
}

.mw-bento__tile:first-child .mw-bento__shot img {
  position: absolute;
  inset: 0;
}

.mw-case__media-item {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
}

/* Left, like everything in the story (Webflow's base styles centre every figcaption). */
.mw-case__caption {
  margin: 0;
  text-align: left;
  font: 500 calc(14px * var(--m-k, 1))/1.43 var(--m-font-body);
  color: var(--m-muted);
}

.mw-case__outcomes {
  display: flex;
  flex-direction: column;
  gap: calc(24px * var(--m-k, 1));
}

.mw-case__outcomes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(32px * var(--m-k, 1));
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-figure {
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--m-k, 1));
  padding: calc(32px * var(--m-k, 1)) calc(28px * var(--m-k, 1));
  border-radius: calc(28px * var(--m-k, 1));
  background: #fff;
}

.mw-figure p {
  margin: 0;
}

.mw-figure__value {
  font: 800 clamp(40px, 4.4vw, calc(64px * var(--m-k, 1)))/1 var(--m-font-display);
  letter-spacing: -0.03em;
  color: var(--m-ink);
}

/* The heat, as a line: a short signal stroke between the figure and what it means. */
.mw-figure__label::before {
  content: '';
  display: block;
  width: calc(28px * var(--m-k, 1));
  height: 2px;
  margin: calc(20px * var(--m-k, 1)) 0 calc(14px * var(--m-k, 1));
  border-radius: 2px;
  background: #ff7a35;
}

.mw-figure__label {
  font: 600 calc(16px * var(--m-k, 1))/1.43 var(--m-font-body);
}

.mw-figure__source {
  font: 500 calc(13px * var(--m-k, 1))/1.43 var(--m-font-body);
  color: var(--m-muted);
}

.mw-case__quote {
  max-width: calc(860px * var(--m-k, 1));
  margin: 0;
}

.mw-case__quote blockquote {
  margin: 0;
}

.mw-case__quote blockquote p {
  margin: 0;
  font: 700 clamp(24px, 2.5vw, calc(36px * var(--m-k, 1)))/1.3 var(--m-font-display);
  letter-spacing: -0.02em;
}

.mw-case__quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: calc(24px * var(--m-k, 1));
  font: 500 calc(14px * var(--m-k, 1))/1.43 var(--m-font-body);
}

.mw-case__quote-name {
  font-weight: 700;
}

.mw-case__quote-role {
  color: var(--m-muted);
}

.mw-case__credits {
  display: flex;
  align-items: flex-start;
  gap: calc(96px * var(--m-k, 1));
  margin-top: var(--mw-case-gap);
}

.mw-case__credits h2 {
  margin: 0;
  font: 700 calc(24px * var(--m-k, 1))/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
}

.mw-case__credits dl {
  display: flex;
  flex-wrap: wrap;
  gap: calc(24px * var(--m-k, 1)) calc(96px * var(--m-k, 1));
  margin: 0;
}

.mw-case__next {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(24px * var(--m-k, 1));
  margin-top: var(--mw-case-gap);
  padding: calc(40px * var(--m-k, 1)) 0 clamp(calc(64px * var(--m-k, 1)), 8.3vw, calc(120px * var(--m-k, 1)));
  border-top: 1px solid var(--m-ink);
  color: var(--m-ink);
  text-decoration: none;
}

.mw-case__next-text {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
}

.mw-case__next-name {
  font: 800 clamp(40px, 5vw, calc(72px * var(--m-k, 1)))/1.04 var(--m-font-display);
  letter-spacing: -0.03em;
}

.mw-case__next-arrow {
  flex: none;
  width: calc(48px * var(--m-k, 1));
  height: calc(48px * var(--m-k, 1));
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  .mw-case__next:hover .mw-case__next-arrow {
    transform: translateX(8px);
  }

  .mw-case__next:hover .mw-case__next-name {
    color: var(--m-signal-text);
  }
}

.mw-case__next-name {
  transition: color 0.3s ease;
}

.mw-case a:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 4px;
  border-radius: calc(4px * var(--m-k, 1));
}

@media (max-width: 899px) {
  .mw-case__media--feature .mw-case__media-row,
  .mw-case__outcomes ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .mw-case__media--feature .mw-case__frame {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .mw-case__credits {
    flex-direction: column;
    gap: calc(24px * var(--m-k, 1));
  }
}

@media (max-width: 699px) {
  .mw-case {
    padding-top: calc(128px * var(--m-k, 1));
  }

  .mw-case__hero {
    gap: calc(24px * var(--m-k, 1));
    padding-bottom: calc(24px * var(--m-k, 1));
  }

  .mw-case__hero-image {
    aspect-ratio: 335 / 250;
    border-radius: calc(20px * var(--m-k, 1));
  }

  .mw-case__frame {
    border-radius: calc(20px * var(--m-k, 1));
  }

  .mw-case__media--pair .mw-case__media-row {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(24px * var(--m-k, 1));
  }

  .mw-case__media--pair .mw-case__frame {
    aspect-ratio: 335 / 420;
  }

  /* Bento tiles stack; the large one keeps a near-square crop. */
  .mw-bento__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(16px * var(--m-k, 1));
  }

  .mw-bento__tile:first-child {
    grid-row: auto;
  }

  .mw-bento__tile {
    gap: calc(16px * var(--m-k, 1));
    padding: calc(20px * var(--m-k, 1)) calc(20px * var(--m-k, 1)) 0;
    border-radius: calc(20px * var(--m-k, 1));
  }

  .mw-bento__tile:first-child .mw-bento__shot {
    flex: none;
    aspect-ratio: 1.1 / 1;
  }

  .mw-bento__title {
    font-size: calc(16px * var(--m-k, 1));
  }

  .mw-bento__body {
    font-size: calc(14px * var(--m-k, 1));
  }

  /* Results two to a row, smaller, so each card doesn't fill the screen; an odd last one spans the row. */
  .mw-case__outcomes ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(12px * var(--m-k, 1));
  }

  .mw-case__outcomes li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .mw-figure {
    padding: calc(20px * var(--m-k, 1)) calc(16px * var(--m-k, 1));
    border-radius: calc(20px * var(--m-k, 1));
  }

  .mw-figure__value {
    font-size: calc(32px * var(--m-k, 1));
  }

  .mw-figure__label::before {
    margin: calc(14px * var(--m-k, 1)) 0 calc(10px * var(--m-k, 1));
  }

  .mw-figure__label {
    font-size: calc(14px * var(--m-k, 1));
  }

  .mw-chapter__body,
  .mw-vision__body {
    font-size: calc(16px * var(--m-k, 1));
  }

  .mw-case__next-arrow {
    width: calc(32px * var(--m-k, 1));
    height: calc(32px * var(--m-k, 1));
  }
}

/* --- Hover interactions: the wave roll ----------------------------------------
   WaveRoll.tsx splits a word into two rows of letters in a window one line tall.
   Hovering its host (.m-roll-host) lifts the resting row out of the top while the
   second row rises in from below, letter after letter, so a wave runs across the
   word. The new letters arrive blurred in the host's --m-roll-accent and resolve
   sharp; the old ones blur away as they leave. Leaving runs the wave back down.
   Used by the nav quick links and the primary button (.mw-button). */

.m-roll {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.3;
}

/* Both rows share one cell, so the window fits the longer and centres the shorter. */
.m-roll__row {
  display: inline-flex;
  grid-area: 1 / 1;
  justify-self: center;
}

.m-roll__row--in {
  color: var(--m-roll-accent, currentColor);
}

.m-roll__ch {
  display: inline-block;
  white-space: pre;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--i) * 30ms);
}

.m-roll__row--in .m-roll__ch {
  transform: translateY(105%);
  filter: blur(3px);
  opacity: 0.2;
}

@media (hover: hover) {
  .m-roll-host:hover .m-roll__row--out .m-roll__ch {
    transform: translateY(-105%);
    filter: blur(3px);
    opacity: 0;
  }

  .m-roll-host:hover .m-roll__row--in .m-roll__ch {
    transform: none;
    filter: none;
    opacity: 1;
  }
}

.m-roll-host:focus-visible .m-roll__row--out .m-roll__ch {
  transform: translateY(-105%);
  filter: blur(3px);
  opacity: 0;
}

.m-roll-host:focus-visible .m-roll__row--in .m-roll__ch {
  transform: none;
  filter: none;
  opacity: 1;
}

/* Reduced motion: no roll, rise, reach or drift; hover only changes colour. */
@media (prefers-reduced-motion: reduce) {
  .m-roll__ch,
  .mw-button,
  .mw-heat,
  .mw-link__reach line,
  .mw-link__head,
  .mw-link__base {
    transition-property: opacity, color, background-color !important;
  }

  .m-roll-host:hover .m-roll__row--out .m-roll__ch,
  .m-roll-host:focus-visible .m-roll__row--out .m-roll__ch {
    transform: none;
    filter: none;
    opacity: 1;
    color: var(--m-roll-accent, currentColor);
  }

  .m-roll-host:hover .m-roll__row--in .m-roll__ch,
  .m-roll-host:focus-visible .m-roll__row--in .m-roll__ch {
    transform: translateY(105%);
  }


  .mw-link.is-on .mw-link__reach line,
  .mw-link.is-on .mw-link__head {
    transform: none;
  }
}

/* A case's hero motion: its frame, on the Monday board's dark (the motions' own rules are in
   mirage-motion.css, for the route that films them). */
.mw-case__hero-motion {
  container-type: inline-size;
  background: #1f2341;
}

/* Gallery: the real screens at the end of a case, each in its own proportions. */
.mw-gallery {
  display: flex;
  flex-direction: column;
  gap: calc(24px * var(--m-k, 1));
}

.mw-gallery__grid {
  columns: 2;
  column-gap: calc(24px * var(--m-k, 1));
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-gallery__item {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
  margin-bottom: calc(32px * var(--m-k, 1));
  break-inside: avoid;
}

.mw-gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: calc(20px * var(--m-k, 1));
  background: #fff;
  cursor: zoom-in;
}

.mw-gallery__open img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 450ms cubic-bezier(0.45, 0, 0.55, 1);
}

@media (hover: hover) {
  .mw-gallery__open:hover img {
    transform: scale(1.02);
  }
}

.mw-gallery__open:focus-visible {
  outline: 2px solid var(--m-signal);
  outline-offset: 4px;
}

.mw-gallery__dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(calc(16px * var(--m-k, 1)), 4vw, calc(56px * var(--m-k, 1)));
  border: 0;
  color: var(--m-on-deep, #f2eef0);
  background: transparent;
}

.mw-gallery__dialog::backdrop {
  background: rgba(18, 13, 23, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mw-gallery__dialog[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(20px * var(--m-k, 1));
  animation: mw-gallery-in 450ms cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes mw-gallery-in {
  from {
    opacity: 0;
    filter: blur(6px);
  }
}

.mw-gallery__view {
  display: flex;
  flex-direction: column;
  gap: calc(14px * var(--m-k, 1));
  max-width: min(calc(1400px * var(--m-k, 1)), 100%);
  max-height: calc(100dvh - calc(160px * var(--m-k, 1)));
  margin: 0;
  pointer-events: none;
}

.mw-gallery__view img {
  display: block;
  min-height: 0;
  max-width: 100%;
  max-height: calc(100dvh - calc(210px * var(--m-k, 1)));
  object-fit: contain;
  border-radius: calc(16px * var(--m-k, 1));
}

.mw-gallery__view figcaption {
  display: flex;
  justify-content: space-between;
  gap: calc(24px * var(--m-k, 1));
  font: 500 calc(14px * var(--m-k, 1))/1.43 var(--m-font-body);
  color: var(--m-on-deep-muted, #a89eaf);
}

.mw-gallery__controls {
  display: flex;
  gap: calc(10px * var(--m-k, 1));
}

.mw-gallery__controls button {
  display: grid;
  place-items: center;
  width: calc(48px * var(--m-k, 1));
  height: calc(48px * var(--m-k, 1));
  padding: 0;
  border: 1px solid rgba(242, 238, 240, 0.25);
  border-radius: 50%;
  color: inherit;
  background: rgba(242, 238, 240, 0.06);
  cursor: pointer;
}

.mw-gallery__controls svg {
  width: calc(20px * var(--m-k, 1));
  height: calc(20px * var(--m-k, 1));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* Phones: two screenshots side by side, so the gallery isn't a long column of large images. */
@media (max-width: 699px) {
  .mw-gallery__grid {
    column-gap: calc(12px * var(--m-k, 1));
  }

  .mw-gallery__item {
    gap: calc(8px * var(--m-k, 1));
    margin-bottom: calc(20px * var(--m-k, 1));
  }

  .mw-gallery__open {
    border-radius: calc(12px * var(--m-k, 1));
  }

  .mw-gallery .mw-case__caption {
    font-size: calc(12px * var(--m-k, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-gallery__dialog[open] {
    animation: none;
  }

  .mw-gallery__open img {
    transition: none;
  }
}

/* ==========================================================================
   Process timeline (components/ProcessTimeline.tsx): a night band of step cards.
   A plain list by default; on desktop with motion the script pins it and stacks the
   cards (.is-pinned). Night colours are fixed, like the hero sky and the footer.
   ========================================================================== */

.mw-process {
  --pr-deep: #17101c;
  --pr-card: #26202c;
  --pr-card-dim: #191220;
  --pr-line: rgba(239, 238, 240, 0.1);
  --pr-text: #efeef0;
  --pr-muted: #a09da3;
  --pr-gutter: var(--m-gutter);
  padding: var(--m-section-y) var(--pr-gutter);
  color: var(--pr-text);
  background: var(--pr-deep);
}

/* In a case, the band breaks out of the gutter and runs the full width of the page, while what's
   on it keeps to the reel's and the outcome's 1040px column (2026-11-01). */
.mw-case__story > .mw-process {
  align-self: stretch;
  width: auto;
  margin-inline: calc(-1 * var(--pr-gutter));
}

.mw-case__story > .mw-process .mw-process__stage {
  width: 100%;
  max-width: calc(1040px * var(--m-k, 1));
  margin-inline: auto;
}

/* Its label and heading keep to the story's 700px column, like the vision; the ruler and the
   cards keep the 1040. */
.mw-case__story > .mw-process .mw-process__head {
  width: 100%;
  max-width: calc(700px * var(--m-k, 1));
  margin-inline: auto;
}

/* An open card too narrow for words and artefact side by side puts the words above (ProcessTimeline). */
.mw-process.is-pinned .mw-process__card.has-media.is-narrow {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
}

/* In a case the band is Sand tint and its cards are glass (2026-11-01, picked from night, dusk, the
   client's colour, white, haze, sand and tint; cards from white, haze, glass, outline, sand, dusk
   and night). The words and lines turn to ink; the open card is frosted white, the stacked ones
   fainter. The work page's studio process keeps the night. */
.mw-case__story > .mw-process {
  --pr-deep: #fae4c9;
  --pr-card: rgba(255, 255, 255, 0.62);
  --pr-card-dim: rgba(255, 255, 255, 0.38);
  --pr-line: rgba(118, 104, 85, 0.22);
  --pr-text: #17101c;
  --pr-muted: #766855;
}

.mw-case__story > .mw-process .mw-process__card {
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.mw-case__story > .mw-process.is-pinned .mw-process__card {
  box-shadow: -18px 0 32px -22px rgba(94, 81, 65, 0.35);
}

.mw-case__story > .mw-process.is-pinned .mw-process__card.is-active {
  border-color: rgba(255, 255, 255, 0.85);
}

.mw-case__story > .mw-process .mw-process__ruler::before {
  background: rgba(23, 16, 28, 0.14);
}

.mw-case__story > .mw-process .mw-process__fill {
  background: rgba(23, 16, 28, 0.6);
}

.mw-case__story > .mw-process .mw-process__tick {
  background: rgba(23, 16, 28, 0.25);
}

.mw-case__story > .mw-process .mw-process__tick.is-on {
  background: #17101c;
}

/* In a case, the pinned band fills the screen: no ruler, and the cards take all the height
   below the nav instead of 58% of it (2026-11-26: "a lot of white space ... the bar can be
   hidden"). An empty header (no label, no heading) takes no gap. */
.mw-case__story > .mw-process.is-pinned .mw-process__ruler,
.mw-case__story > .mw-process .mw-process__head:empty {
  display: none;
}

.mw-case__story > .mw-process.is-pinned .mw-process__stage {
  justify-content: flex-start;
  padding-block: calc(104px * var(--m-k, 1)) calc(40px * var(--m-k, 1));
}

.mw-case__story > .mw-process.is-pinned .mw-process__cards {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.mw-process__stage {
  display: flex;
  flex-direction: column;
  gap: clamp(calc(32px * var(--m-k, 1)), 4vw, calc(48px * var(--m-k, 1)));
}

.mw-process__label {
  margin: 0 0 calc(14px * var(--m-k, 1));
  font: 600 calc(12px * var(--m-k, 1))/1.33 var(--m-font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-muted);
}

.mw-process__heading {
  max-width: calc(900px * var(--m-k, 1));
  margin: 0;
  font: 800 clamp(26px, 3vw, calc(44px * var(--m-k, 1)))/1.12 var(--m-font-display);
  letter-spacing: -0.02em;
  color: var(--pr-text);
}

.mw-process__ruler {
  display: none;
}

.mw-process__cards {
  display: grid;
  gap: calc(16px * var(--m-k, 1));
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-process__card {
  display: grid;
  gap: calc(24px * var(--m-k, 1));
  padding: calc(28px * var(--m-k, 1));
  border: 1px solid var(--pr-line);
  border-radius: calc(24px * var(--m-k, 1));
  background: var(--pr-card);
}

.mw-process__text {
  display: flex;
  flex-direction: column;
  gap: calc(14px * var(--m-k, 1));
  min-width: 0;
}

.mw-process__n,
.mw-process__title,
.mw-process__body {
  margin: 0;
}

.mw-process__n {
  font: 800 calc(18px * var(--m-k, 1))/1 var(--m-font-display);
  letter-spacing: -0.02em;
  color: var(--pr-muted);
}

.mw-process__title {
  font: 600 clamp(24px, 2.2vw, calc(34px * var(--m-k, 1)))/1.12 var(--m-font-body);
  letter-spacing: -0.01em;
  color: var(--pr-text);
}

.mw-process__body {
  max-width: 38ch;
  font: 400 calc(16px * var(--m-k, 1))/1.55 var(--m-font-body);
  color: var(--pr-muted);
}

.mw-process__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Wider screens without the pin (reduced motion): text beside its artefact. */
@media (min-width: 900px) {
  .mw-process__card {
    align-items: center;
    padding: calc(36px * var(--m-k, 1));
  }

  .mw-process__card.has-media {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

/* --- Pinned: the stacked timeline --------------------------------------- */

.mw-process.is-pinned {
  padding-block: 0;
}

.mw-process.is-pinned .mw-process__stage {
  position: sticky;
  top: 0;
  justify-content: center;
  height: 100vh;
  padding-block: calc(120px * var(--m-k, 1)) calc(40px * var(--m-k, 1));
  overflow: hidden;
}

.mw-process.is-pinned .mw-process__ruler {
  position: relative;
  display: block;
  height: calc(9px * var(--m-k, 1));
}

.mw-process__ruler::before,
.mw-process__fill {
  content: '';
  position: absolute;
  top: calc(4px * var(--m-k, 1));
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(242, 238, 240, 0.14);
}

.mw-process__fill {
  background: rgba(242, 238, 240, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
}

.mw-process__tick {
  position: absolute;
  top: 0;
  width: 1px;
  height: calc(9px * var(--m-k, 1));
  background: rgba(242, 238, 240, 0.25);
  transform: translateX(-50%);
  transition: background 450ms cubic-bezier(0.45, 0, 0.55, 1);
}

.mw-process__tick.is-on {
  background: var(--pr-text);
}

.mw-process.is-pinned .mw-process__cards {
  position: relative;
  display: block;
  height: min(58vh, calc(600px * var(--m-k, 1)));
}

.mw-process.is-pinned .mw-process__card {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  align-items: stretch;
  padding: calc(32px * var(--m-k, 1));
  background: var(--pr-card-dim);
  box-shadow: -18px 0 32px -18px rgba(0, 0, 0, 0.7);
  transition:
    background 450ms cubic-bezier(0.45, 0, 0.55, 1),
    border-color 450ms cubic-bezier(0.45, 0, 0.55, 1);
}

.mw-process.is-pinned .mw-process__card.has-media {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr);
}

.mw-process.is-pinned .mw-process__card.is-active {
  border-color: rgba(242, 238, 240, 0.16);
  background: var(--pr-card);
}

/* Number and title at the top (all a stacked card shows), the body at the foot. */
.mw-process.is-pinned .mw-process__body {
  margin-top: auto;
}

.mw-process.is-pinned .mw-process__card:not(.is-active) .mw-process__n,
.mw-process.is-pinned .mw-process__card:not(.is-active) .mw-process__title {
  color: var(--pr-muted);
}

.mw-process.is-pinned .mw-process__card.is-active .mw-process__n {
  color: var(--pr-text);
}

/* A stacked card's title ends before the card laid over it, fading out across its last few
   pixels. Run on underneath, the glass above blurred the hidden letters into a dark smear along
   that card's edge (2026-11-01). The last card has nothing over it. */
.mw-process.is-pinned .mw-process__card:not(.is-active):not(:last-child) .mw-process__title {
  -webkit-mask-image: linear-gradient(to right, #000 calc(var(--pr-sliver, 120px) - 48px), transparent calc(var(--pr-sliver, 120px) - 33px));
  mask-image: linear-gradient(to right, #000 calc(var(--pr-sliver, 120px) - 48px), transparent calc(var(--pr-sliver, 120px) - 33px));
}

/* The heat, as one line: only on the open card, above what the step was. */
.mw-process.is-pinned .mw-process__card.is-active .mw-process__body::before {
  content: '';
  display: block;
  width: calc(28px * var(--m-k, 1));
  height: 2px;
  margin-bottom: calc(18px * var(--m-k, 1));
  border-radius: 2px;
  background: #ff7a35;
}

.mw-process.is-pinned .mw-process__media {
  display: flex;
  align-items: center;
  min-height: 0;
}

.mw-process.is-pinned .mw-process__media img {
  height: 100%;
  object-fit: contain;
}

/* Motion films (components/motion/MotionVideo.tsx): each motion as video, one film per
   layout. d plays on desktop and tablet, m on phones, at the breakpoints where the
   motion's own layout changes. */
.mw-mv video {
  display: block;
  width: 100%;
  height: auto;
}

.mw-mv--hero {
  position: absolute;
  inset: 0;
}

.mw-mv--hero video {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 700px) {
  .mw-mv--hero .mw-mv__m {
    display: none;
  }
}

@media (max-width: 699px) {
  .mw-mv--hero .mw-mv__d {
    display: none;
  }
}

@media (min-width: 768px) {
  .mw-mv--scene .mw-mv__m {
    display: none;
  }
}

@media (max-width: 767px) {
  .mw-mv--scene .mw-mv__d {
    display: none;
  }
}
   panel behind it, sized in --u of a 1000-wide stage. Each step is tinted by its --tone;

/* With no panel to pad it, a flow keeps its caption a clear step below. */
.mw-flow {
  gap: clamp(calc(24px * var(--m-k, 1)), 2.4vw, calc(32px * var(--m-k, 1)));
}

/* A journey is drawn wide, so it takes a little more than the column: it starts on the
   column's left edge, in line with the text, and runs on to the right up to its own 920px,
   the size it was drawn at, as far as the page's gutter allows. */
.mw-case__story > .mw-scene--journey {
  width: min(calc(920px * var(--m-k, 1)), (100% + calc(700px * var(--m-k, 1))) / 2);
  margin-left: max(0px, (100% - calc(700px * var(--m-k, 1))) / 2);
  margin-right: 0;
}

/* A journey film: one layout. On phones it keeps a readable size and scrolls sideways. The scene
   itself stays in the column there: its wide-screen width ((100% + 700px) / 2) is wider than a phone,
   which made the whole case page scroll sideways (2026-10-29 cross-browser pass). */
@media (max-width: 767px) {
  .mw-case__story > .mw-scene--journey {
    width: auto;
    margin-left: 0;
  }

  .mw-mv--journey {
    overflow-x: auto;
    margin-inline: calc(-1 * var(--m-gutter));
    padding-inline: var(--m-gutter);
    scrollbar-width: none;
  }

  .mw-mv--journey video {
    width: calc(820px * var(--m-k, 1));
    max-width: none;
  }

  /* The film runs on past the screen's edge, so that edge fades out to say there's more; once
     it's scrolled, the start fades too, and at the end only the start does. */
  .mw-mv--journey {
    mask-image: linear-gradient(90deg, transparent, #000 var(--mw-fade-start), #000 calc(100% - var(--mw-fade-end)), transparent);
  }

  @supports (animation-timeline: scroll()) {
    .mw-mv--journey {
      animation: mw-scroll-edges linear both;
      animation-timeline: scroll(self inline);
    }
  }
}

@property --mw-fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --mw-fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 56px;
}

@keyframes mw-scroll-edges {
  0% { --mw-fade-start: 0px; --mw-fade-end: 56px; }
  8% { --mw-fade-start: 32px; }
  92% { --mw-fade-end: 56px; }
  100% { --mw-fade-start: 32px; --mw-fade-end: 0px; }
}

/* --- Dune hero ----------------------------------------------------------------- */
/* Pinned while the swell rolls up; DuneHero paints the desert and cuts the headline
   along the swell's lip. The pin lets go once the headline is buried (280vh: 0.72 of the
   scene's 2.5 stage heights, see F.travel) and the sand scrolls away into .mw-dune__fade. */
.mw-dune {
  position: relative;
  height: 280vh;
  background-color: var(--m-paper);
}

.mw-dune[data-still] {
  height: auto;
}

.mw-dune__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  /* A later load in the tab: the scene's opening frame, until the scene draws it (lib/loader). */
  background: var(--hero-poster, none) center / cover no-repeat, #120d17 linear-gradient(180deg, #0a070d, #120d17 40%, #24182c 60%, #0f0b15);
}

.mw-dune[data-still] .mw-dune__stage {
  position: relative;
}

.mw-dune__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mw-dune__head {
  position: absolute;
  /* 44%, not 37%: centred on the screen (2026-10-29), still clear of the swell, which reads the
     headline's position live to bury it. */
  top: 44%;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 calc(20px * var(--m-k, 1));
  text-align: center;
  transform: translateY(-50%);
}

.mw-dune__title {
  margin: 0;
  font: 800 clamp(34px, 7.2vw, calc(112px * var(--m-k, 1)))/0.98 var(--m-font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f2eef0;
}

.mw-dune__title em {
  font-style: normal;
  color: #ff7a35;
}

@media (max-aspect-ratio: 4/5) {
  .mw-dune__head {
    top: 36%;
  }
}

/* The ending: light floods up through the sand until the scene is the page itself (DuneHero), so
   the band below is only for the still frame. The page's grain comes in over the stage where it
   has turned, its edge following the front DuneHero publishes (--end-front, a share of the stage
   from the top). The next section rises into the last of the scene and is shown only below the
   foot of the sand (--wash-y, from its own top), lifted to keep its heading just under it, and
   its content then resolves out of a haze as the light finishes (--wash-in). The front and the
   foot are set on the elements that use them and don't inherit, so moving them every frame
   restyles only those, not everything inside them. */
@property --end-front {
  syntax: "*";
  inherits: false;
}

@property --wash-y {
  syntax: "*";
  inherits: false;
}

.mw-dune[data-ending]:not([data-still]) + .mw-dune__fade {
  display: none;
}

.mw-dune__grain {
  display: none;
}

.mw-dune[data-ending]:not([data-still]) .mw-dune__grain {
  --front: calc(var(--end-front, 1.4) * 100%);
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
  -webkit-mask-image: linear-gradient(180deg, transparent var(--front), #000 calc(var(--front) + 30%));
  mask-image: linear-gradient(180deg, transparent var(--front), #000 calc(var(--front) + 30%));
}

.mw-dune[data-ending]:not([data-still]) + .mw-dune__fade + * {
  z-index: 1;
  margin-top: -45vh;
  margin-top: -45svh;
}

.mw-dune[data-ending]:not([data-still]) + .mw-dune__fade + [data-washing] {
  -webkit-mask-image: linear-gradient(180deg, transparent var(--wash-y, 200vh), #000 calc(var(--wash-y, 200vh) + 8vh));
  mask-image: linear-gradient(180deg, transparent var(--wash-y, 200vh), #000 calc(var(--wash-y, 200vh) + 8vh));
}

/* Its content comes in after it, out of a haze (--wash-in, 0 to 1): it shows early and is fully
   there by 60% of the way, while the haze clears over the whole rise. Once it has (data-clear)
   there is no haze left to draw. */
.mw-dune[data-ending]:not([data-still]) + .mw-dune__fade + [data-washing]:not([data-clear]) > * {
  opacity: min(1, calc(var(--wash-in, 0) * 1.7));
  filter: blur(calc((1 - var(--wash-in, 0)) * 12px));
}

/* From the sand at the stage's foot through the dune's dawn colours (DuneHero's DUNE) to the
   page. Two halves of the one gradient, so the navbar reads dark over the top and light over
   the bottom. It rises over the lower half of the stage, where the sand has already sunk to
   near black, so the dawn starts climbing while the dune is still pinned instead of after a
   screen of dark; it only reaches mid-screen once the headline is buried. Its top edge fades
   in, so no line shows over the sand. */
.mw-dune__fade {
  --mw-dune-fade: linear-gradient(180deg, #0B0A0C 0%, #1F1526 18%, #4A2B34 34%, #89483C 46%, #B9765A 58%, #FFECD6 76%, var(--m-paper) 92%);
  position: relative;
  z-index: 1;
  /* Under half a screen tall, so About follows soon after the pin lets go. */
  margin-top: -50vh;
  margin-top: -50svh;
  height: clamp(calc(300px * var(--m-k, 1)), 42vh, calc(500px * var(--m-k, 1)));
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%);
  mask-image: linear-gradient(180deg, transparent, #000 18%);
}

/* The still frame (reduced motion) is the night before the swell, with the dune itself in
   its lower half, so there the band starts at the stage's foot as before. */
.mw-dune[data-still] + .mw-dune__fade {
  margin-top: -1px;
  -webkit-mask-image: none;
  mask-image: none;
}

.mw-dune__fade > span {
  display: block;
  height: 50%;
}

.mw-dune__fade > span:first-child {
  background: var(--mw-dune-fade) 0 0 / 100% 200% no-repeat #0B0A0C;
}

.mw-dune__fade > span:last-child {
  background: var(--mw-dune-fade) 0 100% / 100% 200% no-repeat var(--m-paper);
}

/* The page's grain comes in as the band lightens, so it runs on into the About section's. */
.mw-dune__fade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
  -webkit-mask-image: linear-gradient(0deg, #000 12%, transparent 58%);
  mask-image: linear-gradient(0deg, #000 12%, transparent 58%);
}

/* ---------------------------------------------------------------------------
   Loading screen (components/Loader.tsx): the hero's night, with the sand of
   its dune blowing in and settling into the crest (drawn on .mw-loader__sand).
   data-state takes it on: "lit", the crest complete; "leaving", the night
   lifting off the hero while the wind takes the sand; "quick", the night
   lifting with no sand; "gone". Once a visit: html[data-loader-seen] skips it,
   and the hero's poster (--hero-poster) stands in until its scene is drawn.
   --------------------------------------------------------------------------- */

.mw-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
}

html[data-loader-seen] .mw-loader,
.mw-loader[data-state="gone"] {
  display: none;
}

.mw-loader:is([data-state="leaving"], [data-state="quick"]) {
  pointer-events: none;
}

.mw-loader__sky {
  position: absolute;
  inset: 0;
  background: #120d17 linear-gradient(180deg, #0a070d, #120d17 40%, #24182c 60%, #0f0b15);
  transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mw-loader:is([data-state="leaving"], [data-state="quick"]) .mw-loader__sky {
  opacity: 0;
}

@media (max-width: 767px) {
  .mw-loader__sky {
    transition-duration: 500ms;
  }
}

.mw-loader__sand {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------------------------
   Sand cursor (components/HaloCursor.tsx): the pointer is the trail of sand it
   drags. Mouse and trackpad only: the class on <html> is set only while the sand
   runs, so touch, reduced motion and browsers without it keep the system pointer.
   The dust canvas sits above the navbar, the loading screen and the concept switcher,
   and never takes the pointer.
   --------------------------------------------------------------------------- */

html.mw-cursor-on,
html.mw-cursor-on * {
  cursor: none !important;
}

/* Text fields keep their own cursor; the sand stops over them. */
html.mw-cursor-on :is(input, textarea, select, [contenteditable]),
html.mw-cursor-on :is(input, textarea, select, [contenteditable]) * {
  cursor: auto !important;
}

.mw-cursor__dust {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483600;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Call to action: the hero run backwards (components/DuskCta.tsx).
   Pinned for 1.5 stage heights while the afternoon turns to night over the
   hero's own desert, then one more while the night becomes the footer: a swell
   of sand rolls up with the MIRAGE wordmark rising behind it.
   --------------------------------------------------------------------------- */

/* The paper and its grain thin out over the top of the afternoon sky. */
/* After a page that ends on the dark process band (/work), a section's worth of paper first, as a
   case study has after its band, so the evening starts from the day rather than straight off the night. */
.main-wrapper:has(> .mw-process:last-child) {
  padding-bottom: var(--m-section-y);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

.mw-dusk__in {
  position: relative;
  z-index: 1;
  height: clamp(calc(120px * var(--m-k, 1)), 18vh, calc(220px * var(--m-k, 1)));
  margin-bottom: calc(-1 * clamp(calc(120px * var(--m-k, 1)), 18vh, calc(220px * var(--m-k, 1))));
  pointer-events: none;
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent);
  mask-image: linear-gradient(180deg, #000 10%, transparent);
}

.mw-dusk {
  position: relative;
  height: 350vh;
  height: 350svh;
  background: var(--m-deep);
}

.mw-dusk[data-still] {
  height: auto;
}

.mw-dusk__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--m-deep);
}

.mw-dusk[data-still] .mw-dusk__stage {
  position: relative;
  /* With no scroll to fade the copy before the wordmark rises, both show at once: tall enough
     that the wordmark (it scales with the width) clears the button on a short, wide screen. */
  min-height: calc(39vw + calc(320px * var(--m-k, 1)));
}

.mw-dusk__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* The foot of the dune sinks into the footer's dark, so the two meet without a line. */
.mw-dusk__stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--m-deep));
}

/* --night runs 0 (day) to 1 (night): the copy turns from ink to light with the sky behind it.
   The box hugs the text, so the shade behind it centres on the words. */
.mw-dusk__copy {
  --night: 0;
  position: absolute;
  top: clamp(calc(104px * var(--m-k, 1)), 17vh, calc(190px * var(--m-k, 1)));
  left: calc(45px * var(--m-k, 1));
  z-index: 1;
  max-width: calc(100% - calc(90px * var(--m-k, 1)));
}

/* A wide, feathered tint of the page's light (by day) or dark (by dusk) behind the copy. DuskCta
   sets its colour and strength from the sky each frame: only as much as keeps the text readable.
   It reaches well past the words and keeps most of its strength over them, so it never shows an edge. */
.mw-dusk__shade {
  --shade: 239 238 240;
  --shade-a: 0;
  position: absolute;
  z-index: -1;
  inset: -16vh -18vw -14vh -14vw;
  pointer-events: none;
  background: radial-gradient(ellipse farthest-side at 42% 50%, rgb(var(--shade) / var(--shade-a)) 0%, rgb(var(--shade) / calc(var(--shade-a) * 0.9)) 46%, rgb(var(--shade) / calc(var(--shade-a) * 0.35)) 74%, rgb(var(--shade) / 0) 100%);
}

.mw-dusk__title {
  /* Wide enough for "Don't sleep", too narrow for "on" after it. */
  max-width: 8.6em;
  margin: 0;
  font: 800 clamp(40px, 7.2vw, calc(112px * var(--m-k, 1)))/0.98 var(--m-font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--m-ink), var(--m-on-deep) calc(var(--night) * 100%));
}

.mw-dusk__title em {
  font-style: normal;
  color: color-mix(in oklab, var(--m-signal-text), var(--m-signal) calc(var(--night) * 100%));
}

.mw-dusk__sub {
  max-width: 30ch;
  margin: clamp(calc(18px * var(--m-k, 1)), 2vw, calc(28px * var(--m-k, 1))) 0 0;
  font: 500 clamp(16px, 1.3vw, calc(20px * var(--m-k, 1)))/1.5 var(--m-font-body);
  /* The headline's colour, leaning a fifth toward the muted one (SOFT in DuskCta). */
  color: color-mix(in oklab, color-mix(in oklab, var(--m-ink), var(--m-muted) 20%), color-mix(in oklab, var(--m-on-deep), var(--m-on-deep-muted) 20%) calc(var(--night) * 100%));
}

.mw-dusk__button {
  margin-top: clamp(calc(24px * var(--m-k, 1)), 2.6vw, calc(36px * var(--m-k, 1)));
}

/* By night the button's heat carries, like a lamp in the dark. */
.mw-dusk__stage[data-night] .mw-button.is-hot,
.mw-dusk__stage[data-night] .mw-button:focus-visible {
  box-shadow:
    0 0 0 1px rgba(255, 150, 90, 0.35),
    0 0 38px 2px rgba(255, 122, 53, 0.45),
    0 0 90px 10px rgba(255, 122, 53, 0.18);
}

/* The footer at the foot of the stage: the small print over the dark sand (the wordmark is in
   the canvas). DuskCta fades it in; it shows at once if a link in it takes the focus. */
.mw-dusk__foot {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  font-family: var(--m-font-body);
}

.mw-dusk__foot:focus-within {
  opacity: 1 !important;
}

/* Without WebGL, the wordmark as plain text above the small print. */
.mw-dusk__word {
  margin: 0 calc(45px * var(--m-k, 1)) calc(64px * var(--m-k, 1));
  font: 800 17vw/1 var(--font-unbounded), sans-serif;
  color: var(--m-on-deep);
}

@media (max-width: 760px) {
  .mw-dusk__copy {
    left: calc(20px * var(--m-k, 1));
    max-width: calc(100% - calc(40px * var(--m-k, 1)));
  }

  .mw-dusk__word {
    margin: 0 calc(20px * var(--m-k, 1));
  }
}

/* The site map as stars in the footer's sky (components/Constellation.tsx): six named stars
   scattered through the sky over the wordmark, each at its own height, its name beside it. No
   lines: at rest they are a few brighter stars among the sky's own, their names faint. DuskCta
   sets --mark-top (where the wordmark's letters start, from the stage's top) and fades the sky
   in with the night. Each star sits at its share (--x, --y; --px, --py on a phone) of the box. */
.mw-stars {
  --c-ink: var(--m-on-deep);
  --c-ember: #FF7A35;
  position: absolute;
  z-index: 1;
  left: calc(45px * var(--m-k, 1));
  right: calc(45px * var(--m-k, 1));
  top: max(calc(104px * var(--m-k, 1)), calc(var(--mark-top, 62vh) * 0.2));
  height: clamp(calc(150px * var(--m-k, 1)), calc(var(--mark-top, 62vh) * 0.5), calc(300px * var(--m-k, 1)));
  font-family: var(--m-font-body);
}

.mw-stars:focus-within {
  opacity: 1 !important;
}

.mw-stars ul {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A star: a point in the box, drifting a few pixels on its own slow beat (--drift); its light
   (::before) twinkles on another (--d). */
.mw-stars__star {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: calc(var(--y) * 100%);
  width: 0;
  height: 0;
  animation: mw-star-drift var(--drift, 11s) ease-in-out calc(var(--d, 0s) * -3) infinite alternate;
}

.mw-stars__star::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: -1.5px;
  width: calc(3px * var(--m-k, 1));
  height: calc(3px * var(--m-k, 1));
  border-radius: 50%;
  background: #D9DEF2;
  box-shadow: 0 0 5px 1px rgb(217 222 242 / 0.22);
  pointer-events: none;
  animation: mw-twinkle 4.2s ease-in-out var(--d, 0s) infinite alternate;
  transition:
    transform var(--m-fast) var(--m-ease),
    background-color var(--m-fast) var(--m-ease),
    box-shadow var(--m-fast) var(--m-ease);
}

/* The call to action: the warm evening star, ember even at rest. */
.mw-stars__star[data-bow]::before {
  background: var(--c-ember);
  box-shadow: 0 0 8px 1px rgb(255 122 53 / 0.45);
}

/* Pointed at: the star warms to ember and swells. */
.mw-stars__star:has(.mw-stars__link:is(:hover, :focus-visible))::before {
  animation: none;
  opacity: 1;
  background: var(--c-ember);
  transform: scale(1.7);
  box-shadow: 0 0 12px 3px rgb(255 122 53 / 0.5);
}

/* Out of the night (DuskCta holds them at nothing), the stars stand still. */
.mw-stars[data-dark] .mw-stars__star,
.mw-stars[data-dark] .mw-stars__star::before {
  animation-play-state: paused;
}

@keyframes mw-twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes mw-star-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(3px, -4px, 0); }
}

/* A 44px-high target from the star to the end of its name, which sits beside it. */
.mw-stars__link {
  position: absolute;
  left: -22px;
  top: -22px;
  display: flex;
  align-items: center;
  height: calc(44px * var(--m-k, 1));
  padding: 0 calc(8px * var(--m-k, 1)) 0 calc(34px * var(--m-k, 1));
  color: var(--c-ink);
  text-decoration: none;
}

.mw-stars__link[data-end] {
  left: auto;
  right: -22px;
  padding: 0 calc(34px * var(--m-k, 1)) 0 calc(8px * var(--m-k, 1));
}

.mw-stars__link:focus-visible {
  outline: none;
}

.mw-stars__label {
  white-space: nowrap;
  font-size: calc(12px * var(--m-k, 1));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.38;
  transition: opacity var(--m-fast) var(--m-ease), transform var(--m-move) var(--m-ease);
}

/* Into the sky: every name wakes a little; the one pointed at comes in full. */
.mw-stars:is(:hover, :focus-within) .mw-stars__label {
  opacity: 0.55;
}

.mw-stars__link:is(:hover, :focus-visible) .mw-stars__label {
  opacity: 1;
  transform: translateX(3px);
}

.mw-stars__link[data-end]:is(:hover, :focus-visible) .mw-stars__label {
  transform: translateX(-3px);
}

.mw-stars__link:focus-visible .mw-stars__label {
  text-decoration: underline;
  text-underline-offset: calc(5px * var(--m-k, 1));
}

@media (max-width: 760px) {
  .mw-stars {
    left: calc(20px * var(--m-k, 1));
    right: calc(20px * var(--m-k, 1));
    top: max(calc(96px * var(--m-k, 1)), calc(var(--mark-top, 62vh) * 0.16));
    height: clamp(calc(220px * var(--m-k, 1)), calc(var(--mark-top, 62vh) * 0.62), calc(340px * var(--m-k, 1)));
  }

  .mw-stars__star {
    left: calc(var(--px) * 100%);
    top: calc(var(--py) * 100%);
  }

  .mw-stars__label {
    font-size: calc(11px * var(--m-k, 1));
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-stars__star,
  .mw-stars__star::before {
    animation: none;
  }

  .mw-stars__label {
    transition: opacity var(--m-fast) var(--m-ease);
  }

  .mw-stars__link:is(:hover, :focus-visible) .mw-stars__label {
    transform: none;
  }
}

/* --- Blog (/blog, /blog/<slug>) ---------------------------------------------
   After Medium, kept quiet: one centred 680px column throughout. The feed is
   topic tabs over plain story rows (BlogFeed.tsx). The brand's two faces: Unbounded for
   what you glance at (titles, headings), DM Sans for what you read. Ink on paper,
   hairlines for structure, and the dune photographs carry the light. */

.mw-blog,
.mw-story,
.mw-more {
  --mw-hair: color-mix(in srgb, var(--m-ink) 10%, transparent);
  --mw-head: var(--m-font-display);
  --mw-ui: var(--font-dm-sans), var(--font-dm-sans-ext), Inter, var(--font-inter), system-ui, sans-serif;
}

.mw-avatar {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: calc(var(--mw-avatar-size, 24px) * var(--m-k, 1));
  height: calc(var(--mw-avatar-size, 24px) * var(--m-k, 1));
  border-radius: 50%;
  background: color-mix(in srgb, var(--m-ink) 8%, transparent);
  color: var(--m-ink);
  font: 700 calc(var(--mw-avatar-size, 24px) * var(--m-k, 1) * 0.4)/1 var(--mw-ui);
  letter-spacing: 0.02em;
}

/* The page: the head and the feed share one centred column. */
.mw-blog {
  min-height: 100vh;
  padding: calc(200px * var(--m-k, 1)) var(--m-gutter) var(--m-section-y);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

.mw-blog__head,
.mw-feed,
.mw-blog__empty {
  max-width: calc(680px * var(--m-k, 1));
  margin-inline: auto;
}

.mw-blog__head {
  margin-bottom: calc(64px * var(--m-k, 1));
}

.mw-blog__title {
  font-size: clamp(40px, 5vw, calc(64px * var(--m-k, 1)));
  line-height: 1;
}

.mw-blog__empty {
  font: 400 calc(18px * var(--m-k, 1))/1.5 var(--mw-ui);
  color: var(--m-muted);
}

.mw-feed__tabs {
  display: flex;
  gap: calc(28px * var(--m-k, 1));
  overflow-x: auto;
  /* The tabs' -1px margin sits over the hairline, 1px past the row's box: without this the row
     scrolled up and down on a phone (2026-11-24). */
  overflow-y: hidden;
  border-bottom: 1px solid var(--mw-hair);
  scrollbar-width: none;
}

.mw-feed__tabs::-webkit-scrollbar {
  display: none;
}

.mw-feed__tab {
  flex: none;
  padding: 0 0 calc(16px * var(--m-k, 1));
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--m-muted);
  font: 400 calc(14px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--mw-ui);
  cursor: pointer;
  transition: color var(--m-fast) var(--m-ease);
}

.mw-feed__tab[aria-selected="true"] {
  border-bottom-color: var(--m-ink);
  color: var(--m-ink);
}

@media (hover: hover) {
  .mw-feed__tab:hover {
    color: var(--m-ink);
  }
}

.mw-feed__tab:focus-visible,
.mw-story__action:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 3px;
}

/* A new topic's stories settle in, softly. */
.mw-feed__list {
  animation: mw-feed-in 0.45s var(--m-ease) both;
}

@keyframes mw-feed-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

.mw-story-row {
  border-bottom: 1px solid var(--mw-hair);
}

.mw-story-row__link {
  display: flex;
  flex-direction: column;
  gap: calc(10px * var(--m-k, 1));
  padding: calc(36px * var(--m-k, 1)) 0;
  color: var(--m-ink);
  text-decoration: none;
}

.mw-story-row__byline {
  font: 500 calc(13px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-ink);
}

.mw-story-row__body {
  display: flex;
  gap: calc(40px * var(--m-k, 1));
  align-items: flex-start;
  justify-content: space-between;
}

.mw-story-row__text {
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--m-k, 1));
  min-width: 0;
}

.mw-story-row__title {
  margin: 0;
  font: 700 calc(21px * var(--m-k, 1))/calc(28px * var(--m-k, 1)) var(--mw-head);
  letter-spacing: -0.02em;
  color: var(--m-ink);
  text-wrap: pretty;
}

.mw-story-row__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font: 400 calc(16px * var(--m-k, 1))/calc(24px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-muted);
}

.mw-story-row__thumb {
  flex: none;
  width: calc(160px * var(--m-k, 1));
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(4px * var(--m-k, 1));
}

.mw-story-row__meta {
  display: flex;
  gap: calc(6px * var(--m-k, 1));
  font: 400 calc(13px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-muted);
}

@media (hover: hover) {
  .mw-story-row__link:hover .mw-story-row__title,
  .mw-more__card:hover .mw-more__title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: calc(4px * var(--m-k, 1));
  }
}

@media (max-width: 699px) {
  .mw-story-row__title {
    font-size: calc(20px * var(--m-k, 1));
    line-height: calc(25px * var(--m-k, 1));
  }

  .mw-story-row__body {
    gap: calc(20px * var(--m-k, 1));
  }

  .mw-story-row__thumb {
    width: calc(80px * var(--m-k, 1));
    aspect-ratio: 1;
  }
}

/* A story: one 680px column. */
.mw-story {
  padding: calc(168px * var(--m-k, 1)) var(--m-gutter) 0;
  color: var(--m-ink);
  background-color: var(--m-paper);
  background-image: none;
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 0;
}

.mw-story__head,
.mw-story__body,
.mw-story__foot {
  max-width: calc(680px * var(--m-k, 1));
  margin-inline: auto;
}

.mw-story__back {
  margin-bottom: calc(40px * var(--m-k, 1));
}

.mw-story__title {
  margin: 0;
  font: 800 clamp(30px, 3.2vw, calc(44px * var(--m-k, 1)))/1.12 var(--mw-head);
  letter-spacing: -0.03em;
  color: var(--m-ink);
  text-wrap: balance;
}

.mw-story__subtitle {
  margin: calc(12px * var(--m-k, 1)) 0 0;
  font: 400 clamp(19px, 1.6vw, calc(22px * var(--m-k, 1)))/1.4 var(--mw-ui);
  color: var(--m-muted);
}

.mw-story__byline {
  display: flex;
  align-items: center;
  gap: calc(14px * var(--m-k, 1));
  margin-top: calc(32px * var(--m-k, 1));
}

.mw-story__byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mw-story__author {
  font: 500 calc(16px * var(--m-k, 1))/calc(24px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-ink);
}

.mw-story__meta {
  margin: 0;
  font: 400 calc(14px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-muted);
}

.mw-story__actions {
  display: flex;
  justify-content: flex-end;
  gap: calc(8px * var(--m-k, 1));
  margin-top: calc(32px * var(--m-k, 1));
  padding: calc(6px * var(--m-k, 1)) 0;
  border-block: 1px solid var(--mw-hair);
}

.mw-story__action {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: calc(40px * var(--m-k, 1));
  height: calc(40px * var(--m-k, 1));
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--m-muted);
  cursor: pointer;
  transition: color var(--m-fast) var(--m-ease);
}

.mw-story__action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .mw-story__action:hover {
    color: var(--m-ink);
  }
}

.mw-story__action-tip:not(:empty) {
  position: absolute;
  bottom: calc(100% + calc(6px * var(--m-k, 1)));
  padding: calc(6px * var(--m-k, 1)) calc(10px * var(--m-k, 1));
  border-radius: calc(4px * var(--m-k, 1));
  background: var(--m-ink);
  color: var(--m-paper);
  font: 500 calc(12px * var(--m-k, 1))/1 var(--mw-ui);
  white-space: nowrap;
}

/* The body: Medium's reading measure, in the brand's body face, DM Sans 20 at 1.45. */
.mw-story__body {
  padding-top: calc(40px * var(--m-k, 1));
  font: 400 calc(20px * var(--m-k, 1))/calc(29px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-ink);
}

.mw-story__body > * {
  margin: 0;
}

.mw-story__body > * + * {
  margin-top: calc(38px * var(--m-k, 1));
}

.mw-story__body > * + ul,
.mw-story__body > h2 + * {
  margin-top: calc(14px * var(--m-k, 1));
}

.mw-story__body h2 {
  margin: calc(56px * var(--m-k, 1)) 0 0;
  font: 700 calc(22px * var(--m-k, 1))/calc(28px * var(--m-k, 1)) var(--mw-head);
  letter-spacing: -0.02em;
}

.mw-story__body ul {
  padding-left: calc(30px * var(--m-k, 1));
}

.mw-story__body li {
  margin: 0;
  padding: 0 0 0 calc(6px * var(--m-k, 1));
}

.mw-story__body li + li {
  margin-top: calc(14px * var(--m-k, 1));
}

/* A photo in the body: the column's width, rounded like the cover above. */
.mw-story__body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(12px * var(--m-k, 1));
}

.mw-story__body blockquote {
  margin: calc(48px * var(--m-k, 1)) 0;
  padding-left: calc(23px * var(--m-k, 1));
  border-left: 3px solid var(--m-ink);
}

.mw-story__body blockquote p {
  margin: 0;
  font-style: italic;
}

.mw-story__body cite {
  display: block;
  margin-top: calc(8px * var(--m-k, 1));
  font: 400 calc(15px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--mw-ui);
  font-style: normal;
  color: var(--m-muted);
}

.mw-story__foot {
  padding: calc(48px * var(--m-k, 1)) 0 calc(72px * var(--m-k, 1));
}

.mw-story__foot .mw-story__actions {
  margin-top: 0;
}

.mw-story__writer {
  display: flex;
  flex-direction: column;
  gap: calc(4px * var(--m-k, 1));
  padding-top: calc(40px * var(--m-k, 1));
}

.mw-story__writer-name {
  margin: 0;
  font: 700 calc(20px * var(--m-k, 1))/calc(26px * var(--m-k, 1)) var(--mw-head);
  letter-spacing: -0.02em;
}

/* More from Mirage: a slightly deeper band, two by two. */
.mw-more {
  padding: calc(64px * var(--m-k, 1)) var(--m-gutter) var(--m-section-y);
  background: var(--m-paper2);
}

.mw-more__inner {
  max-width: calc(680px * var(--m-k, 1));
  margin-inline: auto;
}

.mw-more__heading {
  margin: 0 0 calc(32px * var(--m-k, 1));
  padding-bottom: calc(24px * var(--m-k, 1));
  border-bottom: 1px solid var(--mw-hair);
  font: 700 calc(20px * var(--m-k, 1))/calc(24px * var(--m-k, 1)) var(--mw-head);
  letter-spacing: -0.02em;
  color: var(--m-ink);
}

.mw-more__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(40px * var(--m-k, 1)) calc(32px * var(--m-k, 1));
}

.mw-more__card {
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--m-k, 1));
  color: var(--m-ink);
  text-decoration: none;
}

.mw-more__title {
  font: 700 calc(17px * var(--m-k, 1))/calc(23px * var(--m-k, 1)) var(--mw-head);
  letter-spacing: -0.02em;
}

.mw-more__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font: 400 calc(15px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--mw-ui);
  color: var(--m-muted);
}

.mw-more__all {
  margin-top: calc(40px * var(--m-k, 1));
}

@media (max-width: 699px) {
  .mw-story {
    padding-top: calc(128px * var(--m-k, 1));
  }

  .mw-story__body {
    font-size: calc(18px * var(--m-k, 1));
    line-height: calc(28px * var(--m-k, 1));
  }

  .mw-story__body > * + * {
    margin-top: calc(28px * var(--m-k, 1));
  }

  .mw-more__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-feed__list {
    animation: none;
  }
}

/* The page switch: the story's parts come in like the case page's, title first. */
html.mirage-enter .mw-feed,
html.mirage-enter .mw-story__back,
html.mirage-enter .mw-story__title,
html.mirage-enter .mw-story__subtitle,
html.mirage-enter .mw-story__byline,
html.mirage-enter .mw-story__body,
html.mirage-enter .mw-blog__title {
  animation: mirage-enter 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(140ms + var(--mirage-step, 0) * 70ms);
}

html.mirage-enter .mw-story__title,
html.mirage-enter .mw-blog__title {
  filter: url(#mirage-haze-title);
  --mirage-rise: 10px;
  --mirage-step: 1;
}

html.mirage-enter .mw-story__subtitle { --mirage-step: 2; }
html.mirage-enter .mw-story__byline { --mirage-step: 3; }
html.mirage-enter .mw-story__body { --mirage-step: 4; }
html.mirage-enter .mw-feed { --mirage-step: 3; --mirage-rise: 24px; }

/* --- The listing hero: /blog and /work stand on the same desert ---------------
   Prototype: mirage-heat/flat-dunes.html#pastel. One system for both listings: the
   head centred in the sky (label, title, one line of lede), the Pastel dunes under
   it, then a row of text tabs on a hairline over the page's own content.
   The land is one flat drawing in the brand's tints (dunes-pastel.svg): Dusk tint
   and Haze 2 at the back, Sand tint lit, Sand in the slip face. Its nearest dune is
   Haze, the page itself, so it has no edge. It runs the full width, never narrower
   than 1180px; under that it's cropped, and on phones it slides left so the big
   dune stays in view. */

:root {
  --m-horizon-haze: url("/assets/images/dune-haze-1280.webp");
  /* The grain in every hero's sky (/blog, /work, /pricing, /about). 0.32 until 2026-11-01 ("a bit more subtle"),
     0.2 until 2026-11-25 ("very very subtle"). */
  --m-hero-grain: 0.06;
}

.mw-blog,
.mw-work {
  --mw-land-w: max(100vw, 1180px);
  --mw-land-x: 0.5;
  padding-top: calc(150px * var(--m-k, 1));
  overflow-x: clip;
}

.mw-blog__head,
.mw-work__head {
  max-width: calc(1100px * var(--m-k, 1));
  margin: 0 auto calc(28px * var(--m-k, 1));
  text-align: center;
}

.mw-blog__head .mw-work__label,
.mw-work__head .mw-work__label {
  margin-bottom: calc(22px * var(--m-k, 1));
}

.mw-blog__title,
.mw-work__title {
  font-size: clamp(40px, 5.3vw, calc(76px * var(--m-k, 1)));
  line-height: 0.96;
  letter-spacing: -0.025em;
}

/* The land (DuneLand.tsx), under the head's last line. */
.mw-blog__head > .mw-land,
.mw-work__head > .mw-land {
  position: relative;
  width: var(--mw-land-w);
  aspect-ratio: 1440 / 424;
  margin: calc(4px * var(--m-k, 1)) 0 0 calc(50% - var(--mw-land-w) * var(--mw-land-x));
}

/* --- Rise: the hero comes up on arrival (2026-10-30) ---------------------------
   Prototype: mirage-heat/about-loader.html?v=b. On every load and every page switch
   to /about, /blog, /work or /pricing: the far ridge, the big dune and the lit front
   rise in turn, then the head comes in (label, headline, lede), then what's under it.
   Each layer is its own <svg> (DuneLand.tsx), so the browser moves it off the main
   thread and a heavy page load can't stall it. The near-dune cut is a fixed mask on
   the wrapper, so the layers rise behind it. CSS only: it starts with the first paint. */
.mw-land {
  pointer-events: none;
  -webkit-mask: url("/assets/images/dunes-pastel-cut.svg") 0 0 / 100% 100% no-repeat;
  mask: url("/assets/images/dunes-pastel-cut.svg") 0 0 / 100% 100% no-repeat;
}

.mw-land__layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  animation: mw-land-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.mw-land__layer:nth-child(2) {
  animation-delay: 0.12s;
}

.mw-land__layer:nth-child(3) {
  animation-delay: 0.24s;
}

/* 120 of the drawing's 424 units. */
@keyframes mw-land-rise {
  0% {
    transform: translateY(28%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

/* The head, as the land settles. These beat the page switch's own entrance (above),
   which would bring the headline in before the land. */
html .mw-blog__head > :not(.mw-land),
html .mw-work__head > :not(.mw-land),
html .mw-rv__hero > :not(.mw-land),
html .ab-hero__copy > * {
  animation: mw-head-rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s both;
}

html .mw-blog__head > :nth-child(2),
html .mw-work__head > :nth-child(2),
html .mw-rv__hero > :nth-child(2),
html .ab-hero__copy > :nth-child(2) {
  animation-delay: 0.58s;
}

html .mw-blog__head > :nth-child(3),
html .mw-work__head > :nth-child(3),
html .mw-rv__hero > :nth-child(3),
html .ab-hero__copy > :nth-child(3) {
  animation-delay: 0.66s;
}

@keyframes mw-head-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
}

/* Held at the start until the page is shown (MirageSwitch adds .mirage-go at `pagereveal`). */
@media (scripting: enabled) {
  html:not(.mirage-go) .mw-land__layer,
  html:not(.mirage-go) .mw-blog__head > :not(.mw-land),
  html:not(.mirage-go) .mw-work__head > :not(.mw-land),
  html:not(.mirage-go) .mw-rv__hero > :not(.mw-land),
  html:not(.mirage-go) .ab-hero__copy > * {
    animation-play-state: paused;
  }
}

/* On a switch, what's under the head waits for it too. */
html.mirage-enter .mw-work__filters,
html.mirage-enter .mw-work__item,
html.mirage-enter .mw-feed {
  animation-delay: calc(560ms + var(--mirage-step, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
  .mw-land__layer,
  html .mw-blog__head > *,
  html .mw-work__head > *,
  html .mw-rv__hero > *,
  html .ab-hero__copy > * {
    animation: none;
  }
}

/* /work's filters take the blog's tabs: text on a hairline, the count a small figure. */
.mw-work__filters {
  gap: calc(28px * var(--m-k, 1));
  margin: 0 0 calc(40px * var(--m-k, 1));
  border-bottom: 1px solid color-mix(in srgb, var(--m-ink) 10%, transparent);
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.mw-work__filters::-webkit-scrollbar {
  display: none;
}

.mw-work__chip {
  flex: none;
  gap: calc(5px * var(--m-k, 1));
  align-items: baseline;
  height: auto;
  padding: 0 0 calc(16px * var(--m-k, 1));
  border-bottom: 1px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  background: none;
  color: var(--m-muted);
  font: 400 calc(14px * var(--m-k, 1))/calc(20px * var(--m-k, 1)) var(--m-font-body);
  letter-spacing: 0;
  text-transform: none;
  transition: color var(--m-fast) var(--m-ease), border-color var(--m-fast) var(--m-ease);
}

.mw-work__chip[aria-pressed="true"] {
  border-bottom-color: var(--m-ink);
  background: none;
  color: var(--m-ink);
}

@media (hover: hover) {
  .mw-work__chip:not([aria-pressed="true"]):hover {
    background: none;
    color: var(--m-ink);
  }
}

@media (max-width: 699px) {
  .mw-blog,
  .mw-work {
    --mw-land-w: 900px;
    --mw-land-x: 0.71;
    padding-top: calc(120px * var(--m-k, 1));
  }
}

/* --- The blog's page: a rail and the feed, on the site container --------------
   Prototype: mirage-heat/blog-layouts.html#d. Under the hero the blog takes the
   same 12 columns as every other page: a quiet sticky rail (topics with counts,
   an ink dot on the active one) in three, the feed in the rest.
   Every story is a row: the writer, a big title, two lines, the details, and its
   photograph on the right, the height of the row. No featured post. */

.mw-blog .mw-feed:has(> .mw-feed__rail) {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: calc(32px * var(--m-k, 1));
  max-width: none;
}

.mw-feed__rail {
  grid-column: 1 / span 3;
  position: sticky;
  top: calc(120px * var(--m-k, 1));
  align-self: start;
}

.mw-feed__main {
  grid-column: 4 / span 9;
  padding-left: calc(40px * var(--m-k, 1));
}

.mw-feed__label {
  margin: 0 0 calc(16px * var(--m-k, 1));
  font: 600 calc(12px * var(--m-k, 1))/1 var(--mw-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-muted);
}

/* The topics: a list, not tabs on a line. Text lines up with its label; the dot sits in the margin. */
.mw-feed__rail .mw-feed__tabs {
  flex-direction: column;
  gap: 0;
  margin: 0 0 calc(44px * var(--m-k, 1));
  border-bottom: 0;
  overflow: visible;
}

.mw-feed__rail .mw-feed__tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: calc(8px * var(--m-k, 1));
  padding: calc(7px * var(--m-k, 1)) 0;
  border: 0;
  margin: 0;
  font: 400 calc(16px * var(--m-k, 1))/1.3 var(--mw-ui);
  text-align: left;
}

/* The chosen topic slides right to make room for its dot, which sits flush with the other
   names; a topic you point at leans a little the same way. */
.mw-feed__rail .mw-feed__tab {
  transition: color var(--m-fast) var(--m-ease), translate 0.45s var(--m-ease);
}

.mw-feed__rail .mw-feed__tab::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: calc(5px * var(--m-k, 1));
  height: calc(5px * var(--m-k, 1));
  margin-top: -2px;
  border-radius: 50%;
  background: currentColor;
  scale: 0;
  transition: scale 0.35s var(--m-ease);
}

.mw-feed__rail .mw-feed__tab[aria-selected="true"] {
  translate: 14px 0;
  font-weight: 500;
}

.mw-feed__rail .mw-feed__tab[aria-selected="true"]::before {
  scale: 1;
  transition-delay: 0.08s;
}

@media (hover: hover) {
  .mw-feed__rail .mw-feed__tab:not([aria-selected="true"]):hover {
    translate: 3px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-feed__rail .mw-feed__tab,
  .mw-feed__rail .mw-feed__tab::before {
    transition: none;
  }
}

.mw-feed__count {
  font-size: calc(12px * var(--m-k, 1));
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

/* A story row: the text on the left, its photograph on the right, the full height of the row. */
.mw-blog .mw-story-row__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(320px * var(--m-k, 1));
  column-gap: calc(56px * var(--m-k, 1));
  align-content: start;
  padding: calc(40px * var(--m-k, 1)) 0;
}

.mw-blog .mw-feed__list .mw-story-row:first-child .mw-story-row__link {
  padding-top: 0;
}

.mw-blog .mw-story-row__body {
  display: contents;
}

.mw-blog .mw-story-row__byline {
  display: flex;
  grid-column: 1;
  align-items: center;
  gap: calc(10px * var(--m-k, 1));
  font: 500 calc(14px * var(--m-k, 1))/1.2 var(--mw-ui);
}

.mw-blog .mw-story-row__text {
  grid-column: 1;
  gap: calc(12px * var(--m-k, 1));
  margin-top: calc(16px * var(--m-k, 1));
}

.mw-blog .mw-story-row__title {
  font: 700 calc(28px * var(--m-k, 1))/1.16 var(--mw-head);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.mw-blog .mw-story-row__excerpt {
  max-width: 58ch;
  font: 400 calc(17px * var(--m-k, 1))/1.55 var(--mw-ui);
}

.mw-blog .mw-story-row__thumb {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(14px * var(--m-k, 1));
}

.mw-blog .mw-story-row__meta {
  grid-column: 1;
  gap: calc(10px * var(--m-k, 1));
  margin-top: calc(16px * var(--m-k, 1));
}

@media (max-width: 1100px) {
  .mw-blog .mw-story-row__link {
    grid-template-columns: minmax(0, 1fr) calc(220px * var(--m-k, 1));
    column-gap: calc(36px * var(--m-k, 1));
  }

  .mw-feed__main {
    padding-left: 0;
  }
}

/* Phones and small tablets: the rail folds back into the row of tabs over the feed. */
@media (max-width: 899px) {
  .mw-blog .mw-feed:has(> .mw-feed__rail) {
    display: block;
  }

  .mw-feed__rail {
    position: static;
  }

  .mw-feed__rail .mw-feed__label {
    display: none;
  }

  .mw-feed__rail .mw-feed__tabs {
    flex-direction: row;
    gap: calc(24px * var(--m-k, 1));
    margin: 0 0 calc(32px * var(--m-k, 1));
    border-bottom: 1px solid var(--mw-hair);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .mw-feed__rail .mw-feed__tab {
    flex: none;
    padding: 0 0 calc(16px * var(--m-k, 1));
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    font-size: calc(14px * var(--m-k, 1));
  }

  .mw-feed__rail .mw-feed__tab[aria-selected="true"] {
    border-bottom-color: var(--m-ink);
    translate: none;
  }

  .mw-feed__rail .mw-feed__tab[aria-selected="true"]::before {
    display: none;
  }

  .mw-blog .mw-story-row__link {
    grid-template-columns: minmax(0, 1fr) calc(96px * var(--m-k, 1));
    column-gap: calc(20px * var(--m-k, 1));
    padding: calc(28px * var(--m-k, 1)) 0;
  }

  .mw-blog .mw-story-row__thumb {
    grid-row: 2;
    aspect-ratio: 1;
    border-radius: calc(10px * var(--m-k, 1));
  }

  .mw-blog .mw-story-row__title {
    font-size: calc(20px * var(--m-k, 1));
    line-height: 1.25;
  }

  .mw-blog .mw-story-row__excerpt {
    font-size: calc(15px * var(--m-k, 1));
  }
}

/* --- The ground system (components/sections) ---------------------------------
   Pictures stay on Haze. Sections made of type take a ground by their job: Sand for
   people and warm moments, Dusk for proof, Night for process and the close (with its
   stars). A coloured ground rises out of the page on a dune crest and the page's own
   dune comes back over its foot, so a change of colour is a change of landscape, never
   a straight cut. Flat fields only; the brand's pairs for type on each ground. */

.mw-ground {
  --mw-crest: calc(80px * var(--m-k, 1));
  position: relative;
  margin: var(--mw-crest) 0;
  padding: calc(var(--m-section-y) * 0.8) var(--m-gutter);
  color: var(--g-ink);
  background: var(--g-bg);
}

.mw-ground--sand {
  --g-bg: #d2b99a;
  --g-ink: #17101c;
  --g-sub: #4f3f31;
  --g-accent: #17101c;
  --g-line: rgba(23, 16, 28, 0.16);
}

.mw-ground--dusk {
  --g-bg: #4f334f;
  --g-ink: #efeef0;
  --g-sub: rgba(239, 238, 240, 0.72);
  --g-accent: #ff7a35;
  --g-line: rgba(239, 238, 240, 0.16);
}

/* Sky: a pale day sky over the dunes (the Day picture's own blue, lifted towards Haze). */
.mw-ground--sky {
  --g-bg: #d8e1eb;
  --g-ink: #17101c;
  --g-sub: #4f5866;
  --g-accent: #ae4f1c;
  --g-line: rgba(23, 16, 28, 0.12);
}

.mw-ground--night {
  --g-bg: #17101c;
  --g-ink: #efeef0;
  --g-sub: #a09da3;
  --g-accent: #ff7a35;
  --g-line: rgba(239, 238, 240, 0.12);
  background: url("/assets/images/stars.svg") 0 0 / 480px 360px repeat, var(--g-bg);
}

/* The crest it rises on, and the page's dune coming back over its foot. */
.mw-ground::before,
.mw-ground::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--mw-crest);
  pointer-events: none;
}

.mw-ground::before {
  bottom: 100%;
  margin-bottom: -1px;
  background: var(--g-bg);
  -webkit-mask: url("/assets/images/crest-a.svg") center bottom / 100% 100% no-repeat;
  mask: url("/assets/images/crest-a.svg") center bottom / 100% 100% no-repeat;
}

.mw-ground::after {
  top: 100%;
  margin-top: -1px;
  background: var(--g-bg);
  -webkit-mask: url("/assets/images/crest-b.svg?v=2") center top / 100% 100% no-repeat;
  mask: url("/assets/images/crest-b.svg?v=2") center top / 100% 100% no-repeat;
  transform: scaleY(-1);
}

.mw-ground__inner {
  position: relative;
  max-width: calc(1350px * var(--m-k, 1));
  margin: 0 auto;
}

/* Inside a case the page has its own gutter; a ground still runs the full width. */
.mw-case .mw-ground {
  margin-inline: calc(-1 * var(--mw-case-gutter));
  padding-inline: var(--mw-case-gutter);
}

.mw-ground__eyebrow {
  margin: 0 0 calc(22px * var(--m-k, 1));
  font: 600 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g-sub, var(--m-muted));
}

.mw-ground__title {
  max-width: 18ch;
  margin: 0 0 calc(64px * var(--m-k, 1));
  font: 800 clamp(34px, 4.4vw, calc(64px * var(--m-k, 1)))/1 var(--m-font-display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.mw-ground__title em {
  font-style: normal;
  color: var(--g-accent);
}

/* About · by the numbers. */
.mw-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(32px * var(--m-k, 1));
  margin: 0;
}

.mw-numbers__item {
  padding-top: calc(24px * var(--m-k, 1));
  border-top: 1px solid var(--g-line);
}

.mw-numbers__value {
  font: 800 clamp(44px, 5vw, calc(76px * var(--m-k, 1)))/1 var(--m-font-display);
  letter-spacing: -0.03em;
}

.mw-numbers__label {
  max-width: 24ch;
  margin: calc(16px * var(--m-k, 1)) 0 0;
  font: 400 calc(16px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--g-sub);
}

/* About · how we work: the head beside a numbered list. */
.mw-values .mw-ground__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: calc(32px * var(--m-k, 1));
}

.mw-values__head .mw-ground__title {
  margin: 0;
}

.mw-values__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-values__item {
  display: grid;
  grid-template-columns: calc(48px * var(--m-k, 1)) minmax(0, 1fr);
  column-gap: calc(16px * var(--m-k, 1));
  padding: calc(24px * var(--m-k, 1)) 0;
  border-top: 1px solid var(--g-line);
}

.mw-values__item:last-child {
  border-bottom: 1px solid var(--g-line);
}

.mw-values__n {
  grid-row: span 2;
  font: 600 calc(13px * var(--m-k, 1))/calc(28px * var(--m-k, 1)) var(--m-font-body);
  color: var(--g-sub);
}

.mw-values__title {
  font: 700 calc(22px * var(--m-k, 1))/1.25 var(--m-font-display);
  letter-spacing: -0.02em;
}

.mw-values__line {
  margin-top: calc(8px * var(--m-k, 1));
  font: 400 calc(17px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--g-sub);
}

/* /work · what clients say: the head on the left, one voice leading big, two quiet cards beside it. */
.mw-quotes .mw-ground__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: calc(32px * var(--m-k, 1));
  row-gap: calc(48px * var(--m-k, 1));
}

.mw-quotes__head {
  grid-column: 1 / span 4;
}

.mw-quotes__head .mw-ground__title {
  margin: 0;
  font-size: clamp(34px, 3.6vw, calc(56px * var(--m-k, 1)));
}

.mw-case-quote__quote {
  padding: 0;
  border: 0;
}

/* A case · the outcome (2026-11-01, from the case v2 prototype): a flat ink band across the page, its
   words on the vision's 700px column: a label, the lead figure as an H2, and the case in a sentence. */
.mw-outcome {
  align-self: stretch;
  margin: var(--m-section-y) calc(-1 * var(--m-gutter)) 0;
  padding: var(--m-section-y) var(--m-gutter);
  background: #17101c;
  color: #efeef0;
}

/* Its words keep to the story's 700px column, like the vision (2026-11-01). */
.mw-outcome__inner {
  max-width: calc(700px * var(--m-k, 1));
  margin-inline: auto;
}

.mw-outcome__eyebrow {
  margin: 0 0 calc(16px * var(--m-k, 1));
  font: 600 var(--m-t-eyebrow, calc(12px * var(--m-k, 1))) / 1.3 var(--m-font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a09da3;
}

.mw-outcome__headline {
  max-width: 18ch;
  margin: 0 0 calc(24px * var(--m-k, 1));
  font: 800 var(--m-t-h2) / 1.04 var(--m-font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.mw-outcome__lead {
  max-width: 52ch;
  margin: 0;
  font: 400 clamp(19px, 1.6vw, calc(22px * var(--m-k, 1))) / 1.5 var(--m-font-body);
  color: #cfccd2;
}

/* A case · the client's voice. */
.mw-case-quote .mw-ground__inner {
  max-width: calc(920px * var(--m-k, 1));
}

.mw-case-quote__quote {
  margin: 0 0 calc(28px * var(--m-k, 1));
  font: 700 clamp(26px, 2.8vw, calc(40px * var(--m-k, 1)))/1.2 var(--m-font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mw-case-quote__who {
  margin: 0;
  font: 400 calc(15px * var(--m-k, 1))/1.4 var(--m-font-body);
  color: var(--g-sub);
}

/* A post · related work (Haze: it has a picture). */
.mw-related {
  padding: calc(72px * var(--m-k, 1)) var(--m-gutter) calc(24px * var(--m-k, 1));
}

.mw-related__inner {
  max-width: calc(920px * var(--m-k, 1));
  margin: 0 auto;
}

.mw-related__card {
  display: grid;
  grid-template-columns: calc(320px * var(--m-k, 1)) minmax(0, 1fr);
  gap: calc(40px * var(--m-k, 1));
  align-items: center;
  color: var(--m-ink);
  text-decoration: none;
}

.mw-related__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(14px * var(--m-k, 1));
}

.mw-related__text {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
}

.mw-related__title {
  font: 800 calc(32px * var(--m-k, 1))/1.05 var(--m-font-display);
  letter-spacing: -0.025em;
}

.mw-related__outcome {
  font: 400 calc(17px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--m-muted);
}

.mw-related__more {
  font: 600 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 899px) {
  .mw-ground {
    --mw-crest: calc(48px * var(--m-k, 1));
  }

  .mw-numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mw-numbers__value {
    font-size: clamp(30px, 8.6vw, calc(44px * var(--m-k, 1)));
  }

  .mw-values .mw-ground__inner,
  .mw-quotes .mw-ground__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .mw-quotes__head {
    grid-column: auto;
  }

  .mw-related__card {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(20px * var(--m-k, 1));
  }
}

/* A post: one Haze photograph under the byline, the light before the reading. */
.mw-story__head::after {
  content: "";
  display: block;
  margin-top: calc(40px * var(--m-k, 1));
  aspect-ratio: 16 / 9;
  border-radius: calc(12px * var(--m-k, 1));
  background: var(--m-horizon-haze) center 62% / cover no-repeat;
}

/* ---------------------------------------------------------------------------
   About page (app/(frontend)/about, components/about). Draft.
   One light ground throughout; photos in black and white;
   signal orange only as a point, a full stop or a short line.
   --------------------------------------------------------------------------- */

.ab-page .mw-statement em {
  font-style: normal;
  color: var(--m-signal-text);
}

/* The hero: the headline over the Pastel dunes. It is one stage tall and scrolls away as a page. */

.ab-hero {
  position: relative;
}

/* The listing pages' land, along the bottom of the stage; its near dune is the page itself. */
.ab-hero__land {
  --land-w: max(100vw, 1180px);
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: var(--land-w);
  max-width: none;
  aspect-ratio: 1440 / 424;
  margin-left: calc(var(--land-w) * -0.5);
  pointer-events: none;
}

/* Phones: the land at 900px, slid left so the big dune stays in view (as on /blog and /work). */
@media (max-width: 699px) {
  .ab-hero__land {
    --land-w: 900px;
    margin-left: calc(var(--land-w) * -0.71);
  }
}

.ab-hero__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.ab-hero__copy {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--m-gutter) 16vh;
  text-align: center;
  pointer-events: none;
}

/* The listing heroes' size, so /about, /work and /blog open with one voice. */
.ab-hero__title {
  max-width: 15ch;
  font-size: clamp(34px, 5.3vw, calc(76px * var(--m-k, 1)));
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* The mission: right under the hero's sand. It comes up with the dunes (its top overlaps the
   hero's last 190px, where the near dune is the page), then holds at the top of the screen while
   the line fills in word by word (HOLD in AboutMission.tsx), then carries on. */

.ab-mission {
  position: relative;
  z-index: 1;
  /* 100vh plus the hold (AboutMission HOLD 0.25). It was 160vh with the line pinned near the top, which
     left most of the screen empty while it held. */
  height: 125vh;
  margin-top: -190px;
  pointer-events: none;
}

.ab-mission__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centred while it holds, so the space falls evenly around the statement as a pause. */
  justify-content: center;
  padding: 0 var(--m-gutter);
  text-align: center;
}

.ab-mission__line {
  max-width: 19ch;
  margin: 0;
  font: 700 clamp(30px, 4.6vw, calc(74px * var(--m-k, 1)))/1.1 var(--m-font-display);
  letter-spacing: -0.02em;
}

.ab-mission__word {
  color: var(--m-line);
  transition: color 0.35s var(--m-ease);
}

.ab-mission__word.is-lit {
  color: var(--m-ink);
}

.ab-mission__note {
  max-width: 46ch;
  margin: calc(40px * var(--m-k, 1)) 0 0;
  font: 400 calc(18px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--m-muted);
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.6s var(--m-ease), translate 0.6s var(--m-ease);
}

.ab-mission__note.is-in {
  opacity: 1;
  translate: 0 0;
}

/* The journey: the page's main event. A pinned stage; a camera rides one hairline road. */

.ab-journey {
  position: relative;
}

.ab-journey__stage {
  --drain: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* The road and the train fade out before they reach the chapter text on the left. */
.ab-journey__view {
  --panel-edge: calc(var(--m-gutter) + min(calc(420px * var(--m-k, 1)), 30vw));
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    transparent calc(var(--panel-edge) + 12px),
    #000 calc(var(--panel-edge) + 140px)
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    transparent calc(var(--panel-edge) + 12px),
    #000 calc(var(--panel-edge) + 140px)
  );
}

.ab-journey__world {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

/* The road runs far outside its 1px box; beat the base stylesheet's svg:not(:root) clip. */
.ab-journey svg.ab-journey__svg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

.ab-journey__svg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-journey__route {
  stroke: color-mix(in oklab, var(--m-line), var(--m-muted) 35%);
  stroke-width: 1.25;
}

/* Once the road's end is known, the strokes are gradients that fade into the heat, in these colours. */
.ab-journey__route-stop {
  stop-color: color-mix(in oklab, var(--m-line), var(--m-muted) 35%);
}

/* The ink drains to grey through the flat years. */
.ab-journey__travel {
  stroke: color-mix(in oklab, var(--m-ink), var(--m-line) calc(var(--drain) * 85%));
  stroke-width: 1.5;
}

.ab-journey__travel-stop {
  stop-color: color-mix(in oklab, var(--m-ink), var(--m-line) calc(var(--drain) * 85%));
}

/* The train's own track: measured, never drawn. */
.ab-journey__track {
  stroke: none;
}

.ab-journey__heat {
  stroke: url(#ab-heat-fade);
  stroke-width: 1.5;
}

.ab-journey__heat-stop {
  stop-color: var(--m-muted);
}

.ab-journey__branch {
  stroke: var(--m-ink);
  stroke-width: 1.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--m-ease);
}

.ab-journey__branch.is-on {
  stroke-dashoffset: 0;
}

.ab-journey__stop circle {
  fill: var(--m-paper);
  stroke: var(--m-ink);
  stroke-width: 1.25;
}

.ab-journey__stop text {
  font: 600 calc(11px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  fill: var(--m-muted);
}

.ab-journey__marker circle {
  fill: color-mix(in oklab, var(--m-signal), var(--m-muted) calc(var(--drain) * 100%));
}

.ab-journey__marker .ab-journey__halo {
  fill: none;
  stroke: color-mix(in oklab, var(--m-signal), var(--m-muted) calc(var(--drain) * 100%));
  stroke-width: 1;
  opacity: 0.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: ab-breathe 2.6s ease-in-out infinite;
}

@keyframes ab-breathe {
  50% {
    transform: scale(1.35);
    opacity: 0.15;
  }
}

/* The heartbeat: while the road holds, the point beats in rings. */
.ab-journey__marker.is-beat .ab-journey__halo {
  stroke-width: 1.5;
  animation: ab-beat 0.85s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

@keyframes ab-beat {
  from {
    transform: scale(0.6);
    opacity: 0.8;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* The ground: sand one tone darker than the paper, and a lighter far ridge behind it. Both drain to
   a neutral grey through the flat years, with the road. */
.ab-ground {
  --sand: color-mix(in oklab, var(--m-paper), var(--m-paper2) 60%);
  --sand-flat: color-mix(in oklab, color-mix(in oklab, var(--m-paper), var(--m-paper2) 60%), #e6e6e6 80%);
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* Past 2026 the heat takes the sand from the foot of the screen up (--haze, set by AboutJourney). */
  -webkit-mask-image: linear-gradient(#000 calc(100% - var(--haze, 0) * 32%), transparent);
  mask-image: linear-gradient(#000 calc(100% - var(--haze, 0) * 32%), transparent);
}

.ab-ground__far,
.ab-ground__near {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.ab-ground svg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

.ab-ground__ridge {
  fill: color-mix(
    in oklab,
    color-mix(in oklab, var(--sand), var(--m-paper) 38%),
    color-mix(in oklab, var(--sand-flat), var(--m-paper) 38%) calc(var(--drain) * 100%)
  );
}

.ab-ground__ridge-slip {
  fill: color-mix(in oklab, var(--sand), var(--m-line) 18%);
  opacity: calc(1 - var(--drain));
}

.ab-ground__near {
  z-index: 1;
}

/* The flat pan: faint bands of sand, each a shade deeper than the one behind it. */
.ab-ground__pan {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  opacity: 0;
  will-change: transform, opacity;
}

.ab-ground__pan span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  background: color-mix(in oklab, var(--sand-flat), var(--m-line) 55%);
  opacity: 0.22;
}

.ab-ground__sand {
  fill: color-mix(in oklab, var(--sand), var(--sand-flat) calc(var(--drain) * 100%));
}

.ab-ground__slip {
  fill: color-mix(in oklab, var(--sand), var(--m-line) 30%);
}

/* The year as landscape: huge, solid, one tone off the paper, low on the left and half buried by the
   near dune. Each digit is a window onto a column of the values it takes; the column rolls. */
.ab-journey__year {
  position: absolute;
  left: var(--m-gutter);
  /* Unbounded's figures stand 0.767em tall, their tops 0.108em into a 1em line. */
  top: calc(37% - 0.108em);
  display: flex;
  margin: 0;
  font: 800 min(calc(391px * var(--m-k, 1)), 27vw, 43.5vh)/1 var(--m-font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: color-mix(in oklab, var(--m-paper2), var(--m-line) 35%);
  opacity: 0;
  white-space: nowrap;
}

.ab-journey__digit {
  display: block;
  height: 1em;
  overflow: hidden;
}

.ab-journey__digit > span {
  display: block;
  will-change: transform;
}

.ab-journey__digit > span > span {
  display: block;
  height: 1em;
}

/* 2026, the year the road is on now, keeps the accent on its last digit only. */
.ab-journey__year.is-now .ab-journey__digit:last-child {
  color: var(--m-signal-text);
}

.ab-journey__label {
  position: absolute;
  margin: 0;
  translate: 14px -50%;
  /* One line where it fits; where the screen runs out, it wraps inside the room the journey measures (--label-room). */
  width: max-content;
  max-width: var(--label-room, none);
  color: var(--m-ink);
  opacity: 0;
  transition: opacity 0.5s var(--m-ease) 0.35s;
}

.ab-journey__label.is-on {
  opacity: 1;
}

.ab-journey__label {
  font: 700 calc(15px * var(--m-k, 1))/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
}

.ab-journey__label.is-left {
  translate: calc(-100% - 14px) -50%;
  text-align: right;
}

/* The train: faces waiting on the road, then riding behind the point. */
.ab-journey__crew {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ab-rider {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  will-change: transform, opacity;
}

.ab-rider {
  --face: calc(40px * var(--m-k, 1));
}

.ab-rider__face {
  position: absolute;
  width: var(--face);
  height: var(--face);
  translate: -50% -50%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--m-paper2);
  box-shadow: 0 0 0 2px var(--m-paper), 0 0 0 3px var(--m-ink);
}

.ab-rider__face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

/* Who just joined: one tag, in the site's pill style, just under the point. */
.ab-journey__joined {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  margin: 0;
  padding: calc(7px * var(--m-k, 1)) calc(11px * var(--m-k, 1));
  translate: -50% 0;
  border: 1px solid var(--m-paper2);
  border-radius: calc(999px * var(--m-k, 1));
  background: #fff;
  font: 600 calc(11px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--m-ink);
  opacity: 0;
  transition: opacity 0.35s var(--m-ease);
  pointer-events: none;
}

/* The chapter, on the left. */
.ab-journey__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--m-gutter);
  z-index: 2;
  width: min(calc(420px * var(--m-k, 1)), 30vw);
  pointer-events: none;
}

.ab-chapter {
  position: absolute;
  top: 14%;
  right: 0;
  left: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-12px);
  /* The outgoing chapter leaves quickly; the next arrives once it has gone, so two never overlap. */
  transition: opacity 0.18s var(--m-ease), transform 0.3s var(--m-ease);
}

.ab-chapter.is-active {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--m-ease) 0.16s, transform 0.7s var(--m-ease) 0.16s;
}

.ab-chapter__headline {
  font-size: clamp(36px, 4.4vw, calc(68px * var(--m-k, 1)));
}

/* The year is set huge in the ground (.ab-journey__year); the chapter keeps it for screen readers only. */
.ab-chapter__year {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ab-chapter.is-now .ab-chapter__year {
  color: var(--m-signal-text);
}

/* The flat years: the same solid Unbounded year as every chapter, only gone grey, as the page drains of
   colour through them. (2026-10-29: the strike-through and then a hollow year with a heart-monitor
   line both read as off-brand decoration.) */
.ab-chapter.is-flat .ab-chapter__year {
  color: color-mix(in srgb, var(--m-ink) 32%, var(--m-paper));
}

.ab-chapter__title {
  margin: 0 0 calc(10px * var(--m-k, 1));
  font: 700 calc(22px * var(--m-k, 1))/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
}

.ab-chapter__body {
  margin: 0;
  font: 400 calc(16.5px * var(--m-k, 1))/1.55 var(--m-font-body);
  color: var(--m-muted);
}

.ab-chapter--intro .ab-chapter__body {
  margin-top: calc(22px * var(--m-k, 1));
  font-size: calc(18px * var(--m-k, 1));
}

.ab-chapter__typed {
  min-height: 1.2em;
  margin: calc(22px * var(--m-k, 1)) 0 0;
  font: 800 clamp(22px, 2.2vw, calc(32px * var(--m-k, 1)))/1.15 var(--m-font-display);
  letter-spacing: -0.015em;
  color: var(--m-ink);
}

/* The typed line has no caret (2026-10-29: "unnecessary"): the words typing out are enough. */

/* Who joined that year, as tags under the chapter: a phone only, where there's no train to show them. */
.ab-chapter__joins {
  display: none;
}

@media (max-width: 759px) {
  /* The journey on a phone: the chapter up top, the road below it. */
  .ab-journey__panel {
    top: calc(82px * var(--m-k, 1));
    right: var(--m-gutter);
    bottom: auto;
    width: auto;
    height: 38vh;
  }

  .ab-chapter {
    top: 0;
    translate: 0 0;
  }

  .ab-chapter__year {
    font-size: calc(44px * var(--m-k, 1));
  }

  .ab-chapter__headline {
    font-size: calc(30px * var(--m-k, 1));
  }

  .ab-chapter__title {
    font-size: calc(18px * var(--m-k, 1));
  }

  .ab-chapter__body {
    font-size: calc(14.5px * var(--m-k, 1));
  }

  .ab-chapter__typed {
    font-size: calc(20px * var(--m-k, 1));
  }

  /* In the site's pill style, like the tag beside the train on a wider screen. */
  .ab-chapter__joins {
    display: flex;
    flex-wrap: wrap;
    gap: calc(6px * var(--m-k, 1));
    margin: calc(22px * var(--m-k, 1)) 0 0;
    padding: 0;
    list-style: none;
  }

  .ab-chapter__joins li {
    margin: 0;
    padding: calc(7px * var(--m-k, 1)) calc(11px * var(--m-k, 1));
    border: 1px solid var(--m-paper2);
    border-radius: calc(999px * var(--m-k, 1));
    background: #fff;
    font: 600 calc(11px * var(--m-k, 1))/1 var(--m-font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--m-ink);
  }

  .ab-journey__joined {
    translate: 0 -50%;
  }

  .ab-rider {
    --face: calc(24px * var(--m-k, 1));
  }

  /* The train's faces, gathered between the chapter and the year (AboutJourney places them, sets the
     middle and the scale, and marks who's in). They come in on the chapter's turn, a beat apart, each
     drifting in from outside the cluster, and leave quicker. */
  .ab-crowd {
    --face: calc(48px * var(--m-k, 1));
    position: absolute;
    left: 50%;
    z-index: 1;
    pointer-events: none;
  }

  .ab-crowd .ab-rider__face {
    opacity: 0;
    transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.9);
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .ab-crowd .ab-rider__face.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1) var(--in, 0s),
      transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--in, 0s);
  }

  /* The road fades out under the chapter above and at the foot of the screen: the band between
     is measured for each phone (AboutJourney sets --band-top and --band-bottom). */
  .ab-journey__view {
    --band-fade: calc(36px * var(--m-k, 1));
    -webkit-mask-image: linear-gradient(
      transparent 0,
      transparent var(--band-top, 33%),
      #000 calc(var(--band-top, 33%) + var(--band-fade)),
      #000 calc(var(--band-bottom, 71%) - var(--band-fade)),
      transparent var(--band-bottom, 71%)
    );
    mask-image: linear-gradient(
      transparent 0,
      transparent var(--band-top, 33%),
      #000 calc(var(--band-top, 33%) + var(--band-fade)),
      #000 calc(var(--band-bottom, 71%) - var(--band-fade)),
      transparent var(--band-bottom, 71%)
    );
  }

  /* The year at the foot of the screen, as wide as the text column, standing on the sand. */
  .ab-journey__year {
    top: calc(100% - 50px - 0.875em);
    z-index: 2;
    color: color-mix(in oklab, var(--m-paper2), var(--m-line) 75%);
    font-size: calc((100vw - 2 * var(--m-gutter)) / 3);
    transition: opacity 0.5s var(--m-ease);
  }

  /* A phone turns the year a whole year at a time (AboutJourney), and the roll is animated here,
     not scrubbed by the scroll. */
  .ab-journey__digit > span {
    transition: transform 0.7s var(--m-ease);
  }

  /* A phone has no sand or heat, only the year. */
  .ab-ground {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ab-ground__pan span {
    opacity: 0.14;
  }

  /* The values need room to read; on a phone the rule typed in the chapter carries them. */
  .ab-journey__label,
  .ab-journey__branch {
    display: none;
  }
}

/* Short phones (most of them, once the browser's bars are showing): tighter chapters,
   so the road keeps its room. */
@media (max-width: 759px) and (max-height: 700px) {
  .ab-journey__panel {
    top: calc(72px * var(--m-k, 1));
  }

  .ab-chapter__year {
    margin-bottom: calc(10px * var(--m-k, 1));
  }

  .ab-chapter__body {
    font-size: calc(14px * var(--m-k, 1));
    line-height: 1.5;
  }

  .ab-chapter__typed,
  .ab-chapter__joins {
    margin-top: calc(12px * var(--m-k, 1));
  }
}

/* The smallest phones: a little less type, so the road keeps its room. */
@media (max-width: 379px) {
  .ab-chapter__year {
    font-size: calc(38px * var(--m-k, 1));
  }

  .ab-chapter__title {
    margin-bottom: calc(8px * var(--m-k, 1));
    font-size: calc(17px * var(--m-k, 1));
  }

  .ab-chapter__body {
    font-size: calc(14px * var(--m-k, 1));
    line-height: 1.5;
  }

  .ab-chapter__headline {
    font-size: calc(27px * var(--m-k, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-chapter,
  .ab-journey__branch,
  .ab-journey__year,
  .ab-journey__digit > span,
  .ab-mission__note {
    transition: none;
  }

  .ab-journey__halo,
  .ab-journey__marker.is-beat .ab-journey__halo {
    animation: none;
  }

  /* The crowd's faces just appear and go. */
  .ab-crowd .ab-rider__face,
  .ab-crowd .ab-rider__face.is-in {
    transform: none;
    transition: none;
  }
}

/* --- Pricing (blocks/Pricing, components/pricing) ------------------------------------------------
   The calm round the user picked (mirage-heat/pricing-calm.html): C1's quiet columns.
   Blues and browns, not purple: Sky marks the chosen tier, Sand carries the quiet details, Ember is
   the one action. No cards, tiles or outlines. */

/* C1 · Quiet columns: hairlines, no cards; Grow rests in a sky wash. */

.mw-price__btn {
  display: inline-flex;
  align-items: center;
  /* The site's button: 48px, rounded, the same weight and tracking as .mw-button; it takes the
     same white heat on hover (HeatBloom). */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: calc(48px * var(--m-k, 1));
  padding: 0 calc(24px * var(--m-k, 1));
  border-radius: var(--m-r-button, calc(14px * var(--m-k, 1)));
  background: var(--m-signal);
  color: var(--m-on-signal, var(--m-ink));
  font: 800 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: var(--m-track-button, 0.06em);
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--m-fast, 0.2s) var(--pr-ease);
}

.mw-price__btn:hover {
  transform: translateY(-1px);
}

.mw-price__btn {
  white-space: nowrap;
}

/* --- Hero grain (the listing heroes: /work, /blog) ------------------------------------------------
   The default (2026-10-29): no noise on the page; a fine, monochrome grain only in the hero's open
   space, fading as it nears the dunes. It stops under the opaque front dune (73% down the land),
   so below the land's foot curve the page is plain Haze. */
.mw-work__head,
.mw-blog__head {
  position: relative;
  isolation: isolate;
}

.mw-work__head::before,
.mw-blog__head::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  left: calc(50% - 50vw);
  width: 100vw;
  bottom: calc(var(--mw-land-w) * 0.2944 * 0.27);
  background: url("/assets/images/grain-fine.svg") 0 0 / 260px 260px repeat;
  opacity: var(--m-hero-grain);
  -webkit-mask-image: linear-gradient(#000 0%, #000 45%, rgb(0 0 0 / 0.55) 100%);
  mask-image: linear-gradient(#000 0%, #000 45%, rgb(0 0 0 / 0.55) 100%);
  pointer-events: none;
}

/* About takes the listing heroes' grain too: on its stage, under the land. The grain fades out over the
   dunes rather than stopping at a line. */
.ab-hero__stage::before {
  content: "";
  position: absolute;
  inset: 0 0 calc(max(100vw, calc(1180px * var(--m-k, 1))) * 0.2944 * 0.3);
  background: url("/assets/images/grain-fine.svg") 0 0 / 260px 260px repeat;
  opacity: var(--m-hero-grain);
  -webkit-mask-image: linear-gradient(#000 0%, #000 calc(100% - 180px), transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 calc(100% - 180px), transparent 100%);
  pointer-events: none;
}

@media (max-width: 699px) {
  .ab-hero__stage::before {
    bottom: calc(calc(900px * var(--m-k, 1)) * 0.2944 * 0.3);
  }
}

/* --- Testimonials, redesigned (2026-10-29: "modern, clean and aesthetic") ------------------------
   On the approved Sky ground: the heading on the left, one voice at a time on the right, set large
   with a Sand opening quote hanging in the margin. Under it the name and role on one line and the
   case link. The voices take turns on their own (QuoteStage), crossfading; the names row was taken
   out. No cards, no avatar placeholders, no oversized Ember mark. */
.mw-quotes--stage .mw-quotes__head {
  align-self: start;
}

.mw-qs {
  grid-column: 6 / span 7;
  align-self: center;
  min-height: 12em;
}

.mw-qs__figure {
  position: relative;
  margin: 0;
  animation: mw-qs-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes mw-qs-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.mw-qs__quote {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  font: 500 clamp(22px, 2.3vw, calc(34px * var(--m-k, 1)))/1.36 var(--m-font-body);
  letter-spacing: -0.02em;
  color: var(--g-ink, var(--m-ink));
  text-wrap: pretty;
}

/* The opening quote hangs in the margin, so the text's left edge stays clean. */
.mw-qs__quote::before {
  content: "\201C";
  position: absolute;
  right: 100%;
  top: -0.06em;
  margin-right: 0.12em;
  color: var(--g-accent, #ae4f1c);
}

.mw-qs__by {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(16px * var(--m-k, 1)) calc(32px * var(--m-k, 1));
  flex-wrap: wrap;
  margin-top: clamp(calc(24px * var(--m-k, 1)), 3vw, calc(36px * var(--m-k, 1)));
  font: 400 calc(16px * var(--m-k, 1))/1.4 var(--m-font-body);
  text-align: left;
}

.mw-qs__by b {
  font-weight: 600;
  color: var(--g-ink, var(--m-ink));
}

.mw-qs__by b + span::before {
  content: " — ";
  color: var(--g-sub, var(--m-muted));
}

.mw-qs__by span span {
  color: var(--g-sub, var(--m-muted));
}

.mw-qs__case {
  font: 600 calc(13px * var(--m-k, 1))/1 var(--m-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g-ink, var(--m-ink));
  text-decoration: none;
}

.mw-qs__case:hover {
  color: var(--g-accent, #ae4f1c);
}

@media (max-width: 991px) {
  .mw-qs {
    grid-column: 1 / -1;
  }

  .mw-qs__quote {
    padding-left: 0.5em;
  }

  .mw-qs__quote::before {
    right: auto;
    left: 0;
    margin: 0;
  }
}

/* --- Pricing · "Reveal" (2026-10-29 rethink) --------------------------------------------------------
   Continuity first: /pricing opens exactly like /work and /blog (eyebrow, headline, lede, the Pastel
   land with the hero grain). Only Reveal's hero is left: "Offer" (below) opens on it. */
.mw-rv {
  --mw-land-w: max(100vw, 1180px);
  --mw-land-x: 0.5;
  --pr-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pr-sand: #d2b99a;
  --pr-sand-text: #766855;
  min-height: 100vh;
  padding: calc(150px * var(--m-k, 1)) var(--m-gutter) clamp(calc(80px * var(--m-k, 1)), 12vh, calc(140px * var(--m-k, 1)));
  overflow-x: clip;
  background-color: var(--m-paper);
  font-feature-settings: "tnum";
}

.mw-rv__hero {
  position: relative;
  isolation: isolate;
  max-width: calc(1100px * var(--m-k, 1));
  margin: 0 auto;
  text-align: center;
}

.mw-rv__hero .mw-work__label {
  margin-bottom: calc(22px * var(--m-k, 1));
}

.mw-rv__title {
  font-size: clamp(40px, 5.3vw, calc(76px * var(--m-k, 1)));
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.mw-rv__lede {
  max-width: calc(780px * var(--m-k, 1));
  margin: calc(22px * var(--m-k, 1)) auto 0;
  font: 400 calc(18px * var(--m-k, 1))/1.5 var(--m-font-body);
  color: var(--m-muted);
  text-wrap: balance;
}

/* The land under the head's last line, and the grain in the open space above it (as /work, /blog). */
.mw-rv__hero > .mw-land {
  position: relative;
  width: var(--mw-land-w);
  aspect-ratio: 1440 / 424;
  margin: calc(4px * var(--m-k, 1)) 0 0 calc(50% - var(--mw-land-w) * var(--mw-land-x));
}

.mw-rv__hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  left: calc(50% - 50vw);
  width: 100vw;
  bottom: calc(var(--mw-land-w) * 0.2944 * 0.27);
  background: url("/assets/images/grain-fine.svg") 0 0 / 260px 260px repeat;
  opacity: var(--m-hero-grain);
  -webkit-mask-image: linear-gradient(#000 0%, #000 45%, rgb(0 0 0 / 0.55) 100%);
  mask-image: linear-gradient(#000 0%, #000 45%, rgb(0 0 0 / 0.55) 100%);
  pointer-events: none;
}

@keyframes mw-rv-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 767px) {
  .mw-rv {
    --mw-land-w: 900px;
    --mw-land-x: 0.71;
  }
}

/* The plans block (blocks/Plans) opens on the same hero, and its cards follow the land straight on
   (index-b.html): no screen-high section, and no space of its own under the land. */
.mw-rv--plans {
  min-height: 0;
  padding-bottom: 0;
}

/* ---------------------------------------------------------------------------
   "Offer" pricing variation (components/pricing/Offer.tsx): the journey ends on a grand slam offer.
   Round 2 (2026-10-30, "still very cluttered"): one screen per step, a change of layout between
   them, and fewer, clearer levels of type. The start is centred in the hero; the questions and the
   offer sit left-aligned in two columns. No cards, boxes or rules. One Ember button per screen.
   --------------------------------------------------------------------------- */

/* Every answer: a word in ink that takes the Sand crest when picked. With a pointer, the others
   step back while one is hovered; on touch there is no hover, so every answer stays in ink. */
.mw-ofr__opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(10px * var(--m-k, 1));
  padding: calc(4px * var(--m-k, 1)) 0 calc(12px * var(--m-k, 1));
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  animation: mw-rv-in 0.5s var(--pr-ease) both;
  animation-delay: calc(var(--i, 0) * 70ms + 100ms);
}

.mw-ofr__opt-label {
  position: relative;
  font: 500 var(--m-t-quote)/1.15 var(--m-font-body);
  letter-spacing: -0.02em;
  color: var(--m-ink);
  transition: color 0.2s;
}

@media (hover: hover) {
  .mw-ofr__opts:hover .mw-ofr__opt:not(:hover, [aria-pressed="true"]) .mw-ofr__opt-label {
    color: var(--m-muted);
  }
}

.mw-ofr__opt-label::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -10px;
  height: calc(10px * var(--m-k, 1));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C34 3 70 2 104 5 S166 10 198 4' fill='none' stroke='%23D2B99A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s var(--pr-ease);
}

.mw-ofr__opt[aria-pressed="true"] .mw-ofr__opt-label::after {
  clip-path: inset(0 0 0 0);
}

.mw-ofr__opt-sub {
  font: 400 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-muted);
}

/* The stage: each later step fills one screen under the navbar. */
.mw-ofr__stage {
  display: flex;
  flex-direction: column;
  max-width: var(--m-w-head, calc(1100px * var(--m-k, 1)));
  min-height: 100svh;
  margin: 0 auto;
  padding: var(--m-section-y) 0 var(--m-s-8, calc(64px * var(--m-k, 1)));
}

.mw-ofr__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(24px * var(--m-k, 1));
}

.mw-ofr__trail {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-ofr__trail li + li::before {
  content: "→";
  margin: 0 calc(10px * var(--m-k, 1));
  color: var(--pr-sand);
}

.mw-ofr__trail button,
.mw-ofr__again,
.mw-ofr__back {
  padding: 0;
  border: 0;
  background: none;
  position: relative;
  font: 500 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-muted);
  text-underline-offset: calc(3px * var(--m-k, 1));
  cursor: pointer;
}

/* A 44px target without moving the line. */
.mw-ofr__trail button::after,
.mw-ofr__again::after,
.mw-ofr__back::after {
  content: "";
  position: absolute;
  inset: -12px -6px;
}

.mw-ofr__trail button:hover,
.mw-ofr__trail button[aria-current="step"],
.mw-ofr__again:hover,
.mw-ofr__back:hover {
  color: var(--m-ink);
  text-decoration: underline;
}

.mw-ofr__meter {
  display: flex;
  align-items: baseline;
  gap: calc(12px * var(--m-k, 1));
  margin: 0;
  white-space: nowrap;
}

.mw-ofr__meter span:first-child,
.mw-ofr__label,
.mw-ofr__price span {
  font: 600 var(--m-t-eyebrow)/1 var(--m-font-body);
  letter-spacing: var(--m-track-caps, 0.08em);
  text-transform: uppercase;
  color: var(--m-muted);
}

.mw-ofr__meter span:last-child {
  font: 500 var(--m-t-lead)/1 var(--m-font-body);
  letter-spacing: -0.02em;
}

/* Questions two and three: the question left, the answers stacked large on the right. */
.mw-ofr__ask {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(calc(40px * var(--m-k, 1)), 7vw, calc(120px * var(--m-k, 1)));
  align-items: center;
  margin-block: auto;
  animation: mw-rv-in 0.6s var(--pr-ease) both;
}

.mw-ofr__q {
  margin: 0 0 var(--m-s-5);
  font: 800 var(--m-t-h2)/1.04 var(--m-font-display);
  letter-spacing: var(--m-track-display, -0.02em);
  text-transform: uppercase;
  text-wrap: balance;
}

.mw-ofr__opts {
  display: grid;
  gap: clamp(calc(18px * var(--m-k, 1)), 3.4svh, calc(34px * var(--m-k, 1)));
}

/* The offer: the story left, the value right, then one row to email the quote. */
.mw-ofr__offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  --ofr-col-gap: clamp(calc(48px * var(--m-k, 1)), 7vw, calc(120px * var(--m-k, 1)));
  gap: clamp(calc(28px * var(--m-k, 1)), 4svh, calc(48px * var(--m-k, 1))) var(--ofr-col-gap);
  align-items: start;
  margin-block: auto;
}

.mw-ofr__story,
.mw-ofr__value {
  animation: mw-rv-in 0.6s var(--pr-ease) both;
}

.mw-ofr__value {
  animation-delay: 120ms;
}

.mw-ofr__name {
  margin: 0;
  font: 800 var(--m-t-h2)/1.04 var(--m-font-display);
  letter-spacing: var(--m-track-display, -0.02em);
  text-transform: uppercase;
  text-wrap: balance;
}

.mw-ofr__promise {
  max-width: 40ch;
  margin: var(--m-s-5) 0 0;
  font: 400 var(--m-t-body-l)/1.6 var(--m-font-body);
  text-wrap: pretty;
  color: var(--m-ink);
}

/* The description ends on the guarantee: the same sentence, in ink, on the Sand crest. */
.mw-ofr__promise strong {
  padding-bottom: calc(4px * var(--m-k, 1));
  font-weight: 600;
  color: var(--m-ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C34 3 70 2 104 5 S166 10 198 4' fill='none' stroke='%23D2B99A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 7px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.mw-ofr__label {
  margin: 0 0 var(--m-s-3);
}

.mw-ofr__label span {
  color: var(--m-ink);
}

.mw-ofr__core {
  margin: 0 0 clamp(calc(24px * var(--m-k, 1)), 4svh, calc(36px * var(--m-k, 1)));
  font: 500 var(--m-t-h3)/1.4 var(--m-font-body);
  letter-spacing: -0.015em;
}

.mw-ofr__free {
  display: grid;
  gap: clamp(calc(10px * var(--m-k, 1)), 1.8svh, calc(16px * var(--m-k, 1)));
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Name and worth on one line, what it is under the name. Each lands in turn. */
.mw-ofr__free li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: calc(24px * var(--m-k, 1));
  animation: mw-rv-in 0.5s var(--pr-ease) both;
  animation-delay: calc(var(--i, 0) * 160ms + 400ms);
}

.mw-ofr__free-name {
  font: 500 var(--m-t-body-l)/1.35 var(--m-font-body);
}

.mw-ofr__free-worth {
  font: 500 var(--m-t-body)/1.35 var(--m-font-body);
  color: var(--m-muted);
}

.mw-ofr__free-line {
  grid-column: 1 / -1;
  font: 400 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-muted);
}

.mw-ofr__price {
  display: flex;
  flex-direction: column;
  gap: calc(10px * var(--m-k, 1));
  margin: clamp(calc(28px * var(--m-k, 1)), 5svh, calc(48px * var(--m-k, 1))) 0 0;
  animation: mw-rv-in 0.6s var(--pr-ease) both;
  animation-delay: 1.1s;
}

.mw-ofr__price strong {
  font: 800 var(--m-t-h2)/1 var(--m-font-display);
  letter-spacing: var(--m-track-display, -0.02em);
}

.mw-ofr__price small {
  font: 400 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-muted);
}

.mw-ofr__hold {
  grid-column: 1 / -1;
  display: grid;
  /* The offer's own two columns, not subgrid (older browsers drop it and the field drifts). */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--ofr-col-gap);
  /* Bottom-aligned: the booking link on the left sits level with the email's line on the right. */
  align-items: end;
  row-gap: calc(20px * var(--m-k, 1));
  padding-top: clamp(calc(8px * var(--m-k, 1)), 2svh, calc(24px * var(--m-k, 1)));
  animation: mw-rv-in 0.6s var(--pr-ease) both;
  animation-delay: 1.3s;
}

.mw-ofr__hold-head {
  margin: 0;
  font: 500 var(--m-t-h3)/1.3 var(--m-font-body);
  letter-spacing: -0.015em;
}

.mw-ofr__hold-sub {
  margin: calc(8px * var(--m-k, 1)) 0 0;
  font: 400 var(--m-t-small)/1.55 var(--m-font-body);
  color: var(--m-muted);
}

/* "2 product sprints left in November" / "Next start Mon 2 Nov": a line each, inside the column. */
.mw-ofr__hold-sub span {
  display: block;
}

/* Under the right column: the field starts where "What you get" and the price do. */
.mw-ofr__act {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(14px * var(--m-k, 1));
}

.mw-ofr__form {
  display: flex;
  align-items: flex-end;
  gap: calc(20px * var(--m-k, 1));
  align-self: stretch;
}

.mw-ofr__alt {
  display: inline-block;
  margin-top: calc(10px * var(--m-k, 1));
  font: 500 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-ink);
  text-underline-offset: calc(3px * var(--m-k, 1));
}

.mw-ofr__alt:hover {
  color: var(--m-muted);
}

/* Keyboard focus: the site's ink ring on every control in the journey. */
.mw-ofr__opt:focus-visible,
.mw-ofr__trail button:focus-visible,
.mw-ofr__again:focus-visible,
.mw-ofr__back:focus-visible,
.mw-ofr__alt:focus-visible,
.mw-price__btn:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 3px;
}

.mw-ofr__form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: calc(10px * var(--m-k, 1)) 2px;
  border: 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--m-ink) 25%, transparent);
  border-radius: 0;
  background: none;
  font: 400 var(--m-t-body-l)/1.3 var(--m-font-body);
  color: var(--m-ink);
  outline: none;
  transition: border-color 0.2s;
}

.mw-ofr__form input[type="email"]:focus {
  border-color: var(--m-ink);
}

.mw-ofr__form input::placeholder {
  color: color-mix(in srgb, var(--m-ink) 38%, transparent);
}

.mw-ofr__form .mw-price__btn {
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.mw-ofr__form .mw-price__btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.mw-ofr__trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.mw-ofr__error {
  margin: 0;
  font: 400 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-signal-text, #ae4f1c);
}

/* Short laptop screens: the offer still fits one screen, hold row included. */
@media (min-width: 901px) and (max-height: 940px) {
  .mw-ofr__stage {
    padding-top: calc(92px * var(--m-k, 1));
    padding-bottom: calc(24px * var(--m-k, 1));
  }

  .mw-ofr__offer {
    margin-top: var(--m-s-2, calc(8px * var(--m-k, 1)));
    row-gap: var(--m-s-3, calc(12px * var(--m-k, 1)));
  }

  .mw-ofr__core {
    margin-bottom: var(--m-s-3, calc(12px * var(--m-k, 1)));
  }

  .mw-ofr__free {
    gap: calc(8px * var(--m-k, 1));
  }

  .mw-ofr__price {
    margin-top: var(--m-s-3, calc(12px * var(--m-k, 1)));
  }

  .mw-ofr__hold {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .mw-ofr__ask,
  .mw-ofr__offer {
    grid-template-columns: minmax(0, 1fr);
  }

  .mw-ofr__ask {
    align-items: start;
    margin-block: var(--m-stack-head, calc(32px * var(--m-k, 1))) auto;
  }

  .mw-ofr__bar {
    flex-direction: column;
    gap: calc(10px * var(--m-k, 1));
  }

  .mw-ofr__hold {
    grid-template-columns: minmax(0, 1fr);
  }

  .mw-ofr__act {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .mw-ofr__form {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===========================================================================
   Design system: one type scale, one spacing rhythm, one subtext colour
   (mirage-heat/DESIGN-SYSTEM.md). Every page draws its sizes from these tokens.
   The block comes last on purpose: it settles the older per-component sizes
   above it, so add new sizes here as tokens rather than as one-off values.
   =========================================================================== */

:root {
  /* Large screens: everything below is a size at 1 and grows by --m-k on very wide screens
     (see "Large screens" just after this block), so a 4K page reads like a desktop one. */
  --m-k: 1;

  /* Type. Display sizes follow the screen's height as well as its width, so a
     section, padding and all, still fits one screen on a short laptop. */
  --m-t-hero: clamp(40px, min(6vw, 10svh), calc(88px * var(--m-k)));
  --m-t-h1: clamp(36px, min(4.4vw, 7.2svh), calc(64px * var(--m-k)));
  --m-t-h2: clamp(28px, min(3.3vw, 5.4svh), calc(48px * var(--m-k)));
  --m-t-h3: clamp(20px, 1.7vw, calc(24px * var(--m-k)));
  --m-t-h4: calc(18px * var(--m-k));
  --m-t-quote: clamp(22px, 2vw, calc(28px * var(--m-k)));
  --m-t-lead: clamp(17px, 1.4vw, calc(20px * var(--m-k)));
  --m-t-body-l: calc(18px * var(--m-k));
  --m-t-body: calc(16px * var(--m-k));
  --m-t-small: calc(14px * var(--m-k));
  --m-t-eyebrow: calc(12px * var(--m-k));
  --m-track-display: -0.02em;
  --m-track-caps: 0.08em;
  --m-track-button: 0.06em;

  /* Space: every gap is one of these steps. */
  --m-s-1: calc(4px * var(--m-k));
  --m-s-2: calc(8px * var(--m-k));
  --m-s-3: calc(12px * var(--m-k));
  --m-s-4: calc(16px * var(--m-k));
  --m-s-5: calc(24px * var(--m-k));
  --m-s-6: calc(32px * var(--m-k));
  --m-s-7: calc(48px * var(--m-k));
  --m-s-8: calc(64px * var(--m-k));
  --m-s-9: calc(96px * var(--m-k));

  /* A section keeps --m-section-y above and below; a page's first section starts
     --m-page-top down, clear of the navbar. */
  --m-gutter: calc(45px * var(--m-k));
  --m-section-y: min(calc(120px * var(--m-k)), 13svh);
  --m-page-top: calc(160px * var(--m-k));

  /* Inside a section: eyebrow to title, title to lead, lead to body, heading block to content. */
  --m-stack-eyebrow: var(--m-s-4);
  --m-stack-lead: calc(20px * var(--m-k));
  --m-stack-body: var(--m-s-4);
  --m-stack-head: var(--m-s-7);

  /* Columns: reading text, inset media, page heads, full content. */
  --m-w-text: calc(700px * var(--m-k));
  --m-w-media: calc(920px * var(--m-k));
  --m-w-head: calc(1100px * var(--m-k));
  --m-w-wide: calc(1350px * var(--m-k));

  /* Corners: nothing on the site is square-cornered. Big frames (reels, case media), then cards
     and portraits; pills and chips are fully round. */
  --m-r-media: calc(28px * var(--m-k));
  --m-r-card: calc(16px * var(--m-k));
}

/* Large screens: a 4K screen at 100% is 3840px wide, so at fixed sizes the page became a small
   column in a sea of space. The scale steps up with the width; at 3840 the page reads as it does
   at 1920, twice the size. */
@media (min-width: 2200px) {
  :root { --m-k: 1.25; }
}

@media (min-width: 2800px) {
  :root { --m-k: 1.5; }
}

@media (min-width: 3400px) {
  :root { --m-k: 2; }
}

/* Read back by scripts (AboutJourney, DuskCta) as a length: registered, it resolves to px. */
@property --m-gutter {
  syntax: "<length>";
  inherits: true;
  initial-value: 45px;
}

/* The pieces sized outside this stylesheet: Webflow's bar and logo, and the about intro's rem. */
@media (min-width: 2200px) {
  html .navbar-version-01 .nav-container {
    max-width: none;
    height: calc(8.8em * var(--m-k));
    padding-left: var(--m-gutter) !important;
  }

  li {
    padding-block: calc(10px * var(--m-k));
  }

  html .nav-logo-image.nav-logo-image--wordmark {
    height: calc(22px * var(--m-k)) !important;
    max-height: calc(22px * var(--m-k)) !important;
    translate: 0 calc(16px * var(--m-k));
  }

  .mw-about__copy {
    max-width: calc(26rem * var(--m-k));
  }
}

@media (max-width: 760px) {
  :root {
    --m-gutter: 20px;
    --m-section-y: 80px;
    --m-page-top: 120px;
    --m-t-h4: 16px;
    --m-t-body-l: 17px;
    --m-stack-lead: var(--m-s-4);
    --m-stack-head: var(--m-s-6);
  }
}

/* --- Hero: the homepage's headline and the closing call ----------------------- */

.mw-dune__title,
.mw-dusk__title {
  font-size: var(--m-t-hero);
  line-height: 0.98;
  letter-spacing: var(--m-track-display);
}

/* --- H1: each page's title ----------------------------------------------------- */

h1.mw-statement,
.mw-case__title,
.mw-story__title {
  font-size: var(--m-t-h1);
  line-height: 1;
  letter-spacing: var(--m-track-display);
}

/* --- H2: section headings ------------------------------------------------------ */

.mw-statement,
.mw-about__title,
.mw-cases__title,
.mw-team__title {
  font-size: var(--m-t-h2);
  line-height: 1.04;
}

/* --- H3: card, member and item titles ------------------------------------------ */

.mw-card__client,
.mw-card__name,
.mw-member__name {
  font-size: var(--m-t-h3);
  line-height: 1.2;
}

/* --- Text: lead, body and small ------------------------------------------------- */

.mw-about__lead {
  font-size: var(--m-t-lead);
  line-height: 1.5;
}

.mw-dusk__sub {
  font-size: var(--m-t-lead);
}

.mw-about__body,
.mw-card__line {
  font-size: var(--m-t-body);
  line-height: 1.55;
}

.mw-member__role {
  font-size: var(--m-t-small);
}

/* --- Rhythm: heading blocks to their content, and the page gutter --------------- */

.mw-clients .mw-statement,
.mw-about__title,
.mw-team__title,
.mw-cases__head {
  margin-bottom: var(--m-stack-head);
}

.mw-dune__head {
  padding: 0 var(--m-gutter);
}

.mw-dusk__copy {
  left: var(--m-gutter);
  max-width: calc(100% - 2 * var(--m-gutter));
}

.mw-dusk__sub {
  margin-top: var(--m-stack-lead);
}

/* --- Every other page: the same roles ------------------------------------------ */

/* H1. */
.ab-chapter__year {
  font-size: var(--m-t-h1);
  line-height: 1;
  letter-spacing: var(--m-track-display);
}

.mw-case__title,
.mw-story__title {
  text-transform: uppercase;
}

/* H2: section headings, and the big numbers that stand in for them. The mission line keeps
   sentence case: it fills in word by word as a statement, not a heading. */
.ab-chapter__headline,
.ab-mission__line,
.mw-ground__title,
.mw-quotes__head .mw-ground__title,
.mw-process__heading,
.mw-case__next-name,
.mw-related__title {
  font-size: var(--m-t-h2);
  line-height: 1.04;
  letter-spacing: var(--m-track-display);
}

.mw-ground__title,
.mw-process__heading,
.mw-case__next-name,
.mw-related__title {
  font-weight: 800;
  text-transform: uppercase;
}

.mw-figure__value,
.mw-numbers__value {
  font-size: var(--m-t-h2);
  line-height: 1;
}

/* H3: item titles, in the display face. */
.ab-chapter__title,
.mw-story-row__title,
.mw-blog .mw-story-row__title,
.mw-process__title,
.mw-case__credits h2,
.mw-values__title,
.mw-more__heading,
.mw-story__body h2 {
  font-family: var(--m-font-display);
  font-weight: 700;
  font-size: var(--m-t-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* H4: small titles. The chapter subhead was a whole sentence in orange; it is ink now. */
.mw-more__title,
.mw-story__writer-name,
.mw-chapter__subhead {
  font: 700 var(--m-t-h4)/1.3 var(--m-font-display);
  letter-spacing: -0.01em;
}

.mw-chapter__subhead {
  color: var(--m-ink);
}

/* Quote and statement. */
.mw-vision__statement,
.mw-case__quote p,
.mw-case-quote__quote,
.mw-qs__quote,
.ab-chapter__typed {
  font-size: var(--m-t-quote);
  line-height: 1.3;
}

/* Lead. */
.ab-mission__note,
.mw-rv__lede,
.mw-story__subtitle,
.mw-case__outcome {
  font-size: var(--m-t-lead);
  line-height: 1.5;
}

.mw-rv__lede,
.mw-story__subtitle {
  margin-top: var(--m-stack-lead);
}

/* Body large: reading text. A post's pull quote took Webflow's 18px/22px, on no step. */
.mw-story__body blockquote,
.mw-story__body,
.mw-chapter__body,
.mw-vision__body {
  font-size: var(--m-t-body-l);
  line-height: 1.6;
}

/* Body. */
.mw-process__body,
.mw-story-row__excerpt,
.mw-blog .mw-story-row__excerpt,
.ab-chapter__body,
.mw-values__line,
.mw-related__outcome {
  font-size: var(--m-t-body);
  line-height: 1.55;
}

/* Small: meta, captions, bylines, sources. */
.mw-case__meta,
.mw-case__caption,
.mw-story__meta,
.mw-more__excerpt,
.mw-case-quote__who,
.mw-story-row__byline,
.mw-story-row__meta,
.mw-figure__source,
.mw-story__body cite {
  font-size: var(--m-t-small);
}

.mw-feed__count {
  opacity: 1;
  color: var(--m-muted);
}

/* Eyebrow. */
.mw-work__label,
.mw-ground__eyebrow,
.mw-fact dt,
.mw-case__label,
.mw-process__label,
.mw-feed__label,
.mw-card__meta {
  font-size: var(--m-t-eyebrow);
  letter-spacing: var(--m-track-caps);
}

.mw-pill {
  font-size: var(--m-t-eyebrow);
  letter-spacing: var(--m-track-caps);
}

/* --- Every other page: the same rhythm -------------------------------------------- */

.mw-work,
.mw-blog,
.mw-case,
.mw-story,
.mw-rv {
  padding-top: var(--m-page-top);
}

.mw-case {
  --mw-case-gap: var(--m-section-y);
}

.mw-ground {
  padding-block: var(--m-section-y);
}

.mw-more {
  padding-top: var(--m-section-y);
}

.mw-work__label,
.mw-ground__eyebrow,
.mw-blog__head .mw-work__label,
.mw-work__head .mw-work__label {
  margin-bottom: var(--m-stack-eyebrow);
}

.mw-blog__head,
.mw-work__head,
.mw-ground__title {
  margin-bottom: var(--m-stack-head);
}

.mw-feed,
.mw-blog__empty,
.mw-story__head,
.mw-story__body,
.mw-story__foot,
.mw-more__inner {
  max-width: var(--m-w-text);
}

/* A post's title is an H1 over a 700px reading column, so long titles ran to four to six lines.
   It keeps the column's left edge and runs on to the right, up to the head width; on a phone it
   steps down to the H2 size. Either way a title stays within three lines. */
.mw-story__title {
  width: min(var(--m-w-head), calc(100vw - var(--m-gutter) - max(var(--m-gutter), (100vw - var(--m-w-text)) / 2)));
}

@media (max-width: 760px) {
  .mw-story__title {
    width: auto;
    font-size: var(--m-t-h2);
    line-height: 1.04;
  }
}

/* Reduced motion: the copy stays up while the sky's names are out, so DuskCta gives the names a
   band of their own between the button and the wordmark. */
.mw-dusk[data-still] .mw-stars[style*="--sky-top"] {
  top: var(--sky-top);
  height: var(--sky-h);
}

/* Phones: /work's filters and /blog's topics run on past the screen's edge in one swipeable row.
   The row reaches the screen's edges, the far edge fades to say there's more (as the case journey
   film does), and each tab is a full 44px to tap. */
@media (max-width: 760px) {
  .mw-work__filters,
  .mw-feed__tabs,
  .mw-feed__rail .mw-feed__tabs {
    margin-inline: calc(-1 * var(--m-gutter));
    padding-inline: var(--m-gutter);
    scroll-padding-inline: var(--m-gutter);
    mask-image: linear-gradient(90deg, transparent, #000 var(--mw-fade-start), #000 calc(100% - var(--mw-fade-end)), transparent);
  }

  @supports (animation-timeline: scroll()) {
    .mw-work__filters,
    .mw-feed__tabs,
    .mw-feed__rail .mw-feed__tabs {
      animation: mw-scroll-edges linear both;
      animation-timeline: scroll(self inline);
    }
  }

  .mw-work__chip,
  .mw-feed__tab,
  .mw-feed__rail .mw-feed__tab {
    padding-top: var(--m-s-2);
  }
}

/* A case's credits close its story, so they keep to the story's column. */
.mw-case__credits {
  max-width: var(--m-w-text);
  margin-inline: auto;
}

/* The next case runs gutter to gutter like the closing call to action under it, its name on the
   CTA's left edge, with a section's room above and below (2026-11-01). */
.mw-case__next {
  align-self: stretch;
  max-width: none;
  margin: var(--m-section-y) 0 0;
  padding: var(--m-section-y) 0;
}

/* Subtext on a coloured ground: the ground's own ink, softened, so it keeps its contrast. */
.mw-ground--sand,
.mw-ground--sky {
  --g-sub: color-mix(in srgb, var(--g-ink) 74%, transparent);
}

.mw-ground--dusk,
.mw-ground--night {
  --g-sub: color-mix(in srgb, var(--g-ink) 72%, transparent);
}

/* The journey's chapter text has to fit the phone's band under the road. */
@media (max-width: 760px) {
  .ab-chapter__body {
    font-size: var(--m-t-small);
  }
}

/* --- The menu button (2026-10-29: "minimal, two bars, one big one a bit smaller") ----------------------
   No disc and no ring: two bars aligned to the right edge, the lower one shorter. Hovering draws the
   short bar out to full length. Opening swings them into an X (each slides to the centre and turns,
   with a little overshoot); closing reverses it. Ink on light pages, light over dark heroes. The
   export's third line is hidden. The menu (components/NavMenu) still toggles .w--open; nothing else changes. */
html .navbar-version-01 .w-nav-button,
html .navbar-version-01 .menu-button,
html .navbar-version-01 .mirage-phonemenu__button {
  width: calc(48px * var(--m-k, 1)) !important;
  height: calc(48px * var(--m-k, 1)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: calc(7px * var(--m-k, 1)) !important;
  padding-right: calc(10px * var(--m-k, 1)) !important;
  box-sizing: border-box;
}

html .navbar-version-01 .w-nav-button .menu-icon-line,
html .navbar-version-01 .mirage-phonemenu__button .menu-icon-line {
  --mb-ink: var(--m-ink);
  width: calc(26px * var(--m-k, 1));
  height: 2px;
  border-radius: 2px;
  background-color: var(--mb-ink) !important;
  opacity: 1;
  transform-origin: 50% 50%;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
    width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.3s ease;
}

html .navbar-version-01 .w-nav-button .menu-icon-line:nth-child(2),
html .navbar-version-01 .mirage-phonemenu__button .menu-icon-line:nth-child(2) {
  width: calc(16px * var(--m-k, 1));
}

html .navbar-version-01 .w-nav-button .menu-icon-line:nth-child(3) {
  display: none;
}

html .navbar-version-01 .w-nav-button:hover .menu-icon-line:nth-child(2),
html .navbar-version-01 .w-nav-button:focus-visible .menu-icon-line:nth-child(2),
html .navbar-version-01 .mirage-phonemenu__button:focus-visible .menu-icon-line:nth-child(2) {
  width: calc(26px * var(--m-k, 1));
}

/* The phone button only on a real hover: a tap leaves :hover stuck on touch screens. */
@media (hover: hover) {
  html .navbar-version-01 .mirage-phonemenu__button:hover .menu-icon-line:nth-child(2) {
    width: calc(26px * var(--m-k, 1));
  }
}

html .navbar-version-01.is-dark-theme .w-nav-button:not(.w--open) .menu-icon-line {
  --mb-ink: var(--m-on-deep);
}

/* Open: both bars meet in the middle (they sit 9px apart, centre to centre) and cross. */
html .navbar-version-01 .w-nav-button.w--open .menu-icon-line,
html .navbar-version-01 .mirage-phonemenu__button[aria-expanded="true"] .menu-icon-line {
  --mb-ink: var(--m-ink);
  width: calc(24px * var(--m-k, 1));
  opacity: 1;
}

html .navbar-version-01 .w-nav-button.w--open .menu-icon-line:nth-child(1),
html .navbar-version-01 .mirage-phonemenu__button[aria-expanded="true"] .menu-icon-line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

html .navbar-version-01 .w-nav-button.w--open .menu-icon-line:nth-child(2),
html .navbar-version-01 .mirage-phonemenu__button[aria-expanded="true"] .menu-icon-line:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Over dark heroes the closed phone button is light; open, its cross sits on the paper panel in ink. */
html .navbar-version-01.is-dark-theme .mirage-phonemenu__button:not([aria-expanded="true"]) .menu-icon-line {
  --mb-ink: var(--m-on-deep);
}

html .navbar-version-01 .w-nav-button:focus-visible,
html .navbar-version-01 .mirage-phonemenu__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html .navbar-version-01 .w-nav-button .menu-icon-line,
  html .navbar-version-01 .mirage-phonemenu__button .menu-icon-line {
    transition: none;
  }
}

/* The backdrop disc that grows out of the button into the full-screen menu: no outline now the button
   has no ring, and out of sight while the menu is closed (it would sit behind the bars as a stray disc). */
html .navbar-version-01 .nav-pop-02 {
  border: 0 !important;
  transition: opacity 0.3s ease;
}

html .navbar-version-01:not(:has(.w-nav-button.w--open)) .nav-pop-02 {
  opacity: 0;
}

/* Header → Menu style: "Menu button on every screen" (data-menu="button" on the bar). The quick links
   step aside and the two-bar button and its full-screen menu take over at every width. */
html .navbar-version-01[data-menu="button"] .mirage-quicknav {
  display: none !important;
}

html .navbar-version-01[data-menu="button"] .w-nav-button {
  display: flex !important;
}

html .navbar-version-01[data-menu="button"] .nav-wrapper-pop-up {
  display: block !important;
}

/* Phones always get the dropdown (components/PhoneMenu) instead. */
@media (max-width: 767px) {
  html .navbar-version-01[data-menu="button"] .w-nav-button,
  html .navbar-version-01[data-menu="button"] .nav-wrapper-pop-up {
    display: none !important;
  }
}

/* The open menu paints its own Haze ground. The export's backdrop disc grows from its top-left corner
   at the button, so on a wide screen it only covered the right edge and the page showed through. */
html .navbar-version-01:has(.w-nav-button.w--open) .nav-menu {
  background: var(--m-paper);
  animation: mw-menu-in 0.35s ease both;
}

@keyframes mw-menu-in {
  from {
    opacity: 0;
  }
}

/* Cards, metric variants (?cards=metric, ?cards=metric-blue; on trial, 2026-11-01). The card
   doesn't turn: a circle grows from where the pointer came in and fills the face, in the
   client's colour or the light blue (FlipCard sets --mw-reveal-bg and the ink), and on it the
   case's standout result rises in. On the way out it shrinks back toward where the pointer left. */
.mw-card__reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(calc(20px * var(--m-k, 1)), 7%, calc(32px * var(--m-k, 1)));
  background: var(--mw-reveal-bg, #17101c);
  color: var(--mw-reveal-ink, #efeef0);
  pointer-events: none;
  container-type: inline-size;
  clip-path: circle(0% at var(--mw-reveal-x, 50%) var(--mw-reveal-y, 50%));
  transition: clip-path 0.5s cubic-bezier(0.55, 0, 0.75, 0.2);
}

.mw-card[data-revealed] .mw-card__reveal {
  clip-path: circle(150% at var(--mw-reveal-x, 50%) var(--mw-reveal-y, 50%));
  transition: clip-path 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The picture sinks back a little under the circle. */
.mw-card[data-cards^='metric'] .mw-card__front img {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.mw-card[data-revealed] .mw-card__front img {
  transform: scale(1.06);
}

.mw-card__reveal > * {
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.mw-card[data-revealed] .mw-card__reveal > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease var(--mw-reveal-in, 0.12s),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--mw-reveal-in, 0.12s);
}

.mw-card__reveal-client {
  font: 600 calc(13px * var(--m-k, 1))/1.2 var(--m-font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.mw-card[data-revealed] .mw-card__reveal-client {
  opacity: 0.72;
}

.mw-card__reveal-stat,
.mw-card__reveal-line {
  margin-top: auto !important;
  --mw-reveal-in: 0.2s;
}

.mw-card__reveal-value {
  margin: 0;
  font-family: var(--m-font-display);
  font-weight: 800;
  /* As large as the card's width allows for its length: Unbounded ExtraBold runs about 0.9em a character. */
  font-size: min(calc(104px * var(--m-k, 1)), calc(100cqi / (var(--mw-reveal-chars, 4) * 0.9)));
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.mw-card__reveal-label {
  margin: calc(14px * var(--m-k, 1)) 0 0;
  max-width: 22ch;
  font: 500 calc(17px * var(--m-k, 1))/1.35 var(--m-font-body);
  opacity: 0.85;
}

.mw-card__reveal-line {
  max-width: 24ch;
  font: 500 clamp(calc(20px * var(--m-k, 1)), calc(var(--mw-face-h) * 0.045), calc(26px * var(--m-k, 1))) / 1.3 var(--m-font-body);
}

.mw-card__reveal-view {
  --mw-reveal-in: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: calc(8px * var(--m-k, 1));
  margin-top: clamp(calc(24px * var(--m-k, 1)), 9%, calc(44px * var(--m-k, 1))) !important;
  padding-top: calc(16px * var(--m-k, 1));
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font: 600 calc(15px * var(--m-k, 1))/1 var(--m-font-body);
}

.mw-card__reveal-view svg {
  width: calc(16px * var(--m-k, 1));
  height: calc(16px * var(--m-k, 1));
}

@media (prefers-reduced-motion: reduce) {
  .mw-card__reveal,
  .mw-card[data-revealed] .mw-card__reveal {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mw-card[data-revealed] .mw-card__reveal {
    opacity: 1;
  }

  .mw-card__reveal > *,
  .mw-card[data-revealed] .mw-card__reveal > * {
    transform: none;
  }

  .mw-card[data-revealed] .mw-card__front img {
    transform: none;
  }
}

/* A case · the outcome band in its card's colour (2026-11-01): the colour the case's card wore on
   hover (CaseTint), the dealt light colour or the client's primary. Ink words on a light one; a dark
   one keeps the band's light words. */
.mw-outcome[data-tint] {
  background: var(--mw-outcome-bg);
}

.mw-outcome[data-tint='light'] {
  color: #17101c;
}

.mw-outcome[data-tint='light'] .mw-outcome__eyebrow {
  color: #6f6973;
}

.mw-outcome[data-tint='light'] .mw-outcome__lead {
  color: #3d3542;
}

.mw-outcome[data-tint='dark'] .mw-outcome__eyebrow,
.mw-outcome[data-tint='dark'] .mw-outcome__lead {
  color: color-mix(in srgb, #efeef0 78%, transparent);
}

/* The heat wave's filter (components/HeatWave): defined in place, taking no room. */
.mw-heatwave {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* The case sitemap (components/CaseSitemap): nested lists on the reel's 1040px, with curves drawn
   over them. An indented tree first; the branches spread side by side from 900px, where the block
   can also pin. Its cards are the flow cards: white on the paper, outlined, the same radius. */
.mw-case__story > .mw-sitemap {
  width: min(100%, calc(1040px * var(--m-k, 1)));
  margin-inline: auto;
}

.mw-sitemap {
  margin: 0;
}

.mw-sitemap__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mw-sitemap__label,
.mw-sitemap__caption {
  align-self: center;
  width: min(100%, calc(700px * var(--m-k, 1)));
}

.mw-sitemap__label {
  margin-bottom: clamp(calc(32px * var(--m-k, 1)), 4vw, calc(56px * var(--m-k, 1)));
}

.mw-sitemap__caption {
  margin-top: calc(32px * var(--m-k, 1));
}

.mw-sitemap__tree {
  position: relative;
  align-self: center;
  width: min(100%, calc(700px * var(--m-k, 1)));
}

.mw-sitemap__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.mw-sitemap__line {
  fill: none;
  stroke: #b4aeb9;
  stroke-width: 1.5px;
}

.mw-sitemap__list,
.mw-sitemap__branches,
.mw-sitemap__pages {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mw-sitemap__branches,
.mw-sitemap__pages {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--m-k, 1));
  margin-top: calc(12px * var(--m-k, 1));
  padding-left: calc(36px * var(--m-k, 1));
}

.mw-sitemap__node {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: calc(14px * var(--m-k, 1)) calc(20px * var(--m-k, 1));
  border: 1.5px solid var(--mw-sitemap-ink, var(--m-ink));
  border-radius: calc(18px * var(--m-k, 1));
  background: #fff;
  box-shadow: var(--mw-card-shadow);
  font: 700 calc(17px * var(--m-k, 1))/1.25 var(--m-font-body);
  letter-spacing: -0.01em;
  color: var(--m-ink);
}

.mw-sitemap__node--root {
  padding-inline: calc(28px * var(--m-k, 1));
}

.mw-sitemap__node--action {
  border-color: var(--mw-step-c, var(--mw-mon-red));
  background: var(--mw-step-c, var(--mw-mon-red));
  color: var(--mw-sitemap-action-ink, #fff);
}

.mw-sitemap__node--page {
  padding: calc(10px * var(--m-k, 1)) calc(16px * var(--m-k, 1));
  border-color: var(--mw-hair);
  font: 500 calc(14px * var(--m-k, 1))/1.35 var(--m-font-body);
  letter-spacing: 0;
  color: var(--m-muted);
}

@media (min-width: 900px) {
  .mw-sitemap:not(.is-tree) .mw-sitemap__tree {
    width: 100%;
  }

  .mw-sitemap:not(.is-tree) .mw-sitemap__home {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mw-sitemap:not(.is-tree) .mw-sitemap__branches {
    display: grid;
    grid-template-columns: repeat(var(--mw-sitemap-n), minmax(0, 1fr));
    gap: calc(20px * var(--m-k, 1));
    width: 100%;
    margin-top: clamp(calc(72px * var(--m-k, 1)), 13vh, calc(128px * var(--m-k, 1)));
    padding-left: 0;
  }

  /* Side by side the way to act keeps its own curve; in the tree the curves share a run. */
  .mw-sitemap:not(.is-tree) .mw-sitemap__line.is-action {
    stroke: var(--mw-step-c, var(--mw-mon-red));
  }

  .mw-sitemap:not(.is-tree) .mw-sitemap__branch > .mw-sitemap__node {
    width: 100%;
    text-align: center;
  }

  .mw-sitemap:not(.is-tree) .mw-sitemap__pages {
    margin-top: calc(16px * var(--m-k, 1));
    padding-left: calc(28px * var(--m-k, 1));
  }
}

.mw-sitemap.is-pinned .mw-sitemap__stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  padding-block: calc(120px * var(--m-k, 1)) calc(40px * var(--m-k, 1));
}

/* --- Plans (blocks/Plans/PlansTiles; 2026-11-24, from the approved prototype pricing-v7.html) -----------
   Three bare tiles: type on the page ground at rest. On hover a white surface comes up, a faint warm heat
   follows the pointer as a heat bloom, and the price lifts. An open tile stays raised. Keyboard focus raises a tile; mouse
   focus never does; touch screens have no hover. (Tabs, company tiles and the dune came off 2026-11-24.) */

.mw-plans {
  --mw-plans-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Above the hero's grain, which runs a little past the land and would speckle the tiles' tops. */
  position: relative;
  z-index: 1;
  padding: var(--m-s-6) var(--m-gutter) var(--m-section-y);
}

.mw-plans__vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The tiles */
.mw-plans__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--m-s-4);
  max-width: calc(1200px * var(--m-k));
  margin: calc(36px * var(--m-k)) auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.mw-plans__tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: start;
  height: 100%;
  padding: calc(34px * var(--m-k)) var(--m-s-5);
  border-radius: var(--m-r-card);
  color: var(--m-ink);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mw-plans__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 18px 40px -28px rgba(23, 16, 28, 0.35);
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 350ms var(--mw-plans-ease),
    transform 500ms var(--mw-plans-ease);
}

/* The heat bloom (option A, refined 2026-11-24): a small, soft light under the pointer, near white with
   a breath of warmth, so the tile reads lit rather than tinted. It glides after the pointer (PlansTiles). */
.mw-plans__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(170px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 238, 224, 0.95), rgba(255, 226, 204, 0.35) 45%, transparent 72%);
  opacity: 0;
  transition: opacity 500ms var(--mw-plans-ease);
}

/* The rim light: a 1px warm edge that brightens only along the border nearest the pointer. */
.mw-plans__rim {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 122, 53, 0.55), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 500ms var(--mw-plans-ease);
  pointer-events: none;
}

.mw-plans__price {
  display: block;
  font: 800 clamp(40px, 4.4vw, calc(64px * var(--m-k))) / 1 var(--m-font-display);
  letter-spacing: -0.035em;
  white-space: nowrap;
  transition: transform 500ms var(--mw-plans-ease);
}

.mw-plans__price sup {
  margin-right: 0.08em;
  font-size: 0.42em;
  vertical-align: 1em;
}

.mw-plans__from {
  margin-right: 0.3em;
  font: 400 var(--m-t-small) / 1 var(--m-font-body);
  letter-spacing: 0;
  color: var(--m-muted);
}

.mw-plans__name {
  margin-top: var(--m-s-3);
  font: 500 var(--m-t-body) / 1 var(--m-font-body);
}

.mw-plans__unit {
  margin-top: 10px;
  font: 400 var(--m-t-small) / 1 var(--m-font-body);
  color: var(--m-muted);
}

/* Raised: open, keyboard focus, and (where the device can hover) the pointer. */
.mw-plans__tile.is-open::before,
.mw-plans__tile:has(:focus-visible)::before {
  opacity: 1;
  transform: none;
}

.mw-plans__tile.is-open .mw-plans__price {
  transform: translateY(-4px);
}

@media (hover: hover) {
  .mw-plans__tile:hover::before {
    opacity: 1;
    transform: none;
  }

  .mw-plans__tile:hover::after,
  .mw-plans__tile:hover .mw-plans__rim {
    opacity: 1;
  }

  .mw-plans__tile:hover .mw-plans__price {
    transform: translateY(-4px);
  }
}

/* "What's included": a small quiet toggle; the list opens under it. */
.mw-plans__inc {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px dotted #d6d2d8;
  background: none;
  font: 500 13px/1 var(--m-font-body);
  color: var(--m-muted);
  cursor: pointer;
  transition: color 200ms;
}

.mw-plans__inc::before {
  content: "";
  position: absolute;
  inset: -10px -8px;
}

.mw-plans__inc i {
  display: inline-block;
  font-style: normal;
  transition: transform 250ms var(--mw-plans-ease);
}

.mw-plans__inc[aria-expanded="true"] {
  color: var(--m-ink);
}

.mw-plans__inc[aria-expanded="true"] i {
  transform: rotate(45deg);
}

@media (hover: hover) {
  .mw-plans__inc:hover {
    color: var(--m-ink);
  }
}

.mw-plans__list {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms var(--mw-plans-ease);
}

.mw-plans__list.is-open {
  grid-template-rows: 1fr;
}

.mw-plans__list > ul {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 400 var(--m-t-small) / 1.5 var(--m-font-body);
  color: var(--m-muted);
  user-select: text;
  cursor: auto;
}

.mw-plans__list li {
  padding: 0;
}

.mw-plans__list li:first-child {
  margin-top: 14px;
}

/* The page's one button, and the line under it */
.mw-plans__act {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: calc(52px * var(--m-k));
}

.mw-plans__note {
  margin: 0;
  font: 400 var(--m-t-small) / 1.4 var(--m-font-body);
  color: var(--m-muted);
}

.mw-plans__inc:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 4px;
  border-radius: 4px;
}

.mw-plans__inc:focus {
  outline: none;
}

/* Tablet and phone: the tiles stack. */
@media (max-width: 899px) {
  .mw-plans__tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-width: 520px;
  }

  .mw-plans__tile {
    padding: 28px 20px;
  }
}

/* Touch screens have no hover: the tiles sit on white from the start. */
@media (hover: none) {
  .mw-plans__tile::before {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-plans__tile::before,
  .mw-plans__tile::after,
  .mw-plans__rim,
  .mw-plans__price,
  .mw-plans__list,
  .mw-plans__inc i {
    transition: none;
  }
}

/* --- Working with us (blocks/Faq, 2026-11-18): facts, questions, the idea form -----------------------
   Plain type on the page ground, no boxes: a row of four short facts, then the questions on the left
   (native details, a quiet rule between them) and the idea form on the right, on paper2. */

.mw-faq {
  padding: var(--m-section-y) var(--m-gutter);
}

.mw-faq__head {
  margin-bottom: var(--m-stack-head);
}

.mw-faq__title {
  text-wrap: balance;
}

.mw-faq__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--m-s-6);
  margin: 0 0 var(--m-s-8);
  padding: 0;
  list-style: none;
}

.mw-faq__facts li {
  padding: 0;
}

.mw-faq__fact-title {
  margin: 0 0 var(--m-s-2);
  font: 700 var(--m-t-h4)/1.3 var(--m-font-display);
  letter-spacing: -0.01em;
}

.mw-faq__fact-body {
  margin: 0;
  max-width: 34ch;
  font: 400 var(--m-t-body)/1.5 var(--m-font-body);
  color: var(--m-muted);
  text-wrap: pretty;
}

.mw-faq__split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--m-s-8);
  align-items: start;
}

.mw-faq__q {
  border-top: 1px solid var(--m-line);
}

.mw-faq__q:last-child {
  border-bottom: 1px solid var(--m-line);
}

.mw-faq__q summary {
  display: flex;
  justify-content: space-between;
  gap: var(--m-s-4);
  padding: var(--m-s-5) 0;
  font: 500 var(--m-t-body-l)/1.4 var(--m-font-body);
  cursor: pointer;
  list-style: none;
}

.mw-faq__q summary::-webkit-details-marker {
  display: none;
}

.mw-faq__q summary::after {
  content: "+";
  flex: none;
  font: 400 var(--m-t-h4)/1.2 var(--m-font-body);
  transition: transform 200ms ease;
}

.mw-faq__q[open] summary::after {
  transform: rotate(45deg);
}

.mw-faq__q summary:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 3px;
}

.mw-faq__q p {
  max-width: 60ch;
  margin: 0;
  padding: 0 0 var(--m-s-5);
  font: 400 var(--m-t-body)/1.55 var(--m-font-body);
  color: var(--m-muted);
  text-wrap: pretty;
}

.mw-faq__idea {
  padding: var(--m-s-6);
  border-radius: var(--m-r-card);
  background: var(--m-paper2);
}

.mw-faq__idea-title {
  margin: 0 0 var(--m-s-2);
  font: 700 var(--m-t-h3)/1.2 var(--m-font-display);
  letter-spacing: -0.01em;
}

.mw-faq__idea-line {
  margin: 0 0 var(--m-s-5);
  font: 400 var(--m-t-body)/1.5 var(--m-font-body);
  color: var(--m-ink);
  text-wrap: pretty;
}

.mw-faq__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--m-s-4);
}

.mw-faq__form label {
  display: grid;
  gap: var(--m-s-1);
  font: 500 var(--m-t-small)/1.4 var(--m-font-body);
}

.mw-faq__wide {
  grid-column: 1 / -1;
}

.mw-faq__form input,
.mw-faq__form textarea,
.mw-faq__form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--m-line);
  border-radius: 10px;
  background: var(--m-paper);
  color: var(--m-ink);
  font: 400 var(--m-t-body)/1.4 var(--m-font-body);
}

.mw-faq__form textarea {
  resize: vertical;
}

.mw-faq__form input:focus-visible,
.mw-faq__form textarea:focus-visible,
.mw-faq__form select:focus-visible {
  outline: 2px solid var(--m-ink);
  outline-offset: 1px;
}

.mw-faq__send {
  grid-column: 1 / -1;
  justify-self: start;
}

.mw-faq__error {
  grid-column: 1 / -1;
  margin: 0;
  font: 400 var(--m-t-small)/1.4 var(--m-font-body);
  color: var(--m-signal-text);
}

@media (max-width: 1099px) {
  .mw-faq__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mw-faq__split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .mw-faq__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--m-s-5);
  }

  .mw-faq__idea {
    padding: var(--m-s-5) 20px;
  }

  .mw-faq__form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- One hero for /about, /work, /blog and /pricing (2026-11-25) ---------------------------------
   The listing heads take About's stage (.ab-hero): one screen tall from the top of the page, the
   head centred a little above the middle, the land along the foot, the title at About's size.
   The quote page (/pricing/quote) keeps its short hero. */
.mw-work__head,
.mw-blog__head,
.mw-rv--plans .mw-rv__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  height: 100vh;
  height: 100svh;
  margin-top: calc(-1 * var(--m-page-top));
  padding: 0 var(--m-gutter) 16vh;
}

.mw-work__head > :not(.mw-land),
.mw-blog__head > :not(.mw-land),
.mw-rv--plans .mw-rv__hero > :not(.mw-land) {
  position: relative;
  z-index: 1;
}

.mw-work__head .mw-work__title,
.mw-blog__head .mw-blog__title,
.mw-rv--plans .mw-rv__title {
  max-width: 15ch;
  font-size: clamp(34px, 5.3vw, calc(76px * var(--m-k, 1)));
  text-wrap: balance;
}

.mw-work__head > .mw-land,
.mw-blog__head > .mw-land,
.mw-rv--plans .mw-rv__hero > .mw-land {
  position: absolute;
  left: calc(50% - var(--mw-land-w) * var(--mw-land-x));
  bottom: 0;
  margin: 0;
}
