/* Home v5. Scoped to body.hv5 (EN and ES home only).
   Service video previews, centred reel sound, calmer cards, no decorative rings.
   Everything is visible without JS. html.hv5-motion is added by home-v5.js and only
   then do below-the-fold items start in their pre-entrance state. Motion is transform and opacity. */
.hv5{--v5-ink:#0d1b28;--v5-navy:#0d1b28;--v5-deep:#0a1622;--v5-gold:#e0c28a;--v5-gold-2:#ecd3a3;--v5-bronze:#825b31;--v5-num:#b2854a;--v5-paper:#fafaf7;--v5-line:#e6e2d8;--v5-muted:#4b5961;--v5-teal:#1cb0c3;--v5-tint:#f6f2e9;--v5-ease:cubic-bezier(.2,.7,.2,1)}

/* CLS. journey.js turns the in-flow header into a fixed overlay and the intro into a full-viewport stage
   after first paint, which moved <main> up by the header height. An inline <head> script adds html.hv5-jpre
   only when journey.js will enhance (motion allowed, no Save-Data), so the first paint already has that
   geometry. home-v5.js removes the class once journey.js has applied its own classes or fallen back. */
html.hv5-jpre .journey-home .header-shell{position:fixed;inset:0 0 auto;background:transparent;border:0;isolation:isolate}
html.hv5-jpre .journey-home .header-shell::before{content:'';position:absolute;inset:0;z-index:-1;background:#0d1b28;border-bottom:1px solid #e0c28a24;opacity:var(--nav-reveal,0);pointer-events:none}
html.hv5-jpre .journey-home .mega-disclosure>summary{color:var(--paper)}
html.hv5-jpre .journey:not(.is-enhanced) .journey-intro{min-height:100vh;min-height:100svh;padding:calc(var(--journey-header) + 32px) 6.5% 90px;align-items:center}
html.hv5-jpre .journey:not(.is-enhanced) .journey-intro .journey-copy{max-width:min(47vw,640px)}
@media (max-width:1100px){
  html.hv5-jpre:not(.shell-ready) .journey-home .mega-navigation{display:none}
  html.hv5-jpre:not(.shell-ready) .journey-home .site-header{height:var(--journey-header);min-height:0;flex-wrap:nowrap}
  html.hv5-jpre:not(.shell-ready) .journey-home .header-right::after{content:'';flex:none;width:44px;height:44px}
}
@media (max-height:740px) and (min-width:761px) and (orientation:landscape){
  html.hv5-jpre .journey:not(.is-enhanced) .journey-intro{padding-top:calc(var(--journey-header) + 16px);padding-bottom:72px}
}
@media (max-width:760px),(orientation:portrait){
  html.hv5-jpre .journey:not(.is-enhanced) .journey-intro{padding:calc(var(--journey-header) + 30px) 6% 76px;align-items:center}
  html.hv5-jpre .journey:not(.is-enhanced) .journey-intro .journey-copy{max-width:100%}
}

/* 3. No decorative rings, arcs or bubbles on the home */
.hv5 .cs-orn,.hv5 .hv4-ring,.hv5 .hv4-par{display:none!important}
.hv5 .process-section::before,.hv5 .process-section::after{content:none!important}

/* ---------- Media tile (preview loop + full video) ---------- */
.hv5-media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:#13283a;isolation:isolate;color:#fff;text-decoration:none;-webkit-tap-highlight-color:transparent;cursor:pointer}
.hv5-media img,.hv5-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border:0}
.hv5-media img{scale:1.2;transition:scale .7s var(--v5-ease)}
.hv5-media video{z-index:1;opacity:0;scale:1.2;transition:opacity .35s ease}
.hv5-media.is-previewing video{opacity:1}
.hv5-media::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(10,22,34,0) 52%,rgba(10,22,34,.5) 100%)}
.hv5-play{position:absolute;z-index:3;left:50%;top:50%;width:62px;height:62px;translate:-50% -50%;border-radius:50%;background:var(--v5-gold);display:grid;place-items:center;box-shadow:0 12px 26px -12px rgba(0,0,0,.7),0 0 0 4px rgba(13,27,40,.18);transition:scale .3s var(--v5-ease),background-color .2s ease}
.hv5-play svg{width:24px;height:24px;fill:var(--v5-navy);margin-left:3px}
.hv5-play-label{width:auto;height:64px;padding:0 26px 0 8px;border-radius:999px;display:flex;align-items:center;gap:14px;color:var(--v5-navy);font:600 1.05rem/1 'DM Sans',sans-serif;white-space:nowrap}
.hv5-play-label svg{box-sizing:content-box;width:20px;height:20px;padding:14px 13px 14px 15px;margin:0;border-radius:50%;background:var(--v5-navy);fill:var(--v5-gold)}
.hv5-play-label b{font-weight:600}
.hv5-len{position:absolute;z-index:3;right:12px;bottom:12px;padding:6px 9px;border-radius:6px;background:var(--v5-deep);color:#fff;font:600 .78rem/1 'DM Sans',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.hv5-media:hover img{scale:1.26}
.hv5-media:hover .hv5-play,.hv5-media:focus-visible .hv5-play{scale:1.08;background:var(--v5-gold-2)}
.hv5-media:active .hv5-play{scale:.96}
.hv5-media:focus-visible{outline:3px solid var(--v5-gold);outline-offset:3px}
.hv5-media.is-previewing .hv5-play{scale:.9}
.hv5-media.is-previewing:hover .hv5-play{scale:1.04}

/* ---------- 1 + 5. Start with the problem in front of you ---------- */
.hv5 .hv4-services{padding:clamp(80px,9vw,132px) 0 clamp(72px,8vw,112px);overflow:clip}
.hv5 .hv5-head{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(28px,5vw,72px);align-items:center;margin-bottom:clamp(44px,6vw,84px)}
.hv5 .hv5-head h2{font-size:clamp(2.6rem,5.1vw,4.8rem);line-height:1;letter-spacing:-.045em;font-weight:500;margin:0;max-width:12ch;color:var(--v5-ink)}
.hv5 .hv5-head-copy p{margin:26px 0 0;font-size:clamp(1.05rem,1.3vw,1.2rem);line-height:1.55;color:var(--v5-muted);max-width:34ch}
.hv5-feature-video{margin:0;min-width:0}
.hv5-media-xl{border-radius:24px;box-shadow:0 34px 64px -38px rgba(13,27,40,.6),0 0 0 1px rgba(13,27,40,.06)}
.hv5-media-xl .hv5-len{right:18px;bottom:18px;font-size:.85rem;padding:7px 11px}
.hv5-feature-video figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-top:18px;font-size:1rem;line-height:1.5;color:var(--v5-muted)}
.hv5-feature-video figcaption strong{color:var(--v5-ink);font-weight:600}

.hv5 .hv4-group{position:relative;grid-template-columns:minmax(190px,232px) minmax(0,1fr);gap:clamp(24px,4vw,60px);padding-block:clamp(40px,5vw,64px);border-top:1px solid var(--v5-line)}
.hv5 .hv4-group::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--v5-gold);transform-origin:0 50%;transform:scaleX(var(--hv5-p,0));pointer-events:none}
.hv5 .hv4-glabel{align-self:start;position:sticky;top:140px}
.hv5 .hv4-glabel .n{display:block;margin:0 0 16px;font:500 clamp(4.2rem,7vw,6.75rem)/.84 'DM Sans',sans-serif;letter-spacing:-.065em;color:var(--v5-num);font-variant-numeric:tabular-nums}
.hv5 .hv4-glabel .t{font-size:clamp(1.45rem,2vw,1.8rem);line-height:1.15;letter-spacing:-.025em;font-weight:500;color:var(--v5-ink)}
.hv5 .hv4-watch{margin-top:20px;gap:10px;min-height:46px;padding:5px 16px 5px 5px;border:0;background:var(--v5-navy);color:#fff;font-size:.92rem;font-weight:500;line-height:1.25;transition:background-color .2s ease,scale .25s var(--v5-ease)}
.hv5 .hv4-watch i{width:36px;height:36px;background:var(--v5-gold)}
.hv5 .hv4-watch i svg{width:13px;height:13px;fill:var(--v5-navy)}
.hv5 .hv4-watch:hover{transform:none;background:#18324a;color:#fff}
.hv5 .hv4-watch:active{scale:.97}

.hv5 .hv4-cards{gap:20px;align-items:stretch}
.hv5 .hv4-cards:has(> .hv4-wide){--cols:2!important;align-items:start}
.hv5 .hv4-cards article.hv4-wide{grid-column:auto}
.hv5 .hv4-cards article{padding:10px 10px 24px;border:1px solid var(--v5-line);border-radius:22px;background:#fff;box-shadow:0 1px 2px rgba(13,27,40,.04);transform:perspective(1100px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(calc(var(--lift,0px) + var(--hv5-par,0px)));transition:box-shadow .45s var(--v5-ease),border-color .3s ease,opacity .7s ease,translate .9s var(--v5-ease),scale .9s var(--v5-ease)}
.hv5 .hv4-cards article:hover{transform:perspective(1100px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(calc(var(--lift,0px) + var(--hv5-par,0px)))}
/* Depth layer (home-v5.js sets --hv5-par while scrolling). Locked to the scroll, no transition, except on fine
   pointers where the cards ease for the tilt. */
.hv5 .hv4-services :is(.hv5-terms,.hv4-after,#home-small-projects){transform:translate3d(0,var(--hv5-par,0px),0)}
.hv5 .hv4-cards article>:not(.hv5-media){margin-inline:18px}
.hv5 .hv4-cards article>.hv5-media{margin:0 0 22px}
.hv5 .hv4-cards h3{font-size:clamp(1.28rem,1.55vw,1.5rem);line-height:1.2;letter-spacing:-.022em;margin-bottom:8px;color:var(--v5-ink)}
.hv5 .hv4-cards p{font-size:1rem;line-height:1.55;color:var(--v5-muted);margin-bottom:16px}
.hv5 .hv4-cards article>p:nth-of-type(2){margin-top:auto;margin-bottom:0;padding:12px 14px;border:0;border-left:3px solid var(--v5-gold);border-radius:0 10px 10px 0;background:var(--v5-tint);color:var(--v5-ink);font-weight:600;font-size:.97rem;line-height:1.5}
.hv5 .hv4-cards .text-link{margin-top:18px;font-size:.95rem}
.hv5 .hv4-cards .text-link::after{display:inline-block;transition:translate .25s var(--v5-ease)}
.hv5 .hv4-cards article:hover .text-link::after,.hv5 .hv4-cards .text-link:focus-visible::after{translate:5px 0}
.hv5 .hv4-cards .text-link:focus-visible{outline:2px solid var(--v5-bronze);outline-offset:3px}
@media (hover:hover) and (pointer:fine){
  .hv5 .hv4-cards article{transition:transform .5s var(--v5-ease),box-shadow .45s var(--v5-ease),border-color .3s ease,opacity .7s ease,translate .9s var(--v5-ease),scale .9s var(--v5-ease)}
  .hv5 .hv4-services :is(.hv5-terms,.hv4-after,#home-small-projects){transition:transform .5s var(--v5-ease)}
  .hv5 .hv4-cards article:hover{--lift:-6px;border-color:#d8ccb4;box-shadow:0 34px 56px -34px rgba(13,27,40,.5)}
  .hv5 .hv4-cards article.hv4-feature:hover{border-color:var(--v5-navy);box-shadow:0 34px 60px -30px rgba(13,27,40,.75)}
}

/* Business Health Check: the navy feature, media left */
.hv5 .hv4-cards article.hv4-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:1fr auto auto auto auto 1fr;column-gap:clamp(24px,3.5vw,48px);padding:12px clamp(20px,3vw,44px) 12px 12px;background:var(--v5-navy);border-color:var(--v5-navy);overflow:hidden}
.hv5 .hv4-feature>.hv5-media{grid-column:1;grid-row:1/-1;align-self:center;margin:0;border-radius:16px}
.hv5 .hv4-cards article.hv4-feature>:not(.hv5-media){grid-column:2;margin-inline:0}
.hv5 .hv4-feature>h3{grid-row:2;font-size:clamp(1.7rem,2.5vw,2.25rem);margin:24px 0 10px;color:#fff}
.hv5 .hv4-feature>p:first-of-type{grid-row:3;color:#d5dde3;font-size:1.06rem;margin:0}
.hv5 .hv4-cards article.hv4-feature>p:nth-of-type(2){grid-row:4;grid-column:2;align-self:start;margin:18px 0 0;padding:14px 16px;border-left:3px solid var(--v5-gold);border-radius:0 10px 10px 0;background:#14293b;color:#fff;font-weight:500;font-size:1rem;line-height:1.6}
.hv5 .hv4-cards .hv4-feature>.text-link{grid-row:5;margin:20px 0 24px}

/* Fractional GM disclosure and the 90-day terms note. Open without JS. */
.hv5 .hv5-more{margin-top:auto;border-top:1px solid #efebe2}
.hv5 .hv5-more summary,.hv5 .hv5-terms summary{list-style:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hv5 .hv5-more summary::-webkit-details-marker,.hv5 .hv5-terms summary::-webkit-details-marker{display:none}
.hv5 .hv5-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding-top:4px;font-weight:600;font-size:.95rem;color:var(--v5-ink)}
.hv5 .hv5-more summary::after,.hv5 .hv5-sum-hint::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--v5-bronze);border-bottom:2px solid var(--v5-bronze);rotate:45deg;translate:0 -2px;transition:rotate .3s var(--v5-ease),translate .3s var(--v5-ease)}
.hv5 .hv5-more[open] summary::after,.hv5 .hv5-terms[open] .hv5-sum-hint::after{rotate:225deg;translate:0 2px}
.hv5 .hv5-more p{margin:2px 0 4px;font-size:.95rem;line-height:1.6;color:var(--v5-muted)}
.hv5 .hv5-more summary:focus-visible,.hv5 .hv5-terms summary:focus-visible{outline:2px solid var(--v5-bronze);outline-offset:4px;border-radius:6px}

.hv5 .hv4-services .v25-term-note.hv5-terms{display:block;margin:16px 0 0;padding:0;border:1px solid var(--v5-line);border-radius:20px;background:#fff}
.hv5 .hv5-terms summary{display:flex;align-items:center;justify-content:space-between;gap:10px 28px;flex-wrap:wrap;padding:20px 26px;min-height:48px}
.hv5 .hv5-terms summary strong{flex:1 1 380px;font-weight:600;font-size:1rem;line-height:1.5;color:var(--v5-ink)}
.hv5 .hv5-sum-hint{display:inline-flex;align-items:center;gap:10px;font-size:.9rem;font-weight:600;color:var(--v5-bronze)}
.hv5 .hv5-terms-body{display:grid;grid-template-columns:1fr 1fr;gap:10px 48px;padding:0 26px 24px}
.hv5 .hv4-services .hv5-terms-body p{margin:0;font-size:.93rem;line-height:1.6;color:#3f4c55}
.hv5 .hv4-services .hv5-terms-body p:first-child{grid-column:auto;font-size:.93rem;color:#3f4c55;margin:0}
.hv5 .hv4-services .hv5-terms-body a{color:var(--v5-ink)}

.hv5 .hv4-after{margin-top:24px}
.hv5 .hv4-after a{text-decoration:underline;text-underline-offset:.18em;text-decoration-color:var(--v5-gold);text-decoration-thickness:2px}
.hv5 .hv4-services #home-small-projects .launch-crosslinks a{display:inline-flex;align-items:center;gap:10px;transition:border-color .2s ease,background-color .2s ease,translate .3s var(--v5-ease)}
.hv5 .hv4-services #home-small-projects .launch-crosslinks a::after{content:"\2192";color:var(--v5-bronze);transition:translate .25s var(--v5-ease)}
.hv5 .hv4-services #home-small-projects .launch-crosslinks a:hover{border-color:var(--v5-ink);background:#fff}
.hv5 .hv4-services #home-small-projects .launch-crosslinks a:hover::after{translate:4px 0}
.hv5 .hv4-services #home-small-projects .launch-crosslinks a:focus-visible{outline:2px solid var(--v5-bronze);outline-offset:3px}

/* ---------- 2. Reel: big centred sound button, then a corner mute toggle ---------- */
.hv5 .hv4-reel{isolation:isolate}
.hv5 .hv4-sound{left:50%;top:50%;translate:-50% -50%;gap:14px;min-height:68px;padding:8px 28px 8px 8px;border:0;border-radius:999px;background:var(--v5-gold);color:var(--v5-navy);white-space:nowrap;font:600 1.08rem/1.1 "DM Sans",sans-serif;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 20px 44px -18px rgba(0,0,0,.85),0 0 0 6px rgba(10,22,34,.35);transition:scale .25s var(--v5-ease),background-color .2s ease}
.hv5 .hv4-sound .ico{flex:none;width:52px;height:52px;border-radius:50%;background:var(--v5-navy);display:grid;place-items:center;position:relative}
.hv5 .hv4-sound svg{width:24px;height:24px;stroke:var(--v5-gold);stroke-width:2}
.hv5 .hv4-sound:hover{scale:1.05;background:var(--v5-gold-2)}
.hv5 .hv4-sound:active{scale:.97}
.hv5 .hv4-sound:focus-visible{outline:3px solid #fff;outline-offset:4px}
.hv5 .hv4-sound.is-on{left:16px;top:16px;translate:none;min-height:48px;gap:10px;padding:4px 16px 4px 4px;background:var(--v5-deep);color:#fff;font-size:.9rem;box-shadow:0 0 0 1px rgba(224,194,138,.5)}
.hv5 .hv4-sound.is-on .ico{width:40px;height:40px;background:var(--v5-gold)}
.hv5 .hv4-sound.is-on svg{width:20px;height:20px;stroke:var(--v5-navy)}
.hv5 .hv4-sound.is-on:hover{background:#13283a;scale:1}
.hv5 .hv4-sound.is-muted .ico::after{content:"";position:absolute;width:26px;height:2.5px;border-radius:2px;background:var(--v5-navy);rotate:-45deg}
.hv5 .hv4-dur{background:var(--v5-deep);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:rgba(224,194,138,.35)}
/* Without JS nothing marks the active slide, so every caption stays readable when swiping the track.
   html.hv5-js (home-v5.js) hands that back to hv4.js. */
html:not(.hv5-js) .hv5 .hv4-slide:not(.is-active) .hv4-cap{visibility:visible}

/* ---------- 4. Why Cornerstone (EN), Our work, Resources ---------- */
.hv5 #why-cornerstone > div.launch-cards:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}
.hv5 #why-cornerstone .launch-cards{gap:18px}
.hv5 #why-cornerstone .launch-cards article{position:relative;overflow:visible;border-radius:20px;border:1px solid var(--v5-line);background:#fff;box-shadow:none;padding:30px 28px;transition:border-color .3s ease,opacity .7s ease,translate .9s var(--v5-ease),scale .9s var(--v5-ease)}
/* Top accent: an overlay with the card's own radius and a 4px top border, so it covers the 1px top line
   and tapers along the outer rounded corners like a native border. */
.hv5 #why-cornerstone .launch-cards article::before,.hv5 .work-grid>article::before{content:"";position:absolute;inset:-1px;border-radius:inherit;border-top:4px solid var(--v5-gold);pointer-events:none;transform-origin:0 50%;transition:transform 1s var(--v5-ease) .15s}
.hv5 #why-cornerstone .launch-cards article:hover{border-color:#d8ccb4}

.hv5 .work-section .section-heading{align-items:end}
.hv5 .work-grid{gap:20px}
.hv5 .work-grid>article{position:relative;overflow:visible;border:1px solid var(--v5-line);border-radius:22px;background:#fff;padding:34px 36px 36px;box-shadow:none;transition:border-color .3s ease,opacity .7s ease,translate .9s var(--v5-ease),scale .9s var(--v5-ease)}
.hv5 .work-grid>article:nth-child(2)::before{border-top-color:var(--v5-teal)}
.hv5 .work-grid .eyebrow{display:inline-flex;align-items:center;margin:0 0 22px;padding:7px 12px;border-radius:8px;background:var(--v5-tint);color:#6b4824;font-size:.82rem;font-weight:600;letter-spacing:.01em;line-height:1.2}
.hv5 .work-grid h3{font-size:clamp(1.5rem,2.2vw,1.9rem);line-height:1.15;letter-spacing:-.025em;margin:0 0 14px;color:var(--v5-ink)}
.hv5 .work-grid p:last-child{font-size:1.02rem;line-height:1.6;max-width:52ch}
.hv5 .work-grid>article:hover{border-color:#d8ccb4}

.hv5 .resource-links{border:1px solid var(--v5-line);border-radius:22px;background:#fff;overflow:hidden;align-self:start}
.hv5 .resource-links>a{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px 26px;border:0;border-top:1px solid var(--v5-line);box-shadow:none;color:var(--v5-ink);text-decoration:none;transition:background-color .25s ease,opacity .7s ease,translate .9s var(--v5-ease),scale .9s var(--v5-ease)}
.hv5 .resource-links>a:first-child{border-top:0;padding-top:24px}
.hv5 .resource-links h3{font-size:1.3rem;letter-spacing:-.02em;margin:0 0 6px;color:var(--v5-ink);transition:none}
.hv5 .resource-links p{font-size:.98rem;color:var(--v5-muted)}
.hv5 .resource-links svg{box-sizing:border-box;width:46px;height:46px;padding:13px;border-radius:12px;border:1px solid var(--v5-line);color:var(--v5-bronze);background:#fff;transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .3s var(--v5-ease)}
.hv5 .resource-links a:hover{background:var(--v5-tint)}
.hv5 .resource-links a:hover h3{color:var(--v5-ink)}
.hv5 .resource-links a:hover svg,.hv5 .resource-links a:focus-visible svg{background:var(--v5-navy);border-color:var(--v5-navy);color:var(--v5-gold);transform:translate(3px,-3px)}
.hv5 .resource-links a:focus-visible{outline:2px solid var(--v5-bronze);outline-offset:-4px;border-radius:20px}

/* ---------- Entrances (only after JS adds html.hv5-motion) ---------- */
/* Two-way (csReveal in cs-motion.js): .hv5-pre is the out-of-view state; --rv-dir is -1 above the viewport, 1 below. */
html.hv5-motion .hv5-pre{opacity:0;translate:0 calc(var(--rv-dir,1) * 56px);scale:.95}
html.hv5-motion .hv5-pre.hv5-pre-x{translate:-36px calc(var(--rv-dir,1) * 10px);scale:1}
html.hv5-motion .hv5-pre.hv5-pre-soft{translate:0 calc(var(--rv-dir,1) * 28px);scale:1}
html.hv5-motion .hv5-rv{transition:opacity .7s ease var(--hv5-d,0ms),translate .9s var(--v5-ease) var(--hv5-d,0ms),scale .9s var(--v5-ease) var(--hv5-d,0ms)}
html.hv5-motion .hv4-cards article.hv5-rv{transition:box-shadow .45s var(--v5-ease),border-color .3s ease,opacity .7s ease var(--hv5-d,0ms),translate .9s var(--v5-ease) var(--hv5-d,0ms),scale .9s var(--v5-ease) var(--hv5-d,0ms)}
@media (hover:hover) and (pointer:fine){html.hv5-motion .hv4-cards article.hv5-rv{transition:transform .5s var(--v5-ease),box-shadow .45s var(--v5-ease),border-color .3s ease,opacity .7s ease var(--hv5-d,0ms),translate .9s var(--v5-ease) var(--hv5-d,0ms),scale .9s var(--v5-ease) var(--hv5-d,0ms)}}
html.hv5-motion .hv5-pre .hv5-media img{scale:1.36}
html.hv5-motion .hv5-pre::before{transform:scaleX(0)}
html.hv5-motion .hv5-pre.hv4-glabel .n{translate:0 calc(var(--rv-dir,1) * 30px)}

/* ---------- Lightbox ---------- */
.hv5-lb{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:clamp(12px,3vw,40px);border:0;background:#050c13;color:#fff;box-sizing:border-box}
.hv5-lb::backdrop{background:#050c13}
.hv5-lb[open]{display:grid;place-items:center}
.hv5-lb-box{width:min(1180px,100%);display:grid;gap:14px}
.hv5-lb.is-tall .hv5-lb-box{width:min(440px,100%)}
.hv5-lb-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hv5-lb-title{margin:0;font:500 clamp(1.05rem,2vw,1.4rem)/1.25 'DM Sans',sans-serif;letter-spacing:-.015em;color:#fff}
.hv5-lb-close{all:unset;box-sizing:border-box;flex:none;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px 0 14px;border-radius:999px;background:var(--v5-gold);color:var(--v5-navy);font:600 .95rem/1 'DM Sans',sans-serif;cursor:pointer}
.hv5-lb-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.2;fill:none}
.hv5-lb-close:hover{background:var(--v5-gold-2)}
.hv5-lb-close:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hv5-lb-frame{position:relative;justify-self:center;width:100%;aspect-ratio:16/9;max-height:calc(100dvh - 290px);max-width:calc((100dvh - 290px) * 16 / 9);border-radius:16px;overflow:hidden;background:#0d1b28;box-shadow:0 0 0 1px rgba(224,194,138,.3)}
.hv5-lb.is-tall .hv5-lb-frame{aspect-ratio:9/16;max-width:none}
.hv5-lb-frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#0d1b28}
.hv5-lb-frame video:focus-visible{outline:3px solid var(--v5-gold);outline-offset:-3px}
html.hv5-lb-open{overflow:hidden}
.hv5-lb-head{display:flex;align-items:baseline;gap:12px;min-width:0}
.hv5-lb-count{flex:none;font:500 .85rem/1 'DM Sans',sans-serif;color:#9fb0bb;font-variant-numeric:tabular-nums}
.hv5-lb-more{display:grid;gap:8px;min-width:0}
.hv5-lb-more-t{margin:0;font:500 .82rem/1.3 'DM Sans',sans-serif;letter-spacing:.02em;color:#9fb0bb}
.hv5-lb-strip{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:3px 3px 8px;scrollbar-width:thin;scrollbar-color:rgba(224,194,138,.45) transparent;-webkit-overflow-scrolling:touch}
.hv5-lb-item{all:unset;box-sizing:border-box;flex:0 0 auto;width:156px;display:grid;gap:6px;cursor:pointer;scroll-snap-align:start;border-radius:10px}
.hv5-lb-item img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;opacity:.62;transition:opacity .2s ease,box-shadow .2s ease;background:#0d1b28}
.hv5-lb-item span{font:500 .8rem/1.25 'DM Sans',sans-serif;color:#b9c6ce;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hv5-lb-item:hover img{opacity:.9}
.hv5-lb-item[aria-current] img{opacity:1;box-shadow:0 0 0 2px var(--v5-gold)}
.hv5-lb-item[aria-current] span{color:#fff}
.hv5-lb-item:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (prefers-reduced-motion: reduce){.hv5-lb-item img{transition:none}}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .hv5 .hv4-group{grid-template-columns:1fr;gap:26px}
  .hv5 .hv4-glabel{position:relative;top:auto;transform:translate3d(0,var(--hv5-par,0px),0);display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:20px;align-items:end;justify-items:start}
  .hv5 .hv4-glabel .n{grid-row:1/span 2;margin:0;font-size:clamp(3.9rem,8vw,5rem);align-self:center}
  .hv5 .hv4-glabel .t{align-self:end}
  .hv5 .hv4-watch{margin-top:12px}
  .hv5 .hv4-glabel:not(:has(.hv4-watch)) .n{grid-row:1}
  .hv5 .hv4-glabel:not(:has(.hv4-watch)) .t{align-self:center}
}
@media (max-width:900px){
  .hv5 .hv5-head{grid-template-columns:1fr;gap:32px}
  .hv5 .hv5-head h2{max-width:14ch}
  .hv5 .hv4-cards:not([style*="--cols:1"]){--cols:2!important}
  .hv5 .hv4-cards[style*="--cols:3"]{--cols:2!important}
  .hv5 .hv4-cards[style*="--cols:3"] article:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:4px;align-content:start}
  .hv5 .hv4-cards[style*="--cols:3"] article:last-child:nth-child(odd)>.hv5-media{grid-row:1/-1;margin:0 10px 0 0;align-self:start}
  .hv5 .hv4-cards[style*="--cols:3"] article:last-child:nth-child(odd)>:not(.hv5-media){grid-column:2}
  .hv5 .hv4-cards article.hv4-feature{grid-template-columns:1fr;grid-template-rows:none;padding:10px 10px 4px}
  .hv5 .hv4-feature>.hv5-media{grid-row:auto}
  .hv5 .hv4-cards article.hv4-feature>:not(.hv5-media){grid-column:1;grid-row:auto!important;margin-inline:16px}
  .hv5 .hv4-cards article.hv4-feature>p:nth-of-type(2){grid-column:1}
  .hv5 .hv5-terms-body{grid-template-columns:1fr}
  .hv5 #why-cornerstone > div.launch-cards:first-of-type{grid-template-columns:1fr}
}
@media (max-width:760px){
  .hv5 .hv4-services{padding-bottom:104px}
  .hv5 .hv4-cards[style*="--cols:3"],.hv5 .hv4-cards:not([style*="--cols:1"]),.hv5 .hv4-cards:has(> .hv4-wide){--cols:1!important}
  .hv5 .hv4-cards[style*="--cols:3"] article:last-child:nth-child(odd){grid-column:auto;display:flex}
  .hv5 .hv4-cards[style*="--cols:3"] article:last-child:nth-child(odd)>.hv5-media{margin:0 0 18px;align-self:stretch}
  .hv5 .hv4-cards{gap:16px}
  .hv5 .hv4-cards article{padding:8px 8px 22px;border-radius:20px}
  .hv5 .hv4-cards article>:not(.hv5-media){margin-inline:14px}
  .hv5 .hv4-cards article>.hv5-media{margin-bottom:18px}
  .hv5 .hv4-glabel .n{font-size:3.9rem}
  .hv5 .hv4-glabel .t{font-size:1.4rem}
  .hv5-play{width:58px;height:58px}
  .hv5-play.hv5-play-label{width:auto;height:58px;font-size:.98rem;padding-right:22px}
  .hv5-play-label svg{width:18px;height:18px;padding:12px 11px 12px 13px}
  .hv5-media-xl{border-radius:18px}
  .hv5 .hv5-terms summary{padding:18px 18px}
  .hv5 .hv5-terms-body{padding:0 18px 20px}
  .hv5 .hv4-sound{min-height:64px;font-size:1rem;padding-right:22px}
  .hv5 .hv4-sound .ico{width:48px;height:48px}
  .hv5 .hv4-sound.is-on{left:12px;top:12px}
  .hv5 .work-grid>article{padding:28px 24px 30px}
  .hv5 .resource-links>a{padding:20px 18px}
  .hv5 .resource-links svg{width:44px;height:44px;padding:12px}
  .hv5-lb{padding:10px}
  .hv5-lb-frame{max-height:calc(100dvh - 216px)}
  .hv5-lb.is-tall .hv5-lb-box{width:min(100%,calc((100dvh - 216px) * 9 / 16))}
  .hv5-lb-box{gap:10px}
  .hv5-lb-item{width:116px}
  .hv5-lb-more-t{font-size:.78rem}
}

@media (prefers-reduced-motion:reduce){
  .hv5 .hv4-cards article,.hv5-media img,.hv5-play,.hv5 .hv4-sound,.hv5 .hv4-watch,.hv5 .resource-links svg,.hv5 .hv4-group::before{transition:none!important}
  .hv5 .hv4-cards article,.hv5 .hv4-cards article:hover{transform:none!important}
  .hv5-media img,.hv5-media:hover img{scale:1;translate:none!important}
  .hv5 .hv4-glabel .n,.hv5 .hv4-glabel{translate:none!important;transform:none!important}
  .hv5 .hv4-services :is(.hv5-terms,.hv4-after,#home-small-projects){transform:none!important}
  html.hv5-motion .hv5-pre{opacity:1;translate:none;scale:1}
}
@media print{
  html.hv5-motion .hv5-pre{opacity:1;translate:none;scale:1}
  .hv5-play,.hv5-len{display:none}
}
