/* VENOM v170 — Mobile layout refinement, 16 November 2026.
   Loaded after the existing design stylesheet. All rules stay inside mobile
   breakpoints so the desktop experience and transactional workflows are unchanged. */
.v170-parts-short{display:none}
.page-hero h1 .v170-parts-long{color:var(--white)}
.page-hero h1 .v170-parts-long > span{color:var(--green)}

@media (max-width:767px){
  :root{--gutter:clamp(16px,4.7vw,24px)}
  html{scroll-padding-top:114px}
  body{overflow-x:clip}
  .wrap{max-width:100%;padding-inline:max(var(--gutter),env(safe-area-inset-left)) max(var(--gutter),env(safe-area-inset-right))}
  main,main section,.wrap,.page-hero .wrap,.hero-copy{min-width:0}
  .section{padding-top:52px;padding-bottom:52px}
  .eyebrow{font-size:.67rem;letter-spacing:.13em;gap:8px;line-height:1.4}
  .eyebrow:before{width:22px;flex:0 0 22px}
  .lead{font-size:.94rem;line-height:1.54;max-width:100%}
  .note{font-size:.83rem;line-height:1.45}
  .section-title{font-size:clamp(1.9rem,8vw,2.9rem);line-height:1.02;letter-spacing:-.048em;margin:10px 0 17px}
  .page-hero h1,.section-title,.cta h2,.dyno h2,.gx-copy h2,
  .split-copy h2,.merch-copy h2,.dna-copy h2,.config-teaser-copy h2{
    overflow-wrap:normal;word-break:normal;hyphens:manual;
  }
  .btn{min-height:46px;padding:0 15px;font-size:.71rem;letter-spacing:.055em;line-height:1.25;text-align:center}
  .hero-actions{gap:8px}
  .hero-actions .btn{flex:1 1 100%;min-width:0;width:100%}

  /* Fixed two-tier header: smaller without losing a legible bag/menu */
  .site-utility{height:36px}
  .utility-inner{height:36px;padding-inline:var(--gutter);gap:7px}
  .utility-inner a{height:30px;min-width:0;padding:0 9px;font-size:.53rem;letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis}
  .utility-inner .utility-claim{flex:1 1 auto;white-space:nowrap}
  .utility-inner .utility-workshop{flex:0 0 auto}
  .utility-inner .utility-claim-home{height:30px;padding:0 9px;min-width:0}
  .utility-inner .utility-claim-home span{font-size:.46rem;line-height:1.1}
  .utility-inner .utility-claim-home strong{font-size:.63rem;line-height:1.1}
  body>.site-utility+header{top:36px}
  .nav{height:64px;gap:10px}
  .nav>a{min-width:0;flex:0 1 auto}
  .logo{width:clamp(120px,37vw,152px)}
  .menu{width:43px;height:43px;flex:0 0 43px}
  .menu:before,.menu:after,.menu span{left:11px}
  .mobile-cart-button{height:43px;min-width:62px;margin-left:auto;margin-right:2px;padding:0 7px;gap:5px}
  .mobile-cart-button .mobile-cart-icon{font-size:.53rem}
  .navlinks{height:100dvh;max-height:100dvh;padding-top:112px;padding-inline:24px}
  .navlinks a{padding-block:15px}

  /* Page introductions — no more enormous/mobile mid-word headlines */
  .page-hero{min-height:0;padding:125px 0 36px}
  .page-hero h1{font-size:clamp(2.12rem,9.6vw,3rem);line-height:1.01;letter-spacing:-.047em;
    max-width:100%;margin:11px 0 16px}
  .page-hero p{font-size:.94rem;line-height:1.5;margin:0 0 18px}
  .page-hero .ghost-word{font-size:clamp(5rem,18vw,8rem);bottom:-14px;right:-8px}
  .page-hero-grid{grid-template-columns:minmax(0,1fr);gap:17px}
  .page-hero-grid > *{min-width:0}
  .page-hero-media{padding:9px;max-width:100%}
  .page-hero-media img{max-height:220px;object-fit:contain}
  .page-hero-note{margin-top:9px;font-size:.61rem;padding:7px 9px}
  .config-page-hero{min-height:0}
  .v170-parts-long{display:none!important}
  .page-hero h1 .v170-parts-short{display:inline!important;color:var(--white)!important}
  .page-hero h1 .v170-parts-short > span{color:var(--green)!important}

  /* Home page: retain character but make content usable at actual phone zoom */
  .hero{height:auto;max-height:none;min-height:0;padding:119px 0 48px;align-items:flex-start}
  .hero .wrap{overflow:hidden}
  .hero-inner{grid-template-columns:minmax(0,1fr);padding-top:0;padding-bottom:0}
  .hero-copy{padding:0;max-width:100%}
  .hero h1{font-size:clamp(2.5rem,12.5vw,4.15rem);line-height:.93;
    letter-spacing:-.06em;margin:12px 0 17px;max-width:9ch}
  .hero-sub{font-size:.94rem;line-height:1.52;max-width:100%;margin:0 0 20px}
  .hero-engine{right:-36%;top:32%;width:115vw;height:49%;opacity:.22;pointer-events:none}
  .hero-engine img{max-height:100%}
  .hero-readout{gap:6px;margin-top:16px}
  .readout-chip{padding:9px 10px;flex:1 1 calc(50% - 6px)}
  .hero-techline{gap:6px;margin-top:12px}
  .hero-techline span{font-size:.57rem;padding:7px 8px;line-height:1.3}
  .ticker-set{padding-block:11px}
  .ticker-set span{font-size:.58rem}

  /* Headlines and copy throughout public sections */
  .gx-copy h2,.split-copy h2,.merch-copy h2,.cta h2,.dyno h2,
  .dna-copy h2,.config-teaser-copy h2,.venom-ar-feature-copy h2,
  #venom-ar-v75 h2{font-size:clamp(2rem,8.3vw,2.95rem);line-height:1.01;
    letter-spacing:-.045em;margin:11px 0 17px}
  #venom-ar-v75 h2{overflow-wrap:normal;word-break:normal}
  .impact-inner h2{font-size:clamp(2.7rem,13vw,4.5rem);line-height:.95}
  .impact-inner p{font-size:.94rem;line-height:1.55}
  .cta{padding:56px 0}
  .cta-grid{gap:22px}
  .cta-actions{width:100%;gap:8px}
  .cta-actions .btn{width:100%}
  .dna-frame{min-height:0}
  .dna-copy{padding:51px 0 95px}
  .dna-stats{gap:7px;margin-top:16px}
  .dna-stat{padding:9px 10px}
  .dyno{min-height:0;padding:65px 0;background-position:60% center}
  .dyno h2{margin:12px 0 18px}
  .process{margin-top:22px;grid-template-columns:1fr 1fr;width:100%}
  .process span{padding:11px 8px;font-size:.61rem}
  .tech-card{min-height:280px}
  .split-grid,.gx-grid,.merch-grid,.quick-grid{gap:17px}
  .split-copy{padding:24px 20px}
  .split-media{min-height:240px;max-height:320px}
  .split-media img{max-height:320px;object-fit:cover}
  .merch-media{min-height:220px;padding:16px}
  .merch-copy{padding:15px 0}
  .merch-list{margin:16px 0 22px;gap:8px}
  .merch-item{padding:12px 14px}
  .features{margin:18px 0}
  .feature{padding:13px 0;font-size:.75rem}
  .service-grid{gap:11px;margin-top:22px}
  .service-card,.quick-card{min-height:235px;padding:20px}
  .service-card h3,.quick-card h3{font-size:1.4rem}
  .service-card p,.quick-card p{min-height:0;margin:0 0 13px;font-size:.86rem}
  .stats .stat{padding:24px 19px}
  .stat strong{font-size:2.7rem}
  .paddock-grid{margin-top:22px;gap:10px}
  .paddock-img{min-height:240px}
  .paddock-img.small{min-height:170px}
  .results-head{gap:13px;margin-bottom:20px}
  .results-track .result-card{min-height:295px;padding:20px}
  .results-track .result-position{font-size:3.2rem}
  .results-track .result-position.result-long{font-size:2.15rem}
  .results-track .result-card h3{font-size:1.35rem}
  .results-footer{padding:17px}
  .venom-ar-feature{padding:50px 0}
  #venom-ar-v75{padding:52px 0 46px}
  .venom-ar-feature-grid{gap:17px}
  .venom-ar-feature-visual img{max-height:260px;object-fit:contain}
  .venom-ar-launch-badge{padding:11px 14px}

  /* Catalogue first on phones: direct ordering links are already on every
     item, so the general contacts strip can follow the product grid. */
  .parts-page main{display:flex;flex-direction:column}
  .parts-page main > .page-hero{order:0}
  .parts-page main > #parts-list{order:1}
  .parts-page main > .page-hero + .section{order:2}
  .parts-page main > .split-section{order:3}
  .parts-page main > .cta{order:4}

  /* Catalogue: products appear sooner than before */
  .product-grid,.parts-grid{gap:12px;margin-top:20px}
  .product-card,.part-card{min-width:0}
  .product-body{padding:18px}
  .product-body h3{font-size:1.45rem;line-height:1.05}
  .product-image,.product-image.product-photo,.product-image.old-site{height:210px}
  .part-card{padding:17px}
  .part-card .part-image,.part-card .part-image.product-photo,.part-card .part-image.old-site{
    height:175px;margin:-17px -17px 15px}
  .part-card h3{font-size:1.16rem;line-height:1.12;margin-bottom:6px}
  .part-card p{font-size:.87rem;line-height:1.47;margin:8px 0}
  .part-price{font-size:1.28rem;margin:0 0 8px!important}
  .product-inline-actions{gap:7px;margin-top:12px}
  .product-inline-actions > *{min-height:42px;padding:8px 9px;font-size:.65rem;letter-spacing:.04em;flex:1 1 90px}
  .order-strip{padding:16px;gap:10px}
  .order-strip .inline-contact{gap:7px;margin-top:6px;width:100%}
  .order-strip .inline-contact br{display:none}
  .order-strip .inline-contact a{padding:9px 10px;min-height:38px;display:inline-flex;align-items:center;font-size:.66rem;letter-spacing:.025em}
  .store-ready-strip{margin:13px 0 18px;padding:12px;gap:6px}
  .store-ready-strip b{font-size:.73rem}
  .store-ready-strip a{display:inline-flex;align-items:center;min-height:35px;font-size:.67rem}
  /* The original Parts page has inline desktop padding. Keep that desktop-only. */
  .parts-page .page-hero{padding-bottom:30px}
  .parts-page .page-hero .hero-actions{margin-top:0}
  .parts-page .page-hero + .section{padding-top:14px!important;padding-bottom:14px!important}
  #parts-list{padding-top:30px!important;padding-bottom:46px!important}
  #parts-list .section-title{font-size:clamp(1.85rem,7.6vw,2.65rem)}

  /* Forms, calendar, checkout and builder are still large enough to tap */
  .contact-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .contact-grid > *{min-width:0}
  .contact-grid .contact-panel{min-width:0;padding:17px}
  .contact-detail a{overflow-wrap:anywhere}
  .contact-hero{padding-top:125px;padding-bottom:27px}
  .contact-hero h1{font-size:clamp(2.1rem,9.6vw,3rem);line-height:1.01}
  .contact-hero-visual{min-height:160px;max-height:240px}
  .contact-panel-head{padding:20px 16px 16px}
  .contact-form-panel form{padding:18px 16px 22px}
  .contact-fast-panel,.contact-workshop-panel{padding:17px}
  .contact-panel h3,.contact-side h3{font-size:1.3rem}
  .form-field input,.form-field select,.form-field textarea{min-height:47px;padding:12px 13px;font-size:16px}
  .form-field textarea{min-height:115px}
  .form-grid,.form-grid-v7{gap:12px}
  .contact-submit{min-height:48px}
  .booking-grid{gap:14px;margin-top:22px}
  .booking-card-head{padding:21px 17px 16px}
  .booking-card-head h3{font-size:1.75rem;line-height:1.05}
  .booking-form{padding:19px 17px 23px}
  .booking-fields{grid-template-columns:minmax(0,1fr);gap:12px}
  .booking-fields .full{grid-column:auto}
  .booking-fields input,.booking-fields select,.booking-fields textarea{min-height:45px;font-size:16px}
  .config-teaser-grid{gap:15px}
  .config-teaser-copy,.config-teaser-visual{padding:20px}
  .config-teaser-visual{min-height:220px}
  .config-teaser-visual img{max-height:200px}
  .config-progress .config-step-tab{min-width:0;padding:14px 11px;gap:7px}
  .config-step-tab span{font-size:.65rem;letter-spacing:.04em}
  .config-controls{padding:17px}
  .config-step h2{font-size:clamp(1.7rem,7vw,2.35rem);line-height:1.05}
  .config-choice{grid-template-columns:74px minmax(0,1fr);gap:10px}
  .config-choice img{height:70px;width:74px}
  .colour-choice-grid{gap:6px}
  .colour-choice{padding:12px 6px;gap:7px;min-width:0}
  .colour-choice i{width:32px;height:32px}
  .colour-choice b{font-size:.63rem}
  .config-preview{padding:15px}
  .config-preview-engine{height:210px}
  .config-preview-details h3{font-size:1.4rem}
  .checkout-panel-head{padding:21px 17px 10px}
  .checkout-form{padding:14px 17px 23px}
  .checkout-summary{padding:17px}
  .checkout-panel-head h2,.payment-stage-head h2,.checkout-empty h2{font-size:clamp(1.7rem,7vw,2.55rem);line-height:1.04}
  .checkout-line{gap:9px}
  .invoice-sheet{padding:16px;border-radius:12px}
  .invoice-table{table-layout:fixed;overflow-wrap:anywhere}
  .invoice-head h2{font-size:1.32rem}
  .invoice-totals .grand strong{font-size:1.25rem}
  .bacs-grid b{font-size:.9rem;overflow-wrap:anywhere;padding-right:53px}
  .success-panel{padding:32px 16px}
  .success-panel h1{font-size:clamp(2rem,8vw,2.95rem);line-height:1.04;overflow-wrap:normal;word-break:normal}
  .success-panel p,.success-panel a{overflow-wrap:anywhere}
  .checkout-hero{padding-bottom:32px}

  /* Site-wide footer and fixed actions */
  footer{padding:39px 0 22px}
  .footer-grid{gap:22px}
  .footer-logo{width:170px;margin-bottom:14px}
  .legal{margin-top:24px;padding-top:15px;gap:8px}
  .whatsapp-fab{right:12px;bottom:12px;min-width:46px;min-height:46px}
}

/* Even on an older narrow 320px iPhone, keep controls and labels on screen. */
@media (max-width:359px){
  :root{--gutter:14px}
  .page-hero h1{font-size:2rem}
  .hero h1{font-size:2.35rem}
  .logo{width:112px}
  .mobile-cart-button{min-width:57px}
  .utility-inner a{font-size:.48rem;padding-inline:6px}
  .page-hero .hero-actions .btn{font-size:.69rem}
  .result-position{font-size:2.85rem}
}
