/* Extracted from index.html (Claude Design build) on 2026-10-16. Shared base styles. */
  :root {
    /* ---------- Background tokens (3 surfaces only) ---------- */
    --bg-light: #FFFFFF;
    --bg-light-alt: #F2F4F7;
    --bg-dark: #0F1115;

    /* ---------- Dark-context defaults — Hero / Before-After / Contact / Footer ---------- */
    --bg: var(--bg-dark);
    --surface: #171A20;
    --surface-raised: #21252D;
    --line: #2B2F38;
    --text:   #F2F4F7;   /* primary   */
    --text-2: #AEB4BF;   /* secondary */
    --text-3: #6B7280;   /* tertiary  */

    --btn-primary-hover-bg: #DCE1E8;
    --btn-ghost-border: rgba(242, 244, 247, 0.4);
    --btn-ghost-hover-bg: rgba(255, 255, 255, 0.06);

    /* legacy aliases — brass collapses to a neutral */
    --muted: var(--text-2);
    --brass: var(--text-2);
    --brass-deep: transparent;

    /* ---------- Single brand accent — used ONLY on structural orange spots:
       brand dot, section eyebrows, nav link hover underline, link hover underline,
       nav CTA pill, hero primary button, mobile menu Contact CTA. ---------- */
    --accent: #FF6B35;

    /* ---------- Shadows — used ONLY on light-section cards ---------- */
    --shadow-soft: 0 4px 20px rgba(15, 17, 21, 0.06);
    --shadow-md:   0 10px 32px rgba(15, 17, 21, 0.09);

    /* ---------- Glass recipe — used ONLY on nav + overlays ---------- */
    --glass-bg: rgba(15, 17, 21, 0.6);
    --glass-blur: blur(20px) saturate(180%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);

    --font-sans: 'Manrope', system-ui, sans-serif;
    --font-mono: 'Manrope', system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;

    --maxw: 1240px;
    --gutter: clamp(20px, 5vw, 56px);
  }

  /* ---------- Light section — pure white (#FFFFFF) ---------- */
  .section--light {
    --bg: var(--bg-light);
    --surface: #FFFFFF;
    --surface-raised: var(--bg-light-alt);
    --line: #E5E8ED;
    --text:   #0F1115;
    --text-2: #4A5160;
    --text-3: #7E8493;

    --btn-primary-hover-bg: #21252D;
    --btn-ghost-border: #0F1115;
    --btn-ghost-hover-bg: rgba(15, 17, 21, 0.05);

    --muted: var(--text-2);
    --brass: var(--text-2);

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

  /* ---------- Light section — alt gray (#F2F4F7), same text scale as light ---------- */
  .section--light-alt {
    --bg: var(--bg-light-alt);
    --surface: #FFFFFF;
    --surface-raised: #E5E8ED;
    --line: #DCE1E8;
    --text:   #0F1115;
    --text-2: #4A5160;
    --text-3: #7E8493;

    --btn-primary-hover-bg: #21252D;
    --btn-ghost-border: #0F1115;
    --btn-ghost-hover-bg: rgba(15, 17, 21, 0.05);

    --muted: var(--text-2);
    --brass: var(--text-2);

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

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: auto; overflow-x: hidden; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  ::selection { background: var(--text); color: var(--bg); }

  a { color: inherit; text-decoration: none; }
  a:not(.btn):not(.nav__link):not(.brand):not(.logo):not(.mobile-menu__link):not(.mobile-menu__cta):hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* accent retained as a hook for emphasis but no longer colored */
  .accent {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: inherit;
    font-weight: inherit;
  }

  /* ---------- Section eyebrow — accent line to the LEFT, vertically centered ---------- */
  .section__eyebrow {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 10px;
    line-height: 1;
  }
  .section__eyebrow::before {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
    flex: none;
  }
  @media (max-width: 640px) {
    .section__eyebrow { font-size: 12.5px; gap: 10px; margin-bottom: 8px; letter-spacing: 0.2em; }
    .section__eyebrow::before { width: 24px; height: 2px; }
  }

  /* ---------- Spec-tag motif ---------- */
  .plain-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C5C2BA;
  }
  .spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .spec-tag::before {
    content: "";
    width: var(--lead, 34px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 30%, var(--brass));
  }
  .spec-tag::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brass);
    box-shadow: 0 0 8px 1px transparent;
    margin-left: -4px;
  }

  /* ---------- Nav — fixed light glass bar, attached top edge ---------- */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 120;
    padding: 14px var(--gutter);
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(15, 17, 21, 0.08);
    box-shadow: 0 4px 20px rgba(15, 17, 21, 0.04);
    color: #0F1115;
  }
  .nav.scrolled { /* legacy class — consistent at all scroll positions */ }
  .nav__inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: #0F1115;
    transition: opacity .18s ease;
  }
  .logo:hover { opacity: 0.72; }
  .logo, .logo:hover, .logo:visited { text-decoration: none !important; }
  .logo__photo {
    width: 32px; height: 32px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    background: #E5E8ED;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 600; font-size: 14px;
    color: #7A828F;
    letter-spacing: 0;
  }
  .logo__photo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform: scale(1.35); transform-origin: 50% 100%; display: block; position: relative; top: 13px; }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 34px;
  }
  .nav__link {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4A5160;
    position: relative;
    padding: 4px 0;
    transition: color .15s ease;
  }
  .nav__link:hover { color: #0F1115; }
  .nav__link.is-active { color: var(--accent); font-weight: 600; }

  .nav__right { display: flex; align-items: center; gap: 14px; }

  /* nav contact CTA — brand orange pill */
  .nav .btn--primary {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
  }
  .nav .btn--primary:hover {
    background: #FF7E4D;
    border-color: #FF7E4D;
    color: #FFFFFF;
  }
  @media (max-width: 768px) {
    .nav { padding: 10px var(--gutter); }
  }

  /* ---------- Buttons — full pill sitewide ---------- */
  .btn {
    --pad-y: 13px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: var(--pad-y) 24px;
    border-radius: 100px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
    white-space: nowrap;
  }
  .btn:active { transform: none; }
  /* Sitewide baseline pill-button shadow + no underline in any state.
     Shadow is static — it does NOT grow on hover; hover only shifts background color. */
  .btn, .btn:link, .btn:visited { text-decoration: none !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
  .btn:hover, .btn:focus, .btn:active { text-decoration: none !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }

  .btn--primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    box-shadow: none;
  }
  /* Hero primary CTA — brand orange */
  .hero__cta .btn--primary {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
  }
  .hero__cta .btn--primary:hover {
    background: #FF7E4D;
    border-color: #FF7E4D;
    color: #FFFFFF;
  }
  .btn--primary:hover {
    background: var(--btn-primary-hover-bg);
    border-color: var(--btn-primary-hover-bg);
  }

  .btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--btn-ghost-border);
  }
  .btn--ghost:hover {
    border-color: var(--text);
    background: var(--btn-ghost-hover-bg);
  }

  .btn--sm { --pad-y: 11px; padding: var(--pad-y) 18px; }

  .btn--dark {
    background: var(--surface);
    color: var(--text);
    border-color: var(--line);
    box-shadow: none;
  }
  .btn--dark:hover {
    background: var(--surface-raised);
  }

  .btn .arrow { transition: transform .25s ease; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 160px var(--gutter) 80px;
    overflow: hidden;
  }
  /* faint technical grid background — barely-there hairlines on white */
  .hero__grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(15,17,21,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15,17,21,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 40%, #000 30%, transparent 78%);
            mask-image: radial-gradient(ellipse 90% 70% at 70% 40%, #000 30%, transparent 78%);
    pointer-events: none;
  }

  .hero__inner {
    position: relative;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
  }

  /* text column */
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__hello {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-sans);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-2);
    margin-bottom: 16px;
  }
  .hero__hello .wave {
    font-size: 21px;
    transform-origin: 70% 80%;
    /* fire 2 quick waves spread over ~5.5s, then rest permanently */
    animation: wave 2.75s ease-in-out 0.3s 2 both;
  }
  @keyframes wave {
    0%   { transform: rotate(0); }
    5%   { transform: rotate(14deg); }
    10%  { transform: rotate(-8deg); }
    15%  { transform: rotate(12deg); }
    20%  { transform: rotate(-4deg); }
    25%  { transform: rotate(0); }
    100% { transform: rotate(0); }
  }
  @media (prefers-reduced-motion: reduce) { .hero__hello .wave { animation: none; } }

  .hero__title {
    font-size: clamp(48px, 6.4vw, 78px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
  }
  .hero__title .accent {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: inherit;
  }

  .hero__tagline {
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    max-width: 30ch;
    margin-bottom: 22px;
    color: var(--text);
  }
  .hero__tagline em {
    font-style: normal;
    color: var(--brass);
  }

  .hero__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 46ch;
    margin-bottom: 0;
    padding-right: 8px;
  }

  /* hero stats — 3 blocks, generous gap, thin neutral dividers between */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: clamp(56px, 6vw, 96px);
    row-gap: 30px;
    align-items: stretch;
    margin-top: 56px;
    margin-bottom: 0;
    max-width: 760px;
  }
  .hero__stats .stat {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2px 0;
  }
  .hero__stats .stat + .stat::before {
    content: "";
    display: block;
    position: absolute;
    left: calc(clamp(56px, 6vw, 96px) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: clamp(28px, 3.2vw, 38px);
    background: rgba(15, 17, 21, 0.08);
  }
  .hero__stats .stat__num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1;
  }
  .hero__stats .stat__num .star { width: 18px; height: 18px; fill: var(--text); }
  .hero__stats .stat__label {
    margin-top: 8px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-2);
  }
  /* two-word labels shown at every breakpoint */
  .stat__label-full { display: inline; }
  .stat__label-short { display: none; }

  .hero__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 64px;
  }

  /* ===== Hero document stack ============================================ */
  .doc-stack {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 1240 / 1754; /* A4 portrait — matches real datasheet pages */
    cursor: pointer;
    padding: 28px;
    margin: -28px;
  }
  .doc-stack__page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    user-select: none;
    -webkit-user-drag: none;
  }
  .doc-stack__page {
    position: absolute;
    inset: 28px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 17, 21, 0.08);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease;
    will-change: transform;
  }
  .doc-stack__page--1 { transform: translate(-12px, -12px); z-index: 2; }
  .doc-stack__page--2 { transform: translate(16px, 16px); z-index: 1; }
  @media (hover: hover) and (pointer: fine) {
    .doc-stack:hover .doc-stack__page--1 { transform: translate(16px, 16px); z-index: 1; }
    .doc-stack:hover .doc-stack__page--2 { transform: translate(-12px, -12px); z-index: 2; }
  }
  .doc-stack.is-swapped .doc-stack__page--1 { transform: translate(16px, 16px); z-index: 1; }
  .doc-stack.is-swapped .doc-stack__page--2 { transform: translate(-12px, -12px); z-index: 2; }

  .ds-page {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding: 9% 8%;
    color: #0F1115;
    font-family: var(--font-sans);
  }
  .ds-mast {
    display: flex; align-items: baseline; justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #0F1115;
    margin-bottom: 12px;
  }
  .ds-mast__brand {
    font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  }
  .ds-mast__tag {
    font-size: 8.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: #4A5160;
  }
  .ds-eyebrow {
    font-size: 7.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
    color: #7E8493; margin-bottom: 4px;
  }
  .ds-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.18;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ds-hero-img {
    height: 30%;
    background: repeating-linear-gradient(135deg, #DCE1E8 0 6px, #E5E8ED 6px 12px);
    border: 1px solid #C5CAD2;
    border-radius: 2px;
    margin: 0 0 14px;
  }
  .ds-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
    margin-top: 6px;
  }
  .ds-cell { display: flex; flex-direction: column; gap: 5px; }
  .ds-key {
    font-size: 6.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: #7E8493;
  }
  /* filled spec bar: track + fill, real chart weight */
  .ds-bar {
    height: 6px;
    background: #E5E8ED;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
  }
  .ds-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #0F1115;
    border-radius: 2px;
    width: var(--fill, 70%);
  }
  .ds-bar.w70::before { width: 70%; }
  .ds-bar.w55::before { width: 55%; }
  .ds-bar.w85::before { width: 85%; }
  /* table rows are still light tracks (no fill) */
  .ds-trow .ds-bar { height: 3px; background: #DCE1E8; }
  .ds-trow .ds-bar::before { content: none; }
  .ds-table { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
  .ds-trow { display: flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid #E5E8ED; }
  .ds-trow .ds-bar { flex: 1; }
  .ds-trow .ds-bar.short { flex: 0 0 28%; }
  .ds-foot {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #E5E8ED;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 7px; letter-spacing: 0.2em; text-transform: uppercase;
    color: #7E8493; font-weight: 700;
  }

  /* =====================================================================
     About — clean rebuild. Fully static: no scroll-reveal, no opacity 0,
     no transforms, no IntersectionObserver hooks. Everything renders
     immediately on initial paint.
     ===================================================================== */
  .about {
    border-top: 1px solid var(--line);
    padding-top: 100px;
    padding-bottom: 100px;
    overflow-x: clip;
  }
  .about__grid > * { min-width: 0; }
  .about__story { min-width: 0; word-wrap: break-word; overflow-wrap: anywhere; }
  .about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    column-gap: clamp(48px, 6vw, 96px);
    align-items: center;
  }

  /* ----- Photo column (frame) ----- */
  .about__photo {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 380 / 450; /* keeps proportion at every width */
    margin-inline: auto;
    background: #EEF1F5;
    border: 1px solid #E2E6EC;
    border-radius: clamp(24px, 2.4vw, 36px);
    overflow: hidden;
  }
  /* thin orange L-shaped corner mark, top-left of the frame */
  .about__frame-accent {
    position: absolute;
    top: 18px; left: 18px;
    width: 34px; height: 34px;
    color: var(--accent);
    pointer-events: none;
    overflow: visible;
    z-index: 2;
  }
  .about__frame-accent path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: square;
    stroke-linejoin: miter;
  }
  /* the photo: fixed within the frame — top offset gives head breathing space, bottom flush */
  .about__figure {
    position: absolute;
    left: 50%;
    top: 4.7%; /* was 21px on a 450px frame; scales when the frame shrinks under 380px */
    bottom: auto;
    width: 91.6%; /* was 348 of 380 */
    height: auto;
    max-width: 100%;
    transform: translateX(-50%);
    user-select: none;
    -webkit-user-drag: none;
    display: block;
    z-index: 2;
  }

  /* ----- Story column ----- */
  .about__story {
    min-width: 0;
    max-width: 720px;
  }
  .about__hello {
    font-family: Manrope, var(--font-sans);
    font-size: 28px;
    font-weight: 400;
    color: var(--accent);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
  }
  .about__heading {
    font-family: Manrope, var(--font-sans);
    font-size: 56px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
  }
  .about__heading .accent { color: var(--accent); }
  .about__lead {
    font-family: Manrope, var(--font-sans);
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    margin: 0 0 20px;
  }
  .about__bio {
    font-family: Manrope, var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-2);
    line-height: 1.7;
    margin: 0 0 32px;
  }

  /* ----- Credential blocks — card-language surfaces, 2×2 desktop / stacked mobile ----- */
  .about__creds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    row-gap: 18px;
    margin: 0;
  }
  .cred-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 20px 24px;
    background: #F2F4F7;
    border: 1px solid rgba(15, 17, 21, 0.07);
    border-radius: 10px;
  }
  .cred-item__icon {
    flex: none;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cred-item__icon svg {
    width: 34px;
    height: 34px;
    overflow: visible;
  }
  .cred-item__icon svg :is(path, rect, circle, line, polyline, polygon) {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }
  .cred-item__text { min-width: 0; }
  .cred-item__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
  }
  .cred-item__sub {
    font-size: 12.5px;
    line-height: 1.4;
    color: #7E8493;
    margin: 4px 0 0;
  }

  /* ----- Tablet + mobile (under 1024px): single-column stack, photo on top ----- */
  @media (max-width: 1024px) {
    .about__grid { grid-template-columns: 1fr; row-gap: 48px; align-items: start; column-gap: 0; }
    .about__photo { width: 100%; max-width: 380px; height: auto; aspect-ratio: 380 / 450; align-self: auto; margin-inline: auto; }
    .about__hello   { font-size: 22px; }
    .about__heading { font-size: 36px; }
    .about__lead    { font-size: 17px; }
    .about__bio     { font-size: 15px; margin-bottom: 28px; }
    .about__creds-grid { column-gap: 14px; row-gap: 14px; }
  }
  /* ----- Mobile: credential blocks stack full width ----- */
  @media (max-width: 640px) {
    .about { padding-bottom: 64px; }
    .about__creds-grid { grid-template-columns: 1fr; row-gap: 12px; }
    .cred-item { padding: 17px 18px; gap: 15px; }
    .cred-item__title { font-size: 14.5px; }
    .cred-item__icon svg { width: 31px; height: 31px; }
  }

  /* ===== Services: simplified paragraph copy ============================ */
  .svc-prose {
    max-width: 720px;
    margin: 56px 0 0;
  }
  .svc-prose p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
  }
  .svc-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
    width: 100%;
  }
  .svc-types__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: #F2F4F7;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    text-align: center;
  }
  .svc-types__chip--flag { grid-column: 1 / -1; }
  @media (max-width: 640px) {
    .svc-types { grid-template-columns: repeat(2, 1fr); }
  }
  /* photo column — hero document stack lives here */
  .hero__photo {
    position: relative;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
    min-height: 500px;
  }
  .hero__glow {
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 132%; height: 116%;
    background: radial-gradient(ellipse 52% 56% at 50% 72%, rgba(15,17,21,0.04), transparent 72%);
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
  }
  .photo-frame {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    aspect-ratio: 4 / 5;
  }
  /* soft-edged silhouette placeholder (frameless) */
  .photo-frame__silhouette {
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 80%;
    height: 96%;
    background: linear-gradient(180deg, rgba(15,17,21,0.08), rgba(15,17,21,0.03) 58%, transparent);
    -webkit-mask: radial-gradient(40% 28% at 50% 15%, #000 60%, transparent 72%),
                  radial-gradient(62% 58% at 50% 92%, #000 60%, transparent 74%);
            mask: radial-gradient(40% 28% at 50% 15%, #000 60%, transparent 72%),
                  radial-gradient(62% 58% at 50% 92%, #000 60%, transparent 74%);
    filter: blur(2px);
  }
  .photo-frame__label {
    position: absolute;
    bottom: 96px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }

  /* ---------- Trusted By marquee ---------- */
  .trusted {
    position: relative;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 34px 0 44px;
    overflow: hidden;
  }
  .trusted__head {
    display: flex;
    justify-content: center;
    margin-bottom: 52px;
    padding: 0 var(--gutter);
  }
  .trusted__track-wrap {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    touch-action: pan-y; /* let the page scroll vertically through the marquee on touch */
    cursor: grab;
    user-select: none;
  }
  .trusted__track-wrap.is-dragging { cursor: grabbing; }
  .trusted__track {
    display: flex;
    align-items: center; /* every logo shares the same vertical centerline */
    width: max-content;
    will-change: transform;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
    /* position is driven from JS — see marquee init in scripts at end of body */
  }
  .trusted__item {
    display: flex;
    align-items: center; /* logos within a group share the same centerline too */
    gap: clamp(56px, 6.5vw, 96px);
    padding-right: clamp(56px, 6.5vw, 96px); /* spacing between cloned groups */
  }
  /* Real client logos — full original brand colors, full opacity (premium B2B treatment) */
  .logo-mark {
    display: block;
    --logo-h: clamp(32px, 3.4vw, 46px);
    --logo-scale: 1;
    height: calc(var(--logo-h) * var(--logo-scale));
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
    opacity: 1;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none; /* let drag events pass through to the track-wrap */
  }
  /* Optical size compensation — per-logo visual-weight tuning */
  .logo-mark[alt="Cenfire"]                  { --logo-scale: 0.88; }
  .logo-mark[alt="Kleenoil"],
  .logo-mark[alt="Air Liquide"],
  .logo-mark[alt="Led Light Project"]        { --logo-scale: 0.95; }
  .logo-mark[alt="ConnVAS"],
  .logo-mark[alt="Stark"]                    { --logo-scale: 1; }
  .logo-mark[alt="G&S Acoustics"]            { --logo-scale: 1.08; }
  .logo-mark[alt="Scale"],
  .logo-mark[alt="Mago"]                     { --logo-scale: 1.12; }
  .logo-mark[alt="Thingz"],
  .logo-mark[alt="Smart Film Solutions"],
  .logo-mark[alt="Fairhurst Marine"]         { --logo-scale: 1.18; }
  .logo-mark[alt="Isolex"],
  .logo-mark[alt="Rapid Radios"]             { --logo-scale: 1.22; }
  .wordmark {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    transition: color .3s ease;
  }
  .wordmark:hover { color: var(--text); }
  .trusted__dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
    opacity: .85;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .trusted__track { animation: none; justify-content: center; flex-wrap: wrap; gap: 16px 0; }
  }

  /* ---------- Section shell ---------- */
  .section {
    position: relative;
    padding: clamp(120px, 12vw, 152px) var(--gutter);
  }
  .section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
  .section__eyebrow { margin-bottom: 13px; }

  /* About styles consolidated above — see the "About — clean rebuild" block. */

  /* How I Work — vertical timeline */
  .work-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 64px;
    padding-top: 4px;
  }
  .work-steps::before {
    content: "";
    position: absolute;
    left: 19px; /* center of 40px node */
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--line);
    z-index: 0;
  }
  .work-step {
    position: relative;
    z-index: 1;
    display: block;
    text-align: left;
    border-top: none;
    padding-top: 0;
  }
  .work-step__node {
    position: absolute;
    left: -64px;
    top: -4px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--brass);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0;
  }
  .work-step__num {
    display: inline-block;
    margin-bottom: 0;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--brass);
  }
  .work-step__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }
  .work-step__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 36ch;
  }

  /* stats — used in hero trust row only now */
  .stat {
    position: relative;
    text-align: center;
    padding: 6px clamp(16px, 3vw, 40px);
  }
  .stat__num {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-sans);
    font-size: clamp(46px, 5vw, 56px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--brass);
  }
  .stat__num .star {
    width: 0.74em;
    height: 0.74em;
    fill: var(--brass);
    flex: none;
    margin-left: 2px;
    transform: translateY(-1px);
  }
  .stat__label {
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ---------- Services ---------- */
  .services {
    border-top: 1px solid var(--line);
  }
  .services__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
  }
  /* small brass uppercase label used in services subsections */
  .svc-label {
    display: block;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
  }
  /* two-category chips row */
  .svc-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .svc-chip {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    transition: border-color .3s ease, transform .3s ease;
  }
  .svc-chip:hover { border-color: transparent; transform: translateY(-2px); }
  .svc-chip__icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid transparent;
    display: flex; align-items: center; justify-content: center;
    flex: none;
  }
  .svc-chip__icon svg {
    width: 18px; height: 18px;
    stroke: var(--brass); fill: none;
    stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  }
  .svc-chip__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .svc-chip__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0;
  }
  .svc-chip__types {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
  }
  /* ===== Services — two-column layout =============================== */
  .services {
    padding-top: clamp(96px, 10vw, 128px);
    padding-bottom: clamp(96px, 10vw, 128px);
  }
  .services__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(420px, 38%);
    column-gap: clamp(48px, 6vw, 96px);
    row-gap: 0;
    align-items: stretch;
  }
  .services__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  /* heading spans full width; content row below aligns process col to paragraphs */
  .services .services__heading { grid-column: 1 / -1; }
  .services__left .services__desc:last-child { margin-bottom: 0; }
  .services .services__heading {
    font-size: clamp(40px, 4.6vw, 60px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.028em;
    margin: 0 0 24px;
    text-align: left;
  }
  .services .services__desc {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-2);
    max-width: none;
    margin: 0 0 36px;
    text-align: left;
  }
  .services .services__desc strong { color: var(--text); font-weight: 600; }
  /* small uppercase label introducing the document-type grid */
  .services__design-label {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-3);
    margin: 6px 0 18px;
  }
  /* document-type grid — flagship Datasheets (full width) + 3×2 grid */
  .doc-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 40px;
  }
  .doc-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 78px;
    padding: 18px 22px;
    background: var(--bg-light-alt);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    transition: border-color .25s ease, background-color .25s ease;
  }
  .doc-box::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    flex: none;
  }
  .doc-box__label {
    font-family: var(--font-sans);
    font-size: 15px; font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    text-wrap: balance;
  }
  .doc-box:hover { border-color: rgba(15, 17, 21, 0.2); background: #ECEFF3; }
  .doc-box--flag {
    grid-column: 1 / -1;
    min-height: 98px;
  }
  .doc-box--flag::before { width: 9px; height: 9px; }
  .doc-box--flag .doc-box__label { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }

  /* process block — kept as-is, placed at the bottom of the single column */
  .services__right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
  }
  .svc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  /* desktop: pin process to left-column paragraph span; 01 at top, 04 at bottom */
  @media (min-width: 901px) {
    .services__right { height: 100%; }
    .svc-steps {
      height: 100%;
      justify-content: space-between;
    }
    .svc-steps .svc-step:first-child {
      padding-top: 0;
      border-top: none;
    }
    .svc-steps .svc-step:last-child {
      padding-bottom: 0;
      border-bottom: none;
    }
  }
  .svc-steps .svc-step {
    display: grid;
    grid-template-columns: clamp(72px, 8vw, 96px) 1fr;
    column-gap: clamp(28px, 3vw, 40px);
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .svc-steps .svc-step:last-child {
    border-bottom: 1px solid var(--line);
  }
  .svc-step__num {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text);
    font-feature-settings: "tnum" 1, "lnum" 1;
    font-variant-numeric: tabular-nums lining-nums;
  }
  .svc-step__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: none;
  }
  .svc-step__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.012em;
    line-height: 1.2;
    margin: 0;
  }
  .svc-step__desc {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.5;
    margin: 0;
    max-width: 44ch;
  }
  /* legacy chip-grid (unused after redesign) */
  .svc-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  @media (max-width: 900px) {
    .services__grid {
      grid-template-columns: 1fr;
      column-gap: 0;
      row-gap: 0;
    }
    .doc-grid { grid-template-columns: repeat(2, 1fr); }
    .services__right { max-width: none; margin-top: 48px; }
    .services .services__heading {
      font-size: clamp(36px, 7vw, 48px);
    }
    .svc-steps .svc-step {
      grid-template-columns: 60px 1fr;
      column-gap: 20px;
      padding: 22px 0;
    }
    .svc-step__num { font-size: 34px; }
    .svc-step__title { font-size: 18px; }
  }
  @media (max-width: 720px) {
    .svc-categories { grid-template-columns: 1fr; }
  }

  .svc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
  }
  .svc-card {
    display: flex;
    flex-direction: column;
    gap: 26px;
    background: linear-gradient(160deg, var(--surface), var(--surface-raised));
    border: 1px solid var(--line);
    border-left: 3px solid var(--brass);
    border-radius: 16px;
    padding: 56px 56px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
  }
  .svc-card__head {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .svc-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 180px; height: 100%;
    background: radial-gradient(circle at 0% 0%, transparent, transparent 60%);
    pointer-events: none;
  }
  .svc-card:hover {
    border-color: transparent;
    border-left-color: var(--brass);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -28px #000;
  }
  .svc-card:hover .svc-card__icon { border-color: transparent; }
  .svc-card__icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: border-color .3s ease;
  }
  .svc-card__icon svg { width: 26px; height: 26px; stroke: var(--brass); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .svc-card__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
  }
  .svc-card__desc {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 58ch;
  }

  /* scroll reveal */
  .sr { opacity: 1; transform: none; transition: none; }
  .sr.shown { opacity: 1; transform: none; }
  .sr-d1 { transition-delay: .08s; }
  .sr-d2 { transition-delay: .16s; }
  .sr-d3 { transition-delay: .24s; }
  @media (prefers-reduced-motion: reduce) {
    .sr { opacity: 1 !important; transform: none !important; }
  }

  /* ---------- Section header (left-aligned sitewide) ---------- */
  .section__head--center {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: clamp(44px, 6vw, 70px);
  }
  .section__head--center .section__title,
  .section__head--center .section__sub { text-align: left; }
  .section__title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-top: 0;
  }
  .section__title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-top: 0;
  }
  .section__sub {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 48ch;
  }

  /* ---------- Before & After (now light section, dark showcase panel) ---------- */
  /* ---------- Before & After (light section, tab-toggle showcase) ---------- */
  .beforeafter {
    border-top: 1px solid var(--line);
    padding-top: clamp(120px, 14vw, 180px);
    padding-bottom: clamp(120px, 14vw, 180px);
  }
  .ba {
    max-width: var(--maxw);
    margin: 0 auto;
    position: relative;
  }
  .ba__layout {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: clamp(32px, 4.5vw, 52px);
    align-items: start;
  }
  .ba__intro .section__title { margin-top: 14px; }
  .ba__intro .section__sub { margin-top: 18px; max-width: 56ch; }
  .ba__hint {
    margin: 16px 0 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .ba__hint::before {
    content: "";
    width: 22px; height: 1px;
    background: currentColor;
    opacity: 0.5;
  }

  /* Comparison panel — same radius as the site's cards (.work-card, .rev-card) */
  .ba__panel {
    --pad: clamp(20px, 3.2vw, 36px);
    --gap: var(--pad);
    position: relative;
    /* subtly cooler very-light-grey so white pages clearly separate from the panel */
    background: #ECEEF2;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: var(--pad);
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
    cursor: ew-resize;
  }
  .ba__showcase { position: relative; }
  .ba__tag {
    position: absolute;
    /* sit ON the panel's top edge — half above, half on — so they read as
       attached labels but never overlap page content. Placed outside the panel
       so the panel's overflow:hidden doesn't clip them. */
    top: 0;
    transform: translateY(-50%);
    z-index: 5;
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text);
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(15, 17, 21, 0.10);
  }
  .ba__tag--before { left: clamp(20px, 3.2vw, 36px); }
  .ba__tag--after  { right: clamp(20px, 3.2vw, 36px); }

  /* the spread: two A4 pages side-by-side on desktop */
  .ba__spread {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
  }
  .ba__pageframe {
    width: 100%;
    /* True US Letter portrait — matches the source Chargex page images (1275×1650).
       With object-fit: cover on the imgs, pages now fill the slot edge-to-edge
       with no top/bottom letterboxing. */
    aspect-ratio: 1275 / 1650;
  }

  /* full-spread before / after layers (cover both pages + gap) */
  .ba__layer {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    pointer-events: none;
  }
  .ba__layer--after {
    clip-path: inset(0 0 0 var(--pos, 50%));
    /* no smoothing — divider tracks the cursor instantly */
    transition: none;
  }

  /* vertical divider — spans the FULL panel height, not just the spread */
  .ba__divider {
    position: absolute;
    top: calc(-1 * var(--pad));
    bottom: calc(-1 * var(--pad));
    left: var(--pos, 50%);
    width: 2px;
    background: var(--text);
    transform: translateX(-1px);
    z-index: 3;
    pointer-events: none;
  }
  .ba__handle {
    position: absolute;
    top: 50%; left: var(--pos, 50%);
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(15, 17, 21, 0.18);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: ew-resize;
    z-index: 4;
    padding: 0;
  }
  .ba__handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .ba__handle svg { width: 22px; height: 22px; }

  /* ---- before/after document mockups (Chargex datasheet — real images) ---- */
  .ba-doc { width: 100%; height: 100%; display: flex; min-width: 0; position: relative; isolation: isolate; border-radius: 4px; }
  /* Ghost-document skeleton — B/A slots and modal spreads.
     (Work card covers use the dedicated, self-contained system below.) */
  .pm-page--image { position: relative; isolation: isolate; }
  /* skeleton on GREY surfaces (B/A panel): WHITE ghost-page */
  .ba-doc::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 4px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Crect x='10' y='10' width='42' height='9' rx='2.5' fill='%23E7EBF0'/%3E%3Crect x='10' y='28' width='80' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='37' width='66' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='46' width='74' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='60' width='80' height='68' rx='3' fill='%23E7EBF0'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    opacity: 1;
    transition: opacity .25s ease .3s;
  }
  /* skeleton inside MODALS (white bg): WHITE ghost-page with a thin page-edge border */
  .pm-page--image::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 0;
    border: none;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Crect x='10' y='10' width='42' height='9' rx='2.5' fill='%23E7EBF0'/%3E%3Crect x='10' y='28' width='80' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='37' width='66' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='46' width='74' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='60' width='80' height='68' rx='3' fill='%23E7EBF0'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    opacity: 1;
    transition: opacity .25s ease .3s;
  }
  /* image decoded + faded in above — now fade the skeleton out */
  .ba-doc:has(img.is-loaded)::before,
  .pm-page--image:has(img.is-loaded)::before { opacity: 0; }
  /* img sits above the skeleton */
  .ba-doc__img { position: relative; z-index: 1; }
  .pm-page--image > .pm-page__img { z-index: 1; opacity: 0; transition: opacity .3s ease; }
  .pm-page--image > .pm-page__img.is-loaded { opacity: 1; }

  /* ---- Work card cover loader (self-contained) ----
     Skeleton stays fully opaque until the image finishes loading, then a ~200ms
     crossfade swaps them. Never a moment where neither is visible. */
  .mock-page--image { position: relative; isolation: isolate; background: #FFFFFF; }
  .mock-page--image::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 4px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Crect x='10' y='10' width='42' height='9' rx='2.5' fill='%23E7EBF0'/%3E%3Crect x='10' y='28' width='80' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='37' width='66' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='46' width='74' height='4.5' rx='2.25' fill='%23EDF0F4'/%3E%3Crect x='10' y='60' width='80' height='68' rx='3' fill='%23E7EBF0'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    opacity: 1;
    transition: opacity .2s ease;
    z-index: 1;
    pointer-events: none;
  }
  .mock-page--image > .mock-page__img {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .mock-page--image.is-ready::before { opacity: 0; }
  .mock-page--image.is-ready > .mock-page__img { opacity: 1; }
  .ba-doc__page { width: 100%; height: 100%; border-radius: 4px; display: flex; flex-direction: column; overflow: hidden; }
  .ba-doc__img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1275 / 1650;
    opacity: 0;
    transition: opacity .2s ease;
    /* slot ratio now matches the page ratio exactly (1275:1650), so cover fills
       edge-to-edge with no letterboxing and no cropping */
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    background: #fff;
    user-select: none;
    -webkit-user-drag: none;
  }
  .ba-doc__img.is-loaded { opacity: 1; }
  /* BEFORE: dated, gray, dense */
  .ba-doc--before .ba-doc__page { background: #CFCBC0; padding: clamp(18px, 3vw, 32px); gap: 6px; }
  .bd-h { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #4a4a46; font-size: clamp(11px, 1.6vw, 17px); margin-bottom: 6px; }
  .bd-l { height: 5px; background: #A6A39A; border-radius: 1px; }
  .bd-l.short { width: 58%; }
  .bd-l.med { width: 78%; }
  .bd-blk { height: 26%; background: #B6B2A8; border: 1px solid #9c9990; margin: 6px 0; }
  .bd-cols { display: flex; gap: 12px; margin-top: 6px; }
  .bd-cols > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
  /* AFTER: clean, branded */
  .ba-doc--after .ba-doc__page { background: #F6F4EF; padding: clamp(18px, 3vw, 32px); gap: 0; }
  .ad-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .ad-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--brass); }
  .ad-bar { width: 38%; height: 6px; border-radius: 3px; background: #cdbf9f; }
  .ad-hero { height: 36%; border-radius: 6px; background: linear-gradient(135deg, var(--surface), #3a3b42); position: relative; }
  .ad-hero::after { content: ""; position: absolute; left: 14px; bottom: 12px; width: 42%; height: 7px; background: var(--brass); border-radius: 3px; }
  .ad-title { height: 11px; width: 64%; background: #23242a; border-radius: 3px; margin: 16px 0 14px; }
  .ad-sub { height: 5px; width: 44%; background: #8a8780; border-radius: 2px; margin-bottom: 14px; }
  .ad-cols { display: flex; gap: 14px; }
  .ad-cols > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
  .ad-cols span { height: 5px; background: #c1bfb8; border-radius: 2px; }
  .ad-cols span:last-child { width: 70%; }
  .ad-stripe { height: 22px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--brass), #b48f4e); opacity: .85; }

  /* ---------- Selected Work ---------- */
  .work { border-top: 1px solid var(--line); }
  .work__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .work-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #F2F4F7; /* unified warm-grey surface for whole card */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  /* hover: clean opacity crossfade to spread 2 only — no lift, no sheen (desktop pointers only) */
  @media (hover: hover) and (pointer: fine) {
    .work-card__hover-img { transition: opacity .25s ease; }
    .work-card:hover .work-card__hover-img { opacity: 1; }
  }
  /* document-shaped placeholder preview — A4 ratio with inset margin so the
     hover tilt animation has room to move without clipping the card edge.
     This sizing must stay identical between Work section + View More Work page. */
  .work-card__preview {
    position: relative;
    /* no aspect-ratio on the wrapper — it grows to fit the A4 mock-page plus
       uniform padding on all four sides. This guarantees the visual margin
       around the page reads the same on top, bottom, left and right. */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 4.5%, 22px);
    overflow: hidden;
    background: var(--bg-light-alt);
  }
  /* the mock page — fills the inset area as a true A4 (1:1.414) */
  .mock-page {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.414;
    background: linear-gradient(165deg, #34353C, #2C2D33);
    border: 1px solid #3F4047;
    border-radius: 6px 6px 4px 4px;
    padding: 16% 14% 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .work-card:hover .mock-page { transform: none; }
  .mock-page .bar { height: 4px; border-radius: 2px; background: #45464E; }
  .mock-page .bar.brass { background: var(--brass); width: 38%; opacity: .85; height: 5px; }
  .mock-page .bar.w70 { width: 70%; }
  .mock-page .bar.w90 { width: 90%; }
  .mock-page .bar.w55 { width: 55%; }
  .mock-page .mock-img {
    margin-top: 6px;
    height: 26%;
    border-radius: 3px;
    background:
      repeating-linear-gradient(135deg, #3C3D44 0 7px, #34353C 7px 14px);
    border: 1px solid #44454D;
  }
  .mock-page .mock-cols { display: flex; gap: 8px; margin-top: 6px; }
  .mock-page .mock-cols > div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
  .mock-page .mock-cols .bar { height: 3px; }

  /* Image-mode mock-page: real cover image in a subtle light frame
     (overrides the dark frame from the base .mock-page used by placeholder mocks). */
  .mock-page--image {
    padding: 0;
    overflow: hidden;
    background: #FFFFFF;
    display: block;
    border-color: rgba(15, 17, 21, 0.10);
  }
  .mock-page--image > .mock-page__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    user-select: none;
    -webkit-user-drag: none;
  }
  /* hover crossfade layer — second spread page, revealed on desktop hover only */
  .work-card__hover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
  }

  .work-card__client {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15,17,21,0.78);
    backdrop-filter: blur(4px);
    border: 1px solid var(--line);
    padding: 6px 11px 6px 7px;
    border-radius: 9px;
  }
  .work-card__logo {
    width: 19px; height: 19px;
    border-radius: 5px;
    background: transparent;
    border: 1px solid transparent;
    display: flex; align-items: center; justify-content: center;
    flex: none;
  }
  .work-card__logo::after {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brass);
  }
  .work-card__client-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  /* single-line label: client left, TYPE right — flush with the cover image edges, never wraps */
  .work-card__bar {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto; /* pin the label zone to the card bottom so labels align across the row */
    padding: 0 clamp(10px, 4.5%, 22px) clamp(9px, 4.1%, 20px);
    white-space: nowrap;
    overflow: hidden;
  }
  .work-card__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0F1115;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .work-card__type {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8A90A0;
    line-height: 1.2;
    flex: none;
  }
  .work-card__arrow {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    transition: border-color .3s ease, color .3s ease, transform .3s ease, background .3s ease;
    flex: none;
    text-decoration: none !important;
    border-bottom: 1px solid var(--line);
  }
  .work-card:hover .work-card__arrow {
    border-color: var(--text);
    color: var(--text);
    background: rgba(15, 17, 21, 0.04);
    transform: rotate(-45deg);
    text-decoration: none !important;
    border-bottom-color: var(--text);
  }
  .work-card__arrow svg { width: 15px; height: 15px; }

  .work__cta { display: flex; justify-content: center; margin-top: 48px; }

  /* ---------- Testimonials ---------- */
  .testimonials {
    border-top: 1px solid var(--line);
  }
  .reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: var(--maxw);
    margin: 0 auto;
  }
  @media (max-width: 900px) {
    .reviews__grid { grid-template-columns: 1fr; }
  }
  .rev-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 30px;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  /* border persists — hover only adds lift */
  .rev-card:hover { transform: translateY(-4px); }
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(28px, 2.6vw, 34px);
    transition: border-color .3s ease, transform .3s ease;
  }
  .rev-card:hover { border-color: transparent; transform: translateY(-4px); }
  .rev-card__stars { display: flex; gap: 5px; }
  .rev-card__stars svg { width: 16px; height: 16px; fill: var(--accent); }
  .rev-card__quote {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--text);
    text-wrap: pretty;
    flex: 1;
    margin: 0;
  }
  .rev-card__quote::before { content: "\201C"; color: var(--brass); }
  .rev-card__quote::after { content: "\201D"; color: var(--brass); }
  .rev-card__person {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .rev-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid transparent;
    display: flex; align-items: center; justify-content: center;
    flex: none;
  }
  .rev-card__avatar svg { width: 22px; height: 22px; stroke: var(--brass); fill: none; stroke-width: 1.6; }
  .rev-card__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .rev-card__name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--text); }
  .rev-card__meta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: var(--muted);
  }
  .rev-card__meta svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 1.7; flex: none; }

  .reviews__more {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 36px auto 0;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
    transition: color .25s ease, transform .25s ease;
  }
  .reviews__more .arrow { transition: transform .25s ease; display: inline-block; }
  .reviews__more:hover { color: #F2F4F7; }
  .reviews__more:hover .arrow { transform: translateX(4px); }

  /* secondary text link below the review cards — matches .pm-similar */
  .reviews__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }
  .reviews__link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 15px; font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FF6B35;
    transition: color .2s ease;
  }
  .reviews__link:hover { color: #E85A28; text-decoration: none; }
  .reviews__link .arrow { transition: transform .25s ease; }
  .reviews__link:hover .arrow { transform: translate(2px, -2px); }

  @media (max-width: 640px) {
    .rev-card { padding: 26px 24px; }
  }
  .scroll-cue.hide { opacity: 0; pointer-events: none; }

  /* ---------- Contact — dark closing section ---------- */
  .contact {
    border-top: 1px solid var(--line);
    text-align: left;
    padding-top: clamp(140px, 14vw, 200px);
    padding-bottom: clamp(140px, 14vw, 200px);
  }
  .contact .section__title {
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  .contact__head { display: flex; flex-direction: column; align-items: flex-start; }
  .contact__sub {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-2);
    max-width: 56ch;
  }
  .contact__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: clamp(56px, 7vw, 110px);
    align-items: start;
    margin-top: clamp(56px, 6vw, 80px);
  }

  /* form — contact-scoped: subtle dark fill, low-opacity light borders, orange focus */
  .contact-form { display: grid; gap: 22px; }
  /* project reference chip — quiet context passed in from a project modal's “Start a similar project” */
  .contact-ref {
    justify-self: start;
    display: inline-flex; align-items: center; gap: 10px;
    max-width: 100%;
    margin-bottom: -6px;
    padding: 8px 8px 8px 15px;
    border: 1px solid rgba(242, 244, 247, 0.16);
    background: rgba(242, 244, 247, 0.05);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.03em;
    color: var(--text-2);
  }
  .contact-ref[hidden] { display: none; }
  .contact-ref__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .contact-ref__text strong { color: var(--text); font-weight: 600; }
  .contact-ref__close {
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    border: none; padding: 0;
    background: rgba(242, 244, 247, 0.07); color: var(--text-2);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
  }
  .contact-ref__close:hover { background: rgba(242, 244, 247, 0.15); color: var(--text); }
  .contact-ref__close svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .contact .field { display: flex; flex-direction: column; gap: 10px; }
  .contact .field label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-3);
    opacity: 1;
  }
  .contact .field input,
  .contact .field textarea,
  .contact .field select {
    font-family: var(--font-sans);
    font-size: 15.5px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px 16px;
    width: 100%;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
    resize: vertical;
  }
  .contact .field select {
    appearance: none;
    -webkit-appearance: none;
    resize: none;
    cursor: pointer;
    padding-right: 42px;
  }
  .contact .field select option { color: #1a1a1a; }
  /* project-type dropdown caret — pinned at right, only rotates in place (never repositions) */
  .contact .field--select { position: relative; }
  .contact .field--select .field__caret {
    position: absolute;
    top: 50%; right: 16px;
    width: 14px; height: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-2);
    transition: transform .25s ease, color .25s ease;
  }
  .contact .field--select .field__caret svg {
    width: 100%; height: 100%; display: block;
    stroke: currentColor; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  }
  .contact .field--select select:focus ~ .field__caret {
    transform: translateY(-50%) rotate(180deg);
    color: var(--accent);
  }
  .contact .field textarea { min-height: 150px; line-height: 1.6; overflow-x: hidden; }
  .contact .field input::placeholder,
  .contact .field textarea::placeholder { color: var(--text-3); opacity: 0.9; }
  .contact .field input:focus,
  .contact .field textarea:focus,
  .contact .field select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16);
  }
  /* invalid state — same orange focus treatment, persists until the field is corrected */
  .contact .field.invalid input,
  .contact .field.invalid select,
  .contact .field.invalid textarea {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16);
  }
  /* success confirmation — rendered in-button (see .is-sent below); no separate block */
  .contact-form__success { display: none; }
  /* honeypot — hidden from users, filled only by bots */
  .cf-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
  .cf-hp input { opacity: 0; height: 0; width: 0; }
  /* Submit-button state overrides (in-button success / error / sending). Keep the same
     dimensions across every state so nothing on the layout shifts. */
  .contact .contact-form .btn--primary { transition: background-color .3s ease, color .3s ease, opacity .2s ease; }
  .contact .contact-form .btn--primary.is-sending { opacity: 0.75; pointer-events: none; }
  .contact .contact-form .btn--primary.is-sent {
    background-color: #2E9D6B !important;
    color: #FFFFFF !important;
    pointer-events: none;
  }
  .contact .contact-form .btn--primary.is-error {
    background-color: #C25C5C !important;
    color: #FFFFFF !important;
    pointer-events: none;
  }
  /* Orange submit — reinforces brand consistency with nav CTA + hero View My Work */
  .contact .contact-form .btn--primary {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    justify-content: center;
    margin-top: 6px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .contact .contact-form .btn--primary:hover {
    background: #FF7E4D;
    border-color: #FF7E4D;
    color: #FFFFFF;
  }

  /* right column — channels + what-to-expect, no circular containers */
  .contact__aside {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertically center the channels against the form column */
    gap: clamp(40px, 5vw, 56px);
    padding-top: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    align-self: stretch;
  }
  .contact__aside-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-3);
    margin: 0 0 18px;
  }
  .contact__channels { display: flex; flex-direction: column; }
  .contact__channels-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(8px, 1.5vw, 20px);
    flex-wrap: nowrap;
  }
  .contact__channels .ico-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--accent);
    transition: transform .25s ease;
  }
  .contact__channels .ico-link:hover { transform: none; }
  .contact__channels .ico-link,
  .contact__channels .ico-link:hover,
  .contact__channels .ico-link:active,
  .contact__channels .ico-link:hover .ico-link__name,
  .contact__channels .ico-link:active .ico-link__name { text-decoration: none !important; }
  .contact__channels .ico-link__icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: transparent;
    border: 1.5px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    flex: none;
    transition: background-color .15s ease, border-color .15s ease;
  }
  .contact__channels .ico-link__icon svg {
    fill: var(--accent);
    stroke: none;
    transition: fill .15s ease;
  }
  /* optical sizing — equal visual presence per glyph shape */
  .contact__channels .ico-link[aria-label="Email"] .ico-link__icon svg { width: 32px; height: 32px; }
  .contact__channels .ico-link[aria-label="LinkedIn"] .ico-link__icon svg { width: 34px; height: 34px; }
  .contact__channels .ico-link[aria-label="Fiverr"] .ico-link__icon svg { width: 40px; height: 40px; }
  /* filled orange state: real cursors on hover; touch only on actual press */
  @media (hover: hover) {
    .contact__channels .ico-link:hover .ico-link__icon { background: #FF6B35; border-color: #FF6B35; }
    .contact__channels .ico-link:hover .ico-link__icon svg { fill: #FFFFFF; }
  }
  .contact__channels .ico-link:active .ico-link__icon { background: #FF6B35; border-color: #FF6B35; }
  .contact__channels .ico-link:active .ico-link__icon svg { fill: #FFFFFF; }
  .contact__channels .ico-link__text {
    display: flex; flex-direction: column;
    align-items: center;
    gap: 3px;
  }
  .contact__channels .ico-link__name {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text);
    transition: color .25s ease;
  }
  .contact__channels .ico-link:hover .ico-link__name { color: var(--accent); }
  .ico-link__tag {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--text-3);
    max-width: 13ch;
  }
  .contact__platform-note {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-3);
    max-width: 38ch;
  }
  .contact__platform-note a {
    color: var(--text-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .25s ease;
  }
  .contact__platform-note a:hover { color: var(--accent); }

  /* What to Expect — small orange-dot bullets */
  .expect-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .expect-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
  }
  .expect-list li::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
  }

  @media (max-width: 920px) {
    .contact__grid { grid-template-columns: 1fr; gap: 56px; }
    .contact__aside { gap: 44px; }
  }

  /* ---------- FAQ ---------- */
  .faq {
    border-top: 1px solid var(--line);
  }
  .faq__list {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    gap: 14px;
  }
  .faq__col { display: contents; }
  @media (min-width: 768px) {
    .faq__list { grid-template-columns: 1fr 1fr; align-items: start; }
    .faq__col { display: flex; flex-direction: column; gap: 14px; }
  }
  .faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .3s ease;
  }
  /* FAQ open state: keep border, just shift its tone slightly so it still reads */
  .faq-item.open { border-color: var(--line); }
  .faq-item__q {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 24px 26px;
    color: var(--text);
    font-family: var(--font-sans);
  }
  .faq-item__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--muted);
    opacity: .8;
    flex: none;
    min-width: 30px;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: center;
    line-height: 1;
  }
  .faq-item__text {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
  }
  .faq-item__chevron {
    flex: none;
    width: 22px; height: 22px;
    color: var(--muted);
    transition: transform .35s cubic-bezier(.4,0,.2,1), color .3s ease;
  }
  .faq-item.open .faq-item__chevron { transform: rotate(90deg); color: var(--brass); }
  .faq-item__a {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .4s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  }
  .faq-item.open .faq-item__a { grid-template-rows: 1fr; opacity: 1; }
  .faq-item__a-inner { overflow: hidden; }
  .faq-item__a p {
    padding: 0 40px 28px 26px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--muted);
    max-width: none;
  }

  /* ---------- Footer — no top border: continues from dark contact section ---------- */
  .footer {
    padding: 28px var(--gutter) 36px;
    text-align: center;
  }
  .footer::before {
    content: ""; display: block;
    max-width: var(--maxw); margin: 0 auto 28px;
    height: 1px; background: rgba(242, 244, 247, 0.12);
  }
  @media (max-width: 768px) {
    .contact { padding-bottom: 56px; }
    .contact__aside { gap: 28px; }
    .contact__channels { margin-top: 28px; margin-bottom: 12px; }
    .footer { padding-top: 16px; }
    .footer::before { margin-bottom: 24px; }
  }
  .footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--muted);
  }

  /* scroll cue */
  .scroll-cue {
    transition: opacity .4s ease;
    position: absolute;
    bottom: 30px; left: var(--gutter);
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .scroll-cue__line {
    width: 46px; height: 1px;
    background: linear-gradient(90deg, var(--brass), transparent);
    position: relative; overflow: hidden;
  }
  .scroll-cue__line::after {
    content: ""; position: absolute; top: 0; left: -40%;
    width: 40%; height: 100%;
    background: var(--brass);
    animation: cue 2.2s ease-in-out infinite;
  }
  @keyframes cue { 0%{left:-40%} 60%,100%{left:120%} }

  /* entrance animation */
  .reveal { opacity: 1; transform: none; }
  .in .reveal { opacity: 1; transform: none; transition: none; }
  .in .reveal:nth-child(1){transition-delay:.05s}
  .hero__eyebrow.reveal{transition-delay:.05s}
  .hero__title.reveal{transition-delay:.15s}
  .hero__tagline.reveal{transition-delay:.25s}
  .hero__desc.reveal{transition-delay:.35s}
  .hero__stats.reveal{transition-delay:.45s}
  .hero__cta.reveal{transition-delay:.55s}
  .hero__photo.reveal{transition-delay:.30s; transform: translateY(18px) scale(.985);}
  .in .hero__photo.reveal{transform:none}

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .scroll-cue__line::after { animation: none; }
  }

  /* ---------- Mobile nav (≤1024px) ---------- */
  .nav__hamburger {
    display: none;
    width: 44px; height: 44px;
    background: transparent; border: 0; padding: 0; margin: 0;
    cursor: pointer; position: relative; z-index: 130;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__hamburger-lines {
    position: relative;
    width: 24px; height: 18px;
    margin: 0 auto;
    display: block;
  }
  .nav__hamburger-line {
    position: absolute; left: 0; right: 0;
    height: 2px; background: var(--text);
    border-radius: 1px;
    transition: top .3s ease, transform .3s ease, opacity .3s ease;
  }
  .nav__hamburger-line:nth-child(1) { top: 0; }
  .nav__hamburger-line:nth-child(2) { top: 8px; }
  .nav__hamburger-line:nth-child(3) { top: 16px; }
  .nav__hamburger.is-open .nav__hamburger-line:nth-child(1) { top: 8px; transform: rotate(45deg); }
  .nav__hamburger.is-open .nav__hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__hamburger.is-open .nav__hamburger-line:nth-child(3) { top: 8px; transform: rotate(-45deg); }
  .nav__hamburger-line { background: #0F1115; }

  /* backdrop scrim behind drawer — stays dark for dimming */
  .mobile-menu-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 17, 21, 0.55);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    z-index: 105;
    opacity: 0; pointer-events: none;
    transition: opacity 250ms ease;
  }
  .mobile-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

  /* drawer itself — light frosted glass */
  .mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 420px; max-width: 100%;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
            backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid rgba(15, 17, 21, 0.08);
    box-shadow: -20px 0 40px rgba(15, 17, 21, 0.12);
    z-index: 110;
    transform: translateX(100%);
    transition: transform 190ms cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    padding: 0 28px 32px;
    pointer-events: none;
    overflow-y: auto;
    color: #0F1115;
  }
  .mobile-menu.is-open { transform: translateX(0); pointer-events: auto; }
  .mobile-menu.is-closing { transition: transform 160ms ease-in; }

  .mobile-menu__top { flex: none; height: 64px; }
  /* center the link list vertically between top bar and bottom CTA */
  .mobile-menu__links {
    list-style: none; margin: auto 0; padding: 24px 0;
    display: flex; flex-direction: column;
    gap: 4px;
  }
  .mobile-menu__link {
    position: relative;
    display: block;
    padding: 16px 0;
    font-family: var(--font-sans);
    font-size: 23px; font-weight: 500;
    line-height: 1.35;
    color: #0F1115; letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(15, 17, 21, 0.06);
    transition: color .22s ease;
  }
  .mobile-menu__link:hover,
  .mobile-menu__link:active { color: var(--accent); }
  .mobile-menu__link.is-active { color: var(--accent); }

  .mobile-menu__bottom {
    flex: none;
    margin-top: 0;
    padding: 24px 0 0 0;
    display: flex; flex-direction: column; gap: 20px;
  }
  .mobile-menu__cta {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 54px;
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    border-radius: 100px;
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: none;
    cursor: pointer;
  }
  .mobile-menu__item { opacity: 1; transform: none; }
  @keyframes mmItemIn { to { opacity: 1; transform: translateY(0); } }

  body.menu-open { overflow: hidden; }

  @media (max-width: 1024px) {
    .nav .nav__links { display: none !important; }
    .nav .nav__right > .btn { display: none !important; }
    .nav__hamburger { display: block; }
  }
  @media (max-width: 768px) {
    .mobile-menu { width: min(80vw, 360px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .mobile-menu, .mobile-menu-backdrop, .nav__hamburger-line { transition: none !important; }
    .mobile-menu__item { opacity: 1 !important; transform: none !important; animation: none !important; }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 920px) {
    .nav__links { display: none; }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__photo { order: -1; margin-bottom: 0; align-self: auto; justify-content: center; min-height: 0; }
    .photo-frame { width: min(340px, 100%); }
    /* doc-stack mobile: centered, no negative-margin overflow, modestly larger feel */
    .doc-stack { margin: 0 auto; padding: 20px; max-width: min(460px, 100%); }
    .scroll-cue { display: none; }
    .work-steps { margin-top: 0; }
    .svc-list { grid-template-columns: 1fr; gap: 24px; }
    .work__grid { grid-template-columns: repeat(2, 1fr); }
    .contact__grid { grid-template-columns: 1fr; gap: 44px; }
    .hero__stats { max-width: none; }
    .contact__aside { min-height: auto; padding: 12px 0 0; }
  }
  /* Hero stats: 3 across stays the default; only collapse to vertical stack at mobile (<= 640) */
  @media (max-width: 1180px) and (min-width: 921px) {
    .hero__stats { column-gap: clamp(40px, 5vw, 64px); }
    .hero__stats .stat + .stat::before { left: calc(clamp(40px, 5vw, 64px) / -2); }
  }
  @media (max-width: 560px) {
    .svc-card { padding: 36px 28px; }
    .work__grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    /* Hero stats: vertical stack on mobile — each left-aligned with a thin
       horizontal divider between rows, and expanded two-word labels. */
    .hero__stats {
      display: flex;
      flex-direction: column;
      gap: 0;
      max-width: 320px;
      margin-top: 40px;
      margin-bottom: 0;
    }
    .hero__stats .stat {
      padding: 16px 0;
      align-items: flex-start;
    }
    .hero__stats .stat + .stat {
      border-top: 1px solid rgba(15, 17, 21, 0.10);
    }
    .hero__stats .stat + .stat::before { display: none; }
    .hero__stats .stat__num { font-size: clamp(24px, 7vw, 30px); color: var(--text); }
    .hero__stats .stat__num .star { width: 16px; height: 16px; fill: var(--text); }
    .hero__stats .stat__label { font-size: 10px; letter-spacing: 0.12em; margin-top: 6px; }
    .hero__stats .stat__label-full { display: inline; }
    .hero__stats .stat__label-short { display: none; }
    .hero__title { font-size: clamp(38px, 11vw, 46px) !important; line-height: 1.12 !important; }

    /* BA spread stacks vertically on small screens — same gap as panel padding */
    .ba__spread { grid-template-columns: 1fr; }
    .ba__layer  { grid-template-columns: 1fr; }
  }

  /* Single-column stack for the BA section under 920px */
  @media (max-width: 920px) {
    .ba__layout {
      grid-template-columns: 1fr;
      row-gap: 44px;
    }
    .ba__intro .section__sub { max-width: 56ch; }
  }
  @media (max-width: 760px) {
    .work__grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 540px) {
    .hero { padding-top: 130px; }
    .nav__right .btn--label { display: none; }
  }
  /* ========================================================
     v2 additions — soft card shadows on light/light-alt only,
     contact quick-nav row
     ======================================================== */
  .section--light .work-card,
  .section--light-alt .work-card,
  .section--light .svc-chip,
  .section--light-alt .svc-chip,
  .section--light .rev-card,
  .section--light-alt .rev-card,
  .section--light .faq-item,
  .section--light-alt .faq-item {
    box-shadow: var(--shadow-soft);
  }
  .section--light .work-card:hover,
  .section--light-alt .work-card:hover,
  .section--light .svc-chip:hover,
  .section--light-alt .svc-chip:hover,
  .section--light .rev-card:hover,
  .section--light-alt .rev-card:hover {
    box-shadow: var(--shadow-md);
  }
  /* light-section card body cleanup — drop dark-context gradient fills */
  .section--light .svc-chip,
  .section--light-alt .svc-chip,
  .section--light .rev-card,
  .section--light-alt .rev-card,
  .section--light .faq-item,
  .section--light-alt .faq-item {
    background: var(--surface);
  }

  /* Contact — quick links row above footer divider */
  .contact__quicknav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 36px;
    margin: clamp(56px, 7vw, 88px) auto 0;
    padding-top: clamp(36px, 4vw, 48px);
    border-top: 1px solid var(--line);
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    max-width: var(--maxw);
  }
  .contact__quicknav a {
    color: var(--text-2);
    text-decoration: none;
    padding-bottom: 2px;
    transition: color .25s ease;
  }
  .contact__quicknav a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  @media (max-width: 540px) {
    .contact__quicknav { gap: 12px 24px; font-size: 11px; }
  }

  /* === Heading typeface: Inter Tight (body, UI, labels stay Manrope) === */
  h1, h2, h3, h4,
  .hero__title, .section__title, .services__heading, .about__heading,
  .stat__num, .brand, .proj-closing__title,
  .cred-item__title, .svc-step__title { font-family: var(--font-display); }