/* ============================================================
   AT Web Studios — DESIGN REFINEMENTS
   Loaded LAST so it is the single source of truth for the type
   scale, header sizing, and hero fit. Tunes the generated CSS
   without editing every page stylesheet.
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root{
  --nav-h:88px;            /* taller, more clickable header */
  /* Brighter muted greys — the originals (#7A7870 / #3D3C39) failed
     contrast for the small labels, pills and captions used across the
     site. These pass WCAG AA on the near-black background. */
  --chalk3:#A8A59C;        /* was #7A7870 */
  --chalk4:#928F86;        /* was #3D3C39 (near-invisible) */
}

/* ---- Global readable base (uniform typography) ----------- */
html{font-size:16px}
body{
  font-size:1.0625rem;     /* 17px base — was 16 with no line-height */
  line-height:1.65;
  letter-spacing:-.005em;
}
p{line-height:1.7}

/* One consistent scale for section intros across every page */
.section-title{
  font-size:clamp(2.1rem,3.2vw,3.4rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.section-sub{
  font-size:clamp(1.05rem,0.98rem + .5vw,1.22rem);
  line-height:1.7;
  color:var(--chalk2);     /* lighter = easier to read on dark */
}
.eyebrow{font-size:11px;letter-spacing:.16em}

/* ---- Header / navigation --------------------------------- */
/* Auto height with vertical padding (min-height keeps content offset correct) */
.nav{height:auto;min-height:var(--nav-h);padding-block:1.1rem;display:flex;align-items:center}
.nav > .wrap{width:100%}
.nav__inner{height:auto;gap:2rem}
.nav__logo svg{width:46px;height:auto}
.nav__wordmark{font-size:12px}
.nav__links{gap:2.4rem}
.nav__link{font-size:15px;color:var(--chalk2);letter-spacing:.005em}
.nav__link:hover,.nav__link.active{color:var(--chalk)}
.nav__avail{font-size:12.5px}
/* Make the nav CTA read as a button, not a link */
.nav .btn--sm{padding:11px 22px;font-size:13.5px}

/* ---- HERO: fit the statement within the first screen ----- */
.hero__inner{
  padding-block:clamp(1rem,2vw,2rem);
  gap:clamp(2rem,4vw,5rem);
}
.hero__era{margin-bottom:clamp(.75rem,1.4vw,1.1rem)}
.hero__h1{
  font-size:clamp(2.4rem,4.1vw,4.2rem);   /* was max 7.5rem — far too big */
  line-height:1.0;
  letter-spacing:-.04em;
  margin-bottom:clamp(1rem,1.7vw,1.4rem);
}
.hero__sub{
  font-size:clamp(1.05rem,0.98rem + .45vw,1.2rem);
  line-height:1.65;
  max-width:46ch;
  color:var(--chalk2);
  margin-bottom:clamp(1.25rem,2.2vw,1.75rem);
}
.hero__ctas{margin-bottom:clamp(1.5rem,2.6vw,2rem)}
.hero__proof{padding-top:clamp(1rem,2vw,1.5rem)}
.proof-item__n{font-size:clamp(1.3rem,2vw,1.9rem)}
.proof-item__l{font-size:11px}

/* Slightly larger tap targets for primary actions */
.btn--lg{padding:17px 34px;font-size:15.5px}

/* On large screens keep the headline measure tight so phrases
   don't stretch the full column. */
@media(min-width:1100px){
  .hero__h1{max-width:14ch}
}

/* Comfortable reading width for body copy blocks */
.cs-body p,.cs-body li{font-size:1.05rem;line-height:1.8}

/* ============================================================
   READABILITY — bump the smallest labels/captions so they are
   legible (originals were 10–11px in a near-invisible grey).
   ============================================================ */
.proof-item__l{font-size:12.5px;color:var(--chalk3)}
.eyebrow{font-size:11.5px}
/* Process / service phase descriptions + chips */
.pt-body p{font-size:15px;color:var(--chalk2);line-height:1.75}
.pt-chip{font-size:11.5px;color:var(--chalk2);padding:4px 12px}
/* Service mini-stats, role lines, small captions, ticker */
.svc-stat-l,.rc-sub,.smet__l,.tc-role,.ta-role,.value-row__n,
.cs-meta__k,.am-pillar__num{font-size:12px;color:var(--chalk3)}
.ticker__item{font-size:12px;color:var(--chalk3)}
/* Footer text — was very dim */
.footer__tagline,.footer__desc,.footer__copy,.footer__legal a,
.fn-h,.mnav__foot,.nav__avail{color:var(--chalk3)}
.footer__desc{font-size:13.5px}
/* Breadcrumbs across pages */
.about-hero__breadcrumb,.about-hero__breadcrumb a,
.ch-breadcrumb,.ch-breadcrumb a,
.breadcrumb,.breadcrumb a{color:var(--chalk3);font-size:12px}
/* Contact + FAQ small labels */
.ch-contact__label,.faq-direct__label,.faq-direct__note,
.about-cta__note,.rc-sub{color:var(--chalk3)}

/* ============================================================
   MOTION — horizontal "Selected Work" scroller
   ============================================================ */
.hwork{padding-block:clamp(4rem,8vw,8rem);overflow:hidden;background:var(--ink)}
.hwork__head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:clamp(2rem,4vw,3.5rem);flex-wrap:wrap}
.hwork__viewport{overflow:hidden}
.hwork__track{display:flex;gap:clamp(1.25rem,2vw,2rem);padding-inline:var(--pad);will-change:transform}
.hcard{flex:0 0 clamp(280px,34vw,460px);display:block;text-decoration:none;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--ink2);transition:border-color .3s,transform .4s var(--ease-out)}
.hcard:hover{border-color:var(--line3);transform:translateY(-4px)}
.hcard__img{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--ink3)}
.hcard__img img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .6s var(--ease-out)}
.hcard:hover .hcard__img img{transform:scale(1.04)}
.hcard__meta{padding:clamp(1.1rem,2vw,1.6rem)}
.hcard__industry{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--volt2)}
.hcard__title{font-size:clamp(1.2rem,1.6vw,1.55rem);margin:.5rem 0 .35rem;color:var(--chalk)}
.hcard__desc{font-size:.95rem;color:var(--chalk3);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hcard__cta{display:inline-block;margin-top:1rem;font-size:12.5px;color:var(--chalk2);letter-spacing:.02em}
.hcard--all{display:flex;align-items:center;justify-content:center;text-align:center;min-height:0;background:linear-gradient(135deg,var(--volt-dim),transparent)}
.hcard--all .hcard__title{font-size:clamp(1.3rem,1.8vw,1.7rem)}
/* mobile: native horizontal swipe instead of pinned scroll */
@media(max-width:900px){
  .hwork__viewport{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
  .hwork__track{padding-bottom:1rem}
  .hcard{flex-basis:78vw;scroll-snap-align:start}
}

/* ============================================================
   HERO showreel — real screenshot inside the browser frame
   ============================================================ */
.hw-screen{position:relative;overflow:hidden}
.hw-reel{position:absolute;top:0;left:0;width:100%;height:300%;display:flex;flex-direction:column;animation:hwReel 18s cubic-bezier(.7,0,.25,1) infinite;will-change:transform}
.hw-slide{flex:0 0 33.3333%;background-size:cover;background-position:top center;background-repeat:no-repeat;background-color:var(--ink3)}
@keyframes hwReel{0%,26%{transform:translateY(0)}33.33%,59.33%{transform:translateY(-33.333%)}66.66%,100%{transform:translateY(-66.666%)}}

/* Phone mockup — overlaps the browser to add height + show the mobile build */
.hero__phone{position:absolute;left:-3%;bottom:-8%;width:24%;max-width:148px;z-index:3;filter:drop-shadow(0 28px 48px rgba(0,0,0,.55))}
.hp-frame{position:relative;border-radius:26px;border:2px solid var(--ink5);background:var(--ink);padding:9px 7px;aspect-ratio:9/19.5}
.hp-notch{position:absolute;top:11px;left:50%;transform:translateX(-50%);width:32%;height:5px;background:var(--ink5);border-radius:99px;z-index:2}
.hp-screen{position:relative;width:100%;height:100%;border-radius:17px;overflow:hidden;background:var(--ink3)}
.hp-reel{position:absolute;top:0;left:0;width:100%;height:300%;display:flex;flex-direction:column;animation:hwReel 18s cubic-bezier(.7,0,.25,1) infinite;will-change:transform}
.hp-slide{flex:0 0 33.3333%;background-size:cover;background-position:top center;background-repeat:no-repeat}

/* Showreel images load on DESKTOP ONLY (mobile never downloads them) */
@media(min-width:901px){
  /* Desktop + phone show the SAME project at the same time (paired + same 18s timing) */
  .hw-slide--1{background-image:url("../images/whiz-consulting.png")}
  .hw-slide--2{background-image:url("../images/lawchef.png")}
  .hp-slide--1{background-image:url("../images/m-whiz.png")}
  .hp-slide--2{background-image:url("../images/m-lawchef.png")}
}
@media(prefers-reduced-motion:reduce){.hw-reel,.hp-reel{animation:none}}
@media(max-width:900px){.hero__phone{display:none}}

/* ============================================================
   FORMS (shared) — premium light-panel form for homepage + contact
   ============================================================ */
.cf-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.cf-field{display:flex;flex-direction:column;gap:6px}
.cf-field--full{grid-column:span 2}
.cf-label{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--lt-text3)}
.cf-input,.cf-select,.cf-textarea{width:100%;padding:13px 16px;background:var(--lt-bg4);border:1px solid var(--lt-line2);border-radius:var(--r-sm);color:var(--lt-text);font-family:var(--ff-body);font-size:15px;transition:border-color .2s,box-shadow .2s}
.cf-input::placeholder,.cf-textarea::placeholder{color:var(--lt-text4)}
.cf-input:focus,.cf-select:focus,.cf-textarea:focus{outline:none;border-color:var(--lt-volt);box-shadow:0 0 0 3px var(--lt-volt-dim)}
.cf-textarea{resize:vertical;min-height:130px;line-height:1.65}
.cf-select{cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%237A7870' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:40px}
.cf-privacy{font-size:11px;color:var(--lt-text4);text-align:center;margin-top:14px;line-height:1.6}
.cf-privacy a{color:var(--lt-text3);text-decoration:underline;text-underline-offset:2px}
.btn--submit{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--volt) 0%,var(--volt2) 100%);color:#fff;border:none;padding:16px 34px;font-size:15px;font-weight:600;font-family:var(--ff-body);border-radius:var(--r-md);width:100%;justify-content:center;cursor:pointer;box-shadow:0 4px 20px rgba(64,102,255,.28);transition:transform .25s var(--ease-out),box-shadow .25s}
.btn--submit:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(64,102,255,.45)}
/* Contact Form 7 plumbing + feedback states */
.wpcf7-form-control-wrap{display:block}
.wpcf7 .wpcf7-not-valid-tip{color:#c0392b;font-size:11.5px;margin-top:5px;font-weight:500}
.wpcf7-response-output{margin:16px 0 0 !important;padding:12px 16px !important;border-radius:var(--r-sm);font-size:13.5px;border:1px solid transparent !important}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output{border-color:rgba(192,57,43,.4) !important;color:#c0392b;background:rgba(192,57,43,.06)}
.wpcf7 form.sent .wpcf7-response-output{border-color:rgba(34,197,94,.45) !important;color:#15803d;background:rgba(34,197,94,.08)}
.wpcf7-spinner{background-color:var(--volt)}

/* ============================================================
   HOMEPAGE contact section (light panel)
   ============================================================ */
.home-contact{background:var(--lt-bg);color:var(--lt-text)}
.home-contact__inner{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(2.5rem,5vw,5rem);align-items:start}
.home-contact__intro .section-title{color:var(--lt-text)}
.home-contact__intro .section-sub{color:var(--lt-text2)}
.hc-points{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-direction:column;gap:1rem}
.hc-points li{display:flex;align-items:center;gap:12px;color:var(--lt-text2);font-size:15px}
.hc-points svg{flex-shrink:0;color:var(--lt-volt)}
.hc-points a{color:var(--lt-text);font-weight:600}
.home-contact__form{background:var(--lt-bg4);border:1px solid var(--lt-line);border-radius:var(--r-xl);padding:clamp(1.5rem,3vw,2.75rem);box-shadow:0 30px 80px rgba(15,14,12,.08)}
@media(max-width:860px){.home-contact__inner{grid-template-columns:1fr}}

/* Selected Work grid (service pages) */
.sw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2vw,1.75rem)}
.sw-grid .hcard{flex:none}
@media(max-width:900px){.sw-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.sw-grid{grid-template-columns:1fr}}

/* ============================================================
   CLIENTS — "Trusted By" wordmark marquee
   ============================================================ */
.clients-band{padding-block:clamp(3rem,5vw,4.5rem);background:var(--ink);overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.clients-band .eyebrow{margin-bottom:clamp(1.5rem,3vw,2.25rem)}
.cmq{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)}
.cmq__track{display:flex;align-items:center;width:max-content;animation:cmqScroll 45s linear infinite;will-change:transform}
.cmq:hover .cmq__track{animation-play-state:paused}
.cmq__item{display:inline-flex;align-items:center;gap:.7rem;white-space:nowrap;padding:0 1.6rem}
.cmq__logo{width:28px;height:28px;border-radius:6px;object-fit:contain;background:#fff;padding:3px;filter:grayscale(1);opacity:.7;transition:filter .3s,opacity .3s}
.cmq__name{font-family:var(--ff-display);font-weight:700;font-size:clamp(1.1rem,2vw,1.7rem);letter-spacing:-.02em;color:var(--chalk3);transition:color .3s}
.cmq__item:hover .cmq__logo{filter:none;opacity:1}
.cmq__item:hover .cmq__name{color:var(--chalk)}
@keyframes cmqScroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.cmq__track{animation:none;flex-wrap:wrap;justify-content:center}.cmq{mask-image:none;-webkit-mask-image:none}}

/* ============================================================
   NAV DROPDOWN (Services)
   ============================================================ */
.nav__has-dropdown{position:relative}
.nav__caret{vertical-align:middle;opacity:.55;transition:transform .25s var(--ease-out)}
.nav__has-dropdown:hover .nav__caret,.nav__has-dropdown:focus-within .nav__caret{transform:rotate(180deg);opacity:1}
.nav__dropdown{
  position:absolute;top:100%;left:50%;
  transform:translateX(-50%) translateY(10px);
  min-width:240px;margin:0;padding:.5rem;list-style:none;
  background:rgba(11,12,15,.96);backdrop-filter:blur(28px) saturate(1.4);
  border:1px solid var(--line2);border-radius:var(--r-md);
  box-shadow:0 24px 60px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .22s var(--ease-out),transform .22s var(--ease-out),visibility .22s;
  z-index:600;
}
/* invisible bridge so the pointer can travel from link to menu */
.nav__dropdown::before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
.nav__has-dropdown:hover .nav__dropdown,.nav__has-dropdown:focus-within .nav__dropdown{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(6px);
}
.nav__dropdown-link{display:block;padding:11px 16px;border-radius:var(--r-sm);font-size:14px;font-weight:500;color:var(--chalk3);white-space:nowrap;transition:background .18s,color .18s}
.nav__dropdown-link:hover{background:rgba(255,255,255,.06);color:var(--chalk)}
/* light-mode header variant */
.nav.on-light .nav__dropdown{background:rgba(244,242,238,.98);border-color:var(--lt-line2);box-shadow:0 24px 60px rgba(15,14,12,.12)}
.nav.on-light .nav__dropdown-link{color:var(--lt-text2)}
.nav.on-light .nav__dropdown-link:hover{background:rgba(0,0,0,.05);color:var(--lt-text)}

/* Mobile sub-menu */
.mnav__sub{list-style:none;margin:.6rem 0 .2rem;padding:0 0 0 1rem;display:flex;flex-direction:column;gap:.55rem;border-left:1px solid var(--line2)}
.mnav__sublink{font-size:clamp(1rem,3.5vw,1.25rem);color:var(--chalk3);transition:color .2s}
.mnav__sublink:hover,.mnav__sublink:focus{color:var(--chalk)}

/* ============================================================
   BLOG — Insights index card grid
   ============================================================ */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.25rem,2.2vw,2rem);margin-top:clamp(2.5rem,5vw,4rem)}
.blog-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--ink2);transition:border-color .3s,transform .4s var(--ease-out)}
.blog-card:hover{border-color:var(--line3);transform:translateY(-4px)}
.blog-card__img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ink3)}
.blog-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease-out)}
.blog-card:hover .blog-card__img img{transform:scale(1.05)}
.blog-card__body{padding:clamp(1.25rem,2vw,1.75rem);display:flex;flex-direction:column;flex:1}
.blog-card__meta{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--chalk4)}
.blog-card__cat{color:var(--volt2)}
.blog-card__title{font-size:clamp(1.15rem,1.5vw,1.4rem);line-height:1.2;margin:.6rem 0 .6rem;letter-spacing:-.02em}
.blog-card__title a{color:var(--chalk);transition:color .2s}
.blog-card__title a:hover{color:var(--volt2)}
.blog-card__excerpt{font-size:.95rem;color:var(--chalk3);line-height:1.65;margin-bottom:1.1rem}
.blog-card__link{margin-top:auto;font-size:13px;color:var(--chalk2);font-weight:500}
.blog-card__link:hover{color:var(--volt2)}
.blog-pagination{margin-top:clamp(2.5rem,5vw,4rem)}
.blog-pagination .nav-links{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.blog-pagination a,.blog-pagination span{padding:9px 15px;border:1px solid var(--line2);border-radius:var(--r-sm);font-size:14px;color:var(--chalk3)}
.blog-pagination .current{background:var(--volt);border-color:var(--volt);color:#fff}
.blog-pagination a:hover{border-color:var(--line3);color:var(--chalk)}
@media(max-width:900px){.blog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.blog-grid{grid-template-columns:1fr}}

/* ============================================================
   HOMEPAGE HERO — subtle premium motion (complements the
   existing floating pips, showreel & ticker). Reduced-motion safe.
   ============================================================ */
.hw-screen,.hp-screen{position:relative;overflow:hidden}
.hw-screen::after,.hp-screen::after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.10) 46%,rgba(255,255,255,.02) 56%,transparent 70%);
  transform:translateX(-120%);animation:atws-sheen 7s ease-in-out infinite}
.hp-screen::after{animation-duration:8.5s;animation-delay:1.4s}
@keyframes atws-sheen{0%{transform:translateX(-120%)}55%,100%{transform:translateX(120%)}}
/* live indicator on the "Selected client work — Live" label */
.hw-url{position:relative}
.hw-url::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#22c55e;margin-right:7px;vertical-align:middle;box-shadow:0 0 6px rgba(34,197,94,.7);animation:atws-livedot 2s ease-in-out infinite}
@keyframes atws-livedot{0%,100%{opacity:1}50%{opacity:.3}}
/* gentle parallax float on the phone mockup */
.hero__phone{animation:atws-phonefloat 6.5s ease-in-out infinite}
@keyframes atws-phonefloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(prefers-reduced-motion:reduce){.hw-screen::after,.hp-screen::after,.hw-url::before,.hero__phone{animation:none}}

/* ============================================================
   Curved scroll spine (homepage, ≥1600px). Injected by motion.js.
   A flowing SVG curve in the left gutter that draws with scroll;
   nodes glow per section. Stays clear of content (gutter only).
   ============================================================ */
.atws-spine{position:absolute;top:0;left:0;z-index:3;pointer-events:none;display:none}
.atws-spine{transition:opacity .55s ease}
.atws-spine.is-dim{opacity:0}
@media(min-width:1500px){.atws-spine{display:block}}
.atws-spine__svg{position:absolute;top:0;left:0;overflow:visible}
.atws-spine__base{fill:none;stroke:var(--line2);stroke-width:2}
.atws-spine__draw{fill:none;stroke:url(#atwsSpineGrad);stroke-width:5;stroke-linecap:round;filter:drop-shadow(0 0 8px rgba(45,160,255,.5))}
.atws-spine__nodes{position:absolute;inset:0}
.atws-node{position:absolute}
.atws-node__dot{position:absolute;left:0;top:0;width:13px;height:13px;margin:-6.5px 0 0 -6.5px;border-radius:50%;background:var(--ink2);border:2px solid var(--line3);transition:background .45s,border-color .45s,box-shadow .45s,transform .5s var(--ease-out)}
.atws-node.is-active .atws-node__dot{background:#22d3ee;border-color:#22d3ee;box-shadow:0 0 20px #22d3ee;transform:scale(1.45)}
/* Comet head that travels down the curve as it draws */
.atws-comet{position:absolute;opacity:0;transition:opacity .3s ease;will-change:left,top}
.atws-comet span{position:absolute;left:-8px;top:-8px;width:16px;height:16px;border-radius:50%;background:radial-gradient(circle,#bef5ff 0%,#22d3ee 45%,rgba(34,211,238,0) 72%);box-shadow:0 0 22px 5px rgba(34,211,238,.75),0 0 7px #fff}
@media(prefers-reduced-motion:reduce){.atws-spine{display:none!important}}

/* ---- Brand logo (real lockup image) ---- */
.nav__logo{display:inline-flex;align-items:center;flex-shrink:0}
.nav__logo-pic{display:block;line-height:0}
.nav__logo-pic img{height:clamp(24px,2.1vw,34px);width:auto;display:block}
.nav__logo-pic--dark{display:none}
.nav.on-light .nav__logo-pic--light{display:none}
.nav.on-light .nav__logo-pic--dark{display:block}
.footer__logo{line-height:0}
.footer__logo img{height:30px;width:auto;display:block}
@media(max-width:600px){.nav__logo-pic img{height:23px}}

/* on-light nav link colours (global; main.css already handles backdrop/avail) */
.nav.on-light .nav__link{color:var(--lt-text3)}
.nav.on-light .nav__link:hover,.nav.on-light .nav__link.active{color:var(--lt-text)}
.nav.on-light .nav__wordmark{color:var(--lt-text2)}

/* ---- Audit fixes M7 + L4 ---- */
/* M7: eyebrow accent was #4066FF (4.40:1, sub-AA for small text). Use the
   brighter accent (#7093FF = 7.04:1) for these small uppercase labels. */
.eyebrow{color:var(--volt2)}
.eyebrow .eyebrow__mark{background:var(--volt2)}
/* L4: branded keyboard focus ring (was relying on UA default only). */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,[tabindex]:focus-visible,.btn:focus-visible,.hcard:focus-visible,
.blog-card a:focus-visible,.svc-lcard:focus-visible{outline:2px solid var(--volt2);outline-offset:3px;border-radius:5px}

/* ============================================================
   FIX: Homepage hero banner on tablet & mobile.
   index.css hid .hero__r (the showreel) below 1100px and the
   screenshots were gated to min-width:901px, so phones/tablets
   saw no banner. Tablet now shows the desktop showreel; mobile
   shows the phone mockup (mobile-native and lighter to load).
   ============================================================ */
/* Tablet (901–1100): show the flattened desktop showreel window */
@media(min-width:901px) and (max-width:1100px){
  .hero__r{display:block;opacity:1;max-width:560px;margin-inline:auto}
  .hero__window{transform:none}
  .hero__phone{display:none}
  .pip-1,.pip-2,.pip-3{display:none}
}
/* Mobile (<=900): show the phone mockup, centered */
@media(max-width:900px){
  .hero__r{display:block;opacity:1;max-width:none;margin:0}
  .hero__window{display:none}
  .hero__phone{position:static;display:block;width:auto;max-width:210px;margin:0 auto;left:auto;bottom:auto;filter:drop-shadow(0 22px 42px rgba(0,0,0,.5))}
  .pip-1,.pip-2,.pip-3{display:none}
}
/* show the showreel screenshots at every width so the frames are never empty */
.hw-slide--1{background-image:url("../images/whiz-consulting.png")}
.hw-slide--2{background-image:url("../images/lawchef.png")}
.hp-slide--1{background-image:url("../images/m-whiz.png")}
.hp-slide--2{background-image:url("../images/m-lawchef.png")}

/* ============================================================
   FIX: mobile responsive issues reported post-launch
   (custom-cursor dot on touch, horizontal scroll, Services text
   collapsing to one word per line, cramped proof stats).
   ============================================================ */
/* 1) the custom cursor (#cur/#cur-f) must never show on touch devices */
@media(hover:none),(pointer:coarse),(max-width:900px){
  #cur,#cur-f{display:none !important}
}
/* 2) Services list — stack as blocks so the description can't collapse to
      one word per line (the 3-col grid track was squeezing it) */
@media(max-width:1100px){
  .svc-item{display:block}
  .svc-item__n{display:none}
  .svc-item__body{max-width:100%}
  .svc-item__desc{max-width:none}
  .svc-item__chips{margin-top:12px}
}
/* 3) kill stray horizontal scroll on mobile (no ScrollTrigger pin is active
      below 900px, so clipping the x-axis here is safe) + tidy proof stats */
@media(max-width:900px){
  html{overflow-x:hidden}
  body{overflow-x:hidden}
  .hero__proof{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem 1rem;border-top:1px solid var(--line);padding-top:1.6rem}
  .proof-item{padding-right:0;margin-right:0;border-right:none}
}
