/* SnapForge landing v4 header + hero. Design canvas 1024 px (owner mockup).
   Only the top above "How it works". Lower v3 sections keep their own 1059-unit scale. */
header.v4-head,.v4-hero{
  --o:#FB7516;
  --o-h:#FF8A3D;
  --o-em:#F86F14;
  font-family:"Inter Tight",Inter,system-ui,-apple-system,sans-serif;
}
header.v4-head{--u:calc(100cqw / 1024);container-type:inline-size}
html:has(header.v4-head),body:has(header.v4-head){background:#141518!important;margin:0}
/* One screen: hero fills the viewport above the footer; no empty band after Terms · Privacy.
   On a phone that opted into desktop view (viewport width=1280), 100dvh is the tall layout
   viewport, so the footer sits at the bottom of that page instead of leaving a dark gap. */
html:has(header.v4-head),body:has(header.v4-head){min-height:100vh;min-height:100svh;min-height:100dvh}
body:has(header.v4-head){display:flex;flex-direction:column}
body:has(header.v4-head) main{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
.v4-frame{position:relative;width:100%;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.v4-hero *,header.v4-head *{box-sizing:border-box}
.v4-hero a,header.v4-head a{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
.v4-hero a:focus-visible,header.v4-head a:focus-visible,header.v4-head button:focus-visible{outline:2px solid var(--o-h);outline-offset:3px;border-radius:4px}
.v4-hero svg,header.v4-head svg{display:block;flex:none}
.v4-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* ---- header ---- */
header.v4-head{
  position:absolute;top:0;left:0;right:0;margin:0 auto;max-width:1440px;z-index:50;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
header.v4-head .wrap{
  position:relative;max-width:none;height:calc(96 * var(--u));min-height:64px;
  margin:0 calc(50 * var(--u)) 0 calc(60 * var(--u));
  padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:0;background:transparent;
}
header.v4-head .logo{display:block;line-height:0;position:relative;z-index:2;flex:0 0 auto}
header.v4-head .logo img.logo-h{
  display:block;height:calc(34 * var(--u));width:auto;max-width:none;
}
header.v4-head nav.main{
  display:flex!important;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  flex-direction:row;align-items:center;gap:calc(30 * var(--u));
  width:auto;max-height:none;overflow:visible;padding:0;margin:0;
  background:transparent;border:0;border-radius:0;box-shadow:none;z-index:2;
}
header.v4-head nav.main>a,
header.v4-head nav.main .nav-dd-btn{
  margin:0;padding:0;min-height:0;display:inline-flex;align-items:center;
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-size:calc(14 * var(--u));font-weight:400;line-height:1;
  color:#E4E8E8;border:0;background:none;box-shadow:none;white-space:nowrap;
  cursor:pointer;letter-spacing:0;
}
header.v4-head nav.main>a:hover,
header.v4-head nav.main .nav-dd-btn:hover{color:#fff}
header.v4-head nav.main .nav-dd{position:relative;display:flex;align-items:center}
header.v4-head nav.main .nav-dd-btn{width:auto;justify-content:flex-start;text-align:left;font-family:inherit}
header.v4-head nav.main .nav-dd-btn::after{
  content:"";width:5px;height:5px;margin:0 0 1px 7px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);flex:none;
}
header.v4-head nav.main .nav-dd-menu{
  display:none!important;position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);
  list-style:none;margin:0;padding:8px 0;min-width:220px;
  background:#1B1D21;border:1px solid #33373D;border-radius:12px;
  box-shadow:0 24px 48px -16px rgba(0,0,0,.7);z-index:70;
}
header.v4-head nav.main .nav-dd.open .nav-dd-menu{display:block!important}
header.v4-head nav.main .nav-dd-menu a{
  display:block;padding:9px 16px;min-height:0;font-size:14px;font-weight:400;
  color:#D3D7DB;border:0;white-space:nowrap;
}
header.v4-head nav.main .nav-dd-menu a:hover{color:#fff;background:rgba(255,255,255,.04)}

header.v4-head .hr{display:flex;align-items:center;gap:8px;margin-left:auto;position:relative;z-index:2}
header.v4-head .v4-btn-head{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:calc(38 * var(--u));padding:0 calc(18 * var(--u)) 0 calc(20 * var(--u));
  background:var(--o);color:#fff!important;border-radius:999px;
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-size:calc(13 * var(--u));font-weight:500;letter-spacing:0;white-space:nowrap;
  line-height:1;transition:background .2s;
}
header.v4-head .v4-btn-head:hover{background:var(--o-h)}
header.v4-head .v4-btn-head .v4-arr{font-size:1.05em;line-height:1;transform:translateY(-0.5px)}
header.v4-head .v4-burger{
  display:none;align-items:center;justify-content:center;
  width:44px;height:44px;margin:0;padding:0;border:0;border-radius:8px;
  background:transparent;color:#F2F3F4;cursor:pointer;
}
header.v4-head .v4-burger svg{width:24px;height:auto}
header.v4-head .v4-burger:hover,header.v4-head .v4-burger[aria-expanded="true"]{color:var(--o-h)}

/* ---- hero ---- */
section.v4-hero{
  --u:min(calc(100cqw / 1024), calc((100vh - 56px) / 700));
  --u:min(calc(100cqw / 1024), calc((100svh - 56px) / 700));
  --u:min(calc(100cqw / 1024), calc((100dvh - 56px) / 700));
  position:relative;max-width:1440px;margin:0 auto;padding:0;
  flex:1 1 auto;width:100%;height:auto;min-height:0;
  background:#0B0C0E;color:#F2F3F4;overflow:hidden;z-index:1;
  isolation:isolate;
}
.v4-hero-photo{position:absolute;inset:0;z-index:0;line-height:0;pointer-events:none}
.v4-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 50%}
.v4-hero-fade{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,
      #0B0C0E 0%,
      #0B0C0E 24%,
      rgba(11,12,14,.94) 36%,
      rgba(11,12,14,.62) 48%,
      rgba(11,12,14,.22) 60%,
      rgba(11,12,14,.06) 72%,
      transparent 84%),
    linear-gradient(270deg, rgba(11,12,14,.5) 0%, rgba(11,12,14,.15) 14%, transparent 32%),
    linear-gradient(180deg,
      rgba(11,12,14,.22) 0%,
      transparent 14%,
      transparent 78%,
      rgba(20,21,24,.4) 90%,
      #141518 100%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(251,117,22,.42), rgba(251,117,22,.14) 40%, transparent 70%);
}
.v4-glow{
  position:absolute;left:0;bottom:0;z-index:1;pointer-events:none;
  width:calc(280 * var(--u));height:calc(230 * var(--u));
  background:radial-gradient(ellipse 100% 90% at 0% 78%,
    rgba(251,117,22,.62) 0%,
    rgba(220,90,16,.34) 24%,
    rgba(160,65,12,.14) 50%,
    transparent 74%);
}
.v4-swoosh{
  position:absolute;left:0;top:calc(618 * var(--u));z-index:1;pointer-events:none;
  display:block;width:calc(420 * var(--u));height:calc(82 * var(--u));
  object-fit:fill;
}
.v4-arc{
  position:absolute;left:0;top:0;z-index:1;pointer-events:none;
  width:calc(1024 * var(--u));height:calc(200 * var(--u));overflow:visible;
}
.v4-hero-in{position:relative;z-index:2;height:100%;padding:0}
.v4-label{
  position:absolute;top:calc(150 * var(--u));left:calc(60 * var(--u));
  margin:0;display:flex;align-items:center;gap:calc(20 * var(--u));
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-weight:500;font-size:calc(11.5 * var(--u));line-height:1;
  letter-spacing:.16em;text-transform:uppercase;color:#B0B2B4;
}
.v4-label::after{content:none;display:none}
.v4-h1{
  position:absolute;top:calc(185 * var(--u));left:calc(60 * var(--u));
  margin:0;max-width:calc(560 * var(--u));
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-weight:700;font-size:calc(64 * var(--u));
  line-height:.945;letter-spacing:-.028em;color:#F5F5F4;text-transform:none;
}
.v4-h1 .v4-em{font-style:normal;color:var(--o-em);font-weight:700}
.v4-h1 .v4-h1-line{display:block}
.v4-h1 br{display:none}
/* 2-line headlines: keep the last line just above the services row (same gap as the 3-line original). */
.v4-h1.v4-h1-2line{top:calc(245 * var(--u))}
/* Variant 2a: 3 lines, orange slightly larger. Nudge up so the bigger last line still clears the services row. */
.v4-h1-2a{top:calc(172 * var(--u))}
.v4-h1-2a .v4-h1-line.v4-em{font-size:1.16em;line-height:.92}
/* Variant 2b: tighter tracking, 3 short lines. */
.v4-h1-2b{letter-spacing:-.042em}
/* Variant 2c: small kicker + huge orange. One orange line on desktop. */
.v4-h1-2c{top:calc(228 * var(--u));max-width:calc(620 * var(--u))}
.v4-h1-2c .v4-h1-kicker{
  display:block;margin:0 0 calc(10 * var(--u));
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-weight:500;font-size:calc(18 * var(--u));line-height:1.15;
  letter-spacing:.02em;text-transform:none;color:#F5F5F4;
}
.v4-h1-2c .v4-h1-huge{display:block;font-size:calc(86 * var(--u));line-height:.92;letter-spacing:-.035em}
.v4-h1-2c .v4-h1-huge .v4-h1-line{display:inline;white-space:nowrap}
.v4-h1-2c .v4-h1-huge .v4-h1-line + .v4-h1-line{margin-left:.28em}
/* Variant 2d: like 2, subtle underline under the orange phrase. */
.v4-h1-2d .v4-em{
  text-decoration:underline;
  text-decoration-color:var(--o-em);
  text-decoration-thickness:2px;
  text-underline-offset:.14em;
}
.v4-sub{
  position:absolute;top:calc(396 * var(--u));left:calc(60 * var(--u));
  margin:0;width:auto;max-width:calc(720 * var(--u));
  display:flex;align-items:baseline;
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-weight:500;font-size:calc(13.5 * var(--u));line-height:1.2;
  letter-spacing:.06em;text-transform:uppercase;color:#B0B2B4;
  pointer-events:none;
}
.v4-sub .v4-svc{flex:none;white-space:nowrap;color:inherit}
.v4-sub .v4-sub-gap{
  flex:0 0 auto;padding:0 .55em;min-width:0;text-align:center;
  color:var(--o);font-weight:500;line-height:1;pointer-events:none;
}
.v4-btn-hero{
  position:absolute;top:calc(484 * var(--u));left:calc(60 * var(--u));
  display:inline-flex;align-items:center;justify-content:center;gap:calc(10 * var(--u));
  margin:0;
  height:calc(55 * var(--u));
  padding:0 calc(26 * var(--u)) 0 calc(28 * var(--u));
  background:var(--o);color:#fff!important;border-radius:999px;
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-weight:500;font-size:calc(16 * var(--u));letter-spacing:0;white-space:nowrap;
  line-height:1;transition:background .2s;
}
.v4-btn-hero:hover{background:var(--o-h)}
.v4-btn-hero .v4-arr{font-size:1.08em;line-height:1;transform:translateY(-0.5px)}
.v4-feats{
  position:absolute;top:calc(588 * var(--u));left:calc(59 * var(--u));
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:nowrap;align-items:center;gap:0;
}
.v4-feats li{margin:0;padding:0;list-style:none;display:flex;align-items:center}
.v4-feats li::before{content:none}
.v4-feats li+li{padding-left:calc(18 * var(--u));margin-left:calc(18 * var(--u));border-left:1px solid rgba(180,180,184,.32)}
.v4-feat{
  display:inline-flex;align-items:center;gap:calc(8 * var(--u));
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-size:calc(13.5 * var(--u));font-weight:400;line-height:1.2;
  color:#A4A2A6;white-space:nowrap;letter-spacing:0;
  cursor:default;text-decoration:none;pointer-events:none;
  -webkit-tap-highlight-color:transparent;
}
.v4-feat svg{width:calc(18 * var(--u));height:auto;color:#A4A2A6}
.v4-feats .v4-feat-extra{display:none}
.v4-made{
  position:absolute;top:calc(548 * var(--u));left:calc(60 * var(--u));
  margin:0;max-width:calc(560 * var(--u));width:max-content;
  font-family:"Inter Tight",Inter,system-ui,sans-serif;
  font-weight:500;font-size:calc(11.5 * var(--u));line-height:1.45;
  letter-spacing:.08em;text-transform:uppercase;color:#B0B2B4;
  text-wrap:balance;text-align:left;
}

/* ---- mobile: hamburger, stacked type, photo still behind ---- */
@media (max-width:859px){
  header.v4-head .wrap{margin:0 18px;height:64px;min-height:64px}
  header.v4-head .logo img.logo-h{height:26px}
  header.v4-head .v4-btn-head{display:none!important}
  header.v4-head .v4-burger{display:inline-flex}
  header.v4-head nav.main{
    display:none!important;position:absolute;left:auto;right:0;top:calc(100% + 6px);
    transform:none;flex-direction:column;align-items:stretch;
    width:188px;max-width:calc(100vw - 36px);max-height:calc(100vh - 80px);overflow-y:auto;
    padding:4px 0;gap:0;
    background:#1B1D21;border:1px solid #33373D;border-radius:8px;
    box-shadow:0 14px 28px -10px rgba(0,0,0,.65);z-index:60;
  }
  header.v4-head nav.main.open{display:flex!important}
  header.v4-head nav.main>a,
  header.v4-head nav.main .nav-dd-btn{
    margin:0;padding:8px 14px;min-height:36px;height:36px;box-sizing:border-box;
    display:flex;align-items:center;
    font-size:15px;line-height:1.2;font-weight:400;color:#D3D7DB;
    border-bottom:1px solid rgba(255,255,255,.08);width:100%;
    justify-content:flex-start;
  }
  header.v4-head nav.main>a:last-child{border-bottom:0}
  header.v4-head nav.main>a:hover,
  header.v4-head nav.main .nav-dd-btn:hover{color:var(--o-h)}
  header.v4-head nav.main .nav-dd{position:static;display:flex;flex-direction:column;align-items:stretch;width:100%}
  header.v4-head nav.main .nav-dd-btn::after{
    width:6px;height:6px;margin:0 6px 0 0;transform:rotate(45deg);
  }
  header.v4-head nav.main .nav-dd-menu{
    position:static;transform:none;left:auto;top:auto;min-width:0;
    padding:4px 0 6px 12px;background:none;border:0;box-shadow:none;border-radius:0;
  }
  header.v4-head nav.main .nav-dd-menu a{padding:10px 0;min-height:40px;font-size:14px}
  header.v4-head nav.main .nav-dd-menu a:hover{background:transparent;color:var(--o-h)}

  /* Document is the scroller so iOS Safari/Chrome can rubber-band and
     pull-to-refresh. Do not lock html/body to 100dvh or use overflow:hidden
     — that blocks root overscroll. The hero still fills one screen. */
  html:has(header.v4-head),body:has(header.v4-head){
    height:auto;
    min-height:100svh;min-height:100dvh;
    max-height:none;
    overflow:visible;
    overflow-x:clip;
    overflow-y:visible;
    overscroll-behavior:auto;
    overscroll-behavior-y:auto;
  }
  section.v4-hero{
    --u:calc(100cqw / 1024);
    flex:1 1 auto;width:100%;padding:0;
    height:100svh;height:100dvh;
    min-height:100svh;min-height:100dvh;
    max-height:100svh;max-height:100dvh;
  }
  /* Scale the photo up and pin it to the top so the drill tip / sparks
     land in the free band below the text. 72% 28% cover left the action
     behind the headline. Aspect ratio is unchanged. */
  .v4-hero-photo{overflow:hidden}
  .v4-hero-photo img{
    position:absolute;top:0;left:55%;
    width:auto;max-width:none;
    height:calc(98.56% + 119.26px);
    object-fit:unset;object-position:unset;
    transform:translateX(-61.33%);
  }
  .v4-hero-fade{
    background:
      linear-gradient(90deg,
        #0B0C0E 0%,
        rgba(11,12,14,.92) 38%,
        rgba(11,12,14,.58) 58%,
        rgba(11,12,14,.22) 80%,
        rgba(11,12,14,.10) 100%),
      linear-gradient(180deg,
        rgba(11,12,14,.4) 0%,
        rgba(11,12,14,.16) 16%,
        transparent 38%,
        rgba(20,21,24,.35) 84%,
        #141518 100%),
      radial-gradient(ellipse 80% 42% at 0% 100%, rgba(251,117,22,.28), transparent 70%);
  }
  .v4-hero-in{
    position:absolute;inset:0;z-index:2;height:auto;max-width:none;
    display:flex;flex-direction:column;justify-content:flex-start;
    padding:156px 22px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .v4-label,.v4-h1,.v4-sub,.v4-btn-hero,.v4-made,.v4-feats{position:static;left:auto;top:auto}
  .v4-label{order:1;font-size:11px;letter-spacing:.15em}
  .v4-label::after{content:none;display:none}
  /* Services sit between the eyebrow and the headline; old 28px gap under the H1 is removed. */
  .v4-sub{
    order:2;margin:34px 0 0;max-width:none;width:100%;
    justify-content:space-between;
    font-size:clamp(10px, calc((100vw - 44px) * 10 / 331), 13px);
    font-weight:500;line-height:1.2;letter-spacing:.06em;
    text-transform:uppercase;color:rgba(176,178,180,.58)
  }
  .v4-sub .v4-sub-gap{padding:0 .25em;min-width:0;color:inherit}
  /* A little extra space so the headline sits slightly lower under the services line. */
  .v4-h1{
    order:3;margin:16px 0 0;max-width:none;width:100%;
    display:flex;flex-direction:column;align-items:flex-start;
    font-family:Archivo,sans-serif;font-weight:900;font-stretch:125%;
    font-variation-settings:"wdth" 125,"wght" 900;
    text-transform:uppercase;letter-spacing:-.04em;line-height:.88;
    color:#F5F5F4;
    /* Longest line at ~73% of content width (comfortable margins, not edge-to-edge). */
    --fit:calc(100vw - 44px);
    font-size:calc(var(--fit) * 73 / 1166.2)
  }
  .v4-h1 br{display:none}
  .v4-h1 .v4-h1-line,
  .v4-h1 .v4-h1-a,.v4-h1 .v4-h1-b{
    display:block;width:auto;max-width:100%;white-space:nowrap;
    font-family:inherit;font-weight:900;font-stretch:125%;
    font-variation-settings:"wdth" 125,"wght" 900;
    letter-spacing:inherit;font-size:1em
  }
  /* Orange accent stays inline so a mixed line (e.g. "into precision parts") can share one row. */
  .v4-h1 .v4-em{display:inline;color:#F86F14;font-style:normal;font-weight:inherit}
  .v4-h1 .v4-h1-line.v4-em{display:block}
  /* 2a: orange line a little larger than the two white lines. */
  .v4-h1-2a{letter-spacing:-.045em}
  .v4-h1-2a .v4-h1-line.v4-em{font-size:1.18em;line-height:.9}
  /* 2b: tighter tracking so the shorter lines can run larger. */
  .v4-h1-2b{letter-spacing:-.07em}
  /* 2c: small sentence-case kicker, then two huge orange words. */
  .v4-h1-2c{letter-spacing:-.05em}
  .v4-h1-2c .v4-h1-kicker{
    display:block;margin:0 0 8px;width:100%;
    font-family:"Inter Tight",Inter,system-ui,sans-serif;
    font-weight:500;font-stretch:normal;font-variation-settings:normal;
    font-size:clamp(13px, 3.6vw, 15px);line-height:1.2;
    letter-spacing:.04em;text-transform:none;color:#F5F5F4;
    white-space:normal;
  }
  .v4-h1-2c .v4-h1-huge{display:block;width:100%}
  .v4-h1-2c .v4-h1-huge .v4-h1-line{
    display:block;margin:0;font-size:1em;
  }
  /* 2d: underline needs a little room under the tight mobile line-height. */
  .v4-h1-2d .v4-em{
    text-decoration:underline;
    text-decoration-color:#F86F14;
    text-decoration-thickness:2px;
    text-underline-offset:.12em;
  }
  .v4-h1-2d{padding-bottom:4px}
  .v4-btn-hero{order:4;margin:auto 0 0;height:50px;font-size:15px;padding:0 24px 0 26px;gap:8px}
  .v4-feats{
    order:5;margin:24px auto 0;width:100%;max-width:100%;
    align-self:stretch;justify-content:space-between;
    display:flex;flex-wrap:nowrap;align-items:center;gap:0
  }
  .v4-feats .v4-feat-extra{display:flex}
  .v4-feats li+li,
  .v4-feats li:nth-child(even){
    padding-left:5px;margin-left:5px;
    border-left:1px solid rgba(180,180,184,.32)
  }
  .v4-made{
    order:6;margin:64px auto 0;max-width:100%;width:auto;
    align-self:center;
    font-size:8px;font-weight:500;line-height:1.45;letter-spacing:.26em;
    text-transform:uppercase;color:rgba(176,178,180,.58);
    white-space:nowrap;text-align:center
  }
  /* Mobile burger: About + Contact only. Desktop nav is unchanged (outside this query). */
  header.v4-head nav.main .nav-dd{display:none!important}
  .v4-feat{font-size:9.5px;gap:3px}
  .v4-feat svg{width:12px}
  .v4-glow{width:220px;height:200px;bottom:0;left:0}
  .v4-swoosh{top:auto;bottom:0;left:0;width:min(320px,85%);height:auto}
  .v4-arc{top:72px;width:140%;height:90px}
  footer.v3-legal{display:none!important}
}

/* Phones only: outline CTA (desktop keeps the solid orange pill). */
@media (max-width:768px){
  .v4-btn-hero{
    width:100%;
    min-height:44px;
    height:50px;
    box-sizing:border-box;
    background:rgba(11,12,14,.42);
    color:var(--o)!important;
    border:2px solid var(--o);
    border-radius:16px;
    gap:10px;
    box-shadow:none;
  }
  .v4-btn-hero:hover,
  .v4-btn-hero:active{
    background:rgba(251,117,22,.12);
    color:var(--o)!important;
  }
  .v4-btn-hero .v4-arr{color:inherit;margin:0}
}

@media (max-width:374px){
  .v4-feat{font-size:9px;gap:3px}
  .v4-feat svg{width:11px}
  .v4-feats li+li,
  .v4-feats li:nth-child(even){padding-left:5px;margin-left:5px}
}
@media (max-width:359px){
  /* 320: keep 7px so the caption stays one line; .26em still fits the content width. */
  .v4-made{font-size:7px;letter-spacing:.26em}
  .v4-feat{font-size:8.5px;gap:2px}
  .v4-feat svg{width:10px}
  .v4-feats li+li,
  .v4-feats li:nth-child(even){padding-left:3px;margin-left:3px}
  /* 320: four services will not fit one line at a readable size — two balanced rows of two. */
  .v4-sub{
    display:grid;grid-template-columns:1fr auto 1fr;column-gap:8px;row-gap:6px;
    width:100%;max-width:none;font-size:11px;justify-items:stretch
  }
  .v4-sub .v4-sub-gap:nth-child(4){display:none}
  .v4-sub .v4-svc:nth-child(1),
  .v4-sub .v4-svc:nth-child(5){justify-self:start;text-align:left}
  .v4-sub .v4-svc:nth-child(3),
  .v4-sub .v4-svc:nth-child(7){justify-self:end;text-align:right}
  .v4-sub .v4-sub-gap{flex:none;min-width:0;justify-self:center}
}

/* Slim legal line + the same Desktop/Mobile version toggle other pages use. */
footer.v3-legal{
  flex:0 0 auto;max-width:1440px;width:100%;margin:0 auto;
  padding:4px 20px max(10px, env(safe-area-inset-bottom, 0px));
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 10px;
  background:#141518!important;color:#8B9198;border:0!important;
  font-family:Inter,system-ui,sans-serif;font-size:12px;line-height:1;letter-spacing:.02em;
  border-image:linear-gradient(#141518,#141518) fill 0/0/0 100vw;
}
footer.v3-legal a{color:#A7ADB3;text-decoration:none}
footer.v3-legal a:hover,footer.v3-legal a:focus-visible{color:#F2F3F4}
footer.v3-legal a:focus-visible{outline:2px solid #FF8A3D;outline-offset:3px;border-radius:4px}
footer.v3-legal .vm-link{
  display:none;margin-left:0;color:#FB7516;text-decoration:underline;text-underline-offset:3px;
  min-height:44px;min-width:44px;padding:0 4px;align-items:center;
}
html.vm-on footer.v3-legal .vm-link{display:inline-flex!important}
footer.v3-legal .vm-link::before{content:none;margin:0}
footer.v3-legal .vm-sep{display:none;color:#8B9198}
html.vm-on footer.v3-legal .vm-sep{display:inline}

/* Phone "Desktop version" (html.vm-desktop, viewport width=1280, tall portrait layout
   viewport). Keep the 1440×900 composition: hero height = width × 0.625, then centre
   the hero + footer on the dark page. Real landscape desktops do not get .vm-desktop.
   The max-width:859px mobile layout is also unchanged (this viewport is 1280). */
html.vm-desktop .v4-frame{position:relative;flex:0 0 auto;width:100%;max-width:1440px;margin:0 auto;min-height:0}
html.vm-desktop body:has(header.v4-head){justify-content:center}
html.vm-desktop body:has(header.v4-head) main{flex:0 0 auto}
html.vm-desktop section.v4-hero{
  flex:0 0 auto;
  width:100%;
  height:calc(100vw * 0.625);
  max-height:none;
  min-height:0;
  --u:min(calc(100cqw / 1024), calc((100vw * 0.625) / 700));
}
@media (min-width:1000px) and (orientation:portrait){
  /* Same proportion if a tall/portrait layout is at desktop width without the class. */
  body:has(header.v4-head){justify-content:center}
  body:has(header.v4-head) main{flex:0 0 auto}
  .v4-frame{position:relative;flex:0 0 auto;width:100%;max-width:1440px;margin:0 auto}
  section.v4-hero{
    flex:0 0 auto;
    width:100%;
    height:calc(100vw * 0.625);
    max-height:none;
    min-height:0;
    --u:min(calc(100cqw / 1024), calc((100vw * 0.625) / 700));
  }
}

.v4-swoosh-ext{display:none}
/* ---- wide desktops (>1440): full-bleed natively wide hero. Text stays in a 1440 column.
   Nav/header unchanged. No header gradient. Mobile and ≤1440 typography unchanged. ---- */
@media (min-width:1441px){
  section.v4-hero{max-width:none;width:100%}
  .v4-hero-in{
    max-width:1440px;width:100%;margin:0 auto;
    margin-left:max(calc(6vw - 60 * var(--u)), calc(0.4 * (50% - 720px)));
  }
  /* Logo left edge matches the text column. Nav and header CTA stay put.
     Header --u is 1440cqw/1024; text uses the hero --u, so the shift is
     written in viewport units to land on the same x as .v4-label. */
  header.v4-head{
    --v4-text-u:min(calc(100vw / 1024), calc((100dvh - 56px) / 700));
    --v4-text-in:max(calc(6vw - 60 * var(--v4-text-u)), calc(0.4 * (50vw - 720px)));
  }
  header.v4-head .logo{
    left:calc(var(--v4-text-in) + 60 * var(--v4-text-u) - (50vw - 720px) - 60 * var(--u));
  }
  .v4-hero-photo img{object-fit:cover;object-position:center 50%}
  .v4-arc{left:max(calc(6vw - 60 * var(--u)), calc(0.4 * (50% - 720px)))}
  /* Twice the default 49*u gap under the CTA, still clear of the footer. */
  .v4-feats{top:calc(637 * var(--u))}
  /* No gutter extension. Dissolve the swoosh's own left edge into the
     full-bleed photo over 250px so there is no hard vertical join. */
  .v4-swoosh{
    left:max(0px,calc(50% - 720px));
    -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 250px);
    mask-image:linear-gradient(90deg, transparent 0, #000 250px);
  }
  /* One ellipse centred on the column edge (50%/720 was resolved against
     this box, not the viewport, so the glow used to sit off-canvas). */
  .v4-glow{
    left:0;
    width:max(calc(280 * var(--u)), calc(50% - 720px + 280 * var(--u)));
    height:calc(230 * var(--u));
    background:radial-gradient(ellipse calc(280 * var(--u)) calc(207 * var(--u)) at calc(100% - 280 * var(--u)) 78%,
      rgba(251,117,22,.62) 0%,
      rgba(220,90,16,.34) 24%,
      rgba(160,65,12,.14) 50%,
      transparent 74%);
  }
  .v4-hero-fade{
    background:
      linear-gradient(90deg,
        rgba(11,12,14,.40) 0%,
        #0B0C0E calc(50% - 720px + 345.6px),
        rgba(11,12,14,.94) calc(50% - 720px + 518.4px),
        rgba(11,12,14,.62) calc(50% - 720px + 691.2px),
        rgba(11,12,14,.22) calc(50% - 720px + 864px),
        rgba(11,12,14,.06) calc(50% - 720px + 1036.8px),
        transparent calc(50% - 720px + 1209.6px)),
      linear-gradient(270deg, rgba(11,12,14,.5) 0%, rgba(11,12,14,.15) 14%, transparent 32%),
      linear-gradient(180deg,
        rgba(11,12,14,.22) 0%,
        transparent 14%,
        transparent 78%,
        rgba(20,21,24,.4) 90%,
        #141518 100%),
      radial-gradient(ellipse 1008px 55% at calc(50% - 720px) 100%, rgba(251,117,22,.42), rgba(251,117,22,.14) 40%, transparent 70%);
  }
}
