/* THE SECOND LAYER. Loaded by the six main pages after each page's own styles.
   It began as "the variant": the site feedback of 30 November 2026, built beside the live pages and merged into them
   on 1 December 2026. The folder keeps its working name, assets/variant/. tools/build-site.sh names what ships. */

/* Feedback point 2, the sun. It was a hard yellow disc with a separate halo ring.
   Now a pale core that fades out, and one wide, even glow. sky.js still places it (it only sets left, top, opacity). */
#sun{
  background:radial-gradient(circle,#FFFDF2 0%,#FFF3C9 30%,rgba(255,228,150,.55) 52%,rgba(255,214,130,0) 72%);
  box-shadow:none;
}
#sun::before{
  content:"";position:absolute;inset:-110%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,226,160,.42) 0%,rgba(255,214,140,.22) 22%,rgba(255,205,130,.09) 42%,rgba(255,200,120,0) 66%);
}
/* the small sun on the inner pages' sky band; variant.js adds .v-sun while band.js is drawing a sun, not the moon */
#bandOrb.v-sun{
  background:radial-gradient(circle,#FFFDF2 0%,#FFF3C9 34%,rgba(255,228,150,.5) 56%,rgba(255,214,130,0) 76%)!important;
  box-shadow:0 0 34px 18px rgba(255,214,140,.22)!important;
}

/* Feedback points 3 and 19: say what the corner player is. A caption that shows once per visit and on hover. */
#vTip{
  position:fixed;right:14px;bottom:62px;z-index:139;max-width:230px;
  font:400 12px/1.45 'Archivo',sans-serif;color:#FAF8F2;background:#0C0C14;
  border-radius:10px;padding:10px 12px 10px;box-shadow:0 6px 22px rgba(12,12,20,.28);
  opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .35s,transform .35s;
}
#vTip.on{opacity:1;transform:none}
#vTip b{display:block;font:700 9.5px/1 'Space Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:#FF6B6B;margin-bottom:6px}
#vTip::after{content:"";position:absolute;right:26px;bottom:-6px;width:12px;height:12px;background:#0C0C14;transform:rotate(45deg)}
@media(max-width:560px){#vTip{right:10px;max-width:190px}}

@media print{#vTip{display:none}}

/* the plain line in the home hero: what a buyer can hire us for, the coral square between each */
.v-hire{margin:18px 0 0;font:700 12px/1.9 'Space Mono',monospace;letter-spacing:.12em;text-transform:uppercase}
.v-hire a{color:inherit;text-decoration:none}
.v-hire a:hover,.v-hire a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.v-hire i{display:inline-block;width:.6em;height:.6em;border-radius:14%;background:#FF6B6B;margin:0 .9em;transform:translateY(-.05em)}
@media(max-width:560px){.v-hire{font-size:10.5px;letter-spacing:.09em}.v-hire i{margin:0 .6em}}
.sky .v-hire{color:rgba(255,255,255,.92)}
.sky.bright .v-hire{color:rgba(12,12,20,.82)} /* ink when the sky is bright, as the lede does */

/* ---- home: all eleven case cards, three to a row on wide screens, so the depth shows without four screens of scrolling ---- */
@media(min-width:1000px){
  #work .case-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  #work .case{height:476px}
  #work .case-face{padding:26px}
  #work .case-face.front{box-shadow:8px 8px 0 var(--pop)}
  #work .case:hover .case-face.front{box-shadow:8px 8px 0 var(--pop2)}
  #work .case-clue{font-size:clamp(20px,1.95vw,26px)}
  #work .case-insight{font-size:14px;line-height:1.5}
  #work .case-tags{font-size:10.5px;line-height:1.7;margin-top:12px}
  #work .case-client{font-size:12px;margin-top:8px;padding-top:11px}
  #work .case .tiles{flex-wrap:nowrap;gap:5px;margin-bottom:16px}
  #work .case .tile{flex:0 1 36px;width:auto;min-width:0;height:auto;aspect-ratio:1;font-size:clamp(14px,1.35vw,19px)} /* the answer stays on one line in the narrower card */
  #work .case-mark{height:30px;margin-bottom:10px}
  #work .case-mark.color{height:40px}
  #work .case-mark.tall{height:46px}
}
@media(min-width:1280px){#work .case{height:440px}}
#work .case-more{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;min-height:200px;border:2px dashed var(--ink,#0C0C14);border-radius:20px;padding:26px;text-decoration:none;color:var(--ink,#0C0C14)}
#work .case-more .k{font-family:'Anton',sans-serif;text-transform:uppercase;font-size:26px;line-height:1.05}
#work .case-more .t{font-size:14.5px;line-height:1.45;opacity:.75}
#work .case-more .go{font:700 12px/1 'Space Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--live,#FF6B6B);margin-top:6px}
#work .case-more:hover,#work .case-more:focus-visible{border-style:solid}
/* ---- home: the client logos, one slow line under the hero ---- */
.v-clients{border-bottom:2px solid var(--ink,#0C0C14);padding:22px 0 24px;background:var(--paper,#FAF8F2)}
.v-clients-cap{max-width:1100px;margin:0 auto 16px;padding:0 24px;display:flex;justify-content:space-between;gap:16px;font:700 10.5px/1.4 'Space Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:rgba(12,12,20,.6)}
.v-clients-cap a{color:var(--ink,#0C0C14);text-underline-offset:3px}
.v-marq{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.v-marq-track{display:flex;align-items:center;width:max-content;animation:vmarq 60s linear infinite}
.v-marq-track a{flex:none;display:block;margin:0 34px;opacity:.82;transition:opacity .2s}
.v-marq-track a:hover,.v-marq-track a:focus-visible{opacity:1}
.v-marq-track img{display:block}
.v-marq-track img.col{filter:grayscale(1) contrast(1.15);mix-blend-mode:multiply}
.v-marq-dup{display:flex;align-items:center}
.v-marq:hover .v-marq-track,.v-marq:focus-within .v-marq-track{animation-play-state:paused}
@keyframes vmarq{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.v-marq{-webkit-mask-image:none;mask-image:none}.v-marq-track{animation:none;width:auto;flex-wrap:wrap;justify-content:center;row-gap:18px}.v-marq-dup{display:none}}
@media(max-width:560px){.v-clients-cap{flex-direction:column;gap:4px}.v-marq-track a{margin:0 22px}}

/* ---- home: "The Future of AI is Human", the same idea and drifting gradient as on Services, at about two thirds of a screen ---- */
section.vhuman-home{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;min-height:66vh;background:var(--ink,#0C0C14);color:var(--paper,#FAF8F2)}
section.vhuman-home>.wrap{position:relative;z-index:2;width:100%}
section.vhuman-home .vh-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px 64px;align-items:end}
section.vhuman-home .eyebrow{border-color:var(--live2,#FFB36B);color:var(--live2,#FFB36B)}
section.vhuman-home h2.display{font-size:clamp(40px,6.2vw,96px);line-height:.95;margin-top:18px;color:var(--paper,#FAF8F2)}
section.vhuman-home h2.display .pop{color:var(--live2,#FFB36B)}
section.vhuman-home p.body-l{color:rgba(250,248,242,.86);font-size:clamp(16px,1.25vw,18.5px);margin:0}
section.vhuman-home p.body-l.lead{color:var(--paper,#FAF8F2);font-weight:600;font-size:clamp(18px,1.6vw,23px);margin-top:18px}
section.vhuman-home .vh-more{margin:18px 0 0}
section.vhuman-home .vh-more a{font:700 12px/1 'Space Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--live2,#FFB36B);text-underline-offset:4px}
section.vhuman-home::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 70% 80% at 28% 52%,rgba(12,12,20,.72),rgba(12,12,20,.28) 62%,rgba(12,12,20,.12))}
section.vhuman-home .vfluid{position:absolute;inset:0;z-index:0;pointer-events:none}
section.vhuman-home .vfluid i{position:absolute;width:78vmax;height:78vmax;border-radius:50%;will-change:transform;background:radial-gradient(circle,var(--c) 0%,rgba(0,0,0,0) 62%)}
section.vhuman-home .vfluid i:nth-child(1){--c:var(--live,#E55D87);opacity:.5;left:-28vmax;top:-34vmax;animation:vhA 38s ease-in-out infinite alternate}
section.vhuman-home .vfluid i:nth-child(2){--c:var(--live2,#FFB36B);opacity:.42;right:-30vmax;bottom:-40vmax;animation:vhB 46s ease-in-out infinite alternate}
section.vhuman-home .vfluid i:nth-child(3){--c:var(--pop,#F2457B);opacity:.36;right:-10vmax;top:-46vmax;animation:vhC 54s ease-in-out infinite alternate}
@keyframes vhA{to{transform:translate(46vmax,30vmax) scale(1.18)}}
@keyframes vhB{to{transform:translate(-44vmax,-26vmax) scale(.86)}}
@keyframes vhC{to{transform:translate(-36vmax,44vmax) scale(1.1)}}
@media(max-width:900px){section.vhuman-home .vh-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){section.vhuman-home .vfluid i{animation:none}}

/* ---- home: the Across and Down lines are an accordion on every screen size. A line opens what it includes, where it
        was used and a link to that service; one line is open at a time. index.html holds the words and a short script. ---- */
#services .clue-list li{padding:0;display:block}
#services .clue-list li:hover{background:none;color:inherit;transform:none}
#services a.v-row{display:flex;gap:18px;align-items:baseline;padding:16px 12px;color:inherit;text-decoration:none;cursor:pointer;transition:background .16s ease,color .16s ease}
#services a.v-row:hover,#services a.v-row:focus-visible,#services li.open>a.v-row{background:var(--ink,#0C0C14);color:var(--paper,#FAF8F2)}
#services a.v-row:hover .n,#services a.v-row:focus-visible .n,#services li.open>a.v-row .n{color:var(--live2,#FFB36B)}
/* the sign at the end of a line: a plus that lies down into a minus when the line is open */
#services a.v-row .go{margin-left:auto;flex:none;align-self:center;position:relative;width:13px;height:13px;opacity:.6}
#services a.v-row .go::before,#services a.v-row .go::after{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:currentColor;transition:transform .28s ease}
#services a.v-row .go::after{transform:rotate(90deg)}
#services li.open>a.v-row .go{opacity:1}
#services li.open>a.v-row .go::after{transform:rotate(0)}
/* the part that opens: a grid row from 0 to its own height, so it needs no measured heights */
#services .v-acc{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
#services li.open>.v-acc{grid-template-rows:1fr}
#services .v-acc-in{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s .3s}
#services li.open>.v-acc>.v-acc-in{visibility:visible;transition-delay:0s}
#services .v-acc-pad{padding:20px 12px 28px 56px}   /* 56: under the words of the line, past its number */
/* the answer tiles, as on the Services page: one square a letter, dropping in one after another when the line opens */
#services .v-tiles{display:flex;gap:6px;margin:0 0 18px}
#services .v-tiles span{flex:0 1 42px;min-width:0;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:var(--live,#E55D87);color:#fff;border-radius:11%;font-family:'Anton',sans-serif;font-size:clamp(15px,4.4vw,22px);text-transform:uppercase;opacity:0;transform:translateY(-8px);transition:opacity .3s .15s,transform .3s .15s}
#services .v-tiles span:nth-child(2){transition-delay:0.21s}#services .v-tiles span:nth-child(3){transition-delay:0.27s}#services .v-tiles span:nth-child(4){transition-delay:0.33s}#services .v-tiles span:nth-child(5){transition-delay:0.39s}#services .v-tiles span:nth-child(6){transition-delay:0.45s}#services .v-tiles span:nth-child(7){transition-delay:0.51s}#services .v-tiles span:nth-child(8){transition-delay:0.57s}#services .v-tiles span:nth-child(9){transition-delay:0.63s}#services .v-tiles span:nth-child(10){transition-delay:0.69s}
#services li.open .v-tiles span{opacity:1;transform:none}
#services .v-acc-brief{font:700 14px/1.45 'Space Mono',monospace;margin:0 0 10px}
#services .v-acc-p{font-size:15.5px;line-height:1.55;margin:0 0 18px}
#services .v-acc-l{font:700 10.5px/1.3 'Space Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:rgba(12,12,20,.55);margin:0 0 10px}
#services .v-acc-inc{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#services .clue-list .v-acc-inc li{display:block;font-size:15px;line-height:1.4;padding:0 0 0 14px;position:relative;border:0;transition:none}
#services .v-acc-inc li::before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:14%;background:var(--live,#E55D87)}
#services .v-acc-seen{font-family:'Space Mono',monospace;font-size:12.5px;line-height:1.7;margin:18px 0 0}
#services .v-acc-seen b{font-size:11px;letter-spacing:.14em;text-transform:uppercase;opacity:.65;margin-right:8px}
#services .v-acc-seen a{color:var(--live,#E55D87);font-weight:700;white-space:nowrap}
/* "Most asked for": the same tag the Services page puts on these three lines. Beside the words on a wide screen, under them on a narrow one. */
#services a.v-row .c{flex:1;min-width:0}
#services .v-hot{font:700 9px/1 'Space Mono',monospace;font-style:normal;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;background:var(--live2,#FFB36B);color:var(--ink,#0C0C14);padding:4px 9px;border-radius:99px;display:table;margin-top:8px}
@media (min-width:1000px){
  #services a.v-row .c{display:flex;align-items:center;gap:14px}
  #services .v-hot{margin:0 0 0 auto}
}
@media (prefers-reduced-motion:reduce){#services .v-acc,#services .v-acc-in,#services a.v-row .go::after,#services .v-tiles span{transition:none}}

/* ---- home: spacing normalised (Aashish, 30 November). Every section reads eyebrow, 26 px, headline, 26 px, descriptor,
        inside the standard section padding. The AI band was the odd one out: it now stacks like the rest. ---- */
section.vhuman-home{display:block;min-height:0}
section.vhuman-home .vh-grid{display:block}
section.vhuman-home h2.display{font-size:clamp(34px,6.8vw,98px);line-height:1;margin-top:0} /* the eyebrow already carries the 26 px */
section.vhuman-home p.body-l.lead{margin-top:26px;font-size:inherit;font-size:revert-layer}
section.vhuman-home .vh-grid>div+div p.body-l{margin-top:14px}
#approach h2.display+p.body-l,#approach h2.display+*{margin-top:26px!important}

/* ---- home crossword: the clues no longer jump sideways. The left column is sized by its widest child, and the
        message that appears on Check and Reveal was wider than the grid, which pushed the clue column about 100 px.
        The message now takes the grid's width and adds none of its own. ---- */
#play .xw-msg{width:0;min-width:100%;box-sizing:border-box}
#play .xw-tools{width:0;min-width:100%}

/* rounded answer tiles everywhere (the home page does not load base.css) */
.tile{border-radius:11%}
