/* Shared styles for the secondary pages (services, privacy, terms, 404). The home page keeps its own inline copy. */
  :root {
    --beige: #e8ebef;
    --beige-2: #e3e5ea;
    --paper: #eef1f3;
    --ink: #16161d;
    --ink-soft: #636973;
    --hairline: #e3e5ea;
    --hairline-dark: #2a2a32;
    --dark: #16161d;
    --dark-2: #23232b;
    --radius-lg: 20px;
    --bone-soft: #a8adb5;
    --bone-dim: #c5c9d0;
    --signal: #e8490f;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Barlow', sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    line-height: 1.55;
  }
  h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 500; text-wrap: balance; letter-spacing: -0.015em; line-height: 1.08; }
  .mono { font-family: 'IBM Plex Mono', monospace; }
  .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-soft);
  }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1440px; margin: 0 auto; padding: 0 72px; }
  .arrow::after { content: "→"; margin-left: 8px; font-family: 'Barlow', sans-serif; display: inline-block; transition: transform .2s ease-out; }
  .arrow:hover::after, a.btn.arrow:hover::after { transform: translateX(2px); }

  /* ---------- Nav ---------- */
  nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color .3s ease-out, border-color .3s ease-out, backdrop-filter .3s ease-out;
  }
  nav.is-scrolled {
    backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--beige) 72%, transparent);
    border-bottom: 1px solid var(--hairline);
  }
  /* nav over the dark cycle section: dark blur band + light links */
  
  
  
  
  
  
  
  nav .wrap { display: flex; align-items: center; height: 64px; gap: 40px; }
  .logo { display: flex; align-items: center; gap: 8px; min-height: 44px; font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
  .nav-links { display: flex; gap: 34px; margin: 0 auto; font-size: 15.5px; color: #5f6570; }
  .nav-links a { transition: color .15s ease-out; }
  .nav-links a:hover { color: var(--ink); }
  .nav-right { display: flex; align-items: center; gap: 22px; font-size: 15.5px; }
  .nav-login { min-height: 44px; display: inline-flex; align-items: center; }
  
  .skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border: 2px solid #fff; outline: 2px solid var(--ink); }
  .skip-link:focus { top: 12px; }
  .nav-menu-btn { display: none; min-height: 44px; padding: 0 4px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
  .nav-links .nav-menu-only { display: none; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Barlow', sans-serif; font-size: 15.5px; font-weight: 500;
    padding: 12px 22px; cursor: pointer; border: none;
    transition: background-color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out, opacity .18s ease-out;
  }
  .btn-black {
    background: var(--ink);
    color: #fff;
    box-shadow: none;
  }
  .btn-black:hover { background: #2a2a32; opacity: 1; transform: translateY(-1px); box-shadow: 0 8px 20px -14px rgba(22,22,29,.6); }
  .btn-black:active { transform: translateY(0); box-shadow: none; }
  .btn-ghost { background: transparent; color: var(--ink); }
  

  /* ---------- Hero ---------- */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Desktop: first paint ends on the trusted eyebrow (+ ribbon).
     Vertical: hero-inner grows; trusted stays a short footer band in the fold.
     Horizontal: logo-aligned center-left copy column (.hero-copy max 36rem). */
  

  /* trusted eyebrow in wrap, ribbon full-bleed */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  @keyframes channelRibbon {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
  }

  /* hero proof row under ribbon - operator vows, not channel status */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* ---------- Dark cycle section ---------- */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   
   
  
  

  /* Phase 16a: One operating system (Overview shell, site theme) */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Phase 16b - Morning brief (summary strip + priority queue) */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* ---------- Feature story section ---------- */
  /* overflow-x:hidden breaks position:sticky on .stage-visual (scroll containment).
     Use clip when supported so horizontal bleed is still masked without killing sticky. */
  
  
  
  
  
  
  
  
  

  /* bubble cloud */
  
  
  
  

  /* blurred issue card */
  
  
  
  
  
    
  
  
  
  
  

  /* slack mock */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* browser mock */
  
  
  
  
  .url { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #636973; background: #eef1f3; border-radius: 5px; padding: 5px 12px; flex: 1; }
  
  
  
  
  
  
  
  

  /* ---------- Proof: static curated grid ---------- */
  
  
  
  
  
  
  
  
  

  /* ---------- Bento ---------- */
  .bento-section { padding: 40px 0 140px; }
  
  
  .cell { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 54px 48px 0; min-height: 420px; overflow: hidden; position: relative; }
  .cell:nth-child(3n) { border-right: none; }
  .cell:nth-child(n+4) { border-bottom: none; }
  .cell h3 { font-size: 30px; margin-bottom: 20px; }
  
  .cell p { color: var(--ink-soft); font-size: 17px; max-width: 300px; }
  
  
  .mini-card {
    border: 1px solid var(--hairline); border-radius: 10px 10px 0 0; border-bottom: none;
    background: #fff; padding: 16px 18px; box-shadow: 0 -4px 24px rgba(0,0,0,.03); font-size: 12px;
  }
  .mini-card .row { display: flex; justify-content: space-between; align-items: center; }
  
  
  
  
  
  
  
  
  

  /* Phase 18 - What we buy cards */
  
  .wwb-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .1em;
    text-transform: uppercase; color: #7d838d;
    padding-bottom: 9px; border-bottom: 1px solid #eef1f3;
  }
  
  
  
  
  
  
  
  

  /* ---------- The offer: full-bleed ink band + handover slip ---------- */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* ---------- Customer story (legacy shell retained for non-offer uses) ---------- */
  .customer { padding: 130px 0; }
  
  .customer .eyebrow { display: block; margin-bottom: 26px; }
  .customer h2 { font-size: clamp(36px, 3.4vw, 52px); margin-bottom: 30px; }
  .customer p { color: var(--ink-soft); max-width: 440px; }
  
  
  
  
  
  

  /* ---------- Security ---------- */
  
  
  
  
  
  
  
  
  
  
  
  

  /* ---------- Pricing ---------- */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* ---------- Final CTA ---------- */
  
  
  
  
  /* final CTA entrance now runs through the [data-reveal] system (assets/motion.js) */

  /* ---------- Footer ---------- */
  footer { padding: 70px 0 46px; }
  .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid var(--hairline); }
  .foot-tag { font-family: 'Barlow', sans-serif; font-size: 15px; color: #7d838d; margin-top: 20px; max-width: 340px; line-height: 1.6; }
  .foot-label { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 11px; letter-spacing: .22em; color: #7d838d; margin-bottom: 26px; }
  .foot-col a { display: flex; align-items: center; min-height: 44px; font-size: 15.5px; color: #5f6570; transition: color .15s ease-out; }
  .foot-col a:hover { color: var(--ink); }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 34px; }
  .foot-bottom .c { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: #7d838d; }
  .foot-legal { display: flex; gap: 20px; color: #636973; font-size: 14px; }
  .foot-legal svg { width: 18px; height: 18px; }

  /* phase6: small-screen nav fit */
  @media (max-width: 640px) {
    nav .wrap { gap: 14px; }
    /* nav-links (the centering spacer) is hidden here, so pin the CTA cluster right */
    .nav-right { margin-left: auto; }
    .nav-right a:not(.btn):not(.nav-login) { display: none; }
    .nav-right .btn { min-height: 44px; padding: 10px 14px; font-size: 13.5px; white-space: nowrap; }
    .logo { font-size: 18px; }
  }
  
  @media (max-width: 1020px) {
    .wrap { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-menu-btn { display: inline-flex; align-items: center; }
    .nav-login { display: none !important; }
    nav.is-menu-open .nav-links {
      display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0; margin: 0;
      padding: 8px 24px 16px; background: var(--paper); border-bottom: 1px solid var(--hairline); color: var(--ink);
    }
    nav.is-menu-open .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
    nav.is-menu-open .nav-links .nav-ind { display: none; }
    
    
    
    .cell {
      border-right: none !important;
      border-left: none;
      border-bottom: 1px solid var(--hairline);
      padding: 40px 24px 32px;
    }
    .cell:nth-child(n+4) { border-bottom: 1px solid var(--hairline); }
    .cell:last-child { border-bottom: none; }
    .foot-grid { grid-template-columns: 1fr; }
    
    
    
    
    
    
    
  }
  /* Hero stats: 1col phone → 2×2 tablet → 4col desktop (base) */
  @media (max-width: 700px) {
    
    
    
    .cell p { max-width: none; }
  }
  
  /* (status-chip removed from trusted row - Phase 13c) */

  /* anim: core */
  :root {
    --ease-entrance: cubic-bezier(.22,.68,0,1);
    --ease-fade: cubic-bezier(0,0,.2,1);
    --ease-expo: cubic-bezier(.16,1,.3,1);
    --dur-reveal: .8s;
    --reveal-distance: 24px;
  }
  @media (prefers-reduced-motion: reduce) {
    
    html { scroll-behavior: auto; }
  }

  /* anim: motion core (assets/motion.js) — reveals, counters, section theming.
     Gated on html.js so content is fully visible without JS; opacity/transform
     only, so AT and SEO always see the content. */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition:
      opacity var(--dur-reveal) var(--ease-expo) var(--reveal-delay, 0s),
      transform var(--dur-reveal) var(--ease-expo) var(--reveal-delay, 0s),
      color .6s ease, border-color .6s ease;
  }
  
  /* Hero reveals run as pure CSS animations from first paint — no motion.js
     dependency — so mobile LCP (p.sub) is not gated on deferred JS. Same
     stagger the JS group would compute (5 items → .1s step). motion.js still
     tags them .is-in; the animation's fill wins either way. */
  
  
  
  
  
  @keyframes heroReveal {
    from { opacity: 0; transform: translateY(var(--reveal-distance)); }
    to { opacity: 1; transform: none; }
  }
  /* LCP guard: the hero sub is the mobile LCP element — LCP ignores opacity:0
     content, so it rises without fading and is painted from the first frame. */
  
  @keyframes heroRevealSlide {
    from { transform: translateY(var(--reveal-distance)); }
    to { transform: none; }
  }
  /* managed-step hover tint eases; full list so the reveal itself still animates */
  
  @media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
  }
  [data-count] { font-variant-numeric: tabular-nums; }
  /* counter spans sit inside .stat b / .cost-cell b — undo the block caption
     styling that .stat span / .cost-cell span would otherwise apply to them */
  
  /* Theme arc: motion.js flips html[data-theme] while a [data-dark-bg] band
     crosses the 72%-viewport line. Cycle + offer bring their own ink
     (bare data-dark-bg); cost + final ignite on the flip (data-dark-bg="theme").
     Nav .over-dark comes from the same motion.js spy pass.
     [data-reveal] elements get color/border-color .6s from the reveal rule above;
     only non-reveal elements need the theme transitions here. */
  section[data-dark-bg] { transition: background-color .6s ease, color .6s ease; }
  
  
  /* Phase 3: the dark ignition for cost + final lives on BODY, not the sections,
     so the fixed queue canvas (#queueGL, z-index:-1) shows through them. The
     sections keep only their ink. Formerly-transparent light sections get an
     explicit paper background so the dark body never leaks through them near
     theme flips (cycle→stories, bento→offer, final→footer). Zero visual change
     in the light state — body was already paper behind them. */
  /* Guard: never give `html` a background. body's background only propagates to
     the viewport canvas while html has none; break that and body paints its bg
     on its own box, OVER the z-index:-1 #queueGL canvas — scene gone. */
  body { transition: background-color .6s ease; }
  html[data-theme="dark"] body { background: var(--dark); }
  footer { background: var(--paper); }
  /* Footer is dark-aware: it follows the dark final CTA, and the light footer
     used to snap the overscroll region back to #16161d (dark body) past the
     paper edge. Dark footer keeps document end and rubber-band consistent. */
  footer { transition: background-color .6s ease, color .6s ease; }
  html[data-theme="dark"] footer { background: var(--dark); color: var(--paper); }
  html[data-theme="dark"] footer .foot-tag,
  html[data-theme="dark"] footer .foot-label,
  html[data-theme="dark"] footer .foot-bottom .c { color: var(--bone-soft) !important; }
  html[data-theme="dark"] footer .foot-col a,
  html[data-theme="dark"] footer .foot-legal { color: var(--bone-soft); }
  html[data-theme="dark"] footer .foot-col a:hover { color: var(--paper); }
  html[data-theme="dark"] footer .foot-grid { border-bottom-color: var(--hairline-dark); }
  .bento-section { transition: background-color .6s ease; }
  html[data-theme="dark"] .bento-section { background: var(--paper); }
  
  
  
  
  
  

  /* anim: hero canvas (v2 - WebGL paper + 2D veil) */
  
  
  

  /* anim: Phase 3 queue scene — fixed canvas behind the DOM (assets/queue-scene.js).
     Sits above the body background, below every section; visible only where the
     [data-act] sections are transparent. Alpha fade per act happens in GL. */
  
  
  
  

  /* hero entrance now runs through the [data-reveal] system (assets/motion.js) */

  /* anim: nav polish */
  .nav-links { position: relative; }
  .nav-ind {
    position: absolute; bottom: 6px; height: 1.5px;
    background: var(--ink); border-radius: 2px; opacity: 0;
    transition: left .25s var(--ease-fade), width .25s var(--ease-fade), opacity 180ms ease;
  }
  
  .u-grow { position: relative; }
  .u-grow::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease-out;
  }
  .u-grow:hover::after { transform: scaleX(1); }

  /* anim: showcase */
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* anim: story stage - Phase 11 four screens */
  
  
  
  
  

  
  /* Wave 4: crisp opacity+scale crossfade — no filter:blur (it parked mid-scrub
     and a 700px blurred card is expensive to composite). */
  
  
  /* Phase 19b - catalog scene visible by default in pure CSS; the scroll
     choreography overrides with inline styles once the rAF loop paints,
     so the products never depend on a JS frame to become visible. */
  
  

  /* Screen 1 - catalog products */
  
  
  /* Ticket rows polish - compact email/ticket row cards */
  
  
  
  
  
  
  
  
  
  
  
  

  /* Screen 2 - Slack */
  
  
  
  
  
  
  
  
  
  

  /* policy ink align */
  
  
  

  /* Screen 3 - list & sell */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  /* Screen 4 - report */
  
  
  
  

  
  /* Warm light bloom: rises as the heading lands, then decays to nothing.
     Reads as prism light catching the text — amber, soft, brief. */
  @keyframes storyTextGlow {
    0%   { text-shadow: 0 0 0 rgba(255,176,96,0), 0 0 0 rgba(255,148,62,0); }
    24%  { text-shadow: 0 0 16px rgba(255,176,96,.58), 0 0 46px rgba(255,148,62,.16); }
    100% { text-shadow: 0 0 10px rgba(255,176,96,0), 0 0 28px rgba(255,148,62,0); }
  }

  /* anim: wall lanes - Phase 12 conveyor */
  
  
  
  
  
  @keyframes laneScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -50%, 0); }
  }
  @keyframes laneScrollReverse {
    from { transform: translate3d(0, -50%, 0); }
    to { transform: translate3d(0, 0, 0); }
  }
  
  

  /* anim: bento hover */
  .cell .mini-card { transform: translateY(26px); transition: transform .3s ease-out; }
  .cell:hover .mini-card { transform: translateY(8px); }
  
  
  @media (min-width: 1021px) {
    .cell { transition: background-color .2s ease-out; }
    .cell:hover { background-color: #fff; }
  }

  /* anim: poster hover */
  
  

  /* anim: badge shimmer */
  
  
  @keyframes chipShimmer { 0%, 100% { transform: translateX(-110%); } 50% { transform: translateX(110%); } }

  /* ---------- Managed support revamp ---------- */
  :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ink) 45%, white);
    outline-offset: 4px;
  }

  
  
  
  
  

  
  
  

  
  
  
  
  
  
  
  
  
  
  /* managed-step entrance now runs through the [data-reveal] system (assets/motion.js) */

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* comparison-row entrance now runs through the [data-reveal] system (assets/motion.js) */

  
  
  
  
  
  
  
  
  
  
  
  /* Wave 4 K1 - animated details open/close. Progressive enhancement via
     interpolate-size: allow-keywords + ::details-content (Chromium 129+);
     non-supporting browsers keep the current instant snap. */
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    
    
    
  }
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* Wave 4 J3/J4 - dark-panel chip hover + inverted CTA lift (desktop). */
  

  /* Desktop hero spacing reinforcement — must not undo fold min-height above. */
  

  

  @media (max-width: 700px) {
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    .customer { padding: 92px 0; }
    
    
    
  }

  @media (prefers-reduced-motion: reduce) {
    .cell .mini-card,
    .cell:hover .mini-card { transform: none !important; transition: none !important; }
    .btn,
    .nav-links a { transition: none !important; }
    .btn-black:hover,
    .btn-black:active { transform: none !important; box-shadow: none !important; }
    
    .foot-col a { transition: none !important; }
    
    .cell { transform: none !important; transition: none !important; }
  }

  /* Accessible muted text on light surfaces. */
  .bento-section .wwb-head,
  .bento-section .mini-card .row > span,
  .bento-section .mini-card .mono { color: #3f3c36 !important; }
  footer .foot-tag,
  footer .foot-label,
  footer .foot-bottom .c { color: #64615b !important; }
  
  

  /* ---------- Get Started survey ---------- */
  
  
  
  
  
  
  
  
  @keyframes surveyStepIn { from { opacity: 0; transform: translateY(var(--reveal-distance)); } to { opacity: 1; transform: none; } }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* The booking step becomes the same seamless dark surface as go.elavite.co.
     iClosed runs cross-origin, so its hardcoded light outer page cannot be
     recolored from here; the solid shell, load mask, and desktop crop keep it
     outside the visible scheduler area. */
  
  
  
  
  
  
  
  
  
  
  @keyframes surveyBookingSpin { to { transform: rotate(360deg); } }
  
  
  
  

  /* Services page layout */
  .svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; }
  .svc-grid .cell { min-height: 0; margin: 0; padding: 36px 36px 40px; border: 1px solid var(--hairline); background: #fff; }
  .svc-grid .cell h2 { font-size: 28px; line-height: 1.15; margin: 0 0 12px; }
  .svc-grid .cell p { max-width: none; margin: 0; }
  .svc-contact { margin-top: 56px; padding: 40px 36px; background: var(--ink); color: var(--paper); border-radius: 4px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
  .svc-contact h2 { font-size: 28px; margin: 0 0 14px; }
  .svc-contact p { margin: 4px 0; color: #cfd3da; }
  .svc-contact a:not(.btn) { color: var(--paper); border-bottom: 1px solid #636973; }
  .svc-contact .btn-black { background: var(--paper); color: var(--ink); }
  @media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid .cell { padding: 28px 24px 32px; } .svc-contact { padding: 32px 24px; } }
  @media (max-width: 768px) { .foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; } .foot-bottom .c { line-height: 1.6; } .foot-legal { flex-wrap: wrap; } }
  .legal { max-width: 70ch; }
  .legal h2 { font-size: 24px; margin: 36px 0 10px; }
  .legal p, .legal li { margin-bottom: 12px; }
  .legal ul { padding-left: 22px; margin-bottom: 12px; }
  .legal a { text-decoration: underline; text-underline-offset: 3px; }
  .legal .updated { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }

  /* ---------- Round 2 shared polish ---------- */
  a[href^="tel:"] { word-spacing: .14em; white-space: nowrap; }
  /* same .6s ease as the section/body theme fade, so the header never flips ahead of the page */
  nav { transition: background-color .6s ease, border-color .6s ease, backdrop-filter .6s ease; }
  nav .logo, nav .nav-right, nav .nav-links, nav .nav-links a, nav .nav-ind { transition: color .6s ease, background-color .6s ease; }
  nav .btn-black { transition: color .6s ease, background-color .6s ease, transform .2s ease-out, box-shadow .2s ease-out; }
  @media (prefers-reduced-motion: reduce) {
    nav, nav .logo, nav .nav-right, nav .nav-links, nav .nav-links a, nav .nav-ind, nav .btn-black { transition: none !important; }
  }
  @media (max-width: 1020px) {
    nav.is-menu-open .nav-links { top: var(--nav-h, 64px); height: calc(100vh - var(--nav-h, 64px)); height: calc(100dvh - var(--nav-h, 64px)); overflow-y: auto; border-bottom: 0; }
    html.menu-lock, html.menu-lock body { overflow: hidden; }
  }
  .foot-bottom .addr-sep { white-space: pre; }
  @media (max-width: 760px) {
    .foot-bottom .addr-sep { display: none; }
    .foot-bottom .addr { display: block; margin-top: 4px; }
  }
  /* Round 3: centred reading column */
  @media (min-width: 1021px) {
    .legal-page .wrap { max-width: calc(70ch + 144px); }
  }

  /* Round 4: mobile menu groups and closing call to action */
  .nav-links .nav-menu-cta { display: none; }
  @media (max-width: 1020px) {
    nav.is-menu-open .nav-links a { border-bottom: 1px solid var(--hairline); }
    nav.is-menu-open .nav-links a[href^="tel:"] { margin-top: 20px; }
    nav.is-menu-open .nav-right .btn-black { display: none; }
    nav.is-menu-open .nav-links .nav-menu-cta { display: inline-flex; justify-content: center; margin-top: 24px; padding: 14px 20px; border-bottom: 0; color: #fff; }
    
    
  }

  /* ---------- Round 6: word spacing ----------
     Barlow's space is only ~3px at body sizes, so "Elavite (support)" reads as "Elavite(support)".
     Widen it on body text; headings and every mono label keep their own spacing. */
  body { word-spacing: .08em; }
  h1, h2, h3, .display,
  .mono,
  .eyebrow,
  .url,
  .wwb-head,
  .foot-label,
  .foot-bottom .c,
  .legal .updated { word-spacing: normal; }
  /* "(" has almost no left bearing in Barlow; nudge the footer phone so its ink lines up with the links above */
  footer .foot-col a[href^="tel:"] { padding-left: 1px; }

  /* ---------- Guides hub & article layout ---------- */
  .guides-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 48px; }
  .guides-title { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.06; margin: 14px 0 0; max-width: 20ch; text-wrap: pretty; }
  .guides-intro { font-size: 18px; color: var(--ink-soft); margin: 0; max-width: 58ch; }
  .guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .guide-card { display: flex; flex-direction: column; justify-content: space-between; padding: 30px 28px 32px; border: 1px solid var(--hairline); background: #fff; transition: border-color .18s ease, transform .18s ease; }
  .guide-card:hover { border-color: var(--ink); transform: translateY(-2px); }
  .guide-card-cluster { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; display: inline-block; }
  .guide-card h2 { font-size: 21px; line-height: 1.22; margin: 0 0 12px; text-wrap: pretty; }
  .guide-card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 22px; }
  .guide-card-link { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-top: auto; }
  @media (max-width: 1100px) { .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guides-head { grid-template-columns: 1fr; gap: 20px; } }
  @media (max-width: 700px) { .guides-grid { grid-template-columns: 1fr; } .guide-card { padding: 24px 20px 26px; } .guides-title { max-width: none; } }

  .guide-page .wrap { max-width: 980px; }
  .guide-breadcrumbs { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .guide-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
  .guide-meta { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); margin: 14px 0 28px; display: flex; flex-wrap: wrap; gap: 14px; }
  .guide-article h1 { font-size: clamp(30px, 4.8vw, 50px); line-height: 1.08; margin: 0; max-width: 26ch; text-wrap: pretty; }
  .guide-lead { font-size: 19px; line-height: 1.58; color: var(--ink); background: #fff; border: 1px solid var(--hairline); border-left: 3px solid var(--ink); padding: 22px 26px; margin: 0 0 36px; }
  .guide-body h2 { font-size: clamp(22px, 2.8vw, 28px); line-height: 1.18; margin: 42px 0 14px; text-wrap: pretty; }
  .guide-body h3 { font-size: 19px; line-height: 1.25; margin: 26px 0 10px; }
  .guide-body p { margin: 0 0 16px; max-width: 72ch; }
  .guide-body ul, .guide-body ol { padding-left: 22px; margin: 0 0 18px; max-width: 70ch; }
  .guide-body li { margin-bottom: 8px; }
  .guide-body a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
  .guide-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0 30px; border: 1px solid var(--hairline); background: #fff; }
  .guide-table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; min-width: 520px; }
  .guide-table th, .guide-table td { padding: 13px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
  .guide-table th { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: var(--beige); font-weight: 500; }
  .guide-table tr:last-child td { border-bottom: 0; }
  .guide-cueretail-box { margin: 40px 0; padding: 32px 32px; background: var(--ink); color: var(--paper); border-radius: 4px; }
  .guide-cueretail-box h2 { color: var(--paper); margin: 0 0 12px; font-size: 25px; }
  .guide-cueretail-box p { color: #cfd3da; max-width: 68ch; margin: 0 0 20px; }
  .guide-cueretail-box a:not(.btn) { color: var(--paper); text-decoration: underline; }
  .guide-cueretail-box .btn-black { background: var(--paper); color: var(--ink); text-decoration: none; }
  .guide-faq-list { margin: 16px 0 36px; border-top: 1px solid var(--hairline); }
  .guide-faq-item { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
  .guide-faq-item h3 { font-size: 18px; margin: 0 0 8px; }
  .guide-faq-item p { margin: 0; color: var(--ink-soft); max-width: 70ch; }
  .guide-sources { margin: 32px 0; padding: 20px 24px; background: var(--beige); border: 1px solid var(--hairline); }
  .guide-sources h2 { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
  .guide-sources ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
  .guide-sources li { margin-bottom: 6px; }
  .guide-related { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--hairline); }
  .guide-related > h2 { font-size: 24px; margin: 0 0 20px; }
  @media (max-width: 700px) { .guide-lead { padding: 18px 18px; font-size: 17px; } .guide-cueretail-box { padding: 24px 20px; } .guide-cueretail-box .btn { width: 100%; justify-content: center; } }
