/* M2L Digital Studios: styles.css

   Every style on the site lives in this one file. The pages carry no <style>
   blocks and no style="" attributes.

   How to find something: search this file for the heading below, e.g. "== FOOTER".
   Colours, fonts, sizes and spacing are variables at the top (:root), so changing
   a value there changes it everywhere.

   CONTENTS
   - CRITICAL: MOBILE MENU AND POP-UP BEFORE THE PAGE LOADS
       Reset
       Layout helpers
       Buttons
   - HEADER
   - HERO
   - MISSION
   - OFFER (2 paths)
   - PHILOSOPHY (pillars)
   - SERVICES / PRICING
   - PORTFOLIO
   - FOUNDER STORY (text / photo-over-word / text)
   - PORTFOLIO PAGE (project feature blocks)
   - CONTACT PAGE
   - FAQ
   - FINAL CTA
   - THE HOLLOW MARK
   - DISPLAY HEADINGS
   - THE GRADIENT AS A SECTION
   - THE BLUE GROUND'S COLOUR COLUMN
   - GROUND TEXTURE
   - ANIMATED GRADIENT UTILITY
   - HOW IT WORKS
   - FOOTER
   - Scroll-reveal base state
   - SERVICES - AVAILABILITY + MODAL
   - PORTFOLIO CAROUSEL
   - RESPONSIVE
   - HEADING MARKS
   - LIGHT SECTIONS
   - BUTTON TONE
   - CARD SURFACES
   - TEXT ON THE GRADIENT CARD
   - PROJECT CARD PALETTES
   - HEADER: SCROLL BEHAVIOUR
   - PAGE HEADER SPACER
   - HOME: SERVICES (BENTO GRID)
   - HOME: HOW IT WORKS (PROCESS)
   - HOME: THE STUDIO (WHO + COIN)
   - HOME: PRICING
   - ABOUT: FOUNDER STORY
   - SERVICES PAGE: PHILOSOPHY
   - SERVICES PAGE: PORTFOLIO CAROUSEL
   - WEBSITE CARDS: FROSTED GLASS
   - CONTACT: ONE SECTION, TEXT LEFT, FORM RIGHT
   - ROYAL BLUE CARDS
   - ABOUT: HERO
   - HEADER: OVER LIGHT SECTIONS, BUTTON SHADOW
*/

/* ===================== CRITICAL: MOBILE MENU AND POP-UP BEFORE THE PAGE LOADS ===================== */
/* Keeps the phone menu and the order pop-up hidden until the rest of the CSS
   applies. It stays first so the theme rules below can override it. */
.m2l-mobile-menu,
.service-modal:not(.is-open) {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 760px) {
  .m2l-nav-links,
  .m2l-nav-cta {
    display: none;
  }
  .m2l-hamburger {
    display: flex;
  }
}

/*
  M2L DIGITAL STUDIOS - DESIGN SYSTEM
  Brand colors: pure black bg (#000000), navy accents (#000E5A / #061566),
  electric blue (#1a6fff), bright blue hover/accent (#3d8bff),
  text white (#ffffff) / muted slate (#7a8aaa).
  Display: Plus Jakarta Sans ExtraBold (rounded geometric, matches the "Horizon" reference)
  Body: Inter (premium grotesk, replaces Arial)
  Accent/editorial: Libre Baskerville italic (refined serif contrast)
*/

:root {
  /* ---- Color ---- */
  --c-bg: #000000;
  --c-navy: #000e5a;
  --c-navy-2: #061566;
  --c-surface: #000e5a;
  --c-blue: #1a6fff;
  --c-blue-bright: #3d8bff;
  --c-blue-glow: rgba(26, 111, 255, 0.18);
  --c-white: #ffffff;
  --c-text: #ffffff;
  --c-heading: #ffffff; /* headings track --c-text unless a scope says otherwise */
  --c-mark: #1a6fff; /* heading marks: must contrast with --c-heading, not the ground */

  /* Tiled noise, opacity baked in so it can ride along as a background layer
     rather than needing a pseudo-element on every card. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.032'/%3E%3C/svg%3E");
  /* Body copy on the near-black ground. One value, everywhere, no exceptions:
     before this the site answered the same question four different ways, with
     #7a8aaa in the hero, FAQ and mission, --c-sky on the services page header,
     plain white in the service modal, and a one-off #C3CFE4 in the studio
     block. This is that studio value, promoted to the token.
     .m2l-light redefines it below, so light sections are untouched. */
  --c-text-muted: #c3cfe4;
  /* Labels and captions stay a step back, as they do in the light scope.
     They are not paragraphs, so they keep the old slate. */
  --c-text-dim: #7a8aaa;

  /* The site's navy as an INK colour. It needs its own name because inside
     .m2l-light --c-navy is reassigned to a cool off-white and so cannot carry
     one. Light sections draw their marks and sub-heads in this. */
  --c-navy-ink: #0c1d6b;
  /* Royal blue: the H3s on white sections (they were navy). The same blue as
     the 3D logo's glass and the about portrait, 8.1:1 on white. H1s and H2s
     on white keep the light ground's bright heading blue. */
  --c-ink-blue: #1b2ee6;
  /* Every light blue text, on dark grounds and on blue. 43 levels off white,
     which is far enough to read as a colour rather than as dirty white, and
     the lightest point that still clears 3:1 on the brightest part of the
     blue gradient. */
  --c-sky: #a3c3f8;

  /* Two grain textures. --grain-tex is greyscale noise with its contrast
     pushed around mid grey, laid on with mix-blend-mode:overlay so it darkens
     as much as it lightens: plain noise at this strength drags a coloured
     ground toward grey. --grain-ink is dark blue speckles with noisy alpha,
     for light grounds, which can only be grained by adding something darker.
     Blue rather than black so a white section tints instead of going grey. */
  --grain-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.5' intercept='-0.25'/%3E%3CfeFuncG type='linear' slope='1.5' intercept='-0.25'/%3E%3CfeFuncB type='linear' slope='1.5' intercept='-0.25'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.07 0 0 0 0 0.17 0 0 0 0 0.45 1 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --c-border: #1a2640;
  --c-border-hover: #3d8bff;

  /* ---- Type ---- */
  --font-display: 'Plus Jakarta Sans', Arial Black, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Libre Baskerville', Georgia, 'Times New Roman', serif;

  --text-display: clamp(2.75rem, 7vw, 6rem);
  --text-h1: clamp(2.25rem, 5vw, 3.75rem);
  --text-h2: clamp(1.875rem, 4vw, 3rem);
  --text-h3: clamp(1.25rem, 2.4vw, 1.65rem);
  --text-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-label: 0.78rem;

  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-normal: 1.65;
  --lh-loose: 1.8;

  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;

  /* ---- Spacing (8px grid) ---- */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-15: 120px;
  --sp-20: 160px;
  --section-pad: clamp(64px, 9vw, 120px);

  /* ---- Layout ---- */
  --container: 1280px;
  --container-narrow: 740px;
  --container-wide: 1440px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 50px;

  /* ---- Motion (Emil Kowalski curves) ---- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* ---- Z-scale ---- */
  --header-h: 91px;
  --z-sticky: 20;
  --z-modal: 40;
  --z-toast: 50;

  --shadow-glow: 0 18px 60px -10px var(--c-blue-glow);
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* overflow-x:hidden turns body into a scroll container, which silently disables
   position:sticky for its descendants (the portfolio card stack relies on it).
   overflow-x:clip suppresses the same horizontal overflow without creating that
   scroll container. Guarded so browsers without `clip` keep the hidden fallback. */
@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}
img,
video,
canvas {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  color: var(--c-heading);
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
  transform: scaleY(0.74);
  transform-origin: center;
  -webkit-text-stroke: 1.4px currentColor;
}
p {
  text-wrap: pretty;
}

.horizon-style {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transform: scaleY(0.74);
  transform-origin: center;
  -webkit-text-stroke: 1.4px currentColor;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-portfolio-stack-card] {
    position: static !important;
    transform: none !important;
  }
}

/* ---- Layout helpers ---- */
/* Read by search engines and screen readers, not shown. Used by the hero's
   h1, whose words appear on screen as the keyword rows behind the logomark. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}
.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 40px);
}
.container--wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 60px);
}
.m2l-section {
  padding-block: var(--section-pad);
  position: relative;
}
.m2l-section--page-top {
  padding-top: 160px;
}
.m2l-section--surface {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: var(--sp-2);
}
.kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-bright);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-8);
}
.section-head h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-2);
}
.section-head p {
  font-size: var(--text-lead);
  color: var(--c-text-muted);
  max-width: 56ch;
}

/* The header was a centred 760px column: kicker, heading, lead, all stacked
   and all the same width. Every page opened the same way. It is now the full
   measure, left aligned, with the heading set to it and the lead dropped to
   the right so the block is not one centred stack. */
.page-header {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}
.page-header h1 {
  font-size: var(--text-h1);
  margin-bottom: 0;
}
.page-header .kicker {
  color: var(--c-blue-bright);
}
/* second line of a two-line header sits in from the first */
.page-header h1 .m2l-fit + .m2l-fit {
  margin-left: 5%;
}
.page-header > p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--c-text-muted);
  max-width: 30ch;
  margin: clamp(18px, 2.4vw, 34px) 0 0 auto; /* pushed to the right */
}
@media (max-width: 820px) {
  .page-header h1 .m2l-fit + .m2l-fit {
    margin-left: 0;
  }
  .page-header > p {
    margin-left: 0;
  }
}

.policy-body {
  margin-top: var(--sp-8);
  color: var(--c-text-muted);
  font-size: var(--text-body);
  line-height: var(--lh-loose);
}
.policy-body h2,
.policy-body h3 {
  color: var(--c-text);
  margin: var(--sp-6) 0 var(--sp-2);
}
.policy-body h2:first-child,
.policy-body h3:first-child {
  margin-top: 0;
}
.policy-body p {
  margin-bottom: var(--sp-4);
}
.policy-body p:empty::before {
  content: '\00a0';
}
.policy-body ul,
.policy-body ol {
  margin: 0 0 var(--sp-4) 1.25em;
}
.policy-body li {
  margin-bottom: var(--sp-1);
}
.policy-body a {
  color: var(--c-blue-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-body strong {
  color: var(--c-text);
}

.accent {
  color: #1e4fe0;
}

.editorial {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--c-text);
  line-height: var(--lh-snug);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition:
    transform 300ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    background 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    color 240ms var(--ease-out);
  will-change: transform;
}
.btn:active {
  transform: scale(0.97);
}

/* Hover grows the button by 2px on every edge.
   --btn-sx / --btn-sy are set per button by the BUTTON HOVER block in script.js. A single
   scale() factor would not do: these are pills roughly three times wider than
   they are tall, so one factor sends the left and right edges three times
   further than the top and bottom and it reads as stretching sideways. Scaling
   the axes separately, each from the button's own measured box, moves every
   edge the same distance. Without the script they simply do not grow. */
.btn-primary:hover,
.btn-ghost:hover {
  transform: scale(var(--btn-sx, 1), var(--btn-sy, 1));
}

/* Two background layers plus a rim: the fill on padding-box, a pool of light
   low and centre above it, and on border-box a rim that is bright along the top
   and fades downward. That rim is the light-from-above cue. The pool is a
   background layer rather than a pseudo-element because these buttons hold
   their label as bare text, which a pseudo-element would paint over.

   The fill starts at #1f66f2 rather than --c-blue: white on #1a6fff measures
   4.41:1, under the 4.5 AA threshold, and at --text-label the large-text
   allowance does not apply. This top stop measures 4.95:1. */
.btn-primary {
  --btn-inset: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: var(--c-white);
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 62% 130% at 50% 124%, rgba(130, 185, 255, 0.4), transparent 68%)
      padding-box,
    linear-gradient(180deg, #1f66f2 0%, #1550d8 55%, #0f3fc4 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.06) 48%,
        rgba(255, 255, 255, 0.03) 100%
      )
      border-box;
  box-shadow: var(--btn-inset);
}
.btn-primary:active {
  transform: scale(0.985);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 7px 16px -7px rgba(0, 0, 0, 0.6);
}

/* A shadow needs something to fall on, so the page's near-black ground gets
   none and only the lighter surfaces carry one. */
.m2l-section--surface .btn-primary,
.m2l-grad .btn-primary,
.final-cta-banner .btn-primary {
  box-shadow:
    var(--btn-inset),
    0 12px 26px -12px rgba(0, 0, 0, 0.65);
}

/* The secondary button outlined itself in --c-border-hover, a bright blue that
   competed with the primary beside it. A faint rim in the same language lets
   the pair read as primary and secondary. */
.btn-ghost {
  color: var(--c-text);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.07) 55%) border-box;
}
.btn-ghost:active {
  transform: scale(0.985);
}
.btn-text {
  font-size: var(--text-body-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 200ms var(--ease-out),
    gap 200ms var(--ease-out);
}
.btn-text svg {
  width: 14px;
  height: 14px;
  transition: transform 240ms var(--ease-out);
}
.btn-text:hover {
  color: var(--c-blue-bright);
}
.btn-text:hover svg {
  transform: translateX(4px);
}

/* ===================== HEADER ===================== */
/* The header belongs to the first section, not to a layer above the page.

   absolute, not fixed: fixed is what put the rest of the site underneath it,
   and on a light section that read as a dark slab with content sliced in half
   behind it. Absolute leaves it at the top of the document, sitting on the
   first section's own ground, and it scrolls away with that section like any
   other element. Nothing ever passes under it, so it needs nothing to hide
   behind: no fill, no 18px backdrop blur, and no border to separate it.

   Every page's first section is the near-black ground, which is what lets the
   links be plain white here with nothing painted behind them. */
/* Fixed, and carrying nothing of its own.

   It was briefly absolute, then in the flow. Both were wrong for the same
   reason: a header that is not fixed exists only at the top of the document,
   so once you are a hundred pixels down there is no nav at all, and scrolling
   back up only returns it if you reach the very top. Fixed is what keeps it
   reachable; it was never the thing that made the bar look separate.

   What made it look separate was what it painted: a near-opaque fill, an 18px
   backdrop blur and a bottom border. Those are gone and they do not come back
   here. Over the first section the header has no background whatsoever, so it
   sits on the hero's own ground with no edge between them. Being fixed also
   takes it out of the flow, which is what lets the hero start at y=0 and run
   its ambient glow up behind the nav: the moment the hero starts lower, the
   bright end of that glow butts against the header's bottom and draws a hard
   line across the page.

   A ground appears only past the first section, as .is-stuck below, because
   that is the only place the links would otherwise be read against moving
   content. The script in the header section decides when. */
.m2l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
}
/* Past the first section the bar stops being a bar: the logo and the quote
   button step out and the links alone close into a pill, floating in the
   middle of the band. Nothing spans the page any more, so there is no edge
   anywhere to read as a line.

   The surface lives on a pseudo-element rather than on .m2l-nav-links itself.
   A gradient cannot animate to "no background", so putting it on a layer that
   only fades lets the pill arrive and leave instead of appearing. That matters
   in exactly one place: scrolling back up to the top, where the pill opens
   back out into the full bar in plain view.

   The fill is the one measured earlier: opaque at the top, .97 at the bottom,
   which puts a ghost of anything behind at 1.031:1, past what an eye resolves,
   with the links better than 16:1. On the dark ground the fill alone would be
   invisible, so the shape is carried by a hairline ring and a soft drop
   shadow, which is also what makes it read as floating rather than stuck on.

   Only where the links exist. Below 760px they are replaced by the hamburger,
   so there is nothing to put in a pill and the bar keeps its full-width ground
   instead, further down this file.

   The links keep their ordinary spacing. The pill does not close in around
   them: the surface is a pseudo-element that reaches out past them, so the
   gap stays the 38px it is at the top of the page and nothing about the links
   changes when it appears.

   That is also why it is cheap. Padding and gap are layout properties, and
   transitioning them re-lays-out the bar on every frame of the morph, while
   the page is scrolling. Only opacity animates here, which does not touch
   layout at all. */
.m2l-nav-links {
  position: relative;
}

/* The pane, built from the card: measured off the reference, a white fill at
   about 10% over a heavy blur, with a one-pixel edge at about 40% white. The
   blur does the work, not the fill, which is why nothing is painted across the
   face: a veil there is what makes a pill look like it has a thick grey band
   round its ends. */
.m2l-nav-links::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -13px -34px;
  border-radius: var(--radius-pill);
  /* The card's 10% white, over a slight dark scrim. The white alone lightens
     whatever is behind it, which is right over the near-black but turns the
     blue sections bright enough to take the white links to 4.23:1, under the
     4.5 this size needs. The scrim tempers bright content and is invisible
     over the dark ground, which is already darker than it. */
  background: linear-gradient(0deg, rgba(8, 12, 28, 0.12), rgba(8, 12, 28, 0.12)),
    rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  /* A cast shadow, never a glow: nothing bleeds outward. It does its work on
     the light sections and has nothing to show on the near-black, which is
     what a shadow is. The site's blue-black rather than pure black. */
  box-shadow:
    0 10px 24px rgba(8, 12, 28, 0.3),
    0 2px 6px rgba(8, 12, 28, 0.22);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
/* The edge, on its own layer so it stays exactly one pixel all the way round
   rather than thickening at the caps. */
.m2l-nav-links::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -13px -34px;
  border-radius: var(--radius-pill);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.34)
  );
  -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,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}

/* The marker that replaces the underline. Tinted glass in the coin's own blue,
   nearly opaque on purpose: light blue at a low alpha over a near-black ground
   composites to grey and stops being blue at all. Whichever link it is under
   takes the coin's navy, because white on that blue cannot be read. */
.m2l-nav-pointer {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  height: 34px;
  margin-top: -17px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    140deg,
    rgba(186, 212, 252, 0.92),
    rgba(163, 195, 248, 0.86) 55%,
    rgba(145, 182, 246, 0.9)
  );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 8px 20px rgba(8, 12, 28, 0.28);
  transition:
    transform 460ms var(--ease-out),
    width 460ms var(--ease-out),
    opacity 220ms linear;
}
.m2l-nav-pointer::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.75),
    rgba(226, 238, 255, 0.3) 48%,
    rgba(255, 255, 255, 0.5)
  );
  -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,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.m2l-nav-pointer.is-live {
  opacity: 1;
}

/* Over a light section the pane turns over.

   The card's material is a white fill on a heavy blur, which only works on a
   dark ground: on the light process band the links measured 2.68:1 against it,
   which is unreadable. Glass has no colour of its own, so it has to take the
   opposite side when the page behind it turns light, which is what iOS does
   with its own light and dark glass. The pane goes to a frosted white, the
   edge goes navy, and the links take the navy they already use on light
   sections. The blur, the one-pixel edge and the cast shadow are unchanged. */
.m2l-header.on-light .m2l-nav-links::before {
  background: rgba(255, 255, 255, 0.62);
}
.m2l-header.on-light .m2l-nav-links::after {
  background: linear-gradient(
    135deg,
    rgba(12, 29, 107, 0.28),
    rgba(12, 29, 107, 0.1) 48%,
    rgba(12, 29, 107, 0.2)
  );
}
.m2l-header.on-light .m2l-nav-links a {
  color: rgba(12, 29, 107, 0.78);
}
.m2l-header.on-light .m2l-nav-links a:hover {
  color: var(--c-navy-ink);
}
.m2l-nav-pointer.no-anim {
  transition: opacity 220ms linear;
}

@media (min-width: 761px) {
  .m2l-header .m2l-logo,
  .m2l-header .m2l-nav-cta {
    transition:
      opacity 240ms var(--ease-out),
      transform 240ms var(--ease-out);
  }
  /* Hidden, but still holding their space. Taking them out of the flow let
     the links slide 60px to the right as they re-centred on the page, and the
     links are supposed to be in exactly the place they are at the top of the
     page: same size, same spacing, same position, with only the logo and the
     button gone. So the space stays and nothing moves. */
  .m2l-header.is-stuck .m2l-logo,
  .m2l-header.is-stuck .m2l-nav-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .m2l-header.is-stuck .m2l-nav-links::before,
  .m2l-header.is-stuck .m2l-nav-links::after {
    opacity: 1;
  }
}
.m2l-logo {
  display: flex;
  align-items: center;
}
.m2l-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.m2l-nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.m2l-nav-links a {
  position: relative;
  z-index: 2;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  transition: color 200ms var(--ease-out);
}
.m2l-nav-links a:hover {
  color: var(--c-white);
}
/* On the tinted marker, the coin's navy. */
.m2l-nav-links a.is-lit,
.m2l-nav-links a.is-lit:hover {
  color: var(--c-navy-ink);
}
.m2l-nav-cta {
  flex-shrink: 0;
}
.m2l-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.m2l-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition:
    transform 240ms var(--ease-out),
    opacity 240ms var(--ease-out);
}

.m2l-mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--c-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
}
/* The fade is armed only once the page has loaded (PAGE READY in script.js).
   Armed from the start, Safari played it on every refresh: the hidden menu
   faded out over the page while it loaded, and could be seen. */
.m2l-ready .m2l-mobile-menu {
  transition:
    opacity 320ms var(--ease-out),
    visibility 320ms;
}
.m2l-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.m2l-mobile-menu a {
  font-family: var(--font-display);
  color: var(--c-white);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transform: scaleY(0.74);
  transform-origin: center;
  -webkit-text-stroke: 1.2px currentColor;
}

/* ===================== HERO ===================== */
/* The 3D logomark and the keyword rows behind it are drawn by the
   HOME: HERO LOGOMARK block in script.js, onto .m2l-hero-stage. */
.m2l-hero {
  /* The 160px top padding is the header's 91px plus the 69px of air below it.
     The header overlaps this padding rather than stacking above it, which is
     what keeps the ambient glow continuous across the two.
     The copy sits at the bottom; the logomark fills the room above it and
     keeps a clear gap over the paragraph (sized in script.js).
     100svh, not 100vh: Safari (iPad, iPhone) measures 100vh as if its
     toolbars were hidden, so the hero ran taller than the visible screen
     and its bottom padding fell under the toolbar, leaving the CTA on the
     screen's edge. svh is the screen you actually see; 100vh stays as the
     fallback for browsers without it. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 160px clamp(20px, 5vw, 64px) 100px;
  position: relative;
  overflow: hidden;
}
.m2l-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
      ellipse 65% 50% at 50% 0%,
      rgba(30, 79, 224, 0.16) 0%,
      transparent 65%
    ),
    radial-gradient(ellipse 45% 40% at 90% 80%, rgba(30, 79, 224, 0.08) 0%, transparent 60%);
}
/* Grain over the glows, only where the grid used to be: the same soft
   ellipse mask, centred 30% down. --grain is noise at 5.5% at normal
   blend, which is what shows on a near-black ground (--grain-tex's overlay
   blend would vanish here). The hero canvas draws the same ground, glows
   and masked grain itself, so the glass can refract them; this layer is
   what shows before the canvas paints, or where WebGL is unavailable. */
.m2l-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.m2l-hero-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
/* One centred column while the hero is being redesigned: the logo visual that
   filled the right-hand column is off, so the copy takes the middle. */
.m2l-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}
.m2l-hero-copy h1 {
  font-size: var(--text-display);
  margin-bottom: var(--sp-4);
}
.m2l-hero-copy .hero-sub {
  font-size: var(--text-lead);
  color: var(--c-text-muted);
  max-width: 46ch;
  margin-bottom: var(--sp-6);
  line-height: var(--lh-loose);
}
.m2l-hero-copy .hero-sub {
  margin-inline: auto;
}
.m2l-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ===================== MISSION ===================== */
.m2l-mission .mission-inner {
  max-width: var(--container-narrow);
  margin-inline: auto;
  text-align: center;
}
.m2l-mission h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-5);
}
.m2l-mission p.body-copy {
  font-size: var(--text-lead);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
  line-height: var(--lh-loose);
}
.m2l-mission blockquote {
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  max-width: 38ch;
  margin-inline: auto;
}
.m2l-mission blockquote cite {
  display: block;
  margin-top: var(--sp-3);
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-text-dim);
}

/* ===================== OFFER (2 paths) ===================== */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.offer-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  transition:
    border-color 320ms var(--ease-out),
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
}
.offer-card .offer-tag {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: var(--sp-3);
}
.offer-card h3 {
  font-size: var(--text-h1);
  margin-bottom: var(--sp-3);
}
.offer-card p {
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-5);
  flex-grow: 1;
}
.offer-card.offer-card--products {
  background: var(--c-surface);
}

/* ===================== PHILOSOPHY (pillars) ===================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.pillar {
  padding-top: var(--sp-2);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  color: var(--c-blue-bright);
  margin-bottom: var(--sp-3);
}
.pillar-icon svg {
  width: 100%;
  height: 100%;
}
.pillar h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--sp-2);
}
.pillar p {
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  font-size: var(--text-body-sm);
  max-width: 32ch;
}

/* ===================== SERVICES / PRICING ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  align-items: stretch;
  margin-bottom: var(--sp-6);
}
.pricing-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  transition:
    border-color 320ms var(--ease-out),
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
}
.pricing-badge {
  position: absolute;
  top: 0;
  left: var(--sp-5);
  transform: translateY(-50%);
  background: var(--c-blue);
  color: var(--c-white);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.pricing-tag {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: var(--sp-2);
}
.pricing-scope {
  color: var(--c-text-muted);
  font-size: var(--text-body-sm);
  margin-bottom: var(--sp-4);
}
.pricing-price-label {
  color: var(--c-text-dim);
  font-size: var(--text-body-sm);
  margin-bottom: var(--sp-1);
}
.pricing-price-value {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-4);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-text-muted);
  font-size: var(--text-body-sm);
  line-height: var(--lh-normal);
}
.pricing-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--c-blue-bright);
}
.pricing-card .btn {
  align-self: flex-start;
}
/* The button held at the foot of a card that has no feature list. */
.pricing-card > .btn {
  margin-top: auto;
}

/* Both offers in one pane of the contact page's liquid glass (.contact-card):
   the royal blue card on the left, the custom quote straight on the glass on
   the right. Same blur, edge light and cast shadow as the contact form box. */
.pricing-glass,
.plans--glass {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  padding: clamp(14px, 1.6vw, 22px);
  gap: clamp(14px, 1.6vw, 22px);
  background: radial-gradient(
      120% 70% at 0% 0%,
      rgba(255, 255, 255, 0.09) 0%,
      rgba(255, 255, 255, 0) 55%
    ),
    radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 60%);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 28px rgba(255, 255, 255, 0.035),
    0 10px 24px rgba(8, 12, 28, 0.3),
    0 2px 6px rgba(8, 12, 28, 0.22);
}
.pricing-glass::after,
.plans--glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.34)
  );
  -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,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
/* The blue card sits on the glass with a soft shadow under it. */
.pricing-glass .pricing-card--featured {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px -14px rgba(2, 6, 30, 0.75),
    0 4px 12px rgba(2, 6, 30, 0.35);
}
/* No CSS transition on the card: the reveal animates its position with
   GSAP, and a CSS transition on transform made the reveal read the card
   mid-move and leave it 40px low. */
.pricing-glass .pricing-card--featured {
  transition: none;
}
/* No hover on the card: it stays as it is, shadow included. */
.pricing-glass .pricing-card--featured:hover {
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px -14px rgba(2, 6, 30, 0.75),
    0 4px 12px rgba(2, 6, 30, 0.35);
}
/* "From" over the price: the site's kicker, without its dot, in the blue
   card's accent like its other labels. */
.pricing-kicker::before {
  content: none;
}
.pricing-card--featured .pricing-kicker {
  color: var(--c-sky);
}
/* Start a project casts the site's button shadow onto the blue card. */
.pricing-glass .pricing-card--featured .btn-primary {
  box-shadow:
    var(--btn-inset),
    0 12px 26px -12px rgba(0, 0, 0, 0.65);
}
/* Request a quote on the glass: clear liquid glass, no fill, only light
   along the rim (the start form's chips), so it does not read as solid. */
.pricing-glass-side .btn-ghost {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
/* Version B: the "Custom quote" heading in the site's blue, and Request a
   quote written in the royal blue. */
.pricing-glass--blue .pricing-glass-side h3,
.pricing-glass--pill .pricing-glass-side h3 {
  color: var(--c-blue);
}
.pricing-glass--blue .pricing-glass-side .btn-ghost {
  color: #1b2ee6;
}
/* Version C: as B, with Request a quote in the light blue glass of the
   navbar's pill (.m2l-nav-pointer): its fill, edge light and shadow, and
   the navy its link takes on it. */
.pricing-glass--pill .pricing-glass-side .btn-ghost {
  color: var(--c-navy-ink);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(
    140deg,
    rgba(186, 212, 252, 0.92),
    rgba(163, 195, 248, 0.86) 55%,
    rgba(145, 182, 246, 0.9)
  );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 20px rgba(8, 12, 28, 0.28);
}
/* The custom quote, on the glass itself: the card's padding and column, no
   card behind it. */
.pricing-glass-side {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
}
.pricing-glass-side > .btn {
  align-self: flex-start;
  margin-top: auto;
}
/* A price that follows the visitor's region stays hidden until it is known
   (script.js), so it never changes in front of them. */
[data-region]:not(.is-set) {
  visibility: hidden;
}

.pricing-note {
  color: var(--c-text-muted);
  font-size: var(--text-body-sm);
  line-height: var(--lh-loose);
  max-width: 62ch;
  margin-bottom: var(--sp-8);
}

.pricing-portfolio-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-6);
}
.pricing-portfolio-teaser p {
  color: var(--c-text-muted);
  font-size: var(--text-body-sm);
}
.pricing-portfolio-teaser strong {
  color: var(--c-text);
}
.pricing-final-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}

/* ===================== PORTFOLIO ===================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition:
    border-color 320ms var(--ease-out),
    transform 320ms var(--ease-out);
}
.portfolio-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-6px);
}
.portfolio-media {
  aspect-ratio: 4/3;
  background: var(--c-surface);
  overflow: hidden;
  position: relative;
}
.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-card:hover .portfolio-media img {
  transform: scale(1.045);
}
.portfolio-media img {
  transition: transform 600ms var(--ease-out);
}
.portfolio-body {
  padding: var(--sp-4);
}
.portfolio-cat {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: var(--sp-1);
}
.portfolio-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-2);
}
.portfolio-body p {
  color: var(--c-text-muted);
  font-size: var(--text-body-sm);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-3);
}

/* ===================== FOUNDER STORY (text / photo-over-word / text) ===================== */
.founder-split {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.founder-col {
  min-width: 0;
}
.founder-col--left .kicker {
  margin-bottom: var(--sp-3);
}
.founder-col--right {
  padding-top: var(--sp-8);
} /* offsets the right column so it doesn't align rigidly with the kicker on the left */

.founder-copy {
  color: var(--c-text-muted);
  font-size: var(--text-body);
  line-height: 1.9; /* looser than body default, editorial */
  text-align: left;
}
.founder-copy p {
  margin-bottom: var(--sp-4);
}
.founder-copy p:last-child {
  margin-bottom: 0;
}
.founder-copy strong {
  color: var(--c-text);
}
.founder-copy em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--c-text);
}
.founder-copy a {
  color: var(--c-blue-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Center column: a large word sits behind the photo, the photo layers on top of
   and partially covers it, so the word reads as background typography peeking
   out around the photo's edges rather than a normal heading. */
.founder-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-bg-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-text);
  white-space: nowrap;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  transform: scaleY(0.74);
  -webkit-text-stroke: 1.4px currentColor;
  pointer-events: none;
  z-index: 1;
}

.founder-media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: var(--radius);
  width: 82%; /* narrower than the column so the word peeks out at the sides */
  aspect-ratio: var(--founder-ratio, 4/5);
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  border: 1px solid var(--c-border);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.5); /* lifts it visually off the word behind it */
}
/* Fill the column rather than sitting in a letterboxed frame. object-position is
   written per-image from the image focal point. */
.founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-media-placeholder {
  width: 100%;
  height: 100%;
}
.founder-media-tint {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}

/* ===================== PORTFOLIO PAGE (project feature blocks) ===================== */
/* [data-portfolio-stack]/[data-portfolio-stack-card]: base layout below is the no-JS /
   reduced-motion fallback. m2l-portfolio-stack.js switches cards to position:absolute
   and drives them with GSAP + ScrollTrigger; this rule only pre-declares the stacking
   context so the swap doesn't cause a layout jump. */
.project-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
[data-portfolio-stack] {
  position: relative;
}
.project-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-6);
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition:
    border-color 320ms var(--ease-out),
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
}
.project-card:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}
.project-card:nth-child(even) .project-card-media {
  order: 2;
}
.project-card:nth-child(even) .project-card-body {
  order: 1;
}
.project-card-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card-cat {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: var(--sp-2);
}
.project-card-body h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-3);
}
.project-card-body p {
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-5);
  max-width: 46ch;
}

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  width: 100%;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.form-field label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.form-field .form-optional {
  color: var(--c-text-dim);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--c-bg);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition:
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.form-field textarea {
  resize: vertical;
  min-height: 180px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--c-text-dim);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-blue-bright);
  box-shadow: 0 0 0 4px var(--c-blue-glow);
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #e0341e;
}
.form-field-error {
  display: none;
  color: #ff6b5c;
  font-size: var(--text-body-sm);
}
.form-field.has-error .form-field-error {
  display: block;
}
.contact-form .btn {
  align-self: center;
  margin-top: var(--sp-2);
}
.form-banner {
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-body-sm);
  border: 1px solid var(--c-border-hover);
  background: var(--c-surface);
  color: var(--c-text);
}
.form-banner--error {
  border-color: #e0341e;
}
.form-banner ul {
  list-style: disc;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.contact-info {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.contact-info h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--sp-5);
}
.contact-info-row {
  margin-bottom: var(--sp-5);
}
.contact-info-row span {
  display: block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: 6px;
}
.contact-info-row a {
  color: var(--c-text);
  font-size: var(--text-body);
  transition: color 200ms var(--ease-out);
}
.contact-info-row a:hover {
  color: var(--c-blue-bright);
}
.contact-info .footer-social {
  justify-content: center;
}

/* ===================== FAQ ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item:first-child {
  border-top: 1px solid var(--c-border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-4) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--c-text);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: color 200ms var(--ease-out);
}
.faq-q:hover,
.faq-q[aria-expanded='true'] {
  color: var(--c-blue-bright);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-text-muted);
  transition:
    transform 280ms var(--ease-out),
    color 200ms var(--ease-out);
}
.faq-q[aria-expanded='true'] .faq-icon {
  transform: rotate(180deg);
  color: var(--c-blue-bright);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms var(--ease-out);
}
.faq-a p {
  padding-bottom: var(--sp-4);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  font-size: var(--text-body-sm);
}

/* ===================== FINAL CTA ===================== */
.final-cta-banner {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 50%, var(--c-navy) 100%);
  border: 1px solid var(--c-border-hover);
  border-radius: 24px;
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(30, 79, 224, 0.16), transparent 60%);
}
.final-cta-banner h2 {
  position: relative;
  font-size: var(--text-h1);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: var(--sp-3);
}
.final-cta-banner .final-sub {
  position: relative;
  color: var(--c-text-muted);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  font-size: var(--text-lead);
}
.final-cta-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* A fitted heading sets its own width, so the column cap that kept the old
   centred block readable has to come off the ones that carry it. */
.m2l-section.m2l-grad .section-head {
  max-width: none;
}

/* ===================== THE HOLLOW MARK =====================
   Empties the letters and leaves the outline. Every heading already carries
   -webkit-text-stroke: 1.4px currentColor, and the fitter replaces that with
   a stroke scaled to the set size, so there is nothing to draw: taking the
   fill away is the whole treatment.

   This uses -webkit-text-fill-color rather than `color: transparent`. They
   look identical, but `color` is what currentColor resolves to, so clearing
   it takes the stroke with it and the word disappears entirely. That bug
   cost a while the first time, in the prototype, where it was worked around
   by naming the stroke colour explicitly. Setting the FILL leaves `color`
   intact, so the stroke keeps following the heading's colour wherever the
   mark is used and whatever ground it lands on. */
.m2l-mark--hollow {
  -webkit-text-fill-color: transparent;
  /* Safari needs the box to stay inline for the stroke to join across the
     word; the mark spans are inline already, this just pins it. */
  display: inline;
}

/* ===================== DISPLAY HEADINGS =====================
   Set to the measure by the DISPLAY TYPE block in script.js. Authors break a line
   with a pipe in the heading text. The sizes and margins are written on the
   elements by that script; what is here is only what it cannot set. */
.m2l-fit {
  display: block;
  white-space: nowrap;
}
[data-m2l-fitted] {
  max-width: none;
  text-wrap: nowrap;
}

/* ===================== THE GRADIENT AS A SECTION =====================
   A full-bleed section can carry the whole sweep, because nothing navy sits
   on it - the philosophy section has no kicker. Stops come down slightly
   from the card's, because the grain laid over the top lifts the mean and
   white body copy has to stay above 4.5:1. Measured on the rendered section:
   white's worst case is 5.03:1. */
.m2l-section.m2l-grad {
  background: linear-gradient(
    150deg,
    #1856d4 0%,
    #1856d4 14%,
    #0d3db8 46%,
    #0a1fa8 66%,
    #1b3acc 92%,
    #1d56d6 100%
  ) !important;
  background-size: auto !important;
}
/* ===================== THE BLUE GROUND'S COLOUR COLUMN =====================
   One column for every blue and navy ground on the site. The ground
   decides the colours, not whether that ground happens to be a section or
   a card.

   That distinction is what made the site read as inconsistent. The rules
   started out scoped to one section's children, then to sections, and each
   time everything else on blue kept whatever the DARK ground had, which on
   blue is not a style choice but text nobody can read. What was live
   before this block:

     - "the result" section (navy) had a light blue heading, while the
       portfolio page's final CTA, on the SAME navy, had a white one.
     - The Custom Quote card and the Growth card sat on blue with white
       headings, beside sections whose headings were light blue.
     - Two adjacent project cards in one grid disagreed with each other:
       one had a #3d8bff label and #7a8aaa body, the next a navy label and
       white body.
     - The same "category label" role had four different colours across the
       site, two of them blue on blue and effectively invisible.
     - The Custom Quote feature list and the home offer card's link were
       #7a8aaa, which measures 1.42:1 here.

   The column, measured against each ground's local mean:

     heading / sub-head   --c-sky
     body copy / list     #fff
     small label / tag    --c-sky
     text links           --c-sky
     outline icons        rgba(255,255,255,.62)

   One cost, stated plainly. The cards still render .m2l-grad's ORIGINAL
   crop, a flat #1f66f2, while the sections were given the darker sweep.
   Light blue on that brighter card ground measures 2.76:1, under the 3:1
   large-text bar; on the section sweeps it is 3.02:1 and on navy 9.57:1.
   Consistency was chosen over that 0.24, deliberately. The fix that costs
   nothing visually is to give the cards the same sweep the sections have,
   which would take them to roughly 3.8:1 and make the two blues match, but
   that is a background change and the backgrounds are staying put. */

/* The blue and navy grounds. .m2l-light variants are excluded throughout:
   those are white cards and belong to the light column. */
.m2l-section.m2l-grad h1,
.m2l-section.m2l-grad h2,
.m2l-section.m2l-grad h3,
.m2l-section.m2l-grad h4,
.m2l-section--surface h1,
.m2l-section--surface h2,
.m2l-section--surface h3,
.m2l-section--surface h4,
.m2l-grad:not(.m2l-section) h1,
.m2l-grad:not(.m2l-section) h2,
.m2l-grad:not(.m2l-section) h3,
.m2l-grad:not(.m2l-section) h4,
.pricing-card--featured h1,
.pricing-card--featured h2,
.pricing-card--featured h3,
.pricing-card--featured h4,
.project-card:not(.m2l-light) h1,
.project-card:not(.m2l-light) h2,
.project-card:not(.m2l-light) h3,
.project-card:not(.m2l-light) h4,
.final-cta-banner:not(.m2l-light) h1,
.final-cta-banner:not(.m2l-light) h2,
.service-modal-panel h1,
.service-modal-panel h2,
.service-modal-panel h3,
.service-modal-panel h4 {
  color: var(--c-sky);
}

/* Body copy is full white, not 92%. The 92% softens a long run of copy
   across a big sweep, but on the brighter card ground it costs real
   contrast, taking 14px body from 4.95:1 to 4.44:1, the wrong side of the
   4.5 bar. One value for every blue ground is worth more than the softening. */
.m2l-section.m2l-grad p,
.m2l-section.m2l-grad li,
.m2l-section--surface > .container > .section-head p,
.m2l-grad:not(.m2l-section) p,
.m2l-grad:not(.m2l-section) li,
.m2l-grad:not(.m2l-section) .pricing-scope,
.pricing-card--featured p,
.pricing-card--featured li,
.project-card:not(.m2l-light) p,
.final-cta-banner:not(.m2l-light) p,
.service-modal-panel p {
  color: #fff;
}

/* Small labels, tags and text links take the accent, same as the headings.
   They are told apart by size, weight and letter-spacing, which is how an
   eyebrow label works anyway, not by having a colour of their own. */
.m2l-section--surface .btn-text,
.m2l-grad:not(.m2l-section) .btn-text,
.m2l-grad:not(.m2l-section) .pricing-tag,
.m2l-grad:not(.m2l-section) .portfolio-cat,
.m2l-grad:not(.m2l-section) .project-card-cat,
.m2l-grad:not(.m2l-section) .offer-tag,
.m2l-grad:not(.m2l-section) .kicker,
.m2l-grad:not(.m2l-section) .pf-name,
.m2l-grad:not(.m2l-section) .project-name,
.m2l-grad:not(.m2l-section) .pricing-features li svg,
.pricing-card--featured .pricing-tag,
.pricing-card--featured .btn-text,
.pricing-card--featured .pricing-features li svg,
.project-card:not(.m2l-light) .project-card-cat,
.project-card:not(.m2l-light) .btn-text,
.service-modal-panel .pf-required {
  color: var(--c-sky);
}

/* Outline icons. The founder block hard-codes --ed-accent: #2048FF in its
   own section styles, which on this ground is blue on blue and all but
   gone, so it takes the column's value here too. */
.m2l-section.m2l-grad .pillar-icon,
.m2l-section.m2l-grad .founder-ed-icon svg {
  color: rgba(255, 255, 255, 0.62);
}

/* ===================== GROUND TEXTURE =====================
   Grain, and on light grounds a field of soft blue clouds. The layers are injected by the GROUND TEXTURE block in script.js
   rather than written into every section, so a section opts in by its
   ground class alone.

   Order inside a textured section: clouds at 0, grain at 1, content at 2.
   The grain sits above the clouds so it breaks up their banding - a radial
   gradient this large bands visibly on a light ground - and below the text,
   which stays crisp. */
.m2l-section--textured {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.m2l-section--textured > .container {
  position: relative;
  z-index: 2;
}

.m2l-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--grain-tex);
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.92;
}
/* Overlay does almost nothing over near-white: it measures a standard
   deviation of 0.45 against the 5 or so the texture is aiming for. Light
   grounds take the ink speckles at normal blend instead, and their base
   starts at pure white so the grain settles it to the intended off-white. */
.m2l-grain--ink {
  background-image: var(--grain-ink);
  mix-blend-mode: normal;
  opacity: 0.22;
}

.m2l-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Three offset lobes rather than one circle, so the silhouette is lumpy, and
   a heavy blur to take the edges off. */
.m2l-cloud {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(
      closest-side at 30% 42%,
      rgba(26, 111, 255, 0.13),
      rgba(26, 111, 255, 0)
    ),
    radial-gradient(closest-side at 68% 34%, rgba(26, 111, 255, 0.1), rgba(26, 111, 255, 0)),
    radial-gradient(closest-side at 52% 70%, rgba(26, 111, 255, 0.09), rgba(26, 111, 255, 0));
  filter: blur(30px);
}

/* The light ground starts at pure white; the ink grain brings it down to the
   off-white it is meant to be, tinting it blue on the way. */
.m2l-light.m2l-section--textured {
  background: linear-gradient(150deg, #ffffff 0%, #ffffff 58%, #fbfdff 100%);
}

/* ===================== ANIMATED GRADIENT UTILITY ===================== */
@keyframes m2l-grad-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.m2l-grad {
  /* The lightest stop was #1a6fff, where white measures 4.41:1 - under the 4.5
     threshold, so every label on the card failed at that end. #1f66f2 brings
     the worst case to 4.95:1 across the whole sweep. Same stop, same reason,
     as the primary button's fill. */
  background: linear-gradient(
    135deg,
    #1f66f2 0%,
    #1f66f2 20%,
    #0d3db8 42%,
    #0a1fa8 60%,
    #2244ef 82%,
    #1f66f2 100%
  ) !important;
  /* The 300% is vestigial - it was room for an animated background-position
     that has since been removed - but it is NOT free to delete. It crops the
     sweep to its first third, and that third is #1f66f2 twice, so every card
     renders flat #1f66f2. The navy labels below were measured at 3.50:1
     against exactly that. Let the full sweep render and they fall to 2.74:1.
     Sections get the real sweep instead, further down, where no navy label
     sits on it. */
  background-size: 300% 300% !important;
  /* The 8s loop was dropped: it drew the eye without adding anything, and the
     global prefers-reduced-motion rule already froze it for some visitors. */
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.m2l-grad::before {
  display: none !important;
}

/* ===================== HOW IT WORKS ===================== */
/* One column, not a sticky heading beside a bordered list. The old left
   column was mostly empty below its heading, and the list read as a table. */
.hiw-grid {
  display: block;
}
.hiw-left {
  max-width: none;
}
.hiw-left h2 {
  font-size: var(--text-h2);
  margin-top: var(--sp-2);
  margin-bottom: 0;
}
.hiw-sub {
  font-size: var(--text-lead);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  margin-top: var(--sp-3);
  max-width: 52ch;
}
.hiw-steps {
  display: block;
  margin-top: clamp(10px, 1.6vw, 22px);
}

/* Alternating sides rather than four indents that all read as "left". */
.hiw-step:nth-child(1) {
  margin-left: 0;
}
.hiw-step:nth-child(2) {
  margin-left: 50%;
}
.hiw-step:nth-child(3) {
  margin-left: 7%;
}
.hiw-step:nth-child(4) {
  margin-left: 43%;
}

/* Baseline alignment puts the numeral's baseline on the title's baseline, so
   the numeral runs UP into empty space instead of down across the body copy,
   which is where it was hard to read. transform-origin:left bottom keeps the
   squash anchored at that baseline rather than lifting the ink off it. */
.hiw-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0;
  padding: clamp(16px, 2.2vw, 30px) 0;
  border: 0;
}
.hiw-step:first-child {
  border-top: 0;
}
.hiw-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(76px, 9.4vw, 146px);
  line-height: 0.78;
  letter-spacing: 0;
  padding: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(16, 112, 255, 0.75);
  transform: scaleY(0.74);
  transform-origin: left bottom;
  pointer-events: none;
  user-select: none;
}
/* Pulled back over the numeral. The overlap is horizontal and bounded, so the
   title crosses the numeral and the paragraph never does. */
.hiw-step-body {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin-left: clamp(-62px, -4.6vw, -34px);
}
.hiw-step-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--c-ink-blue);
  margin-bottom: 10px;
  transform: scaleY(0.74);
  transform-origin: left center;
  -webkit-text-stroke: 1.2px currentColor;
}
.hiw-step-body p {
  font-size: 1.02rem;
  color: var(--c-text-muted);
  line-height: 1.75;
}

@media (max-width: 820px) {
  .hiw-step:nth-child(n) {
    margin-left: 0;
  }
  .hiw-step-body {
    margin-left: clamp(-34px, -6vw, -20px);
  }
}

/* ===================== FOOTER ===================== */
.m2l-footer {
  padding: var(--sp-10) 0 var(--sp-5);
  background: var(--c-bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.footer-brand .m2l-logo {
  margin-bottom: var(--sp-2);
}
.footer-brand .m2l-logo img {
  height: 56px;
}
.footer-brand p {
  font-size: var(--text-body-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  max-width: 280px;
  margin-bottom: var(--sp-3);
}
.footer-social {
  display: flex;
  gap: 2px; /* with each icon's own padding, about 20px between glyphs */
}
/* plain app icons, no circle around them */
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition:
    color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.footer-social a:first-child {
  margin-left: -9px; /* the first icon lines up with the logo's edge */
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--c-blue-bright);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 22px;
  height: 22px;
}
/* The column titles are plain text, not headings (they are not sections of
   the page), drawn in the site's heading style. */
.footer-col .footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  text-wrap: balance;
  transform: scaleY(0.74);
  transform-origin: center;
  -webkit-text-stroke: 1.4px currentColor;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: var(--sp-3);
}
.footer-col a {
  display: block;
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--sp-2);
  transition: color 200ms var(--ease-out);
}
.footer-col a:hover {
  color: var(--c-blue-bright);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}
.footer-bottom p {
  font-size: var(--text-body-sm);
  color: var(--c-text-dim);
}

/* ===================== Scroll-reveal base state ===================== */
[data-reveal],
[data-reveal-photo] {
  opacity: 1;
}
.no-js [data-reveal],
.no-js [data-reveal-photo] {
  opacity: 1 !important;
  transform: none !important;
}

/* ===================== SERVICES - AVAILABILITY + MODAL ===================== */

/* Availability badge on pricing card */
.pricing-availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--sp-3);
}
.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pricing-availability--ok {
  color: #c084fc;
}
.pricing-availability--ok .avail-dot {
  background: #c084fc;
}
.pricing-availability--low {
  color: #c084fc;
}
.pricing-availability--low .avail-dot {
  background: #c084fc;
  animation: avail-pulse 1.4s ease-in-out infinite;
}
.pricing-availability--sold-out {
  color: var(--c-text-dim);
}
.pricing-availability--sold-out .avail-dot {
  background: var(--c-text-dim);
}
@keyframes avail-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* ---- Service purchase modal ---- */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}
/* Armed only once the page has loaded, as for the phone menu: otherwise the
   hidden pop-up faded out over the services page on every refresh. */
.m2l-ready .service-modal {
  transition:
    opacity 280ms var(--ease-out),
    visibility 280ms;
}
.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: var(--c-navy);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius);
  padding: var(--sp-6);
  overflow-y: auto;
  box-shadow:
    0 32px 80px -12px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(61, 139, 255, 0.08);
}

.service-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.service-modal-tier {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: 4px;
}
.service-modal-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--c-text);
}
.service-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  transition:
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}
.service-modal-close:hover {
  color: var(--c-blue-bright);
  border-color: var(--c-blue-bright);
}
.service-modal-close svg {
  width: 15px;
  height: 15px;
}
.service-modal-intro {
  font-size: var(--text-body-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-5);
}

/* ---- Form fields (reused in modal) ---- */
.pricing-purchase-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pf-field label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.pf-required {
  color: var(--c-blue-bright);
  margin-left: 2px;
}
.pf-optional {
  color: var(--c-text-dim);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.pf-field input,
.pf-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--c-bg);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  transition:
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.pf-field textarea {
  resize: vertical;
  min-height: 90px;
}
.pf-field input::placeholder,
.pf-field textarea::placeholder {
  color: var(--c-text-dim);
}
.pf-field input:focus,
.pf-field textarea:focus {
  outline: none;
  border-color: var(--c-blue-bright);
  box-shadow: 0 0 0 3px var(--c-blue-glow);
}

.pf-select-wrap {
  position: relative;
}
.pf-select-wrap select {
  width: 100%;
  box-sizing: border-box;
  background: var(--c-bg);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-sm);
  padding: 14px 40px 14px 16px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition:
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
.pf-select-wrap select:focus {
  outline: none;
  border-color: var(--c-blue-bright);
  box-shadow: 0 0 0 3px var(--c-blue-glow);
}
.pf-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--c-text-dim);
  pointer-events: none;
}
.pf-select-wrap select option {
  color: var(--c-text);
  background: var(--c-navy);
}
.pf-select-wrap select option[value=''] {
  color: var(--c-text-dim);
}
.pf-field--conditional {
  display: none;
}
.pf-field--conditional.pf-field--visible {
  display: flex;
}
.pf-helper {
  font-size: var(--text-body-sm);
  color: var(--c-text-dim);
  line-height: var(--lh-loose);
}

.pricing-form-footer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
}
.pricing-atc-btn {
  width: 100%;
  justify-content: center;
}
.pricing-atc-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.pricing-atc-btn.is-loading {
  opacity: 0.75;
}

.pricing-form-hint {
  font-size: var(--text-label);
  color: var(--c-text-dim);
  letter-spacing: var(--tracking-wide);
  text-align: center;
  transition: opacity 240ms var(--ease-out);
}
.pricing-form-hint--hidden {
  opacity: 0;
  pointer-events: none;
}

.service-modal-error {
  color: #ff6b5c;
  font-size: var(--text-body-sm);
  min-height: 1.2em;
  text-align: center;
}

/* ===================== PORTFOLIO CAROUSEL ===================== */
.m2l-portfolio-carousel {
  overflow: hidden;
}

.pc-stage {
  position: relative;
  height: 320px;
  margin: var(--sp-8) 0 var(--sp-6);
  margin-inline: calc(-1 * clamp(24px, 5vw, 80px));
  padding-inline: clamp(24px, 5vw, 80px);
}

.pc-scene {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}
.pc-scene:active {
  cursor: grabbing;
}

.pc-track {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.pc-card {
  position: absolute;
  width: 340px;
  height: 210px;
  top: -105px;
  left: -170px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--c-border);
  transition: box-shadow 240ms var(--ease-out);
}
.pc-card:hover {
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--c-border-hover);
}

.pc-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.pc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.pc-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-card-placeholder svg {
  width: 96px;
  height: 72px;
  opacity: 0.5;
}

.pc-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-2) var(--sp-3);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 100%);
  font-size: var(--text-body-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-white);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
  pointer-events: none;
}
.pc-card:hover .pc-card-label {
  opacity: 1;
}

.pc-footer {
  text-align: center;
  margin-top: var(--sp-4);
}
.pc-footer .btn svg {
  width: 18px;
  height: 18px;
  transition: transform 240ms var(--ease-out);
}
.pc-footer .btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .pc-stage {
    height: 200px;
  }
  .pc-card {
    width: 200px;
    height: 124px;
    top: -62px;
    left: -100px;
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .m2l-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .m2l-hero-copy {
    order: 2;
  }
  .m2l-hero-copy .hero-sub {
    margin-inline: auto;
  }
  .m2l-hero-actions {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .offer-grid,
  .pillars-grid,
  .portfolio-grid,
  .pricing-grid,
  .project-card,
  .portfolio-feature-card,
  .form-row {
    grid-template-columns: 1fr;
  }
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .project-card:nth-child(even) .project-card-media,
  .project-card:nth-child(even) .project-card-body {
    order: 0;
  }
  .portfolio-feature-card--reverse .portfolio-feature-media,
  .portfolio-feature-card--reverse .portfolio-feature-body {
    order: 0;
  }
  .hiw-grid {
    grid-template-columns: 1fr;
  }
  .hiw-left {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .product-gallery {
    position: relative;
    top: auto;
  }
  .product-grid,
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Founder story stacks vertically: photo (with its word) first, then the
     left column text, then the right column text - the three-column layout
     only works with room to breathe on either side of the photo. */
  .founder-split {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .founder-visual {
    order: 1;
  }
  .founder-col--left {
    order: 2;
  }
  .founder-col--right {
    order: 3;
    padding-top: 0;
  }
  .founder-media {
    width: 100%;
    aspect-ratio: var(--founder-ratio-mobile, 4/3);
  }
  .founder-bg-word {
    font-size: clamp(2.5rem, 14vw, 4.5rem);
  }
  .founder-copy {
    font-size: var(--text-body);
    line-height: 1.85;
  }

  /* Single-column portfolio cards are tall enough to fill a portrait screen,
     which leaves no room for the scroll-stack deck to be visible. Trim the
     chrome (padding, gap, image ratio, heading size) rather than the content,
     so the image and copy stay fully legible. */
  .project-card {
    padding: var(--sp-4);
    gap: var(--sp-3);
  }
  .project-card-media {
    aspect-ratio: 16/9;
  }
  .project-card-body h2 {
    font-size: var(--text-h3);
    margin-bottom: var(--sp-2);
  }
  .project-card-body p {
    font-size: var(--text-body-sm);
    line-height: var(--lh-normal);
    margin-bottom: var(--sp-4);
    max-width: none;
  }
}
@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }
  .m2l-header {
    padding: 14px 5%;
  }
  /* No links at this width, so no pill: the bar keeps the logo and the
     hamburger and takes the ground across the page instead. */
  .m2l-header.is-stuck {
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.97) 100%);
  }
  .m2l-nav-links,
  .m2l-nav-cta {
    display: none;
  }
  .m2l-hamburger {
    display: flex;
  }
  .m2l-hero {
    padding: 140px 5% 70px;
  }
  .m2l-section {
    padding-block: var(--section-pad);
  }
  .m2l-section--page-top {
    padding-top: 140px;
  }
  .lead-magnet-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-6) var(--sp-4);
  }
  .final-cta-banner {
    padding: var(--sp-8) var(--sp-4);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cart-drawer {
    width: 100vw;
  }
}
@media (max-width: 480px) {
  .product-grid,
  .product-grid--2,
  .product-grid--4 {
    grid-template-columns: 1fr;
  }
  .cart-line {
    grid-template-columns: 56px 1fr auto;
    gap: var(--sp-2);
  }
  .cart-line-image {
    width: 56px;
    height: 56px;
  }
  .cart-line-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===================== HEADING MARKS =====================
   One word of a heading marked with a straight rule. The word is chosen in the
   HTML by wrapping it in <span class="m2l-mark m2l-mark--hollow">...</span>.

   The marks are drawn here by default and hidden by the HEADING MARKS block in script.js only in
   the instant before they animate, so if GSAP fails to load the rules stay
   visible instead of disappearing.

   svg counter-scales by 1/.74 because headings carry transform: scaleY(.74),
   which would otherwise render the stroke 26% thinner than drawn. */
.m2l-mark {
  position: relative;
  display: inline-block;
}
.m2l-mark svg {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  transform: scaleY(1.3514);
  transform-origin: center;
}
.m2l-mark svg path {
  fill: none;
  stroke: var(--c-mark);
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* --mk-top is measured off the font's baseline in the HEADING MARKS script and written as a
   percentage of the word's own box, so the heading's scaleY(.74) cancels out.
   The value here is only the pre-measurement fallback. */
/* left/width are set in px by the HEADING MARKS script from a fixed em overshoot; these
   are only what shows before that runs. */
.m2l-mark--rule svg {
  left: -0.18em;
  width: calc(100% + 0.3em);
  height: 0.26em;
  top: var(--mk-top, 94%);
}

.m2l-mark--highlight {
  padding-inline: 0.12em;
}
.m2l-mark--highlight .mk-hl {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: var(--mk-hl-top, 8%);
  height: var(--mk-hl-h, 84%);
  background: var(--c-mark);
  border-radius: 7px;
  transform: rotate(-0.7deg);
  transform-origin: left center;
}
.m2l-mark--highlight .mk-tx {
  position: relative;
  z-index: 1;
}

/* The ring circles the marked word, like the other two marks, and leaves the
   heading's wording and line breaks exactly as they were. Its two copies
   sandwich the word in the stacking order - back below, front above - which is
   what makes the loop weave through the letters rather than lie flat on them.

   Box and viewBox are both set in script; the counter-scale cancels the
   heading's scaleY(.74) so the ellipse keeps the shape it was drawn with. */
.m2l-mark--ring {
  position: relative;
  display: inline-block;
}
.m2l-mark--ring .mk-tx {
  position: relative;
  z-index: 1;
}
.m2l-mark--ring svg {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  transform: scaleY(1.3514);
  transform-origin: center;
}
.m2l-mark--ring svg path {
  fill: none;
  stroke: var(--c-mark);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.m2l-mark--ring .ring-back {
  z-index: 0;
}
.m2l-mark--ring .ring-front {
  z-index: 2;
}
/* Added by the HEADING MARKS script to a heading that contains a ring: the loop stands
   taller than the word, and this is the room it stands in. */
.m2l-has-ring {
  padding-block: 0.4em;
}

/* ===================== LIGHT SECTIONS =====================
   A per-section variation, not a site-wide theme. Choosing "Light" on a section
   redefines the colour tokens for that subtree only, so everything inside it -
   the heading marks, the buttons, the borders, the type - follows along without
   needing light-mode rules of its own.

   The class is applied in place of the navy or gradient one, never alongside
   it, so nothing here has to fight --c-grad's !important.

   Every text colour below passes WCAG AA on its background. */
.m2l-light {
  color-scheme: light;

  --c-bg: #ffffff;
  --c-navy: #f4f6fa; /* the surface gradient's stops become a cool off-white */
  --c-navy-2: #eaeef6;
  --c-surface: #f4f6fa;

  --c-blue: #1a62f0; /* buttons and marks: deep enough that white on it passes (5.2:1) */
  --c-blue-bright: #1a4fd0; /* kickers, links, icons on white (6.8:1) */
  --c-blue-glow: rgba(26, 111, 255, 0.16);
  --c-accent: #1a4fd0;

  --c-white: #ffffff; /* stays white: this is the text on blue buttons */
  --c-text: #0a0b0d; /* body copy (19.7:1) */
  /* Headings go brand blue on a light ground. 4.39:1 on white: that clears the
     3:1 bar for large text, which h1-h4 are at every size in the scale, and it
     is why this is a heading token rather than the body colour - the same blue
     would fail the 4.5:1 small-text bar. */
  --c-heading: #1070ff;
  /* The mark has to read against the HEADING, not the page. With a blue
     heading a blue mark disappears into it, so the annotation inverts to
     near-black - 4.38:1 against the heading, where a deep blue managed 2.97:1
     and still read as a smudge. */
  --c-mark: var(--c-navy-ink);
  --c-text-muted: #4b5160; /* paragraphs (7.9:1) */
  --c-text-dim: #5f6674; /* labels and captions (5.8:1) */

  --c-border: #dfe2e8;
  --c-border-hover: #1a4fd0;

  --shadow-glow: 0 18px 50px -14px rgba(26, 98, 240, 0.28);
  --shadow-sm: 0 2px 14px rgba(16, 20, 30, 0.08);

  background: var(--c-bg);
  color: var(--c-text);
  border-color: var(--c-border);
}

/* A light surface is something a shadow can fall on, so the button takes one
   here where it has none on the page's near-black ground. */
.m2l-light .btn-primary {
  box-shadow:
    var(--btn-inset),
    0 16px 30px -12px rgba(21, 80, 216, 0.45);
}
/* The secondary button's rim is drawn in white, which disappears on white. */
.m2l-light .btn-ghost {
  color: var(--c-text);
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.035), rgba(10, 11, 13, 0.01)) padding-box,
    linear-gradient(180deg, rgba(10, 11, 13, 0.2), rgba(10, 11, 13, 0.08) 55%) border-box;
}

/* Pieces that were drawn in white on navy and would vanish on a light ground. */
.m2l-light .pf-card {
  border-color: var(--c-border);
}
.m2l-light .pf-arrow {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--c-border);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
}
.m2l-light .pf-arrow:hover,
.m2l-light .pf-arrow:focus-visible {
  background: #ffffff;
  border-color: var(--c-accent);
}
.m2l-light .product-bullet,
.m2l-light .product-bullet:first-of-type {
  border-color: var(--c-border);
}

/* Shadows that were tuned against black read as dirt on white. */
.m2l-light .pc-card {
  box-shadow:
    0 22px 56px -10px rgba(16, 20, 30, 0.16),
    0 0 0 1px var(--c-border);
}
.m2l-light .pc-card:hover {
  box-shadow:
    0 22px 56px -10px rgba(16, 20, 30, 0.2),
    0 0 0 1px var(--c-border-hover);
}
.m2l-light .founder-media {
  box-shadow: 0 24px 64px -14px rgba(16, 20, 30, 0.22);
}

/* Status colours that were picked to glow on black and are too pale on white. */
.m2l-light .form-field-error,
.m2l-light .product-form-error {
  color: #d92d20;
}
.m2l-light .pricing-availability--ok,
.m2l-light .pricing-availability--low {
  color: #7c3aed;
}
.m2l-light .pricing-availability--ok .avail-dot,
.m2l-light .pricing-availability--low .avail-dot {
  background: #7c3aed;
}

/* ===================== BUTTON TONE =====================
   Two tones for the primary button, so it can be set against whatever it sits
   on. The site-wide default rides on <body> from the theme settings; the CTA
   sections can override it.

   Both keep a white label, and that is what sets the range. White needs 4.5:1
   at --text-label, which caps how light the blue can go - the default fill's
   top stop measures 4.95:1 and is already close to the limit, so there is
   almost no headroom above it. There is plenty below: the deep tone measures
   5.91:1 at its top stop and 9.30:1 at its bottom. So the control works
   downward from the light blue rather than upward from the dark.

   The two levels use different class names on purpose. With one name on both
   the body and the section they carry equal specificity, so the cascade settles
   them by source order - and whichever rule is written last then wins for every
   page, which cannot be right for both tones at once. Body carries m2l-tone-*,
   sections carry m2l-btn-*, and the section rules come after, so a section
   override wins whichever way it points. */

/* Light blue: the default fill, named so it can override a site-wide deep. */
.m2l-tone-light .btn-primary,
.m2l-btn-light .btn-primary {
  --btn-inset: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: var(--c-white);
  background:
    radial-gradient(ellipse 62% 130% at 50% 124%, rgba(130, 185, 255, 0.4), transparent 68%)
      padding-box,
    linear-gradient(180deg, #1f66f2 0%, #1550d8 55%, #0f3fc4 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.06) 48%,
        rgba(255, 255, 255, 0.03) 100%
      )
      border-box;
}
.m2l-tone-light .btn-primary:active,
.m2l-btn-light .btn-primary:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 7px 16px -7px rgba(0, 0, 0, 0.6);
}

/* Deep blue: quieter against a bright surface, and heavier on a dark one. */
.m2l-tone-deep .btn-primary,
.m2l-btn-deep .btn-primary {
  --btn-inset: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--c-white);
  background:
    radial-gradient(ellipse 62% 130% at 50% 124%, rgba(96, 150, 255, 0.32), transparent 68%)
      padding-box,
    linear-gradient(180deg, #2a5ad8 0%, #15409e 55%, #0b2b74 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.34) 0%,
        rgba(255, 255, 255, 0.05) 48%,
        rgba(255, 255, 255, 0.02) 100%
      )
      border-box;
}
.m2l-tone-deep .btn-primary:active,
.m2l-btn-deep .btn-primary:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 7px 16px -7px rgba(0, 0, 0, 0.65);
}

/* Secondary: glass. The tint is neutral and the hue comes from saturate(),
   which amplifies whatever is actually behind the button - blue over the navy
   gradient, neutral over white - so it matches its surface without a
   per-surface colour anywhere.

   backdrop-filter is costly, which is why it is here and nowhere else: a few
   small buttons, not a large animated surface. Where it is unsupported the
   translucent fill still renders, so it degrades to a flat tint. */
.btn-ghost {
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08) 55%) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.m2l-light .btn-ghost {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.06), rgba(10, 11, 13, 0.02)) padding-box,
    linear-gradient(180deg, rgba(10, 11, 13, 0.22), rgba(10, 11, 13, 0.08) 55%) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* ===================== CARD SURFACES =====================
   Five card types shared one flat fill, one hairline border and one hover
   halo. They now share a lit surface instead: the fill runs as a gradient
   through the same navy rather than one flat value, and a 1px rim sits bright
   along the top and fades downward - the light-from-above cue. A tile of noise
   rides along as a background layer, which avoids needing a pseudo-element on
   cards that already use theirs.

   Colours and the 14px radius are deliberately unchanged. */
.offer-card,
.pricing-card,
.project-card,
.portfolio-feature-card,
.product-card {
  border-color: transparent;
  background:
    var(--grain) padding-box,
    linear-gradient(180deg, #0a1a6e 0%, #000c4e 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.05) 42%,
        rgba(255, 255, 255, 0.02) 100%
      )
      border-box;
  background-size:
    180px 180px,
    auto,
    auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 34px -20px rgba(0, 0, 0, 0.95);
}

/* Hover, in the same language as the buttons: it grows a little and the top
   edge takes more light. Nothing radiates - this replaces --shadow-glow, which
   was on every one of these. */
.offer-card:hover,
.pricing-card:hover,
.project-card:hover,
.portfolio-feature-card:hover,
.product-card:hover {
  border-color: transparent;
  transform: scale(1.012);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 44px -20px rgba(0, 0, 0, 0.95);
}

/* The one card meant to outrank its neighbours gets the pool of light the
   primary button uses, and a deeper shadow. Held in reserve on purpose: if
   every card has it, none of them reads as featured. */
.pricing-card--featured {
  border-color: transparent;
  background:
    var(--grain) padding-box,
    radial-gradient(ellipse 80% 120% at 50% 120%, rgba(80, 140, 255, 0.26), transparent 70%)
      padding-box,
    linear-gradient(180deg, #0e2280 0%, #000c4e 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.34) 0%,
        rgba(255, 255, 255, 0.07) 42%,
        rgba(255, 255, 255, 0.02) 100%
      )
      border-box;
  background-size:
    180px 180px,
    auto,
    auto,
    auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 56px -24px rgba(0, 0, 0, 1);
}
.pricing-card--featured:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 28px 62px -24px rgba(0, 0, 0, 1);
}

/* On a light section the modelling inverts. A bright top edge is white on
   white and does nothing, so the fill darkens downward, the rim is faintest at
   the top and firmest at the bottom, and there are two shadows: a tight one
   that reads as contact with the page and a wide one that reads as the room.
   One mid-sized shadow is what makes a light card look printed on. */
.m2l-light :is(.offer-card, .pricing-card, .project-card, .portfolio-feature-card, .product-card),
:is(.offer-card, .pricing-card, .project-card, .portfolio-feature-card, .product-card).m2l-light {
  border-color: transparent;
  background:
    var(--grain-light) padding-box,
    linear-gradient(180deg, #ffffff 0%, #eceff6 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(16, 20, 30, 0.05) 0%,
        rgba(16, 20, 30, 0.13) 55%,
        rgba(16, 20, 30, 0.2) 100%
      )
      border-box;
  background-size:
    180px 180px,
    auto,
    auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(16, 20, 30, 0.05),
    0 1px 2px rgba(16, 20, 30, 0.07),
    0 18px 34px -14px rgba(16, 20, 30, 0.22);
}
.m2l-light
  :is(.offer-card, .pricing-card, .project-card, .portfolio-feature-card, .product-card):hover,
:is(
    .offer-card,
    .pricing-card,
    .project-card,
    .portfolio-feature-card,
    .product-card
  ).m2l-light:hover {
  transform: scale(1.012);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(16, 20, 30, 0.06),
    0 2px 4px rgba(16, 20, 30, 0.08),
    0 24px 44px -16px rgba(16, 20, 30, 0.28);
}

/* ===================== TEXT ON THE GRADIENT CARD =====================
   The gradient sweeps from #1f66f2 to #0a1fa8, which is too wide a range for
   any dark text: navy reaches only 3.93:1 against the lightest stop and falls
   to 1.96:1 against the darkest, so it would be unreadable over half the card.
   White is the only colour that clears 4.5:1 across the whole sweep.

   SUPERSEDED for colour. These labels were navy #000E5A here, measured at
   3.50:1 and shipped after the owner's own test, back when each card was
   styled on its own. They now take --c-sky from the blue ground's colour
   column near the top of this file, because the same label role had four
   different colours across the site and one answer per ground is worth
   more than the 0.74 this gives up. The number is kept here so it is not
   lost: navy 3.50:1, light blue 2.76:1, both on the flat #1f66f2 card.

   Only the dot's geometry is still set here. */
.m2l-grad .kicker::before {
  background: currentColor;
  width: 7px;
  height: 7px;
}

/* ===================== PROJECT CARD PALETTES =====================
   The four portfolio projects stop sharing the site's navy card and each take
   a colour of their own, on "the result" carousel and on the portfolio grid
   alike. Stepping outside the brand palette here is deliberate: the type
   treatment, the display face, the stretch, the rim and the shadow are what
   carry the brand, so the cards can borrow each project's own colour without
   the page stopping being M2L.

   What does NOT change is the card. Every rule below paints the same layers in
   the same order as the navy card above - grain, a fill running light at the
   top to dark at the bottom, a rim brightest along the top edge, an inset
   highlight and a drop shadow - so the glass modelling is identical and only
   the hues move. The two light-grounded projects invert it the way .m2l-light
   already does: the rim is faintest at the top and firmest at the bottom, and
   two shadows replace one, because a bright top edge is invisible on a bright
   fill.

   Per project:
     --pc-top / --pc-bot   the fill
     --pc-title            the display line
     --pc-kick             the category label: the chromatic accent
     --pc-copy             the paragraph
     --pc-btn-*            the primary button, same three layers as everywhere

   Three text roles, never two. The live site already works this way - on How
   It Works the kicker is #1a4fd0, the sub-head #0C1D6B and the body #4b5160 -
   and on a light fill all three have to sit between 4.5:1 and about 9:1, so
   the separation comes from hue and chroma rather than lightness: a saturated
   kicker against a near-neutral paragraph.

   Every value here was measured on the built page, over the fill the ink
   actually covers, with the text hidden. Figures are in SECTION-COLOURS.md. */

[data-project] {
  /* dark modelling, the default */
  --pc-fill: linear-gradient(180deg, var(--pc-top) 0%, var(--pc-bot) 100%);
  --pc-grain: var(--grain);
  --pc-rim: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.05) 42%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --pc-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 34px -20px rgba(0, 0, 0, 0.95);
  --pc-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 20px 44px -20px rgba(0, 0, 0, 0.95);
  --pc-btn-inset: rgba(255, 255, 255, 0.22);
  --pc-btn-rim: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0.03) 100%
  );
  --pc-btn-fg: var(--c-white);
  --pc-btn-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.65);
}

/* The light-grounded pair. */
[data-project='greyfield'],
[data-project='domaine'] {
  --pc-grain: var(--grain-light);
  --pc-rim: linear-gradient(
    180deg,
    rgba(16, 20, 30, 0.05) 0%,
    rgba(16, 20, 30, 0.13) 55%,
    rgba(16, 20, 30, 0.2) 100%
  );
  --pc-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(16, 20, 30, 0.05),
    0 1px 2px rgba(16, 20, 30, 0.07), 0 18px 34px -14px rgba(16, 20, 30, 0.22);
  --pc-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(16, 20, 30, 0.06),
    0 2px 4px rgba(16, 20, 30, 0.08), 0 24px 44px -16px rgba(16, 20, 30, 0.28);
}

/* Greyfield: matcha. Near-black green line, saturated green label,
   near-neutral grey paragraph. */
[data-project='greyfield'] {
  --pc-top: #d8e3bc;
  --pc-bot: #bcce92;
  --pc-title: #1e3315;
  --pc-kick: #2a5f22;
  --pc-copy: #474c43;
  --pc-btn-pool: rgba(150, 220, 130, 0.32);
  --pc-btn-1: #2f6b28;
  --pc-btn-2: #255420;
  --pc-btn-3: #1b3f17;
}
/* ChronoNexus: the owner's purple. The fill runs from it down to a deep
   violet, which is what lets the periwinkle line sit on the card at all: on
   the flat #783FD0 that pairing measures 1.98:1, and the gradient is what
   buys the contrast back lower down where the type actually sits. */
[data-project='chrono'] {
  --pc-fill: linear-gradient(180deg, #783fd0 0%, #542899 18%, #36196e 52%, #2a1259 100%);
  --pc-title: #7d89ed;
  --pc-kick: #cab5ff;
  --pc-copy: #bbafd2;
  --pc-btn-pool: rgba(190, 160, 255, 0.34);
  --pc-btn-1: #5e2faa;
  --pc-btn-2: #4a2390;
  --pc-btn-3: #371a6e;
}
/* Apex: dark green. Electric lime line, mid-green label, muted sage
   paragraph. */
[data-project='apex'] {
  --pc-top: #15412b;
  --pc-bot: #061611;
  --pc-title: #79f94e;
  --pc-kick: #5cba88;
  --pc-copy: #a9c3b3;
  --pc-btn-pool: rgba(120, 249, 78, 0.26);
  --pc-btn-1: #2e7d4f;
  --pc-btn-2: #23613d;
  --pc-btn-3: #18452b;
}
/* Domaine: beige. Deep chocolate line, burnt-orange label, warm neutral grey
   paragraph. */
[data-project='domaine'] {
  --pc-top: #f3ead6;
  --pc-bot: #e0d0ac;
  --pc-title: #4c2f12;
  --pc-kick: #7f4107;
  --pc-copy: #5c544a;
  --pc-btn-pool: rgba(255, 190, 120, 0.3);
  --pc-btn-1: #8f4a08;
  --pc-btn-2: #743a05;
  --pc-btn-3: #572b03;
}

/* ---- the card surface ---- */
.project-card[data-project],
.pf-card[data-project] {
  border: 1px solid transparent;
  background:
    var(--pc-grain) padding-box,
    var(--pc-fill) padding-box,
    var(--pc-rim) border-box;
  background-size:
    180px 180px,
    auto,
    auto;
  box-shadow: var(--pc-shadow);
}
.project-card[data-project]:hover {
  box-shadow: var(--pc-shadow-hover);
}

/* ---- the three text roles ---- */
.project-card[data-project] .project-card-body h2,
.pf-card[data-project] .pf-card-body h3 {
  color: var(--pc-title);
}

.project-card[data-project] .project-card-body .project-card-cat,
.pf-card[data-project] .pf-card-body .portfolio-cat {
  color: var(--pc-kick);
}

.project-card[data-project] .project-card-body p,
.pf-card[data-project] .pf-card-body p {
  color: var(--pc-copy);
  opacity: 1;
}

/* The carousel's text link takes the accent, and the title colour on hover so
   it still has somewhere to go. */
.pf-card[data-project] .pf-card-body .btn-text {
  color: var(--pc-kick);
}
.pf-card[data-project] .pf-card-body .btn-text:hover {
  color: var(--pc-title);
}

/* ---- the button ----
   Same three layers in the same order as .btn-primary everywhere else: the
   pool of light low and centre, the fill, the rim on border-box. The shape,
   the inset highlight and the drop shadow are untouched; only the hues move,
   and the label stays white on all four. */
.project-card[data-project] .btn-primary {
  --btn-inset: inset 0 1px 0 var(--pc-btn-inset);
  color: var(--pc-btn-fg);
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 62% 130% at 50% 124%, var(--pc-btn-pool), transparent 68%) padding-box,
    linear-gradient(180deg, var(--pc-btn-1) 0%, var(--pc-btn-2) 55%, var(--pc-btn-3) 100%)
      padding-box,
    var(--pc-btn-rim) border-box;
  box-shadow: var(--btn-inset), var(--pc-btn-shadow);
}
.project-card[data-project] .btn-primary:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 7px 16px -7px rgba(0, 0, 0, 0.6);
}

/* ---- the screenshot, unframed ----
   The old media box was a fixed 4:3 container with overflow:hidden over a
   navy fill, so whatever went in was cropped to its shape. That made sense
   when the pictures were composites - a site inside a browser-window mockup
   on a coloured backdrop - because the composite had already been composed to
   a ratio. The pictures are now the bare screenshots, so the box goes: the
   shot keeps its own proportions and is never cropped or stretched.

   Each card is its own full-width row, so the four shots differing in ratio
   (1.475 to 1.549) costs the layout nothing; there is no row of cards that
   has to line up.

   A radius and a shadow, and nothing else. No rim: an outline is the one
   thing that reads as a frame, which is what this treatment is getting rid
   of. The shadow alone is what lifts the shot off the card, and it is two
   recipes rather than one, because a shadow deep enough to register on the
   dark cards reads as dirt on the light pair. */
[data-project] {
  --pc-shot-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.9), 0 7px 16px -7px rgba(0, 0, 0, 0.6);
}
[data-project='greyfield'],
[data-project='domaine'] {
  --pc-shot-shadow: 0 24px 44px -16px rgba(16, 20, 30, 0.36), 0 5px 12px -5px rgba(16, 20, 30, 0.2);
}
.project-card[data-project] .project-card-media {
  aspect-ratio: auto;
  overflow: visible;
  background: none;
  border-radius: 0;
  min-width: 0;
}
.project-card[data-project] .project-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
  border-radius: 10px;
  box-shadow: var(--pc-shot-shadow);
}

/* ##########################################################################
   PAGE SECTIONS
   Styles that belong to one section. They come after everything above so they
   win over the shared rules, exactly as they did when they were inline in the pages.
   ########################################################################## */

/* ===================== HEADER: SCROLL BEHAVIOUR ===================== */
/* Used on: every page */
/* The bar is part of the first section, so while you are still in that
   section it moves with the page exactly as the headline under it does:
   the script translates it by the scroll offset, one to one, with no
   transition. Scrolling down does not hide it, it simply scrolls it off,
   because it is not a bar that leaves, it is a thing on the page that you
   scroll past.

   Only once it is gone does it behave like a bar at all. Past that point
   an upward scroll brings it back, and that return is the only movement
   here that is animated, which is why the transition is kept off until
   the script turns it on. */
.m2l-header {
  transition: none;
  will-change: transform;
}
.m2l-header.is-anim {
  transition: transform 320ms var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .m2l-header.is-anim {
    transition: none;
  }
}

/* ===================== PAGE HEADER SPACER ===================== */
/* Used on: every inner page */
.page-header-spacer {
  height: var(--text-h1);
}

/* The button row under the 404 and payment-success messages. */
.page-header .page-header-actions {
  margin-top: 28px;
}

/* ===================== HOME: SERVICES (BENTO GRID) ===================== */
/* Used on: index.html */
.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Blocks in one grid, split by hairlines: the 1px gap lets the section's
     dark ground show between the cards. */
  gap: 1px;
  grid-auto-rows: minmax(190px, auto);
}

/* The cards slide in from past the left edge (HOME: SERVICES ENTRANCE in
   script.js), so nothing clips them as a group: the outer corners are
   rounded on whichever cards sit at the grid's corners in each layout, and
   the section stops them widening the page while they are off screen. */
#services {
  overflow-x: clip;
}
@media (min-width: 861px) {
  .svc-bento > .svc-card:nth-child(1) {
    border-top-left-radius: 16px;
  }
  .svc-bento > .svc-card:nth-child(2) {
    border-top-right-radius: 16px;
  }
  .svc-bento > .svc-card:nth-child(3) {
    border-bottom-left-radius: 16px;
  }
  .svc-bento > .svc-card:nth-child(5) {
    border-bottom-right-radius: 16px;
  }
}
@media (min-width: 561px) and (max-width: 860px) {
  .svc-bento > .svc-card:nth-child(1) {
    border-radius: 16px 16px 0 0;
  }
  .svc-bento > .svc-card:nth-child(4) {
    border-bottom-left-radius: 16px;
  }
  .svc-bento > .svc-card:nth-child(5) {
    border-bottom-right-radius: 16px;
  }
}
@media (max-width: 560px) {
  .svc-bento > .svc-card:nth-child(1) {
    border-radius: 16px 16px 0 0;
  }
  .svc-bento > .svc-card:nth-child(5) {
    border-radius: 0 0 16px 16px;
  }
}

/* The flagship takes a 2x2 block with the tall card beside it, and the
   remaining services fill the row beneath. SEO gave up the full-width
   banner it had when there were only three cards: at that width the text
   and the drawing both sat in the left third and the right third was
   empty green. */
.svc-card--core {
  grid-column: span 2;
  grid-row: span 2;
}
.svc-card--tall {
  grid-column: span 1;
  grid-row: span 2;
}

@media (max-width: 860px) {
  .svc-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-card--core {
    grid-column: span 2;
    grid-row: span 1;
  }
  .svc-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
@media (max-width: 560px) {
  .svc-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .svc-card--core,
  .svc-card--tall {
    grid-column: span 1;
  }
  /* One column lets a card shrink to its text, and the drawing then lands
     on the title. A floor keeps the two apart, since the drawing is pinned
     top and the text bottom. */
  .svc-card {
    min-height: 264px;
  }
  .svc-card--core {
    min-height: 330px;
  }
}

/* Flat. No gradient in the fill, none in the rim, and no inset highlight,
   which is a lit edge and reads as one. The site's other cards are
   modelled with light falling from above; these are not, because a flat
   block of colour is what makes the hue read as a label rather than as a
   surface. What is left is the colour and the grain the rest of the site
   carries. No border and no shadow at rest: the cards sit flush in one
   grid, and the only shadow is the dark one a card casts while it is still
   sliding in. */
.svc-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: clamp(20px, 2.2vw, 30px);
  background-color: var(--sv-fill);
  background-image: var(--grain);
  background-size: 180px 180px;
}
a.svc-card {
  text-decoration: none;
}

/* A glass object for each service, in the card's own colour, rendered as a
   transparent PNG: built from the original line drawing, with thick rounded
   rims and pieces in contrasting shades set inside the glass. The glass is
   lighter than the card on purple and blue and deeper than it on green,
   orange and pink, so each object holds against its card; the magnifier's
   lens is clear glass. Lit like a bright studio so the rims catch white
   light. Files carry a -vN suffix because assets are cached for a year.

   Directly above the bold text and aligned to it, not pushed into a
   corner. Left-aligned it shares an edge with the title, so the two read
   as one block, and it also takes the drawing out of the number's column,
   which is where the collisions were. */
.svc-art {
  pointer-events: none;
  z-index: 0;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  height: auto;
}
/* The renders carry a little air around the object for its 3D tilt, so
   they sit 12% wider than the box to read at the drawing's old size. A soft
   shadow lifts the glass off the card. */
.svc-art img {
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  margin: -4% 0 -4% -6%;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.28));
}
/* Sized to the card's role, not to one value. Stacking the drawing above
   the text means its height is added to the card's, so a short wide card
   needs a small one or it balloons into a tall card with a hole in it.

   Note that this sets WIDTH only, so each drawing's rendered height falls
   out of its own viewBox ratio. A drawing composed too wide therefore ends
   up visibly shorter than its neighbours at the same width, which is a
   thing to fix in the artwork and not here. */
.svc-art {
  width: clamp(96px, 11vw, 136px);
}
.svc-card--core .svc-art {
  width: clamp(150px, 17vw, 210px);
}
.svc-card--tall .svc-art {
  width: clamp(118px, 13vw, 158px);
}
/* The three small cards size their object by height, not width: the
   magnifier is tall and the documents and the A are wide, so one shared
   width left two of them visibly smaller than the third. */
.svc-bento > .svc-card:nth-child(n + 3) .svc-art {
  width: auto;
}
.svc-bento > .svc-card:nth-child(n + 3) .svc-art img {
  width: auto;
  height: clamp(118px, 12vw, 168px);
  margin: -6px 0 -6px -8px;
}

/* The body clears the arrow in the bottom right corner. */
.svc-body {
  position: relative;
  z-index: 1;
  padding-right: 56px;
}

/* The service number, top right, in outline only. Same treatment as the
   hollow heading mark elsewhere on the site: -webkit-text-fill-color,
   never color, because color is what currentColor resolves to and clearing
   it takes the stroke with it. */
.svc-num {
  position: absolute;
  top: clamp(16px, 1.8vw, 24px);
  right: clamp(18px, 2vw, 26px);
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.4px var(--sv-title);
  transform: scaleY(0.86);
  transform-origin: top right;
  opacity: 0.85;
  pointer-events: none;
}

/* The arrow, bottom right. A hairline ring with a heavier arrow inside it,
   which is what gives it the drawn-not-iconographic feel. */
.svc-go {
  position: absolute;
  right: clamp(16px, 1.8vw, 24px);
  bottom: clamp(16px, 1.8vw, 24px);
  z-index: 1;
  width: clamp(34px, 3.4vw, 44px);
  height: auto;
  pointer-events: none;
  color: var(--sv-art);
  transition: color 260ms ease;
}
.svc-go svg {
  display: block;
  width: 100%;
  height: auto;
}
.svc-go circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.55;
}
.svc-go path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-card:hover .svc-go {
  color: var(--sv-title);
}

.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 10px;
  /* The floor is 1.2rem, not 1.05rem, and that is a colour decision rather
     than a typographic one. Bold type counts as large text from 18.66px,
     and large text only has to clear 3:1 instead of 4.5:1. At 17px on a
     phone the title fell under that line, the bar jumped, and the only
     colours left were so pale they read as white. Holding it above
     18.66px at every width buys back the room to tint it. */
  font-size: clamp(1.2rem, 1.5vw, 1.35rem);
  color: var(--sv-title);
  transform: scaleY(0.74);
  transform-origin: left center;
  /* 1.4px, the same as the global h1-h4 rule, not the 1px the prototype
     carried. The prototype had no site around it to match, so a lighter
     stroke looked fine in isolation; next to the real headings it read as
     a different weight of the same face. The stroke is currentColor, so
     thickening it only fattens the glyph and leaves the measured contrast
     where it was. */
  -webkit-text-stroke: 1.4px currentColor;
}
.svc-card--core h3 {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}
.svc-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sv-copy);
  max-width: 40ch;
}
.svc-card--core p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  max-width: 44ch;
}

/* ---- optional hover reveal ----
   grid-template-rows 0fr to 1fr is the one way to animate to a height the
   content decides. Touch devices have no hover, so there the description
   is simply always open: hiding it behind an interaction nobody can
   perform would lose the copy on every phone. */
.svc-desc {
  display: grid;
  grid-template-rows: 1fr;
}
.svc-desc > p {
  min-height: 0;
}
.svc-bento--reveal .svc-desc {
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 260ms ease;
}
.svc-bento--reveal .svc-desc > p {
  overflow: hidden;
}
.svc-bento--reveal .svc-card:hover .svc-desc,
.svc-bento--reveal .svc-card:focus-within .svc-desc {
  grid-template-rows: 1fr;
  opacity: 1;
}
@media (hover: none) {
  .svc-bento--reveal .svc-desc {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-bento--reveal .svc-desc {
    transition: none;
  }
  .svc-go {
    transition: none;
  }
}

/* ---- one flat hue per trade ----
   With no gradient there is a single value per card, so the type has one
   ground instead of a range and every value below was measured against it
   rather than carried over.

   Two text roles per card, never one. The title takes the saturated tone
   and the paragraph a clearly different one, and both are a tone of the
   card's own hue rather than plain white, so the type belongs to the card
   it sits on.

   The title is the chromatic tone and the paragraph the denser one, which
   is the opposite of what weight alone would suggest. That is on purpose:
   the title does not need contrast to dominate, it has the weight, the
   caps, the stretch and the stroke, and its bar is only 3:1. The paragraph
   has only its colour and is held to 4.5:1, so it has no choice. All five
   titles sit near 3.3-4.1 against their bar, which is exactly why they
   read as tinted rather than as black or white on colour. */
.svc-pal--purple {
  --sv-fill: #5f1dc9;
  --sv-title: #c9a6ff;
  --sv-copy: #ddceff;
  --sv-art: #a87dff;
}
.svc-pal--blue {
  --sv-fill: #123db0;
  --sv-title: #8fb6f5;
  --sv-copy: #c6dbfa;
  --sv-art: #5c92e8;
}
/* The three electric fills invert. An electric green, orange or pink is
   far too light to carry light text: at that brightness body copy lands
   near 3.5:1. So the ink goes dark instead, exactly the way the matcha and
   beige portfolio cards do, and the rim darkens with it since a white
   hairline vanishes on a bright fill. */
.svc-pal--green {
  --sv-fill: #2be06e;
  --sv-title: #0a7538;
  --sv-copy: #075c30;
  --sv-art: #0a7538;
  --sv-edge: rgba(8, 20, 12, 0.18);
}
.svc-pal--orange {
  --sv-fill: #fa6a0a;
  --sv-title: #7a2d00;
  --sv-copy: #501c00;
  --sv-art: #7a2d00;
  --sv-edge: rgba(26, 10, 0, 0.2);
}
.svc-pal--pink {
  --sv-fill: #fb2e86;
  --sv-title: #6e0033;
  --sv-copy: #460020;
  --sv-art: #6e0033;
  --sv-edge: rgba(26, 2, 13, 0.2);
}
.svc-pal--teal {
  --sv-fill: #0c5d73;
  --sv-title: #a5ecff;
  --sv-copy: #d9f1f9;
  --sv-art: #5cc8e4;
}
.svc-pal--red {
  --sv-fill: #9e3129;
  --sv-title: #ffdcd7;
  --sv-copy: #fbdcd8;
  --sv-art: #ff9d92;
}

/* ===================== HOME: HOW IT WORKS (PROCESS) ===================== */
/* Used on: index.html */
/* ---- the pin ----
   The section holds still while the line draws, then releases, which is
   what the studio story below it does. Switched on by the script rather
   than declared, so with no JS, with reduced motion, or in the stacked
   layout the section is just a normal block that scrolls past.

   The panel has to fit one screen. The flow box cannot simply be squashed
   to make it: its 1200/600 ratio is what maps the tile percentages onto
   the curve, and breaking it would letterbox the SVG and leave the tiles
   off the line. Capping its WIDTH shrinks its height by the same ratio, so
   the geometry survives and the composition just gets smaller.

   300px is what sits above the flow box and has to be left for: the
   panel's own padding, the heading block, and the gap under it. It was
   390 while the head carried a button; dropping that took 93px off the
   head, and leaving the old figure in place would just have kept the
   drawing smaller than it needs to be. */
.proc.is-pinned {
  padding-block: 0;
}
.proc.is-pinned .proc-track {
  position: relative;
}
/* The section's content sits above its ground texture (clouds 0, grain 1),
   as it does in every other textured section. The rule for that targets a
   .container that is a direct child of the section; here the content is
   wrapped in the track, so the track takes the layer instead. Without it
   the grain was drawn over the glass icons and the copy. */
.proc .proc-track {
  position: relative;
  z-index: 2;
}
/* Once the line has drawn, the hold is released (HOME: HOW IT WORKS): the
   panel keeps the pinned layout exactly, it just no longer sticks, so
   passing the section again scrolls straight through it. */
.proc.is-pinned.is-done .proc-panel {
  position: relative;
}
.proc.is-pinned .proc-panel {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(14px, 2vw, 28px);
}
.proc.is-pinned .proc-panel > .container {
  width: 100%;
}
.proc.is-pinned .proc-flow {
  max-width: calc((100svh - 300px) * 2);
  margin-inline: auto;
}

/* ---- head ---- */
.proc-head {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}
.proc-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  margin: 0 0 clamp(14px, 1.8vw, 20px);
  line-height: 1.06;
}
.proc-head .sub {
  margin: 0 auto clamp(26px, 3.4vw, 38px);
  color: var(--c-text-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 48ch;
  text-wrap: balance;
}

/* ================= the flow =================
   One fixed-ratio box holds the curve, the tiles and the copy, so the SVG
   scales uniformly and every position is a percentage of the same geometry.

   preserveAspectRatio="none" is the obvious alternative and is wrong here:
   it stretches the stroke horizontally, and the usual fix for that,
   vector-effect:non-scaling-stroke, resolves dash lengths in screen units
   while getTotalLength() reports user units. That mismatch is what made an
   earlier draw-on on this site come up short.

   Tiles and copy are SIBLINGS, both absolute against this box. Nesting a
   tile inside its copy put every tile on top of its own paragraph, because
   a percentage offset resolves against the nearest positioned ancestor. */
.proc-flow {
  position: relative;
  margin-top: clamp(30px, 4vw, 52px);
  aspect-ratio: 1200/600;
}
/* Full bleed, and centred on the flow box rather than contained by it: the
   line has to run off both edges of the screen so it reads as a
   continuation of something that started outside the section, with no cap
   visible at either end. JS widens this to the viewport and rewrites the
   viewBox and the path to match, because where "off screen" is depends on
   the window, not on the flow box.

   The viewBox grows by exactly as much as the element does, so the
   user-unit scale is unchanged and the tile percentages still land on the
   curve. */
.proc-curve {
  position: absolute;
  top: 0;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  overflow: visible;
}
.proc-curve path {
  fill: none;
  stroke: var(--c-blue);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.9;
}

/* Where each block sits was read off a marked-up screenshot: 01 left of its
   tile, 02 above and right, 03 below and left, 04 below and right. The
   alternation is deliberately not mechanical.

   Only 01's vertical was adjusted from what was drawn, and by measurement
   rather than taste: at the drawn height the line, climbing away from the
   first trough, cut through the second line of its paragraph. */
.proc-copy {
  position: absolute;
  z-index: 2;
  width: 21%;
}
.proc-copy--1 {
  left: 0%;
  top: 36%;
}
.proc-copy--2 {
  left: 41%;
  top: 6%;
}
.proc-copy--3 {
  left: 47%;
  top: 73%;
}
.proc-copy--4 {
  left: 79%;
  top: 45%;
}
/* Between the stacked layout and roughly 1250px the columns are narrow
   enough that block 01 wraps to a third line, and the extra depth puts its
   last line back into the climbing curve. It rides higher through there. */
@media (max-width: 1250px) {
  .proc-copy--1 {
    top: 29%;
  }
}

/* Step titles in the site's navy. The big outlined numerals that used to sit
   with each block are gone: the steps already read in order along the line,
   and the numbers crowded it. */
.proc-copy h3 {
  position: relative;
  z-index: 1;
  color: var(--c-ink-blue);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  transform: scaleY(0.74);
  transform-origin: left center;
  -webkit-text-stroke: 1.2px currentColor;
}
.proc-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* The icons ride the curve. Both coordinates come off the same 1200x600
   geometry as the path, so an icon and its point on the line cannot drift.

   Each is a glass object (skills/glass-icons, specs/process.json) in two
   layers stacked in one grid cell: the glass alone, and the glass with this
   stretch of the line refracted through it. HOME: HOW IT WORKS uncovers the
   second only up to the drawn line's tip, so the line travels into the glass
   as it draws. Each icon sits slightly off its point on the line (see the
   --ny values below), so the line crosses its light blue glass whole and
   never runs over the deep blue details.

   No tile and no ring: the line runs straight into the glass. The width is
   a share of the flow (9% = 108 of the curve's 1200 units), which is the
   span the line was rendered at, so the baked line keeps the real line's
   scale and position at every width. */
.proc-node {
  position: absolute;
  z-index: 3;
  left: var(--nx);
  top: var(--ny);
  transform: translate(-50%, -50%);
  width: 9%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.proc-node > img {
  grid-area: 1/1;
  display: block;
  width: 100%;
  height: auto;
}
.proc-node > img:first-child {
  filter: drop-shadow(0 10px 12px rgba(16, 40, 120, 0.16));
}
.proc-node > .proc-line {
  clip-path: inset(0 100% 0 0);
}

/* ---- narrow: four columns cannot hold a serpentine, so it becomes a plain
   vertical stack. Tiles and copy already interleave in the DOM, so dropping
   them back into flow gives the right order with no reordering. ---- */
@media (max-width: 1040px) {
  .proc-flow {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    margin-top: clamp(26px, 5vw, 34px);
  }
  .proc-curve {
    display: none;
  }
  .proc-node {
    position: static;
    transform: none;
    width: 78px;
    margin-bottom: 10px;
    /* The script positions every icon with translate(-50%,-50%) for the
       curve; in the stack that pushed it half off the left edge. The
       separate translate property cancels it. */
    translate: 50% 50%;
  }
  /* No line here, so no line layer. */
  .proc-node > .proc-line {
    display: none;
  }
  .proc-node:not(:first-of-type) {
    margin-top: 32px;
  }
  .proc-copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: 46ch;
  }
}

/* ---- scrubbed to the scroll ----
   No transitions and no in-view class: every value is written straight from
   the scroll position each frame, so the line, the icons and the copy move
   only while the page moves. A transition here would lag
   behind the scrub and fight it. */
.proc-curve path {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
.proc-node,
.proc-copy {
  opacity: 0;
}
/* Without JS nothing would ever paint, so everything stays put. */
.no-js .proc-curve path {
  stroke-dashoffset: 0;
}
.no-js .proc-node,
.no-js .proc-copy {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .proc-curve path {
    stroke-dashoffset: 0 !important;
  }
  .proc-node,
  .proc-copy {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Where each step's icon sits on the curve (were inline on each .proc-node).
   x is the icon's point on the line. y sits a little off it, by a different
   amount per icon, so the line crosses each object through its light blue
   glass and never over its deep blue details: below the speech bubble's
   text, through the tag's open body, between the browser's tab line and its
   cursor, and across the rocket's nose. The renders were made at these same
   centres (specs/process.json, bdCurve.cy), so the line inside the glass
   meets the line outside it. */
.proc-node--1 {
  --nx: 11%;
  --ny: 64.83%;
}
.proc-node--2 {
  --nx: 37%;
  --ny: 26.33%;
}
.proc-node--3 {
  --nx: 63%;
  --ny: 67.17%;
}
.proc-node--4 {
  --nx: 89%;
  --ny: 31.67%;
}

/* ===================== HOME: THE STUDIO (WHO + COIN) ===================== */
/* Used on: index.html */
.who-top {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 32px);
  margin-bottom: clamp(36px, 4.6vw, 62px);
}

/* z-index lifts the coin over the heading, so the highlight plate behind the
   marked word runs underneath it rather than butting against its edge.

   The heading sits a long way above the bottom of its own layout box, and a
   flex row aligns on layout, not on ink. A transform does not change layout:
   the h2 still occupies its untransformed 3 x line-height x font, while the
   theme's scaleY(.74) shrinks what you see to the middle of that. So the gap
   under the last line is the collapsed half, 3.12 x 0.13 = 0.406 of the
   font, plus the font's own bottom leading inside the visible box, 0.088,
   both measured at three widths. Lifting the disc by their sum puts its
   bottom edge on the bottom of the last line and, since the disc is the
   ink's own height, its top edge on the top of the first. */
.coin-wrap {
  flex: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(0.91rem, 3.06vw, 2.62rem);
}

.coin {
  position: relative;
  margin: 0;
  /* Sized off the heading, not picked by eye. Measured at three widths, the
     heading's ink stands 2.13x its own font-size, so the disc repeats the
     heading's clamp scaled by 2.13 and tracks the type as the type resizes. */
  width: clamp(3.95rem, 13.2vw, 11.3rem);
  aspect-ratio: 1;
  --rim: 5px;
  perspective: 900px;
  cursor: pointer;
  background: none;
  border: 0;
}
.coin-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.coin:hover .coin-flip,
.coin:focus-visible .coin-flip,
.coin.is-flipped .coin-flip {
  transform: rotateY(180deg);
}
.coin:focus-visible {
  outline: none;
}
.coin:focus-visible .coin-face {
  outline: 2px solid var(--c-blue-bright);
  outline-offset: 4px;
}

.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 0;
}
/* The rim is glass rather than a painted line: a translucent band lit bright
   along its top edge and faintly along the bottom, which is what makes a
   curved piece of glass read as glass. Every highlight is inset, so the disc
   catches light on itself and casts nothing onto the page behind it.

   It is masked to a ring rather than set as a border, so one rule can carry
   the band on one face and drop it on the other, and so the band can hold a
   gradient instead of one flat colour.

   closest-side, not the default farthest-corner: a radial gradient's
   percentage stops resolve against its ray length, and on a square box the
   farthest corner is the half-diagonal. Left at the default the band landed
   at 0.35 of the width and veiled most of the disc. */
.coin-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    158deg,
    rgba(197, 219, 252, 0.88) 0%,
    rgba(157, 190, 245, 0.7) 44%,
    rgba(133, 170, 238, 0.78) 100%
  );
  -webkit-mask: radial-gradient(
    circle closest-side at 50% 50%,
    transparent calc(100% - var(--rim)),
    #000 calc(100% - var(--rim))
  );
  mask: radial-gradient(
    circle closest-side at 50% 50%,
    transparent calc(100% - var(--rim)),
    #000 calc(100% - var(--rim))
  );
  box-shadow:
    inset 0 2px 1px -1px rgba(255, 255, 255, 0.85),
    inset 0 -3px 4px -2px rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
/* The artwork is inset by exactly the rim's width and clipped to its own
   circle, so the ring goes around the portrait rather than lying over it.
   Drawn full bleed with the band on top, the shoulder showed through. */
.coin-face--photo {
  background: transparent;
}
.coin-face--photo img {
  position: absolute;
  top: var(--rim);
  left: var(--rim);
  width: calc(100% - (var(--rim) * 2));
  height: calc(100% - (var(--rim) * 2));
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  display: block;
}

/* The reverse is the rim's own material taken across the whole disc, with no
   ring: a band of glass drawn around a face that is already glass is just a
   line on itself. Carried high enough that it still reads as that pale blue
   over a near-black page; at the rim's own alpha the glass went slate, which
   is physically right and visually wrong.

   No backdrop-filter. It forces the face to composite, which defeats
   backface-visibility:hidden in Chromium: the reverse kept painting while
   turned away, sampling the portrait as its backdrop. */
.coin-face--id {
  transform: rotateY(180deg);
  background: linear-gradient(
    152deg,
    rgba(186, 211, 250, 0.93) 0%,
    rgba(157, 190, 245, 0.86) 48%,
    rgba(136, 173, 239, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  text-align: center;
}
.coin-face--id::after {
  background: none;
  box-shadow:
    inset 0 2px 1px -1px rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.coin-face--id .who-icon {
  width: clamp(22px, 2.4vw, 32px);
  height: auto;
  color: var(--c-navy-ink);
  flex: none;
}
.coin-face--id strong {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  line-height: 1.1;
  color: var(--c-navy-ink);
  transform: scaleY(0.74);
  -webkit-text-stroke: 1.2px currentColor;
}
.coin-face--id .loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(0.56rem, 0.72vw, 0.7rem);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  /* Same ink as the name. At a lighter blue this line measured 4.20:1 on the
     glass, under the 4.5:1 that text this size needs. */
  color: var(--c-navy-ink);
}
.coin-face--id .loc svg {
  width: 10px;
  height: 10px;
  flex: none;
}

.who-title {
  position: relative;
  z-index: 1;
  min-width: 0;
}
/* The line breaks are <br /> tags in the HTML. */
.who-h2 {
  font-size: clamp(1.85rem, 6.2vw, 5.3rem);
  line-height: 1.04;
  margin: 0;
}
/* The plate reaches just past the gap to meet the disc and no further: it is
   marking one word, so it should read as a highlight that happens to touch
   the coin, not as a bar running out of it. The text does not move with it,
   because the extra padding is cancelled by an equal negative margin. */
.who-h2 .m2l-mark {
  padding-left: 0.5em;
  margin-left: -0.5em;
}

.who-body {
  text-align: center;
}
.who-body .lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 58ch;
  margin: 0 auto;
}
.who-body .btn {
  margin-top: clamp(26px, 3vw, 34px);
}

@media (max-width: 720px) {
  .who-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  /* Stacked, the disc no longer sits beside the heading, so tying it to the
     heading's height would leave it tiny on a phone, and there is no layout
     box to lift it out of. */
  .coin-wrap {
    margin-bottom: 0;
  }
  .coin {
    width: clamp(118px, 33vw, 168px);
  }
  .who-title {
    text-align: center;
  }
  .who-h2 .m2l-mark {
    padding-left: 0.12em;
    margin-left: 0;
  }
}

/* The arrow in "Discover the studio" (was inline on the svg). */
.who-body .btn .btn-arrow {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ===================== HOME: PRICING ===================== */
/* Used on: index.html */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}
/* The line break is a <br /> tag in the HTML. */
.m2l-home-pricing .price-copy h2 {
  font-size: var(--text-h2);
  margin-bottom: 18px;
}
.m2l-home-pricing .price-copy .price-lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  max-width: 44ch;
  margin: 0;
}

.plans {
  display: grid;
  gap: clamp(18px, 2.2vw, 26px);
}
.plan {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(20px, 2.6vw, 38px);
  align-items: center;
  padding: clamp(26px, 2.6vw, 34px);
  border: 0;
  border-radius: 16px;
  /* Glass tinted toward white, not toward the ground's blue. The card text
     uses the services page's white-card colours, and those assume a white
     card: on blue-tinted glass the figure measured 1.86:1, blue on blue.

     The opacity was swept against the text rather than chosen. At a 0.72
     midpoint the figure falls to 2.90:1, under the 3:1 its size needs; 0.78
     is the thinnest the pane goes while those colours still hold. */
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(244, 249, 255, 0.78) 48%,
    rgba(236, 244, 255, 0.82) 100%
  );
  box-shadow:
    inset 0 2px 1px -1px rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
/* Both panes are glass, so the picked one is the brighter of the two rather
   than the only opaque one. Same material, more light in it. */
.plan--pick {
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.93) 0%,
    rgba(250, 253, 255, 0.87) 48%,
    rgba(245, 250, 255, 0.9) 100%
  );
  box-shadow:
    inset 0 2px 1px -1px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.plan-tag {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: clamp(18px, 2.2vw, 30px);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--c-navy-ink);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  line-height: 1.2;
}

.plan-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* The label sits over the figure, the way the services card stacks "Starting
   from" above its price. A full-width flex basis rather than a new wrapper,
   so the figure and its currency still share one baseline. */
.plan-price {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0 7px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
/* Every colour below is read off the services page's white pricing card:
   price value #1070ff, price label #5f6674, scope and features #4b5160,
   feature icon #1a4fd0. The selectors carry three classes because the blue
   column sets p and li to #fff at (0,2,1) and would otherwise win. */
.m2l-home-pricing .plan .plan-price .from {
  flex: 0 0 100%;
  margin-bottom: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #5f6674;
}
.m2l-home-pricing .plan .plan-price strong,
.m2l-home-pricing .plan .plan-price .unit {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 3.3vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #1070ff;
  -webkit-text-stroke: 1.4px currentColor;
  /* The site's heading scale, the same origin on both, so the figure and
     "CHF" read as one lockup sitting on one baseline. */
  transform: scaleY(0.74);
  transform-origin: left bottom;
}
/* A plan with no price (the custom quote) has a heading: the site's heading
   values (h3), at the size and colour of the price figure. */
.m2l-home-pricing .plan .plan-heading {
  font-size: clamp(2.3rem, 3.3vw, 2.9rem);
  color: #1070ff;
  margin: 0;
  transform-origin: left center;
}
.m2l-home-pricing .plan .plan-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4b5160;
  max-width: 30ch;
}
.plan .btn {
  margin-top: 20px;
}
/* A plan with no list (the custom quote) uses the full width. */
.plan > .plan-left:only-child {
  grid-column: 1 / -1;
}

.plan-list {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.m2l-home-pricing .plan .plan-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5160;
}
/* the services page's tick, in the feature icon's blue */
.m2l-home-pricing .plan .plan-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
  background: #1a4fd0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 1040px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 44px);
    align-items: start;
  }
  .m2l-home-pricing .price-copy .price-lead {
    max-width: none;
  }
}
@media (max-width: 680px) {
  .plan {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .m2l-home-pricing .plan .plan-note {
    max-width: none;
  }
}

/* ===================== ABOUT: FOUNDER STORY ===================== */
/* Used on: about.html */
.founder-ed {
  --ed-accent: #2048ff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-10);
  align-items: center;
}
.founder-ed-text,
.founder-ed-photo {
  min-width: 0;
}

.founder-ed-icon {
  margin-bottom: var(--sp-4);
}
.founder-ed-icon svg {
  width: 40px;
  height: 40px;
  color: var(--ed-accent);
  display: block;
}

.founder-ed-heading {
  font-size: var(--text-h1);
  max-width: 11ch;
  margin-bottom: var(--sp-4);
}
.founder-ed-statement {
  max-width: 46ch;
}

.founder-ed-photo {
  display: flex;
  justify-content: center;
}
.founder-ed-circle {
  position: relative;
  width: clamp(260px, 32vw, 440px);
  aspect-ratio: 1/1;
}
.founder-ed-circle::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 72, 255, 0.35) 0%, rgba(32, 72, 255, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
}
.founder-ed-circle-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  box-shadow:
    0 0 0 1px rgba(32, 72, 255, 0.4),
    0 30px 70px -20px rgba(32, 72, 255, 0.45);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.founder-ed-circle:hover .founder-ed-circle-inner {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(32, 72, 255, 0.6),
    0 40px 90px -18px rgba(32, 72, 255, 0.6);
}
.founder-ed-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-ed-circle-tint {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}
.founder-ed-circle-placeholder {
  width: 100%;
  height: 100%;
}

.m2l-founder--navy {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}

.founder-anim-clip {
  overflow: hidden;
}

@media (max-width: 900px) {
  .founder-ed {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    text-align: center;
  }
  .founder-ed-photo {
    order: -1;
  }
  .founder-ed-icon {
    display: flex;
    justify-content: center;
  }
  .founder-ed-heading {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
    max-width: none;
    margin-inline: auto;
  }
  .founder-ed-statement {
    margin-inline: auto;
  }
  .founder-ed-circle {
    width: clamp(220px, 60vw, 320px);
  }
}

/* Photo crop and tint strength (were inline). */
.founder-ed-circle-inner img {
  object-position: 100% 0%;
}
.founder-ed-circle-tint {
  opacity: 0.2;
}

/* ===================== SERVICES PAGE: PHILOSOPHY ===================== */
/* Used on: services.html */
.philosophy-anim-clip {
  overflow: hidden;
}

/* ===================== SERVICES PAGE: PORTFOLIO CAROUSEL ===================== */
/* Used on: services.html */
/* ── Portfolio Carousel ───────────────────────────────── */
.pf-wrap {
  position: relative;
  padding: 0 56px;
}
.pf-track {
  position: relative;
  overflow: visible;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  min-height: 700px;
}
.pf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  will-change: transform, opacity;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-navy, #000e5a);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pf-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-card-body {
  padding: 20px 24px 24px;
}
.pf-card-body .portfolio-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent, var(--c-sky));
  margin-bottom: 8px;
}
.pf-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}
.pf-card-body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.7;
}
.pf-card-body .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent, var(--c-sky));
  text-decoration: none;
}
.pf-card-body .btn-text svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.pf-arrow {
  position: absolute;
  top: 50%;
  z-index: 50;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.pf-arrow:hover,
.pf-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--c-accent, var(--c-sky));
  outline: none;
}
.pf-arrow svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.pf-arrow--prev {
  left: 4px;
}
.pf-arrow--next {
  right: 4px;
}
.pf-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.pf-section-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.pf-section-link:hover svg {
  transform: translateX(4px);
}
.pf-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 749px) {
  .pf-wrap {
    padding: 0 40px;
  }
  .pf-track {
    min-height: 540px;
  }
  .pf-card {
    width: min(300px, calc(100vw - 88px));
  }
  .pf-arrow--prev {
    left: 0;
  }
  .pf-arrow--next {
    right: 0;
  }
}

/* ===================== WEBSITE CARDS: FROSTED GLASS =====================
   Used on: index.html (recent work ring), services.html ("the result"
   carousel), portfolio.html (project grid).

   The cards that show a website are frosted glass in their project's own
   colour: a translucent fill, a blur of whatever is behind, a sheen caught
   from the top left, and a one-pixel bright edge (the navbar pill's).
   Comes last in the file on purpose: it replaces the solid surfaces set
   under PROJECT CARD PALETTES and HOME: PORTFOLIO CAROUSEL. */
:is(.project-card, .pf-card, .pc-card)[data-project] {
  --glass-blur: blur(24px) saturate(140%);
  --glass-sheen: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.06) 32%,
    rgba(255, 255, 255, 0) 55%,
    rgba(255, 255, 255, 0.05) 100%
  );
  --glass-edge:
    inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 1px 0 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 18px 40px -18px rgba(8, 12, 28, 0.7), 0 2px 6px rgba(8, 12, 28, 0.22);
}

/* ---- the shared pane: portfolio grid and "the result" ---- */
.project-card[data-project],
.pf-card[data-project] {
  border: 1px solid transparent;
  background-size: auto;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-shadow);
}
.project-card[data-project]:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 1px 0 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 22px 46px -18px rgba(8, 12, 28, 0.75),
    0 2px 6px rgba(8, 12, 28, 0.22);
}

/* ---- portfolio page: one flat colour per project, no gradient ----
   The midpoint of each old gradient, which every text colour on it still
   clears (title / label / paragraph): Domaine 9.1 / 5.9 / 5.5,
   Greyfield 9.0 / 5.0 / 5.8, Apex 11.1 / 6.3 / 8.0, ChronoNexus
   3.6 / 6.2 / 5.4 (the title is large type, 3:1). */
.project-card[data-project='domaine'] {
  background: rgba(234, 221, 193, 0.95);
}
.project-card[data-project='greyfield'] {
  background: rgba(202, 216, 167, 0.95);
}
.project-card[data-project='apex'] {
  background: rgba(14, 44, 30, 0.95);
}
.project-card[data-project='chrono'] {
  background: rgba(74, 34, 137, 0.95);
}

/* ---- "the result" carousel: the side cards show through ----
   The centre card overlaps each side card by about a third, and its glass
   is clear enough that the side card behind shows, blurred, through its
   edges. Light cards: 58% over a milky backdrop (the contrast and
   brightness lift is what frosted glass does to what is behind it), with
   their label and paragraph a step darker in their own hue so they hold
   4.5:1 over any neighbour and over the page. Dark cards: 60%, plain blur. */
.pf-card[data-project='domaine'],
.pf-card[data-project='greyfield'] {
  -webkit-backdrop-filter: blur(16px) contrast(0.7) brightness(1.4) saturate(220%);
  backdrop-filter: blur(16px) contrast(0.7) brightness(1.4) saturate(220%);
}
.pf-card[data-project='domaine'] {
  --pc-kick: #452304;
  --pc-copy: #302c26;
  background:
    var(--glass-sheen),
    linear-gradient(180deg, rgba(243, 234, 214, 0.58) 0%, rgba(224, 208, 172, 0.58) 100%);
}
.pf-card[data-project='greyfield'] {
  --pc-kick: #132c10;
  --pc-copy: #232621;
  background:
    var(--glass-sheen),
    linear-gradient(180deg, rgba(216, 227, 188, 0.58) 0%, rgba(188, 206, 146, 0.58) 100%);
}
.pf-card[data-project='apex'],
.pf-card[data-project='chrono'] {
  -webkit-backdrop-filter: blur(16px) saturate(220%);
  backdrop-filter: blur(16px) saturate(220%);
}
.pf-card[data-project='apex'] {
  background:
    var(--glass-sheen),
    linear-gradient(180deg, rgba(21, 65, 43, 0.6) 0%, rgba(6, 22, 17, 0.6) 100%);
}
.pf-card[data-project='chrono'] {
  background:
    var(--glass-sheen),
    linear-gradient(
      180deg,
      rgba(120, 63, 208, 0.6) 0%,
      rgba(84, 40, 153, 0.6) 18%,
      rgba(54, 25, 110, 0.6) 52%,
      rgba(42, 18, 89, 0.6) 100%
    );
}
/* The bare screenshot on the card's colour, as on the portfolio page. The
   media box keeps its 4:3 size so the cards and the carousel do not move;
   the screenshot sits centred in it, with the body's 24px either side. */
.pf-card-media {
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 18px 24px 0;
}
.pf-card-media img {
  width: 100%;
  height: auto;
  object-fit: fill;
  border-radius: 10px;
  box-shadow: var(--pc-shot-shadow);
}

/* ---- homepage "recent work" ring: screenshots in a thick glass frame ----
   Each card is a frosted pane in its project's colour with the screenshot
   set into it: a 12px frame all round, the project's shot shadow. The
   light pair carries more of its colour (86%) because at 70% it read dull
   over the dark page; the frame holds no text. Card size and ring unchanged. */
.pc-card[data-project] {
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  backdrop-filter: blur(16px) saturate(200%);
  background:
    var(--glass-sheen),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--pc-top) 70%, transparent) 0%,
      color-mix(in srgb, var(--pc-bot) 70%, transparent) 100%
    );
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.7);
  transition:
    top 380ms var(--ease-out),
    height 380ms var(--ease-out);
}
.pc-card[data-project='domaine'],
.pc-card[data-project='greyfield'] {
  background:
    var(--glass-sheen),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--pc-top) 86%, transparent) 0%,
      color-mix(in srgb, var(--pc-bot) 86%, transparent) 100%
    );
}
.pc-card[data-project='chrono'] {
  background:
    var(--glass-sheen),
    linear-gradient(
      180deg,
      rgba(120, 63, 208, 0.7) 0%,
      rgba(84, 40, 153, 0.7) 18%,
      rgba(54, 25, 110, 0.7) 52%,
      rgba(42, 18, 89, 0.7) 100%
    );
}
/* the bright edge on the card's outline; no outline of any colour on hover */
.pc-card[data-project]::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: var(--glass-edge);
}
.pc-card[data-project]:hover {
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.7);
}
.pc-card[data-project] .pc-card-inner {
  padding: 12px;
  transition: padding-top 380ms var(--ease-out);
}
.pc-card[data-project] .pc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: var(--pc-shot-shadow);
}
/* Hover: the card grows 40px upward and the screenshot stays put (the top
   edge and the padding move by the same amount). The band it opens carries
   the project's name in the kicker's type and the card's label colour.
   On touch screens, which have no hover, the card facing the viewer does the
   same (HOME: PORTFOLIO CAROUSEL marks it .is-front); a tap on it closes it
   (.is-shut) and a tap on another card turns that one to the front. */
.pc-card[data-project] .pc-card-label {
  top: 0;
  bottom: auto;
  left: 14px;
  right: 14px;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-label);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--pc-kick);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 260ms var(--ease-out),
    transform 380ms var(--ease-out);
}
@media (hover: hover) {
  .pc-card[data-project]:hover {
    top: -145px;
    height: 250px;
  }
  .pc-card[data-project]:hover .pc-card-inner {
    padding-top: 52px;
  }
  .pc-card[data-project]:hover .pc-card-label {
    opacity: 1;
    transform: none;
  }
}
@media (hover: none) {
  .pc-card[data-project].is-front:not(.is-shut) {
    top: -145px;
    height: 250px;
  }
  .pc-card[data-project].is-front:not(.is-shut) .pc-card-inner {
    padding-top: 52px;
  }
  .pc-card[data-project].is-front:not(.is-shut) .pc-card-label {
    opacity: 1;
    transform: none;
  }
}
/* Small screens: the card is 200 x 124, so the band it opens is scaled to
   it (the same share as the 40px on the 210px card). The desktop values
   above doubled its height and turned it into a portrait. */
@media (max-width: 760px) {
  .pc-card[data-project]:hover,
  .pc-card[data-project].is-front:not(.is-shut) {
    top: -86px;
    height: 148px;
  }
  .pc-card[data-project] .pc-card-label {
    height: 30px;
    left: 10px;
    right: 10px;
  }
  .pc-card[data-project]:hover .pc-card-inner,
  .pc-card[data-project].is-front:not(.is-shut) .pc-card-inner {
    padding-top: 30px;
  }
}

/* ===================== CONTACT: ONE SECTION, TEXT LEFT, FORM RIGHT =====================
   The contact page is a single section that fills the screen like the
   homepage hero: "Get In Touch" and its paragraph on the left, the form on
   the right, centred in the space below the header, with the footer only
   after a scroll. Stacked, text first, below 900px.
   100svh for the same reason as the hero: Safari's 100vh runs under its
   toolbars. The 130px top is the header's 91px plus air. */
.contact-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: clamp(40px, 7vh, 90px);
}
.contact-hero > .container {
  width: 100%;
}
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.contact-split .page-header > p {
  margin-left: 0; /* the lead sits under the heading, not pushed right */
}
.contact-split .contact-form {
  max-width: none;
  margin-inline: 0;
}
@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The form sits in a box of liquid glass: the navbar pill's blur and its
   one-pixel edge, brighter at the top left, and a cast shadow, never a glow.
   The form inside is unchanged. */
.contact-card {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  padding: clamp(24px, 3vw, 44px);
  /* Clear, not filled: a flat white wash over the near-black is what turned
     the box grey. The body stays see-through and the glass is carried by
     its light: a soft highlight swept from the top left corner, a faint
     return at the bottom right, and the rim lit from inside. */
  background: radial-gradient(
      120% 70% at 0% 0%,
      rgba(255, 255, 255, 0.09) 0%,
      rgba(255, 255, 255, 0) 55%
    ),
    radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 60%);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 28px rgba(255, 255, 255, 0.035),
    0 10px 24px rgba(8, 12, 28, 0.3),
    0 2px 6px rgba(8, 12, 28, 0.22);
}
.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.34)
  );
  -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,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* Short screens (a 1280x720 laptop) and the stacked layout: the padding of
   the box round the form would push the footer back into view, so the
   spacing tightens just enough to keep the whole form on the first screen.
   "Short" is decided once from the screen's height when the page opens
   (html.is-short-screen, set in contact.html's head), not by a height
   media query: the on-screen keyboard shortens the screen while typing,
   and the card must not change size under the visitor's fingers. */
@media (min-width: 901px) {
  .is-short-screen .contact-hero {
    padding-top: 112px;
    padding-bottom: 28px;
  }
  .is-short-screen .contact-card {
    padding: 26px 32px;
  }
  .is-short-screen .contact-card .contact-form {
    gap: 18px;
  }
  .is-short-screen .contact-card .form-field textarea {
    min-height: 110px;
  }
}
@media (max-width: 900px) {
  .contact-hero {
    padding-bottom: 40px;
  }
}

/* The fields inside the box: blue frosted glass. A thin wash of the site's
   blue over a blur of the pane behind, a light blue edge, and a bright
   hairline along the top where the light catches. Focus and the error
   state keep their own colours. */
.contact-card .form-field input,
.contact-card .form-field textarea {
  background: linear-gradient(180deg, rgba(36, 108, 255, 0.34) 0%, rgba(22, 84, 235, 0.26) 100%);
  border-color: rgba(140, 182, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(8, 12, 28, 0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.contact-card .form-field input:focus,
.contact-card .form-field textarea:focus {
  border-color: var(--c-blue-bright);
  box-shadow:
    0 0 0 4px var(--c-blue-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.contact-card .form-field.has-error input,
.contact-card .form-field.has-error textarea {
  border-color: #e0341e;
}
/* Browser autofill paints its own opaque fill; keep the glass and the text */
.contact-card .form-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--c-text);
  caret-color: var(--c-text);
  transition: background-color 600000s 0s;
}

/* Three glass objects, made with the glass-icons skill (skills/glass-icons)
   in the material of the "4 steps, no surprises" icons: plain glass, no
   pieces inside, one even colour. The plane and the @ are that light blue;
   the chat bubble is the 3D logo's royal blue.
   The plane is tucked behind the top corner of the form's box and the chat
   bubble behind its lower corner, so the box's glass blurs the parts it
   covers; both are placed from the box, so they keep their place at every
   width. The @ sits above the heading and over the end of its first line.
   Decoration only, never in the way of a click. */
.contact-hero {
  overflow: hidden;
}
.contact-split .page-header {
  position: relative;
  /* the @ is sized and placed in this box's own width (cqw), so it keeps
     the same spot on the heading, which is fitted to the same width */
  container-type: inline-size;
}
.contact-form-col {
  position: relative;
  isolation: isolate;
}
.contact-form-col .contact-card {
  z-index: 1;
}
.cg {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.5));
}
.cg--plane {
  width: clamp(190px, 19vw, 320px);
  top: clamp(-110px, -7vw, -60px);
  right: clamp(-150px, -5vw, -40px); /* never past the screen edge */
  transform: rotate(-6deg);
}
.cg--chat {
  width: clamp(160px, 14vw, 230px);
  bottom: -40px;
  left: clamp(-150px, -10vw, -100px);
  transform: rotate(-9deg);
}
.cg--at {
  z-index: 2; /* in front of the heading */
  width: 158px; /* without container units */
  width: 33cqw;
  top: -3.6cqw;
  right: 7%; /* over the end of "IN": the glass bends the letters behind it */
  transform: rotate(12deg);
}
@media (min-width: 901px) {
  .is-short-screen .cg--chat {
    width: 150px;
    bottom: -24px;
  }
}
@media (max-width: 900px) {
  .cg--chat {
    display: none;
  }
  .cg--plane {
    width: 112px;
    top: -58px;
    right: -18px;
  }
  .cg--at {
    width: 28cqw;
    top: -4cqw;
    right: 25%;
  }
}

/* "Touch" on its own line under "Get In". The heading is sized to fill its
   box (HEADING FIT in script.js), so the box is narrowed to keep it a step
   bigger than the old one-line heading, not twice the size. */
.contact-split .page-header h1 {
  max-width: 84%;
}
@media (max-width: 900px) {
  .contact-split .page-header h1 {
    max-width: 70%;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .cg--at {
    width: 16cqw;
    top: -0.5cqw;
    right: 30%;
  }
}

/* The live glass @ (CONTACT: GLASS @ in script.js): the canvas takes the
   PNG's place once it has drawn. */
.cg-live {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.5));
}
.has-live-at .cg--at {
  visibility: hidden;
}

/* "Touch" starts exactly under "Get In": no step in for the second line. */
.contact-split .page-header h1 .m2l-fit + .m2l-fit {
  margin-left: 0;
}

/* ===================== ROYAL BLUE CARDS =====================
   The cards that were navy take the royal blue (the 3D logo's, #1b2ee6), lit
   from above like every card here: the blue at the top deepening a little
   toward the bottom, so the light blue labels and the pale text keep their
   contrast. Text colours are unchanged.
   The navy cards: the featured pricing card and the order pop-up (services)
   and the final call-to-action banner (portfolio). */
.pricing-card--featured {
  background:
    var(--grain) padding-box,
    radial-gradient(ellipse 80% 120% at 50% 120%, rgba(80, 140, 255, 0.22), transparent 70%)
      padding-box,
    linear-gradient(180deg, #1b2ee6 0%, #1526c4 100%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.08) 42%,
        rgba(255, 255, 255, 0.03) 100%
      )
      border-box;
  background-size:
    180px 180px,
    auto,
    auto,
    auto;
}
.service-modal-panel {
  background: linear-gradient(180deg, #1b2ee6 0%, #1526c4 100%);
}
.final-cta-banner:not(.m2l-light):not(.m2l-grad) {
  background: linear-gradient(135deg, #1b2ee6 0%, #1729d4 50%, #1526c4 100%);
}
/* The one label too faint for the royal blue: "(optional)" in the pop-up's
   form was the dim grey (2.3:1). It takes the form labels' own pale tone. */
.service-modal-panel .pf-optional {
  color: #c3cfe4;
}

/* ===================== ABOUT: HERO =====================
   The founder's halftone portrait, cut out, coming in from the left edge;
   a thin circle drawing itself behind it; the greeting and the story on the
   right. One full screen, like the homepage and contact heroes.

   The portrait and the circle share one box (.ah-art) drawn in the
   mockup's own frame (2000 x 1412): the box is pinned to the section's
   bottom left at the section's height, so the circle always passes behind
   the head and the portrait always bleeds off the left and bottom edges,
   at every width. The animation is ABOUT: HERO in script.js. */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: clamp(48px, 8vh, 96px);
  --ah-ring: #a7bff1;
}
.ah-art {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  aspect-ratio: 2000 / 1412;
  pointer-events: none;
}
.ah-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ah-ring path {
  fill: none;
  stroke: var(--ah-ring);
  stroke-width: 7;
  stroke-linecap: round;
}
.ah-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 92.5%; /* the head sits 7.5% under the top of the frame, as drawn */
  width: auto;
  max-width: none;
}
.about-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.ah-copy {
  margin-left: 56%; /* the right column, as in the mockup */
  max-width: 600px;
}
/* The kicker greets ("Hey, I'm Mathis") and the heading answers with the
   role, so the two read as one sentence. */
.about-hero .page-header .kicker {
  margin-bottom: clamp(10px, 1.4vw, 18px);
}
/* Type follows the site's rules: the heading is the site's display heading
   (its colour, size, stroke, squash and leading come from the shared rules),
   and the paragraph is the site's paragraph. The only change is that the
   lines start flush, as on the contact page, instead of stepping in. */
.about-hero .page-header h1 .m2l-fit + .m2l-fit {
  margin-left: 0;
}
.about-hero .page-header > p {
  margin: clamp(22px, 3vw, 40px) 0 0;
  max-width: 34ch;
  font-size: var(--text-lead);
  line-height: var(--lh-normal);
  letter-spacing: 0;
}
/* The entrance (ABOUT: HERO in script.js adds .is-in once the portrait is
   decoded and the fonts are in): the portrait slides in from the left edge,
   the circle draws itself behind it, then the greeting and the paragraph
   fade in. The heading does not move, like every heading on the site.
   The start state is set here, so nothing is painted in place first and then
   snatched away; the motion runs as CSS animations, off the main thread.
   If the script never runs, the fallback animation shows everything at 4s. */
.ah-photo {
  transform: translateX(-105%);
  will-change: transform;
  animation: ah-show 0.01s linear 4s forwards;
}
.ah-ring path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: ah-show 0.01s linear 4s forwards;
}
.about-hero .ah-copy .kicker,
.about-hero .ah-copy > p {
  opacity: 0;
  animation: ah-show 0.01s linear 4s forwards;
}
.about-hero.is-in .ah-photo {
  animation: ah-slide 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.about-hero.is-in .ah-ring path {
  animation: ah-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.25s both;
}
.about-hero.is-in .ah-copy .kicker {
  animation: ah-fade 0.9s ease-out 0.55s both;
}
.about-hero.is-in .ah-copy > p {
  animation: ah-fade 0.9s ease-out 0.7s both;
}
@keyframes ah-slide {
  from {
    transform: translateX(-105%);
  }
  to {
    transform: none;
  }
}
@keyframes ah-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ah-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ah-show {
  to {
    transform: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ah-photo,
  .ah-ring path,
  .about-hero .ah-copy .kicker,
  .about-hero .ah-copy > p {
    animation: none !important;
    transform: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
/* Narrow: the greeting and story first, the portrait under them, bleeding
   off the left and bottom edges as on desktop. */
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 112px;
    padding-bottom: 0;
  }
  .ah-copy {
    margin-left: 0;
  }
  .about-hero > .container {
    order: 1;
  }
  .ah-art {
    order: 2;
    position: relative;
    height: auto;
    width: 118%;
    max-width: 760px;
    margin-top: 28px;
  }
}

/* ===================== HEADER: OVER LIGHT SECTIONS, BUTTON SHADOW =====================
   The bar's button carried only its inner top highlight: the drop shadow is
   given to buttons on lighter grounds, and the bar is not inside a section.
   Over the hero it now lifts off the page like the buttons in the blue
   sections; over a white section the shadow takes the navy ink instead of
   black, so it reads as a shadow and not as a dirty halo. Pressing keeps its
   own sunken shadow. */
.m2l-header .m2l-nav-cta:not(:active) {
  box-shadow:
    var(--btn-inset),
    0 12px 26px -12px rgba(0, 0, 0, 0.65);
}
.m2l-header.on-light .m2l-nav-cta:not(:active) {
  box-shadow:
    var(--btn-inset),
    0 12px 24px -10px rgba(12, 29, 107, 0.45);
}

/* The hamburger turns navy over a light ground, like the links do; back to
   white once the menu (on the dark ground) is open. */
.m2l-header.on-light .m2l-hamburger[aria-expanded='false'] span {
  background: var(--c-navy-ink);
}


/* ===================== HEADER: LOGO ON BLUE =====================
   The monogram is blue, which disappears on the blue gradient sections. While
   the bar is over one (.on-blue, set by HEADER: LOGO ON BLUE in script.js) it
   crossfades to the light blue monogram. */
.m2l-logo {
  position: relative;
}
.m2l-logo .m2l-logo-light {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.m2l-logo img:first-child {
  transition: opacity 280ms var(--ease-out);
}
.m2l-header.on-blue .m2l-logo img:first-child {
  opacity: 0;
}
.m2l-header.on-blue .m2l-logo .m2l-logo-light {
  opacity: 1;
}

/* ===================== SERVICES: HERO, PILLARS, CAROUSEL ===================== */

/* The side cards of "the result" carousel reach past a phone's screen edge
   (the card next to the centre one ran to 430px on a 390px phone), which made
   the whole page wider than the screen and pushed the menu button off it.
   The section clips sideways only; clip, not hidden, so nothing becomes a
   scroll container and the cards' vertical shadows are untouched. */
.pf-section {
  overflow-x: hidden;
  overflow-x: clip;
}

/* A kicker on a blue section takes the light blue that kickers on blue cards
   already use (--c-sky); the default bright blue sat at 1.6:1 on the blue. */
.m2l-section.m2l-grad .kicker {
  color: var(--c-sky);
}

/* The services page opens on the principles section, as a full screen like the
   other page openers: the blue fills the first screen, with the content
   centred in the space under the header, so no dark band shows below it. */
.svc-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.svc-hero > .container {
  width: 100%;
}

/* The three principles carry glass icons (glass-icons skill, light blue
   glass). The rule for every glass icon that meets text: it touches the
   first letter but never hides it, and it is real glass, so the edge of the
   letter it meets shows through it, refracted (GLASS ICONS: LIVE REFRACTION
   in script.js draws it live; the PNG is the fallback without WebGL, and
   there the letter stays on top of it). The pillar keeps that room on its
   left, so the icon never runs into the paragraph or the column beside it;
   if it ever meets the paragraph, the paragraph stays on top. The icons sit
   above the section's grain, with the content. */
.svc-hero .pillar {
  --pg-h: clamp(54px, 4.6vw, 76px);
  padding-left: calc(var(--pg-h) * 0.75);
}
.pillar-title {
  position: relative;
  margin-bottom: var(--sp-2);
}
.pillar-title h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.pillar-glass,
.pillar-title .glass-live {
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(4, 14, 70, 0.35));
}
.pillar-glass {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 100%;
  height: var(--pg-h);
  width: auto;
  max-width: none;
  /* the render keeps ~9% clear air on its right; sliding by a little more
     than that brings the glass onto the edge of the first letter */
  transform: translate(14%, -50%);
}
/* The live glass is drawn over the title, so the letter it touches is seen
   through it; the PNG under it steps aside once it has drawn. */
.pillar-title .glass-live {
  position: absolute;
  z-index: 2;
}
.pillar-title.has-live-glass .pillar-glass {
  visibility: hidden;
}
.svc-hero .pillar p {
  position: relative;
  z-index: 3;
}

/* ===================== START A PROJECT: THE BRIEF PAGE =====================
   Where "Start a Project" leads: the brief, one topic per step, then the
   Stripe checkout. One card on the royal blue (--c-ink-blue), centred both
   ways; the page never scrolls. Outside the card only the small logo, the
   close button, and two glass icons tucked behind opposite corners.
     card      glass in the white-section heading blue (#1070ff), 24px
               blur, lit white rim,
               32px corners; on desktop and iPad the size of the homepage's
               services grid, on phones the size of its content
     top       back arrow, "Step X of N", the running total, the progress bar
     text      white for questions and answers, white at 88% for labels and
               hints, placeholders at 70% (88% keeps small labels near 5:1 on
               the blue glass)
     fields    the contact form's frosted glass, washed in the electric blue;
               the active one gets a white edge and an electric blue ring
     choices   clear liquid glass cards and chips; chosen, they turn royal
               blue glass
     button    the site's electric blue primary, the same on every step, full
               width on phones; disabled it stays a button, just quieter
   The step's title and line sit above its answers at every size. */
body.start-page {
  background: var(--c-ink-blue);
}
.start {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: var(--start-h, 100svh); /* fixed when the page opens: see start.html */
  box-sizing: border-box;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 84px max(16px, env(safe-area-inset-right, 0px)) 24px
    max(16px, env(safe-area-inset-left, 0px));
  overflow: hidden;
  overflow: clip; /* hidden still lets focus scroll it; clip does not */
}

/* ---------- Outside the card ---------- */
.start-logo {
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 32px);
  z-index: 3;
  display: block;
  border-radius: 8px;
}
.start-logo img {
  display: block;
  height: 44px;
  width: auto;
}
.start-close {
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  right: clamp(18px, 3vw, 32px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 14, 90, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 160ms var(--ease-out);
}
.start-close:hover {
  transform: scale(1.06);
}
.start-close svg {
  width: 20px;
  height: 20px;
}
.start-logo:focus-visible,
.start-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- The stage: the card and the glass behind it ---------- */
.start-wrap {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start-stage {
  position: relative;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Two glass icons sit behind the card at opposite corners, mostly outside
   it, and drift slowly (one below desktop width). Never where the fields are. */
.start-glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sg {
  position: absolute;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 22px 34px rgba(2, 6, 40, 0.45));
  animation: sg-drift 11s ease-in-out infinite alternate;
  will-change: transform;
}
/* the window on the card's top-right corner stays still */
.sg--plane {
  width: clamp(130px, 14vw, 210px);
  top: -14%;
  right: -6%;
  --sg-r: 8deg;
  animation: none;
  transform: rotate(var(--sg-r));
}
.sg--chat {
  /* Its size shrinks where the margin beside the card is narrow (iPad on
     its side, laptops), so about half of it still shows; it keeps 24px
     from the screen's edge. 100% here is the stage's width, so
     (100vw - 100%) / 2 is the margin beside the card. */
  --sgw: max(84px, min(clamp(120px, 12vw, 180px), calc(100vw - 100% - 48px)));
  width: var(--sgw);
  bottom: 3%;
  left: max(calc(var(--sgw) * -0.6), calc(24px - (100vw - 100%) / 2));
  --sg-r: -9deg;
  animation-duration: 14s;
  animation-delay: -5s;
}
@keyframes sg-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--sg-r, 0deg));
  }
  to {
    transform: translate3d(0, -12px, 0) rotate(calc(var(--sg-r, 0deg) + 4deg));
  }
}
/* iPad upright and phones: only the plane; the bubble would fall off the
   screen edge. */
@media (max-width: 999px) {
  .sg--chat {
    display: none;
  }
}
@media (max-width: 600px) {
  .sg--plane {
    width: 92px;
    top: -42px;
    right: -18px;
  }
  /* the stopwatch peeks out from behind the card's lower left, most of
     it below the card */
  .sg--chat {
    display: block;
    --sgw: 96px;
    width: 96px;
    bottom: -84px;
    left: 6%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sg {
    animation: none;
    transform: rotate(var(--sg-r, 0deg));
  }
}
/* The live glass (script.js, START: LIVE GLASS ICONS): in front of the
   card's edge, bending it. Its PNG behind the card steps aside. */
.start-live {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(2, 6, 40, 0.45));
}
.sg.is-live,
.sg.is-cut {
  visibility: hidden;
}

/* ---------- The card ---------- */
.start-card {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 32px;
  color: #fff;
  /* glass in the blue of the headings on white sections (#1070ff), lit
     by a highlight swept from the top left and a faint return at the
     bottom right, over a blur of the page */
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
    rgba(16, 112, 255, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(2, 6, 40, 0.3);
}

/* Top: back arrow, step count, running total, then the progress bar */
.start-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.start-back {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out);
}
.start-back:hover {
  background: rgba(255, 255, 255, 0.1);
}
.start-back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.start-back svg {
  width: 22px;
  height: 22px;
}
.start-back[hidden] {
  display: grid;
  visibility: hidden;
}
.start-count,
.start-total {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.start-total {
  margin-left: auto;
  text-align: right;
}
.start-total strong {
  color: #fff;
  font-weight: 700;
}
.start-progress {
  margin-top: 10px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.start-progress-bar {
  display: block;
  height: 100%;
  width: 10%;
  border-radius: inherit;
  background: #fff; /* the electric blue vanished on the blue glass */
  transition: width 220ms var(--ease-out);
}

/* One step at a time. If a short screen cannot hold a step, it scrolls
   inside the card, never the page. */
.start-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.start-steps {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  margin: 18px -6px 0;
  padding: 6px;
}
.start-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin-block: auto;
  animation: start-step-in 180ms var(--ease-out);
}
.start-step[hidden] {
  display: none;
}
@keyframes start-step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.start-step-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.start-q {
  color: #fff;
  font-size: var(--text-h3);
  margin: 0;
  transform-origin: left center;
}
.start-q:focus {
  outline: none;
}
.start-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-body-sm);
  line-height: 1.5;
  max-width: 40ch;
}
.start-answers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* ---------- Fields ---------- */
.start-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.start-field > label,
.start-group > legend {
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.start-optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.start-field input,
.start-field textarea,
.start-stack input {
  width: 100%;
  box-sizing: border-box;
  /* the contact form's frosted glass fields, washed in the electric blue */
  background: linear-gradient(180deg, rgba(10, 70, 220, 0.5) 0%, rgba(10, 70, 220, 0.36) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(8, 12, 28, 0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}
.start-field textarea {
  resize: none;
}
.start-field input::placeholder,
.start-field textarea::placeholder,
.start-stack input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.start-field input:focus,
.start-field textarea:focus,
.start-stack input:focus {
  outline: none;
  border-color: #fff;
  box-shadow:
    0 0 0 3px rgba(26, 111, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.start-field input[type='date'] {
  color-scheme: dark;
  min-height: 50px;
  /* iOS gives a date field a width of its own, wider than the card on a
     phone; this keeps it to its column like the other fields */
  display: block;
  min-width: 0;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
.start-field input[type='date']::-webkit-date-and-time-value {
  text-align: left;
}
.start-field {
  min-width: 0;
}
.start-field input:-webkit-autofill,
.start-stack input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 600000s 0s;
}
.start-field.has-error input,
.start-field.has-error textarea {
  border-color: #ff8a7a;
}
.start-error {
  margin: 0;
  color: #ffb4a8; /* light coral: 7:1 on the card */
  font-size: var(--text-body-sm);
}
.start-error:empty {
  display: none;
}
.start-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.start-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.start-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-body-sm);
  line-height: 1.5;
}
.start-note:empty {
  display: none;
}
.start-reveal[hidden] {
  display: none;
}

/* ---------- Choices: cards and chips ---------- */
.start-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.start-choices {
  display: grid;
  gap: 10px;
}
.start-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.start-choice,
.start-chip {
  position: relative;
  box-sizing: border-box;
  color: #fff;
  /* clear liquid glass: no fill, only light along the rim */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}
.start-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 16px 12px 18px;
  border-radius: 16px;
}
.start-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}
.start-choice:hover,
.start-chip:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.start-choice input,
.start-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.start-choice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.start-choice-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.start-choice-note {
  font-size: var(--text-body-sm);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}
.start-choice-note:empty {
  display: none;
}
.start-dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: transparent;
  transition:
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out);
}
input[type='checkbox'] ~ .start-dot {
  border-radius: 7px;
}
.start-dot svg {
  width: 14px;
  height: 14px;
}
.start-choice.is-selected,
.start-chip.is-selected {
  /* royal blue glass (--c-ink-blue): deeper than the clear glass around
     it, with a bright rim and a highlight along its top edge; no glow */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, #1f33ee 0%, #1222c4 100%);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(4, 8, 60, 0.35),
    0 6px 14px rgba(4, 10, 80, 0.3);
}
.start-choice.is-selected .start-choice-note {
  color: rgba(255, 255, 255, 0.85);
}
.start-choice.is-selected .start-dot {
  background: #fff;
  border-color: #fff;
  color: var(--c-ink-blue);
}
.start-choice:focus-within,
.start-chip:focus-within {
  outline: 2px solid #fff;
  outline-offset: 2px;
}/* ---------- Summary ---------- */
.start-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.start-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
}
.start-lines li span:last-child {
  flex: none;
  font-variant-numeric: tabular-nums;
}
.start-lines .is-tbd span:last-child {
  color: rgba(255, 255, 255, 0.88);
}
.start-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-weight: 700;
}
.start-sum-total span {
  font-size: var(--text-label);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.start-sum-total strong {
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}
.start-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.start-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-body-sm);
  line-height: 1.45;
}
.start-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-bright);
}
.start-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 1rem;
}
.start-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.start-check-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: transparent;
  transition:
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out);
}
.start-check-box svg {
  width: 16px;
  height: 16px;
}
.start-check input:checked + .start-check-box {
  background: var(--c-blue-bright);
  border-color: var(--c-blue-bright);
  color: #fff;
}
.start-check input:focus-visible + .start-check-box {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.start-check a,
.start-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.start-check a:focus-visible,
.start-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- After payment ---------- */
.start-next {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: next;
}
.start-next li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 44px;
  counter-increment: next;
}
.start-next li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(26, 111, 255, 0.35);
  border: 1px solid var(--c-blue-bright);
  font-weight: 700;
  font-size: 0.9rem;
}
.start-next strong {
  font-size: 1rem;
}
.start-next span {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-body-sm);
  line-height: 1.45;
}
.start-done-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}
.start-card.is-done .start-actions,
.start-card.is-done .start-back,
.start-card.is-done .start-total {
  display: none;
}

/* ---------- The button ---------- */
.start-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
.start-actions .btn-primary,
.start-done-links .btn-primary {
  justify-content: center;
}
/* Disabled is still a button: same shape and size, a quiet fill and rim. */
.start-actions .btn-primary[disabled] {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1) padding-box;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
  transform: none;
}
.start-actions .btn-primary:focus-visible,
.start-done-links .btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.start-hint {
  margin: 10px 0 0;
  text-align: center;
  color: #ffb4a8;
  font-size: var(--text-body-sm);
}
.start-hint:empty {
  display: none;
}
/* More below: when a step is taller than the card, the steps scroll inside
   it, fade out at the bottom edge (and at the top once scrolled), and a
   small line under them says there is more (START: MORE BELOW in
   script.js sets the classes). */
.start-steps {
  --fade-top: 0px;
  --fade-bottom: 0px;
  --fade-clear: 0px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bottom)), transparent calc(100% - var(--fade-clear)), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bottom)), transparent calc(100% - var(--fade-clear)), transparent 100%);
}
.start-steps.is-scrolled {
  --fade-top: 22px;
}
/* the bottom fades out over 40px into a 30px strip where nothing shows:
   the line sits in that strip, never over the questions */
.start-steps.has-more {
  --fade-bottom: 70px;
  --fade-clear: 30px;
}
.start-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* takes no room: it sits in the clear strip at the foot of the steps */
  height: 0;
  margin: 0;
  overflow: visible;
  transform: translateY(-23px);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(12, 29, 107, 0.62);
  pointer-events: none;
}
.start-more:not(.is-on) {
  display: none;
}
.start-more svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 600px) {
  /* One size for every step, so the card keeps its shape and the glass
     has room above and below it: tall enough for About you (name and email)
     to show whole; a longer step scrolls inside it. */
  .start-stage {
    height: min(100%, 410px);
  }
  .start-wrap.container {
    padding-inline: 0;
  }
  .start-actions .btn-primary,
  .start-done-links .btn-primary {
    width: 100%;
  }
}

/* ---------- Desktop and iPad: the services grid's size ---------- */
@media (min-width: 601px) {
  .start {
    padding-inline: 0; /* the content column's gutter takes over */
  }
  .start-card {
    padding: clamp(26px, 3.4vw, 52px);
  }
  .start-q {
    font-size: var(--text-h2);
  }
  .start-steps {
    margin-top: clamp(18px, 2.6vh, 34px);
  }
}
/* iPad upright: the grid stands taller than wide (751 x 904). */
@media (min-width: 601px) and (max-width: 999px) {
  .start-stage {
    aspect-ratio: 751 / 904;
  }
}
/* Desktop and iPad on its side: the grid's 1136 x 798, the step in one
   column centred in the card. */
@media (min-width: 1000px) {
  .start-stage {
    aspect-ratio: 1136 / 798;
  }
  .start-step {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}

/* ---------- Short screens: tighter, so each step still fits ---------- */
/* was @media (max-height: 760px): it now follows the height measured when the page opens */
:where(html.start-shorter) .start {
  padding-top: 70px;
  padding-bottom: 16px;
}
:where(html.start-shorter) .start-logo img {
  height: 36px;
}
:where(html.start-shorter) .start-close {
  width: 42px;
  height: 42px;
}
:where(html.start-shorter) .start-card {
  padding: 18px 20px;
}
:where(html.start-shorter) .start-steps {
  margin-top: 12px;
}
:where(html.start-shorter) .start-step,
:where(html.start-shorter) .start-answers {
  gap: 12px;
}
:where(html.start-shorter) .start-choice {
  min-height: 50px;
  padding-block: 10px;
}
:where(html.start-shorter) .start-chip {
  min-height: 40px;
  padding: 8px 14px;
}
:where(html.start-shorter) .start-field input,
:where(html.start-shorter) .start-stack input,
:where(html.start-shorter) .start-field textarea {
  padding: 12px 14px;
}
:where(html.start-shorter) .start-actions {
  margin-top: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .start-step {
    animation: none;
  }
  .start-progress-bar {
    transition: none;
  }
}

/* ---------- The summary step ---------- */
.start-bill,
.start-confirm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.start-confirm {
  gap: 16px;
}
.start-check {
  align-self: flex-start; /* only as wide as its words */
}
.start-step--summary .start-lines li {
  padding: 8px 0;
}
/* Desktop: the title on top, the order on the left and what you agree to
   on the right, so the whole summary fits the card. */
@media (min-width: 1000px) {
  .start-step--summary {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    grid-template-areas:
      'head head'
      'bill confirm';
    column-gap: clamp(32px, 5vw, 80px);
    row-gap: 24px;
    align-items: start;
  }
  .start-step--summary[hidden] {
    display: none;
  }
  .start-step--summary .start-answers {
    display: contents;
  }
  .start-step--summary .start-step-head {
    grid-area: head;
  }
  .start-step--summary .start-bill {
    grid-area: bill;
  }
  .start-step--summary .start-confirm {
    grid-area: confirm;
  }
}
/* was @media (max-height: 760px): it now follows the height measured when the page opens */
:where(html.start-shorter) .start-step--summary .start-lines li {
  padding: 6px 0;
  font-size: 0.92rem;
}

/* Integration chips carry their price under the name. */
.start-chip:has(.start-chip-price) {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  border-radius: 16px;
  padding-block: 6px;
}
.start-chip-price {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.start-chip.is-selected .start-chip-price {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Phones: compact, so every step fits its screen ---------- */
@media (max-width: 600px) {
  .start-sub,
  .start-choice-note:not(.start-price) {
    display: none;
  }
  /* name on the left, price on the right */
  .start-choice-text {
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 10px;
  }
  .start-choice {
    min-height: 50px;
    padding-block: 10px;
  }
  .start-chips {
    gap: 6px;
  }
  .start-chip {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 0.92rem;
  }
  [data-field='integrations'] .start-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .start-top {
    min-height: 34px;
  }
  .start-back {
    width: 36px;
    height: 36px;
  }
  .start-step,
  .start-answers,
  .start-bill,
  .start-confirm {
    gap: 12px;
  }
  .start-field,
  .start-group {
    gap: 6px;
  }
  .start-field textarea {
    min-height: 0;
  }
  .start-step--summary .start-lines li {
    padding: 5px 0;
    font-size: 0.9rem;
  }
  .start-points li {
    font-size: 0.85rem;
  }
}
/* was @media (max-width: 600px) and (max-height: 760px): it now follows the height measured when the page opens */
@media (max-width: 600px) {
  :where(html.start-shorter) .start {
    padding-top: 62px;
  }
  /* the card's tighter padding here needs less height for About you */
  :where(html.start-shorter) .start-stage {
    height: min(100%, 384px);
  }
  :where(html.start-shorter) .start-logo img {
    height: 32px;
  }
  :where(html.start-shorter) .start-close {
    width: 40px;
    height: 40px;
  }
  :where(html.start-shorter) .start-card {
    padding: 16px 18px;
    border-radius: 26px;
  }
  :where(html.start-shorter) .start-steps {
    margin-top: 10px;
  }
  :where(html.start-shorter) .start-actions {
    margin-top: 12px;
  }
}

/* ---------- Wide screens: choices side by side, so stacked steps fit ---------- */
@media (min-width: 1000px) {
  .start-step {
    max-width: 880px;
  }
  /* the brand cards and the add-ons in one row each */
  [data-field='brand'] .start-choices,
  [data-field='addons'] .start-choices {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
  }
  [data-field='addons'] .start-choices > .start-reveal:not([hidden]) {
    display: grid;
  }
  /* step 8: texts and photos beside the domain question */
  .start-step[data-step='8'] .start-answers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .start-step[data-step='8'] [data-field='integrations'],
  .start-step[data-step='8'] .start-answers > .start-reveal:first-of-type {
    grid-column: 1 / -1;
  }
  .start-step[data-step='8'] .start-answers > p.start-reveal {
    grid-column: 2;
  }
  .start-step--summary .start-lines li {
    padding: 6px 0;
    font-size: 0.95rem;
  }
}
/* was @media (min-width: 1000px) and (max-height: 860px): it now follows the height measured when the page opens */
@media (min-width: 1000px) {
  :where(html.start-short) .start-step--summary .start-lines li {
    padding: 3px 0;
    font-size: 0.92rem;
  }
  :where(html.start-short) .start-step--summary .start-bill,
  :where(html.start-short) .start-step--summary .start-confirm {
    gap: 10px;
  }
  :where(html.start-short) .start-step--summary .start-sub {
    display: none;
  }
}

/* ===================== CHOICES: THE NAV PILL, IN ROYAL BLUE =====================
   The choice cards and chips are built like the navbar's active-page pill
   (.m2l-nav-pointer): tinted glass with a soft three-stop fill, an 18px blur,
   a one-pixel rim that is brightest at the top left, and a cast shadow.
   Not chosen they are clear glass with that rim; chosen they are the same
   pill in the 3D logo's royal blue (--c-ink-blue). Chips sit in an even grid
   of equal pills rather than a ragged row. */
.start-choice,
.start-chip {
  isolation: isolate;
  border: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07) 55%, rgba(255, 255, 255, 0.12));
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.start-choice::after,
.start-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(226, 238, 255, 0.22) 48%, rgba(255, 255, 255, 0.4));
  -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,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.start-choice:hover,
.start-chip:hover {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.18));
}
.start-choice.is-selected,
.start-chip.is-selected {
  background: linear-gradient(140deg, rgba(56, 76, 244, 0.95), rgba(27, 46, 230, 0.92) 55%, rgba(20, 36, 204, 0.95));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(8, 12, 28, 0.28);
  color: #fff;
}
.start-choice.is-selected::after,
.start-chip.is-selected::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(226, 238, 255, 0.3) 48%, rgba(255, 255, 255, 0.5));
}
.start-choice {
  border-radius: 22px;
  min-height: 60px;
  padding: 14px 18px 14px 22px;
}
.start-chip {
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
}
.start-chip:has(.start-chip-price) {
  align-items: center;
  border-radius: 22px;
}
/* chips in an even grid */
.start-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}
[data-field='pages'] .start-chips,
[data-field='languages'] .start-chips {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
}.start-choice:focus-within,
.start-chip:focus-within {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ===================== SPACING =====================
   Labels had 6 to 8px to the field or choices under them and read as stuck
   to them; groups had 12 to 16px between them. A label now has 12px to what
   it names, groups 28px between them, and the step's title and line 30px to
   the first question. Short screens keep the same proportions, a little
   tighter. */
.start-step {
  gap: 30px;
}
.start-step-head {
  gap: 12px;
}
.start-answers {
  gap: 28px;
}
.start-field,
.start-group,
.start-bill,
.start-confirm {
  gap: 12px;
}
.start-choices {
  gap: 12px;
}
.start-row {
  gap: 16px;
}
.start-stack {
  gap: 10px;
}
/* was @media (max-height: 860px): it now follows the height measured when the page opens */
:where(html.start-short) .start-step {
  gap: 24px;
}
:where(html.start-short) .start-answers {
  gap: 22px;
}
:where(html.start-short) .start-field,
:where(html.start-short) .start-group {
  gap: 10px;
}
/* was @media (max-height: 760px): it now follows the height measured when the page opens */
:where(html.start-shorter) .start-step {
  gap: 20px;
}
:where(html.start-shorter) .start-answers {
  gap: 18px;
}
:where(html.start-shorter) .start-choice {
  min-height: 52px;
  padding-block: 10px;
}
:where(html.start-shorter) .start-chip {
  min-height: 42px;
  padding-block: 8px;
}
@media (max-width: 600px) {
  .start-step {
    gap: 18px;
  }
  .start-answers {
    gap: 18px;
  }
  .start-field,
  .start-group,
  .start-bill,
  .start-confirm {
    gap: 9px;
  }
  .start-chips {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
  }
  [data-field='pages'] .start-chips {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  [data-field='languages'] .start-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  [data-field='integrations'] .start-chips {
    grid-template-columns: 1fr 1fr;
  }
  .start-chip {
    min-height: 42px;
    padding: 8px 10px;
  }
  .start-choice {
    min-height: 50px;
    padding: 10px 14px 10px 18px;
  }
}

/* ===================== VERSION B: THE LIGHT BLUE CARD =====================
   .start-card--light: the card in the About pill's light blue glass (the
   same three-stop fill, blur, rim and shadow as .m2l-nav-pointer), the
   fields in the blue of the white-section headings (#1070ff, as on
   "Designer, developer & founder"), the choices the same royal blue pill.
   On the light glass the text turns dark: titles in royal blue, everything
   else in the site's navy ink, as the links under the About pill are. */
.start-card--light {
  color: var(--c-navy-ink);
  isolation: isolate;
  border: 0;
  background: linear-gradient(140deg, rgba(186, 212, 252, 0.92), rgba(163, 195, 248, 0.86) 55%, rgba(145, 182, 246, 0.9));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 24px 60px rgba(8, 12, 28, 0.28);
}
.start-card--light::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(226, 238, 255, 0.3) 48%, rgba(255, 255, 255, 0.5));
  -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,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.start-card--light .start-q {
  color: var(--c-ink-blue);
}
.start-card--light .start-sub,
.start-card--light .start-count,
.start-card--light .start-total,
.start-card--light .start-field > label,
.start-card--light .start-group > legend,
.start-card--light .start-note,
.start-card--light .start-choice-note,
.start-card--light .start-chip-price,
.start-card--light .start-points li,
.start-card--light .start-sum-total span,
.start-card--light .start-next span {
  color: rgba(12, 29, 107, 0.82);
}
.start-card--light .start-total strong,
.start-card--light .start-check,
.start-card--light .start-lines li,
.start-card--light .start-sum-total strong,
.start-card--light .start-next strong {
  color: var(--c-navy-ink);
}
.start-card--light .start-back {
  color: var(--c-navy-ink);
}
.start-card--light .start-back:hover {
  background: rgba(12, 29, 107, 0.08);
}
.start-card--light .start-back:focus-visible,
.start-card--light .start-choice:focus-within,
.start-card--light .start-chip:focus-within,
.start-card--light .start-check a:focus-visible,
.start-card--light .start-link:focus-visible {
  outline-color: var(--c-ink-blue);
}
.start-card--light .start-progress {
  background: rgba(12, 29, 107, 0.15);
}
.start-card--light .start-progress-bar {
  background: var(--c-ink-blue);
}
/* fields: glass in the heading blue, white text */
.start-card--light .start-field input,
.start-card--light .start-field textarea,
.start-card--light .start-stack input {
  background: linear-gradient(180deg, rgba(16, 112, 255, 0.94) 0%, rgba(10, 92, 228, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 14px rgba(8, 30, 120, 0.16);
  color: #fff;
}
.start-card--light .start-field input::placeholder,
.start-card--light .start-field textarea::placeholder,
.start-card--light .start-stack input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}
.start-card--light .start-field input:focus,
.start-card--light .start-field textarea:focus,
.start-card--light .start-stack input:focus {
  border-color: #fff;
  box-shadow:
    0 0 0 3px var(--c-ink-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.start-card--light .start-field input[type='date'] {
  color-scheme: dark;
}
/* choices not chosen: clear glass with the on-light nav's navy rim */
.start-card--light .start-choice:not(.is-selected),
.start-card--light .start-chip:not(.is-selected) {
  color: var(--c-navy-ink);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.32) 55%, rgba(255, 255, 255, 0.45));
}
.start-card--light .start-choice:not(.is-selected):hover,
.start-card--light .start-chip:not(.is-selected):hover {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48) 55%, rgba(255, 255, 255, 0.6));
}
.start-card--light .start-choice:not(.is-selected)::after,
.start-card--light .start-chip:not(.is-selected)::after {
  background: linear-gradient(135deg, rgba(12, 29, 107, 0.3), rgba(12, 29, 107, 0.1) 48%, rgba(12, 29, 107, 0.22));
}
.start-card--light .start-choice:not(.is-selected) .start-dot {
  border-color: rgba(12, 29, 107, 0.45);
}
.start-card--light .start-choice.is-selected .start-choice-note,
.start-card--light .start-chip.is-selected .start-chip-price {
  color: rgba(255, 255, 255, 0.88);
}/* errors, the summary and the terms on the light glass */
.start-card--light .start-error,
.start-card--light .start-hint {
  color: #a3170d;
}
.start-card--light .start-field.has-error input,
.start-card--light .start-field.has-error textarea {
  border-color: #ff6a5c;
  box-shadow: 0 0 0 2px #c4271a;
}
.start-card--light .start-lines li {
  border-bottom-color: rgba(12, 29, 107, 0.16);
}
.start-card--light .start-lines .is-tbd span:last-child {
  color: rgba(12, 29, 107, 0.7);
}
.start-card--light .start-points li::before {
  background: var(--c-ink-blue);
}
.start-card--light .start-check-box {
  border-color: rgba(12, 29, 107, 0.55);
}
.start-card--light .start-check input:checked + .start-check-box {
  background: var(--c-ink-blue);
  border-color: var(--c-ink-blue);
}
.start-card--light .start-check input:focus-visible + .start-check-box {
  outline-color: var(--c-ink-blue);
}
.start-card--light .start-check a,
.start-card--light .start-link {
  color: var(--c-ink-blue);
}
.start-card--light .start-next li::before {
  background: var(--c-ink-blue);
  border-color: var(--c-ink-blue);
  color: #fff;
}
/* disabled Continue: still a button, in navy on the light glass */
.start-card--light .start-actions .btn-primary[disabled] {
  color: rgba(12, 29, 107, 0.62);
  background: rgba(12, 29, 107, 0.08) padding-box;
  border-color: rgba(12, 29, 107, 0.3);
}
.start-card--light .start-actions .btn-primary:focus-visible,
.start-card--light .start-done-links .btn-primary:focus-visible {
  outline-color: var(--c-ink-blue);
}

/* Chips keep their words on one line; phones get fewer, wider columns. */
.start-chip {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .start-chips {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  }
}
/* Version A (the blue card): clear pills a step lighter, so the royal blue
   chosen pill stands apart from them. */
.start-card:not(.start-card--light) .start-choice:not(.is-selected),
.start-card:not(.start-card--light) .start-chip:not(.is-selected) {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.19));
}
@media (max-width: 600px) {
  /* the total in the top bar already names the currency */
  [data-start-currency-note] {
    display: none;
  }
  .start-step,
  .start-answers {
    gap: 16px;
  }
  .start-chip {
    min-height: 40px;
  }
}
@media (min-width: 1000px) {
  .start-step--summary .start-lines li {
    padding-block: 5px;
  }
}

/* A question over choices is a fieldset legend, and a legend is not a flex
   item, so the group's gap never reached it: it sat 0px above its choices
   while labels sat 12px above their fields. The legend takes the same space
   as a margin, at every size. */
.start-group > legend {
  margin-bottom: 12px;
}
/* was @media (max-height: 860px): it now follows the height measured when the page opens */
:where(html.start-short) .start-group > legend {
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .start-group > legend {
    margin-bottom: 9px;
  }
}
/* was @media (min-width: 1000px) and (max-height: 860px): it now follows the height measured when the page opens */
@media (min-width: 1000px) {
  :where(html.start-short) .start-step,
  :where(html.start-short) .start-answers {
    gap: 20px;
  }
  :where(html.start-short) .start-step--summary .start-lines li {
    padding-block: 2px;
  }
}
/* was @media (min-width: 1000px) and (max-height: 760px): it now follows the height measured when the page opens */
@media (min-width: 1000px) {
  :where(html.start-shorter) .start-step {
    gap: 16px;
  }
  :where(html.start-shorter) .start-answers {
    gap: 16px;
  }
}

/* ===================== DROPDOWNS (website type, main language) =====================
   Styled exactly like the text fields, with the site's chevron in place of
   the browser's arrow. Language chips that cannot be chosen (the main
   language, or past the limit of 3) are hidden or dimmed. */
.start-select {
  position: relative;
}
.start-select select {
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(180deg, rgba(10, 70, 220, 0.5) 0%, rgba(10, 70, 220, 0.36) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(8, 12, 28, 0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 14px;
  padding: 14px 44px 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition:
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out);
}
.start-select select:focus {
  outline: none;
  border-color: #fff;
  box-shadow:
    0 0 0 3px rgba(26, 111, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.start-select option {
  color: #0a0b0d;
}
.start-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}
.start-card--light .start-select select {
  background: linear-gradient(180deg, rgba(16, 112, 255, 0.94) 0%, rgba(10, 92, 228, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 14px rgba(8, 30, 120, 0.16);
  color: #fff;
}
.start-card--light .start-select select:focus {
  border-color: #fff;
  box-shadow:
    0 0 0 3px var(--c-ink-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.start-chip[hidden] {
  display: none;
}
.start-chip.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
/* Industry and website type share a row like City and Country; stacked on
   phones, where the dropdown needs the width. */
@media (max-width: 600px) {
  .start-row--pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===================== COUNTRY: A SEARCHABLE LIST =====================
   The field looks like the others, with the dropdown chevron; typing
   filters the list of every country under it. */
.start-combo-box {
  position: relative;
}
.start-combo-box input {
  padding-right: 44px;
}
.start-combo-list {
  position: absolute;
  z-index: 20;
  max-height: 248px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  box-sizing: border-box;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 18px 40px rgba(8, 12, 28, 0.3),
    0 0 0 1px rgba(12, 29, 107, 0.12);
  color: var(--c-navy-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
}
.start-combo-list[hidden] {
  display: none;
}
.start-combo-list li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.start-combo-list li:hover,
.start-combo-list li[aria-selected='true'] {
  background: var(--c-ink-blue);
  color: #fff;
}
.start-combo-list .start-combo-empty,
.start-combo-list .start-combo-empty:hover {
  background: none;
  color: rgba(12, 29, 107, 0.7);
  cursor: default;
}
/* the thin line between the main countries and the full list */
.start-combo-list .start-combo-sep {
  height: 1px;
  margin: 6px 8px;
  padding: 0;
  border-radius: 0;
  background: rgba(12, 29, 107, 0.16);
  cursor: default;
  pointer-events: none;
}

/* Integration names run longer than the other chips: wider columns, and a
   long name wraps inside its pill rather than spilling out of it. */
[data-field='integrations'] .start-chips {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.start-chip {
  white-space: normal;
  line-height: 1.25;
}
@media (max-width: 600px) {
  [data-field='integrations'] .start-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* The summary: more room between "Your order" and the points under it.
   Written as the step's own rule so the shorter screens' tighter gaps do
   not override it. */
@media (min-width: 1000px) {
  .start-step.start-step--summary {
    row-gap: 40px;
  }
}
.start-step--summary .start-confirm {
  padding-top: 4px;
}
@media (min-width: 601px) {
  [data-field='integrations'] .start-chips {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  [data-field='integrations'] .start-chip {
    padding-inline: 12px;
  }
}
@media (min-width: 1000px) {
  .start-step.start-step--summary .start-lines li {
    padding-block: 3px;
    font-size: 0.92rem;
  }
}

/* ===================== HOME PRICING: GLASS VERSIONS =====================
   .plans--glass puts both plans in one pane of the services page's glass.
   A plan marked .plan--bare sits straight on the glass, with no white card:
   its text takes the light colours of the blue section. The white card
   (.plan--pick) inside the pane casts a soft shadow onto it. */
.plans--glass .plan:not(.plan--bare) {
  box-shadow:
    inset 0 2px 1px -1px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 18px 40px -14px rgba(2, 6, 30, 0.55),
    0 4px 12px rgba(2, 6, 30, 0.25);
}
.plan.plan--bare {
  background: none;
  box-shadow: none;
}
/* inside the pane the price column fits the price, so "1,500 CHF" stays
   on one line; the list takes the rest */
@media (min-width: 681px) {
  .plans--glass .plan {
    grid-template-columns: max-content minmax(0, 1fr);
  }
}
.plans--glass .plan--bare + .plan--bare {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
}
.m2l-home-pricing .plan.plan--bare .plan-price strong,
.m2l-home-pricing .plan.plan--bare .plan-price .unit,
.m2l-home-pricing .plan.plan--bare .plan-heading {
  color: var(--c-sky);
}
.m2l-home-pricing .plan.plan--bare .plan-price .from {
  color: rgba(255, 255, 255, 0.78);
}
.m2l-home-pricing .plan.plan--bare .plan-note,
.m2l-home-pricing .plan.plan--bare .plan-list li {
  color: #fff;
}
.m2l-home-pricing .plan.plan--bare .plan-list li::before {
  background: var(--c-sky);
}
/* Lighter glass: a white wash on the pane, so it stands out from the blue
   section behind it (.plans--glass-light, with .plans--glass). */
.plans--glass.plans--glass-light {
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 18px 44px rgba(2, 6, 40, 0.28),
    0 2px 8px rgba(2, 6, 40, 0.18);
}
/* Light blue glass: the start form card's and the navbar pill's light blue,
   a little clearer, so the section's blue still shows through it
   (.plans--glass-blue, with .plans--glass). On it the custom quote takes
   the start form's dark blues. */
.plans--glass.plans--glass-blue {
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(140deg, rgba(186, 212, 252, 0.78), rgba(163, 195, 248, 0.7) 55%, rgba(145, 182, 246, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 1px 0 0 rgba(255, 255, 255, 0.22),
    0 18px 44px rgba(2, 6, 40, 0.3),
    0 2px 8px rgba(2, 6, 40, 0.18);
}
.m2l-home-pricing .plans--glass-blue .plan.plan--bare .plan-heading {
  color: var(--c-ink-blue);
}
.m2l-home-pricing .plans--glass-blue .plan.plan--bare .plan-note {
  color: var(--c-navy-ink);
}

/* The delivery lines under the list, across the whole card, so each stays
   on one line on desktop. */
.m2l-home-pricing .plan .plan-note.plan-note--wide {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
}

/* Quieter: the prices on the options (logo, brand guide, extra pages and
   languages, integrations) and the "Scroll for more" line, smaller and
   lighter, so they inform without competing with the questions. */
.start-card .start-choice-note.start-price,
.start-card .start-note:has([data-price]) {
  font-size: 0.74rem;
  opacity: 0.58;
}
.start-card .start-more {
  font-size: 0.66rem;
  font-weight: 500;
  color: rgba(12, 29, 107, 0.42);
}
.start-card .start-more svg {
  width: 11px;
  height: 11px;
}

/* The cue is the chevron alone (the words "More below" stay in the page,
   hidden, for a version with text: .start-more--text on the line). */
.start-card .start-more:not(.start-more--text) .start-more-text {
  display: none;
}
.start-card .start-more:not(.start-more--text) svg {
  width: 22px;
  height: 22px;
  color: rgba(12, 29, 107, 0.55);
}

/* ===================== ABOUT: BELOW THE HERO =====================
   Used on: about.html. Under the "I help your business win on the internet"
   section: What I stand for (white), then My story, the facts strip and the
   closing call to action (dark). Built from existing parts: the services
   principles (.pillars-grid) and the final call-to-action banner. */

/* What I stand for: the principles stack on phones */
@media (max-width: 900px) {
  .ab-principles {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-5);
  }
}
.ab-principle p {
  max-width: 36ch;
}

/* My story: one short paragraph */
.ab-story-inner {
  max-width: var(--container-narrow);
}
.ab-story-inner h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-3);
}
.ab-story-inner p {
  font-size: var(--text-lead);
  line-height: var(--lh-loose);
  color: var(--c-text-muted);
  margin: 0;
}

/* Facts strip: one row of label and value, 2 by 2 then stacked */
.ab-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: var(--sp-8) 0;
  padding: 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.ab-fact {
  padding: 22px 20px 22px 0;
  min-width: 0;
}
.ab-fact + .ab-fact {
  padding-left: 20px;
  border-left: 1px solid var(--c-border);
}
.ab-fact dt {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: 6px;
}
.ab-fact dd {
  margin: 0;
  font-size: var(--text-body);
  color: var(--c-text);
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .ab-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .ab-fact:nth-child(n + 3) {
    border-top: 1px solid var(--c-border);
  }
}
@media (max-width: 480px) {
  .ab-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-fact,
  .ab-fact + .ab-fact {
    padding-left: 0;
    border-left: 0;
  }
  .ab-fact + .ab-fact {
    border-top: 1px solid var(--c-border);
  }
}

/* Why: the big two-line heading of the services opener, fitted to the
   column by HEADING FIT, in the site's white with its ring and underline
   marks, on the site's own dark ground, with the paragraph under it. */
.ab-win .section-head {
  max-width: none;
}
/* the paragraph takes the site's section intro style (.section-head p);
   only the space between its two paragraphs is set here */
.ab-win .ab-win-copy {
  margin-bottom: 0;
}
.ab-win .ab-win-copy p + p {
  margin-top: var(--sp-3);
}
/* The ring round "win" keeps its full size; the second line sits a little
   lower instead, so the ring touches "I help your business" above without
   covering it. */
.ab-win .section-head h2 .m2l-fit + .m2l-fit {
  padding-top: 0.2em;
}

/* ===================== ABOUT: MY STORY, THE STAIR =====================
   Used on: about.html. Three short blocks of text (a light blue heading and
   a paragraph each) laid out as a stair over the homepage hero's very
   subtle blue glow: side by side, their tops rising one step at a time from
   left to right, 01 lowest, 03 highest. Each block has a glass object, in
   the site's glass blues (skills/glass-icons, specs/about.json): a baby
   blue lightbulb beside "The start", a royal blue mouse pointer standing
   above "The craft", and a light blue rising arrow under the "Today" text,
   fading out at its bottom. None of them reaches the text. The text never
   moves; the ABOUT: STORY ICONS block in script.js drops the bulb and the
   pointer in and raises the arrow from below, once. At 900px and below the
   blocks stack. A missing image removes itself, never a broken image icon. */
.ab-story-cards {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
}
/* the homepage hero's glow: the same blue at the same low strength */
.ab-story-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 60% 55%, rgba(30, 79, 224, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 10% 85%, rgba(30, 79, 224, 0.08) 0%, transparent 60%);
}
.ab-story-grid {
  --stair-rise: clamp(44px, 5vw, 76px); /* the height of one step */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}
/* the blocks are placed by hand, so the pointer can share block 02's cell */
.ab-story-grid > .ab-story-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  margin-top: calc(var(--stair-rise) * 2);
}
.ab-story-grid > .ab-story-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  margin-top: var(--stair-rise);
}
.ab-story-grid > .ab-story-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.ab-story-card {
  position: relative;
}
/* the site's heading style (display font, uppercase, squashed) in its light
   blue for headings on blue grounds, between the body text and the section
   title in size */
.ab-story-title {
  margin: 0 0 14px;
  color: var(--c-sky);
  font-size: var(--text-h3);
  transform-origin: left center;
}
.ab-story-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-body);
  line-height: var(--lh-loose);
  text-wrap: wrap; /* natural wrapping, not the site default "pretty", which shortened lines */
}

/* The bulb: beside the heading (the wrapper is as wide as the heading),
   tilted to the right, its bottom on the heading's baseline, so it rises
   above the line and never reaches the paragraph. */
.ab-story-head {
  position: relative;
  width: fit-content;
}
.ab-story-bulb {
  position: absolute;
  left: calc(100% + 10px);
  bottom: 4px;
  width: clamp(62px, 5.8vw, 88px);
  pointer-events: none;
}
/* The pointer: in block 02's cell, standing above the block at its right,
   its foot just at the block's top, clear of the heading. --w is its width,
   --ar its width / height, --sink the share of its height that dips below
   the block's top, --base where the block's top sits in the cell. */
.ab-story-icon {
  grid-row: 1;
  align-self: start;
  position: relative;
  width: var(--w);
  margin-top: calc(var(--base) - var(--w) / var(--ar) * (1 - var(--sink)));
  pointer-events: none;
}
.ab-story-icon--pointer {
  --w: 25%;
  --ar: 0.64;
  --sink: 0.1;
  --base: var(--stair-rise);
  grid-column: 2;
  justify-self: end;
  margin-right: 12%;
}
/* The arrow: under the Today paragraph, fading out towards its bottom. */
.ab-story-arrow {
  width: 84%;
  margin-top: 26px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}
.ab-story-bulb img,
.ab-story-icon img,
.ab-story-arrow img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .ab-story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 100px; /* room above each block for the pointer */
  }
  .ab-story-grid > .ab-story-card:nth-child(n) {
    margin-top: 0;
    grid-column: 1;
  }
  .ab-story-grid > .ab-story-card:nth-child(2) {
    grid-row: 2;
  }
  .ab-story-grid > .ab-story-card:nth-child(3) {
    grid-row: 3;
  }
  .ab-story-bulb {
    width: 56px;
  }
  /* smaller, at the top right of its block, inside the screen */
  .ab-story-icon--pointer {
    --w: 50px;
    --sink: 0.08;
    --base: 0px;
    grid-column: 1;
    grid-row: 2;
    margin-right: 6%;
  }
  .ab-story-arrow {
    width: min(72%, 300px);
    margin-top: 20px;
  }
}
