/* Workday V7 overrides (on top of overnight.css + v5.css + v6.css). C's sections restyled into G's look. Cool palette only. */

/* ---- 3. lanes: "Start with the work that eats your week." */
.v7-lanes{background:radial-gradient(ellipse at 50% 0%,rgba(91,63,160,.22),transparent 60%),#03050d;border-top:1px solid rgba(127,233,255,.15)}
.v7-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
@media (max-width:1060px){.v7-tiles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.v7-tiles{grid-template-columns:1fr}}
.v7-tile{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:rgba(10,17,38,.8);border:1px solid var(--line-2);box-shadow:0 24px 70px rgba(0,0,0,.35)}
.v7-pic{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--void)}
.v7-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.85)}
.v7-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(6,11,24,0) 40%,rgba(10,17,38,.95))}
.v7-tile-in{position:relative;padding:0 20px 22px;margin-top:-26px;text-align:left}
.v7-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--violet),var(--blue));box-shadow:0 0 0 1px rgba(140,111,224,.5),0 10px 30px rgba(45,90,175,.45);margin-bottom:14px}
.v7-ic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v7-tile h3{font:700 20px/1.15 var(--head);color:#fff}
.v7-line{font:700 15px var(--head);color:#7fe9ff;margin:6px 0 10px}
.v7-tile p:not(.v7-line){font-size:14.5px;color:var(--text-2)}
.v7-ph-row{margin-top:22px}

/* ---- 4. who we work with + where */
.v7-who{background:radial-gradient(ellipse at 50% 0%,rgba(41,182,201,.12),transparent 60%),var(--void);border-top:1px solid rgba(127,233,255,.15)}  /* order B: first section after HOME, full band padding */
.v7-who-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}
@media (max-width:900px){.v7-who-grid{grid-template-columns:1fr}}
.v7-who-col{border:1px solid var(--line-2);border-radius:20px;padding:26px;background:linear-gradient(180deg,rgba(18,32,58,.55),rgba(10,17,38,.55))}
.v7-who-col>p:last-child{margin-top:16px;color:var(--text-2);font-size:15.5px}
.v7-h2-sm{font-size:clamp(26px,3vw,38px)!important;margin:0 0 18px}
.v7-h3{font:700 clamp(22px,2.4vw,30px)/1.1 var(--head);color:#fff;margin:4px 0 18px}
.v7-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.v7-tags li{display:inline-flex;align-items:center;gap:9px;padding:9px 16px;border-radius:999px;font:600 15px var(--head);color:#fff;background:rgba(14,24,48,.75);border:1px solid var(--line-2)}
.v7-tags li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--teal-2);box-shadow:0 0 10px var(--teal-2)}
.v7-tags li[data-tone=v]::before{background:var(--violet-glow);box-shadow:0 0 10px var(--violet-glow)}
@media (max-width:760px){.v7-who-col{padding:20px}.v7-tags li{font-size:13.5px;padding:7px 12px}}

/* ---- product row: "We build the tools..." (round 4: name, a line or two, a See link) */
.v7-work{background:linear-gradient(to bottom,var(--void),#0b1530 45%,var(--void))}
.v7-prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:40px}
@media (max-width:1060px){.v7-prod-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.v7-prod-grid{grid-template-columns:1fr}}
.v7-prod{display:flex;flex-direction:column;gap:10px;border-radius:18px;padding:22px;background:linear-gradient(160deg,rgba(91,63,160,.28),rgba(10,17,38,.85) 55%);border:1px solid var(--line-2);text-align:left}
.v7-prod h3{font:700 24px/1.1 var(--head);color:#fff}
.v7-prod p{font-size:15px;color:var(--text-2)}
.v7-prod p a{color:#7fe9ff}
.v7-see-row{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
a.v7-see{font:600 15px var(--body);color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
a.v7-see::after{content:"";width:22px;height:1px;background:currentColor;transition:width .3s}
a.v7-see:hover::after,a.v7-see:focus-visible::after{width:36px}

/* ---- 10. FAQ: plain questions (no quote marks; those were G's objection style) */
.v7-objs .obj p{color:var(--text-2)}

/* ---- 11. about: the eyebrow sits on the background clip, so it gets the same dark chip as the scene eyebrows (contrast) */
.n-about .eyebrow{background:rgba(6,11,24,.82);padding:4px 10px;border-radius:999px;display:inline-block;width:auto;color:var(--teal-2)}
/* ---- 11. about facts */
.v7-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:26px auto 4px;max-width:980px;text-align:left}
@media (max-width:860px){.v7-facts{grid-template-columns:1fr;max-width:520px}}
.v7-fact{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:16px;background:rgba(6,11,24,.72);border:1px solid var(--line-2);backdrop-filter:blur(10px)}
.v7-fact b{display:block;font:700 16px var(--head);color:#fff;margin-bottom:4px}
.v7-fact span:not(.v7-dot){font-size:14px;color:var(--text-2)}
.v7-dot{flex:none;width:9px;height:9px;margin-top:6px;border-radius:50%;background:#7fe9ff;box-shadow:0 0 12px #7fe9ff}

/* ---- 13. steps, then the doors right under them (one flow) */
.v7-how{padding-bottom:clamp(24px,4vw,48px);background:linear-gradient(to bottom,var(--void),#0b1530)}
.v7-steps{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:s;position:relative}
.v7-steps::before{content:"";position:absolute;left:4%;right:4%;top:22px;height:1px;background:linear-gradient(90deg,transparent,rgba(127,233,255,.45),transparent)}
@media (max-width:900px){.v7-steps{grid-template-columns:repeat(2,1fr)}.v7-steps::before{display:none}}
@media (max-width:520px){.v7-steps{grid-template-columns:1fr}}
.v7-steps li{position:relative;padding:20px;border-radius:16px;background:rgba(10,17,38,.85);border:1px solid var(--line-2);text-align:left}
.v7-steps li:first-child{border-color:rgba(41,182,201,.7);box-shadow:0 0 40px rgba(41,182,201,.15)}
.v7-k{font:700 12px var(--head);letter-spacing:.14em;text-transform:uppercase;color:var(--teal-2)}
.v7-steps h3{font:700 20px var(--head);color:#fff;margin:8px 0 8px}
.v7-steps p:not(.v7-k){font-size:14.5px;color:var(--text-2)}
.v7-doors{padding-top:clamp(40px,6vw,70px);background:linear-gradient(to bottom,#0b1530,var(--void) 40%)}

/* ---- 16. HOME: C's scene on G's chapter */
.v7-home .ch-copy{grid-row:2}
.v7-home .ch-media img.poster,.v7-home .ch-media video{object-position:58% 40%}
.v7-home .v7-end{opacity:0}
html.reduced .v7-home .v7-end,html:not(.js) .v7-home .v7-end{opacity:1}
.ch-home .ch-media .scrim{background:linear-gradient(to bottom,rgba(6,11,24,.25),rgba(6,11,24,0) 30%,rgba(6,11,24,.55) 62%,rgba(6,11,24,.92) 84%)}
@media (max-width:760px){.v7-home .ch-media img.poster,.v7-home .ch-media video{object-position:38% 50%}}
/* desktop: the family is on the left of the frame, so the words sit bottom right over the siding */
@media (min-width:900px){
  .v7-home .ch-pin{justify-items:end}
  .v7-home .ch-copy{text-align:left;max-width:500px;margin-right:4vw}
  .v7-home .ch-copy .lede{margin-inline:0}
  .v7-home .v6-home-cta{justify-content:flex-start}
  .ch-home .ch-media .scrim{background:linear-gradient(90deg,rgba(6,11,24,0) 38%,rgba(6,11,24,.6) 64%,rgba(6,11,24,.9) 100%),linear-gradient(to bottom,rgba(6,11,24,.25),rgba(6,11,24,0) 30%,rgba(6,11,24,.45) 100%)}
}

/* ---- order B: after HOME the day is over, the clock pill fades out (data-clock="off"); instant with reduced motion */
.n-hud{transition:opacity .6s ease,transform .6s ease,visibility 0s linear 0s}
.n-hud.hud-off{opacity:0;transform:translateY(14px);visibility:hidden;transition:opacity .6s ease,transform .6s ease,visibility 0s linear .6s}
html.paused .n-hud.hud-off{transform:none}
html.reduced .n-hud,html.reduced .n-hud.hud-off{transition:none!important;transform:none}

/* ---- round 4: BOOKED / PAID / HOME are bright letters on a dark scrim (Carl: the multiply knock-out read as black
   on dark photos). Same fill and glow as the hero H1. Motion and timing unchanged (overnight.js). */
.ko{mix-blend-mode:normal!important;background:rgba(6,11,24,.84)!important}
.ko span{background:linear-gradient(180deg,#fff 45%,#b9c6ff)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent;filter:drop-shadow(0 6px 40px rgba(127,140,255,.4))!important}

/* ---- round 4: the one booking form (When you win, we win) */
.v7-book-card{max-width:780px;margin:30px auto 0;text-align:left;padding:26px;border-radius:22px;background:rgba(10,17,38,.88);border:1px solid var(--line-2);box-shadow:0 30px 90px rgba(0,0,0,.45);scroll-margin-top:90px}
.v7-form-h{font:700 24px/1.15 var(--head);color:#fff;margin:0 0 18px}
.v7-pick{border:0;margin:0 0 20px;padding:0;min-width:0}
.v7-pick legend{font:600 15px var(--body);color:#fff;margin:0 0 10px;padding:0}
.v7-pick-opts{display:flex;flex-wrap:wrap;gap:8px}
.v7-pick label{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border-radius:999px;border:1px solid var(--line-2);background:rgba(14,24,48,.8);font:600 14.5px var(--body);color:#fff;cursor:pointer}
.v7-pick input{accent-color:#29b6c9;width:17px;height:17px;margin:0;flex:none}
.v7-pick label:has(input:checked){border-color:var(--teal-2);background:rgba(41,182,201,.16);box-shadow:0 0 0 1px rgba(41,182,201,.55)}
.v7-pick label:has(input:focus-visible){outline:2px solid var(--teal-2);outline-offset:3px}
.v7-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.v7-fields label{display:grid;gap:6px;font:600 14px var(--body);color:var(--text)}
.v7-fields label span{color:var(--muted);font-weight:500}
.v7-fields .wide{grid-column:1/-1}
.v7-fields input,.v7-fields textarea{font:500 16px var(--body);color:#fff;background:rgba(6,11,24,.85);border:1px solid var(--line-2);border-radius:12px;padding:12px 14px;width:100%;box-sizing:border-box}
.v7-fields input:focus-visible,.v7-fields textarea:focus-visible{outline:2px solid var(--teal-2);outline-offset:1px;border-color:var(--teal-2)}
.v7-fields [aria-invalid=true]{border-color:#C9B8FF;box-shadow:0 0 0 2px rgba(201,184,255,.35)}
@media (max-width:620px){.v7-fields{grid-template-columns:1fr}.v7-book-card{padding:18px}}
.v7-err{margin:14px 0 0;font:600 14px var(--body);color:#C9B8FF}
.v7-go{margin-top:18px}
/* launch form: honeypot (clipped, never reached by people), Turnstile box (empty until it needs a tap), sending state */
.v7-book-card{position:relative}.v7-hp{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
.v7-hp label,.v7-hp input{display:block;width:1px;height:1px;overflow:hidden;padding:0;border:0;margin:0}
.v7-ts{max-width:100%;margin-top:14px}.v7-ts:empty{display:none}
.v7-go[disabled]{opacity:.7;cursor:progress}
.v7-proto{margin-top:12px}
.v7-done h3{font:700 24px var(--head);color:#fff;margin:0 0 8px}
.v7-done p{color:var(--text-2)}.v7-done a{color:#7fe9ff}
.v7-done:focus{outline:none}

/* ---- round 5: phone pass (narrow screens only; desktop unchanged). Mins: body and lede 17px, card and list text 16px,
   small labels 13px, stand-in badges 12px, tap targets 44px tall. Headings a little larger so they fill the width. */
@media (max-width:760px){
  .lede,.ch-copy .lede,.v6-hero .v5-sub,.v5-sub{font-size:17px!important;line-height:1.55}
  .v5-h1{font-size:clamp(40px,11.4vw,56px)!important}
  .h2{font-size:clamp(34px,9.6vw,44px)}
  .v7-h2-sm{font-size:32px!important}
  .v6-hook{font-size:24px}
  /* card and list text */
  .v5-cd,.v5-cat li,.v7-tile p:not(.v7-line),.v7-prod p,.door p,.obj p,.v7-steps p:not(.v7-k),.v7-who-col p,.v7-who-col>p:last-child,
  .v7-fact span:not(.v7-dot),.v7-tags li,.v7-done p,.site-foot,.site-foot p,.site-foot li{font-size:16px}
  .v7-line,a.v7-see,.door .go{font-size:16px}
  .v5-cat h3{font-size:20px}.obj h3{font-size:18px}.v7-fact b{font-size:17px}
  .v7-tags li{padding:10px 14px}
  /* small labels */
  .v7-k,.door .num{font-size:13px}
  .v6-card .g-dh,.v6-ring em,.v6-sms-from,.v6-from,.v6-chips em{font-size:13px}
  .v6-steps li,.v6-chips li{font-size:13.5px}
  .v6-sms b{font-size:15px}
  .v7-fields label,.v7-pick legend{font-size:15px}
  .cta-fine,.foot-fine{font-size:13px}
  /* stand-in badges */
  .ph,.demo-tag{font-size:12px}
  /* tap targets */
  .btn{font-size:16px;min-height:48px}
  .site-head .btn,.site-head .btn-primary{font-size:14px;min-height:44px;padding:10px 14px}
  .site-head .logo{min-height:44px}
  .motion-toggle{min-height:44px;font-size:14px;padding:10px 16px}
  a.v7-see{min-height:44px}
  .v7-pick label{min-height:46px;font-size:15px}
  .site-foot a{display:inline-flex;align-items:center;min-height:44px}
  .site-foot ul{gap:0}
}

/* ---- round 6 (Carl's Android phone, Claude app viewer). Desktop unchanged.
   The viewer wraps this page inside its own <body> with body{color:#000;background:#fff;font:14px system-ui} and
   :root{color-scheme:light}; nothing here may inherit from body or :root. Android may also enlarge all text (WebView
   textZoom, which CSS cannot switch off), so phones get layouts that grow instead of clip, and v7.js measures and fits. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:var(--void);color:var(--text);font-family:var(--body)}
h1,h2,h3,h4,.h2{color:var(--text)}
.mb-short{display:none}
/* html.is-ph is set in <head> for narrow or touch screens (is-ph-short under 700px tall, is-ph-tiny under 600px), once per
   visit, so the toolbar cannot flip the layout. --head-h and --pill-h are measured by v7.js (text size changes them). */
/* stand-in badges: a short chip under the header, inside the screen; the full credit stays for screen readers + title */
.is-ph .n-hero .media-badge,.is-ph .ch .media-badge,.is-ph .n-about .media-badge{top:calc(var(--head-h,68px) + 10px);bottom:auto;left:16px;right:auto;max-width:calc(100% - 32px);white-space:normal}
.is-ph .mb-full{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.is-ph .mb-short{display:inline}
/* hero: at least one screen tall (svh, vh fallback), grows instead of clipping; room for header + chip and the pills */
.is-ph .n-hero{height:auto;min-height:100vh;min-height:100svh}
.is-ph .v6-hero .v5-in{padding:calc(var(--head-h,68px) + 48px) 16px calc(var(--pill-h,44px) + 30px)}
/* buttons wrap their label instead of running off the side when the text is enlarged */
.is-ph .btn{white-space:normal;text-align:center;justify-content:center;max-width:100%}
.is-ph-short .v6-hero .v5-h1{font-size:min(10.2vw,40px)!important;margin-bottom:12px!important}
.is-ph-short .v6-hook{font-size:20px;margin-bottom:12px}
.is-ph-short .v6-hero .v5-sub{margin-bottom:18px}
.is-ph-short .v5-cta{gap:8px}
.is-ph-short .v5-cta .btn{min-height:46px;padding-top:11px;padding-bottom:11px}
.is-ph-tiny .v6-hero .v5-h1{font-size:min(9vw,34px)!important;margin-bottom:10px!important}
.is-ph-tiny .v6-hook{font-size:19px;margin-bottom:10px}
.is-ph-tiny .v6-hero .v5-sub{margin-bottom:14px}
.is-ph-tiny .v5-cta .btn{min-height:44px;padding-top:10px;padding-bottom:10px}
.is-ph-tiny .v6-hero .v5-in{padding-top:calc(var(--head-h,68px) + 42px);padding-bottom:calc(var(--pill-h,44px) + 26px)}
.is-ph-short .n-scroll,.hero-tight .n-scroll{display:none}
/* big words: solid letters at their final size (no background-clip gradient, no drop-shadow filter); v7.js fits them */
.is-ph .ko span{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;filter:none!important;
  text-shadow:0 0 36px rgba(140,111,224,.55),0 2px 22px rgba(6,11,24,.55);
  font-size:min(calc(80vw / var(--em,3.6)),17vh)!important;font-size:min(calc(80vw / var(--em,3.6)),17svh)!important;will-change:transform,opacity}
/* scenes on phones: no pin. The photo and the word are sticky backdrops one screen tall; the card, then the words
   scroll over them in normal flow, so nothing can overlap or clip at any text size */
.is-ph .ch-pin{display:block;justify-items:normal;height:auto!important;min-height:0!important;overflow:visible;padding:0 0 calc(var(--pill-h,44px) + 44px)}
.is-ph .ch-media{position:sticky;top:0;left:auto;right:auto;bottom:auto;width:100%;height:100vh;height:100svh;margin-bottom:-100vh;margin-bottom:-100svh}
html.is-ph:not(.reduced) .ch .ko{position:sticky;inset:auto;top:0;width:100%;height:100vh;height:100svh;margin-bottom:-100vh;margin-bottom:-100svh}
.is-ph .ch .ch-gfx,.is-ph .ch .ch-copy{position:relative;z-index:3;margin-left:16px;margin-right:16px;width:auto;max-width:560px}
.is-ph .ch .ch-gfx{display:grid;place-items:center;align-self:auto;margin-top:0}
@media (min-width:592px){.is-ph .ch .ch-gfx,.is-ph .ch .ch-copy{margin-left:auto;margin-right:auto}}
html.is-ph:not(.reduced) .ch .ko + .ch-gfx,html.is-ph:not(.reduced) .ch .ko + .ch-copy{margin-top:100vh;margin-top:100svh}
html.is-ph:not(.reduced) .ch-home .ko + .ch-copy{margin-top:140vh;margin-top:140svh}
.is-ph .ch .ch-copy{margin-top:28px;padding:20px 18px;border-radius:20px;background:rgba(6,11,24,.8);border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:left;max-width:560px}
.is-ph .ch .ch-copy .lede{margin-inline:0}
.is-ph .ch .ch-copy .btn-row{justify-content:flex-start}
/* reduced motion on phones: the word stands still at its final size at the top of its scene */
html.is-ph.reduced .ch .ko{display:grid!important;position:relative!important;inset:auto!important;height:auto!important;margin:0!important;
  padding:calc(var(--head-h,68px) + 44px) 16px 18px;background:linear-gradient(to bottom,rgba(6,11,24,.86),rgba(6,11,24,.7) 80%,rgba(6,11,24,0))!important;mix-blend-mode:normal!important;z-index:3;opacity:1!important}
/* r8: headings are sized by CSS alone (no JS fitting); with Android's enlarged text they simply get bigger and wrap */
.is-ph h1,.is-ph h2,.is-ph h3,.is-ph .v6-hook{overflow-wrap:break-word}
/* r8: a word wider than the screen (enlarged text) is shrunk with `scale` around its centre: keep it centred even while
   its unscaled box overflows, and let the cover clip that unscaled box so the page never gets wider than the screen */
.is-ph .ko{overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.is-ph .ko span{justify-self:unsafe center;align-self:unsafe center}

/* ---- round 9 (Carl's Android, 150% text): nothing wider than the screen; display text sized for the real textZoom */
.is-ph .n-hero{grid-template-columns:minmax(0,1fr)}
.is-ph .n-hero-in,.is-ph .v5-in{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.is-ph .v5-h1,.is-ph .v6-hook,.is-ph .v5-sub,.is-ph .v5-cta{max-width:100%!important;min-width:0;overflow-wrap:break-word}
.is-ph .v5-h1{transform-origin:50% 0}
/* --tz = Android textZoom (a plain number from a 100px probe, set by v7.js). Display text only is divided by it, so the H1,
   the hook line and BOOKED / PAID / HOME keep their designed size; body text, ledes, cards and buttons stay enlarged. */
.tz-probe{position:absolute;left:-9999px;top:0;visibility:hidden;pointer-events:none;font-size:100px;line-height:1;height:auto;width:auto;margin:0;padding:0}
.is-ph .v6-hero .v5-h1{font-size:calc(clamp(40px,11.4vw,56px) / var(--tz,1))!important}
.is-ph-short .v6-hero .v5-h1{font-size:calc(min(10.2vw,40px) / var(--tz,1))!important}
.is-ph-tiny .v6-hero .v5-h1{font-size:calc(min(9vw,34px) / var(--tz,1))!important}
.is-ph .v6-hook{font-size:calc(24px / var(--tz,1))}
.is-ph-short .v6-hook{font-size:calc(20px / var(--tz,1))}
.is-ph-tiny .v6-hook{font-size:calc(19px / var(--tz,1))}
.is-ph .ko span{font-size:calc(min(calc(80vw / var(--em,3.6)),17svh) / var(--tz,1))!important}
/* the clock and Pause pills wait until the hero buttons have scrolled above them (Pause still shows when focused) */
.n-hud,.motion-toggle{transition:opacity .4s ease}
html.pills-wait .n-hud,html.pills-wait .motion-toggle:not(:focus-visible){opacity:0!important;pointer-events:none}
html.reduced.pills-wait .n-hud,html.reduced.pills-wait .motion-toggle{transition:none}
