/* ==========================================================================
   VU3 section & page compositions (extends main.css)
   Each block below is modelled on a specific page of the VU3 profile.
   ========================================================================== */

/* ---------- Hero (profile cover + p5 scene) ------------------------------------------- */
/* Height is CMS-controlled per breakpoint (Section settings: height_desktop/tablet/mobile, % of screen
   height - views/partials/sections/hero.ejs writes --hero-h-* inline), defaulting to a full 100svh fill.
   svh (small viewport height) is used instead of vh so a mobile browser's collapsing address bar never
   leaves a gap under the hero; the plain vh rule right before it is a fallback for the handful of older
   browsers without svh support (it is simply overridden by the svh rule everywhere svh is understood). */
.hero {
  --hh: var(--hero-h-desktop, 100);
  height: calc(var(--hh) * 1vh);
  height: calc(var(--hh) * 1svh);
  display: flex; align-items: center; padding-block: clamp(90px, 11vw, 150px) calc(var(--seam) + 56px);
}
.hero > .container { width: 100%; }
.hero__body { max-width: 640px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--c-line-dark); background: rgba(76,47,133,.28); backdrop-filter: blur(8px); font: 600 .84rem/1 var(--font-body); letter-spacing: .06em; color: #e7defa; }
.hero h1 { font-size: clamp(2.5rem, 1rem + 5.4vw, 5rem); line-height: 1.1; margin-bottom: 20px; text-wrap: balance; }
.hero__tag { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; font: 600 .82rem/1 var(--font-body); letter-spacing: .34em; text-transform: uppercase; color: #cdbdf0; direction: ltr; }
.hero__tag::before, .hero__tag::after { content: ''; height: 1px; width: 44px; background: linear-gradient(90deg, transparent, rgba(190,165,240,.75)); }
.hero__tag::after { background: linear-gradient(270deg, transparent, rgba(190,165,240,.75)); }
.hero__lead { max-width: 52ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); color: rgba(255,255,255,.86) !important; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__cue { position: absolute; z-index: 3; bottom: calc(var(--seam) + 6px); inset-inline-start: var(--gutter); display: flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero__cue::before { content: ''; width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--c-purple-tint)); animation: cue 2.6s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
.hero .luxury-grid--tl { top: 92px; }
@media (min-width: 821px) and (max-width: 1180px) { .hero { --hh: var(--hero-h-tablet, 100); } }
@media (max-width: 820px) { .hero { --hh: var(--hero-h-mobile, 100); align-items: flex-end; } .hero__cue { display: none; } .hero .sec__art { inset: 0; } .hero .art__scrim { --ov: .9; } }

/* ---------- Welcome (profile p3: dark arc scene + large mark + text + frame) ---------------- */
.welcome { display: grid; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (min-width: 900px) { .welcome { grid-template-columns: 1.2fr .8fr; } }
.welcome__logo { display: flex; justify-content: center; }
.welcome__logo img { width: min(340px, 72%); height: auto; filter: drop-shadow(0 0 46px rgba(76,47,133,.6)); }
.welcome p { max-width: 62ch; }
.quote-frame { margin-top: 30px; border-radius: 18px; border: 1px solid var(--c-line-dark); background: rgba(76,47,133,.16); padding: 22px 26px; font: 700 1.14rem/1.7 var(--font-display); color: #fff; }
.theme-dark .quote-frame p { margin: 0; color: #fff; }

/* ---------- About (profile p6: pearl scene, copy beside art) ---------------------------------- */
.about-copy p { font-size: 1.05rem; }

/* ---------- Vision & Mission (profile p4) ------------------------------------------------------ */
.vision-frames { display: grid; gap: 20px; }
.vision-frames .frame h3 { font-size: 1.6rem; }
.vision-quote { margin-top: 34px; font: 900 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1.4 var(--font-display); color: var(--c-black); max-width: 24ch; }

/* ---------- Philosophy V / U / 3=E (profile p8) -------------------------------------------------- */
.vue-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .vue-grid { grid-template-columns: repeat(3, 1fr); } }
.vue-card { min-height: 300px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 34px; }
.vue-letter { font: 900 clamp(3rem, 2rem + 3vw, 4.4rem)/1 var(--font-display); color: #b7a1ea; margin-bottom: 10px; direction: ltr; }
.vue-card h3 { margin-bottom: 10px; }
.vue-card p { font-size: .98rem; max-width: 30ch; }
.vue-quote { margin-top: 42px; max-width: 70ch; font: 700 1.1rem/1.8 var(--font-display); color: #fff !important; }

/* ---------- Methodology: from vision to impact (profile p9) ----------------------------------------- */
.path { position: relative; display: grid; gap: 18px; grid-template-columns: 1fr; padding-inline-start: 34px; }
.path::before { content: ''; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--c-purple-tint), rgba(132,103,196,.15)); }
.path__progress { position: absolute; inset-inline-start: 11px; top: 8px; width: 2px; height: 0; border-radius: 2px; background: #cbb8f5; box-shadow: 0 0 14px 1px rgba(190,165,240,.7); transition: height 1.6s var(--ease); }
.path.is-in .path__progress { height: calc(100% - 16px); }
.step { position: relative; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--c-line-dark); background: linear-gradient(160deg, rgba(76,47,133,.28), rgba(5,7,8,.5)); backdrop-filter: blur(8px); }
.step__node { position: absolute; inset-inline-start: -34px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-black); border: 2px solid var(--c-purple-tint); box-shadow: 0 0 0 5px rgba(5,7,8,.9); }
.step__node::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #cbb8f5; opacity: 0; transition: opacity .6s calc(var(--i, 0) * .28s + .3s); }
.path.is-in .step__node::after { opacity: 1; }
.step__num { font: 900 .9rem/1 var(--font-display); color: var(--c-purple-tint); letter-spacing: .1em; direction: ltr; display: block; margin-bottom: 8px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .95rem; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 90px 0 0; }
  .path::before { inset-inline: 0; top: 46px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, rgba(132,103,196,.15), var(--c-purple-tint) 50%, #cbb8f5); }
  html[dir="rtl"] .path::before { background: linear-gradient(270deg, rgba(132,103,196,.15), var(--c-purple-tint) 50%, #cbb8f5); }
  .path__progress { inset-inline: 0; top: 46px; width: 0; height: 2px; transition: width 1.8s var(--ease); }
  .path.is-in .path__progress { width: 100%; height: 2px; }
  .step { margin-top: calc((4 - var(--i, 0)) * 0px); padding-top: 34px; }
  .step__node { inset-inline-start: 50%; top: -52px; transform: translateX(-50%); width: calc(22px + var(--i, 0) * 6px); height: calc(22px + var(--i, 0) * 6px); margin-top: calc((4 - var(--i, 0)) * 3px); }
  html[dir="rtl"] .step__node { transform: translateX(50%); }
  .step::before { content: ''; position: absolute; inset-inline-start: 50%; top: -30px; height: 30px; width: 1px; background: linear-gradient(180deg, var(--c-purple-tint), transparent); }
}
.method-quote { margin-top: 44px; max-width: 64ch; font: 700 1.06rem/1.8 var(--font-display); }

/* ---------- Business & Experience Architecture: five interlocked pillars (profile p11) --------------- */
.pillars { position: relative; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pillars { grid-template-columns: repeat(5, 1fr); padding-top: 26px; } .pillars::before { content: ''; position: absolute; top: 4px; inset-inline: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--c-purple), transparent); } }
.pillar { position: relative; text-align: start; background: rgba(255,255,255,.9); }
.pillar__dot { position: absolute; top: -30px; inset-inline-start: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-purple); box-shadow: 0 0 0 5px rgba(76,47,133,.14); display: none; }
@media (min-width: 1020px) { .pillar__dot { display: block; } }
.pillar__idx { font: 900 .82rem/1 var(--font-display); letter-spacing: .12em; color: var(--c-purple); margin-bottom: 12px; display: block; direction: ltr; text-align: start; }
.pillar h3 { font-size: 1.16rem; }
.pillar p { font-size: .93rem; }
.arch-quote { margin-top: 38px; max-width: 70ch; font: 700 1.08rem/1.8 var(--font-display); color: var(--c-purple-900) !important; padding-inline-start: 20px; border-inline-start: 3px solid var(--c-purple); }

/* ---------- Services: artwork tiles (each service has its own art in the profile) ------------------------ */
.tiles { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; border: 1px solid var(--c-line-dark); background: #0b0910; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; isolation: isolate; }
.tile__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tile__media picture, .tile__media img { display: block; width: 100%; height: 100%; }
.tile__media img { object-fit: cover; transition: transform 1s var(--ease); }
.tile__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,8,.05) 30%, rgba(11,9,16,.96) 100%); }
.tile__idx { position: absolute; z-index: 2; top: 16px; inset-inline-start: 18px; font: 900 .92rem/1 var(--font-display); letter-spacing: .14em; color: #e9e0fc; direction: ltr; padding: 6px 12px; border-radius: 999px; background: rgba(5,7,8,.55); border: 1px solid var(--c-line-dark); backdrop-filter: blur(6px); }
.tile__body { position: relative; z-index: 2; padding: 4px 26px 26px; margin-top: -36px; }
.tile h3 { color: #fff; font-size: 1.32rem; margin-bottom: 8px; }
.tile p { color: rgba(255,255,255,.72) !important; font-size: .95rem; margin-bottom: 18px; }
.tile__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .88rem; color: #d9cbf7; }
.tile__more i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--c-line-dark); font-style: normal; transition: background-color .3s, transform .3s var(--ease); }
[dir="rtl"] .tile__more i { transform: scaleX(-1); }
.tile:hover { transform: translateY(-6px); border-color: rgba(190,165,240,.6); box-shadow: 0 30px 60px -30px rgba(76,47,133,.9); }
.tile:hover .tile__media img { transform: scale(1.07); }
.tile:hover .tile__more i { background: var(--c-purple); }
.tile:focus-visible { outline-offset: 4px; }
.theme-light .tile { border-color: rgba(76,47,133,.25); }

/* ---------- Industries: dark panel on pearl (profile p10) ------------------------------------------------ */
.panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: #07050b; color: #fff; border: 1px solid rgba(76,47,133,.5); box-shadow: 0 40px 80px -50px rgba(36,21,71,.9); }
.panel .sec__art { border-radius: inherit; }
.panel__inner { position: relative; z-index: 2; padding: clamp(28px, 5vw, 64px); }
.panel__copy { max-width: min(560px, 100%); margin-inline-end: auto; }
@media (min-width: 900px) { .panel__copy { max-width: 52%; } .panel { min-height: 560px; display: flex; align-items: center; } .panel__inner { width: 100%; } }
@media (max-width: 899px) { .panel .sec__art { inset: 0 0 auto 0; height: 260px; } .panel__inner { padding-top: 270px; } }
.panel h2, .panel h3 { color: #fff !important; } .panel p { color: rgba(255,255,255,.82) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; border: 1px solid var(--c-line-dark); background: rgba(76,47,133,.22); color: #fff; font-size: .9rem; font-weight: 500; backdrop-filter: blur(6px); transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
[dir="rtl"] .chip { padding: 10px 14px 10px 18px; }
.chip::before { content: ''; width: 7px; height: 7px; flex: none; background: var(--c-purple-tint); transform: rotate(45deg); border-radius: 1px; }
.chip:hover { border-color: rgba(190,165,240,.7); background: rgba(76,47,133,.42); transform: translateY(-2px); }
.sec--split.theme-light .chip { color: var(--c-purple-900); background: rgba(255,255,255,.78); border-color: rgba(76,47,133,.3); }
.chips-quote { margin-top: 26px; font: 700 1.02rem/1.8 var(--font-display); color: #fff !important; }
.sec--split.theme-light .chips-quote { color: var(--c-purple-900) !important; }
.chips { padding: 0; margin-inline: 0; list-style: none; }

/* ---------- Why VU3: dark, numbered axes, ghost mark (profile p42-43) ------------------------------------------ */
.axes { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--c-line-dark); }
@media (min-width: 720px) { .axes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .axes { grid-template-columns: repeat(4, 1fr); } }
.axis { position: relative; padding: 34px 26px 38px; border-bottom: 1px solid var(--c-line-dark); }
@media (min-width: 720px) { .axis:nth-child(odd) { border-inline-end: 1px solid var(--c-line-dark); } }
@media (min-width: 1080px) { .axis { border-bottom: 0; border-inline-end: 1px solid var(--c-line-dark); } .axis:last-child { border-inline-end: 0; } .axis:nth-child(odd) { border-inline-end: 1px solid var(--c-line-dark); } }
.axis__num { display: block; font: 900 3.6rem/1 var(--font-display); direction: ltr; text-align: start; color: transparent; -webkit-text-stroke: 1.2px rgba(190,165,240,.75); margin-bottom: 18px; }
.axis h3 { font-size: 1.24rem; margin-bottom: 10px; }
.axis p { font-size: .95rem; margin: 0; }
.why-sub { font: 700 1.2rem/1.6 var(--font-display); color: #d9cbf7 !important; margin-bottom: 12px; }

/* ---------- Work: masonry at native ratios, no crops (profile pp.44-73) --------------------------------------------- */
.masonry { column-gap: 22px; columns: 1; }
@media (min-width: 620px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.work-card { position: relative; display: block; margin: 0 0 22px; break-inside: avoid; border-radius: 22px; overflow: hidden; background: #0b0910; box-shadow: var(--shadow-soft); isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s; }
.work-card picture, .work-card img { display: block; width: 100%; height: auto; }
.work-card img { transition: transform 1s var(--ease); }
.work-card__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 48px 20px 18px; background: linear-gradient(180deg, transparent, rgba(5,7,8,.92)); color: #fff; transform: translateY(6px); transition: transform .45s var(--ease); }
.work-card__cat { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #cdbdf0; margin-bottom: 4px; }
.work-card__title { font: 700 1.1rem/1.4 var(--font-display); color: #fff; }
.work-card:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -28px rgba(36,21,71,.9); }
.work-card:hover img { transform: scale(1.04); }
.work-card:hover .work-card__cap { transform: none; }
.work-more { margin-top: 12px; }
.masonry--1 { columns: 1; max-width: 460px; }
.masonry--2 { columns: 2; max-width: 860px; }
@media (max-width: 619px) { .masonry--2 { columns: 1; } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { min-height: 40px; padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(76,47,133,.35); background: rgba(255,255,255,.7); color: var(--c-purple-900); font: 600 .86rem/1 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--c-purple); }
.filter-btn[aria-pressed="true"] { background: var(--c-purple); color: #fff; border-color: var(--c-purple); }
.work-card[hidden] { display: none; }

/* ---------- Partners: infinite logo marquee (profile p6 / p74) ------------------------------------------------------------
   Server renders ONE real, accessible <ul> (data-marquee-group); site.js clones it (aria-hidden, visual
   only - never touches the database) until the track covers 2x the viewport, then animates a seamless
   loop. Until JS runs, or under prefers-reduced-motion (site.js skips setup entirely in that case), it
   stays exactly this: a plain wrapped row - never empty, never a hard cut. */
.vu3-marquee { overflow: hidden; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.vu3-marquee__track { display: flex; flex-wrap: wrap; direction: ltr; gap: var(--vu3-mq-gap, 56px); }
.vu3-marquee.is-active .vu3-marquee__track { flex-wrap: nowrap; animation: vu3-marquee-scroll var(--vu3-mq-duration, 28s) linear infinite; }
.vu3-marquee__track--right { animation-direction: reverse; }
.vu3-marquee:hover .vu3-marquee__track, .vu3-marquee:focus-within .vu3-marquee__track { animation-play-state: paused; }
@keyframes vu3-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--vu3-mq-distance, 50%))); } }
.vu3-marquee__group { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 4px 0; gap: var(--vu3-mq-gap, 56px); flex: 0 0 auto; }
.vu3-marquee.is-active .vu3-marquee__group { flex-wrap: nowrap; }
.vu3-marquee__item { flex: 0 0 auto; }
.vu3-marquee__card { display: grid; place-items: center; padding: 14px 24px; border-radius: 16px; background: linear-gradient(160deg, #120d1d, #07050b); border: 1px solid rgba(76,47,133,.55); transition: border-color .3s, box-shadow .35s; }
.vu3-marquee__card:hover { border-color: rgba(190,165,240,.7); box-shadow: 0 22px 40px -24px rgba(76,47,133,.9); }
.theme-light .vu3-marquee__card { background: linear-gradient(160deg, #fff, #f3effa); border-color: rgba(76,47,133,.22); }
.vu3-marquee__logo { height: var(--vu3-mq-size, 64px); width: auto; max-width: none; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) {
  .vu3-marquee.is-active .vu3-marquee__track { animation: none !important; transform: none !important; flex-wrap: wrap; }
  .vu3-marquee [aria-hidden="true"] { display: none !important; }
}

/* ---------- Partners & Allies: static grid (character artwork + non-moving logo cards) ------------- */
/* minmax(0, 1fr), not plain 1fr: without the explicit 0 minimum, a grid track never shrinks below its
   item's own content size (the logo <img> inside), so on a narrow viewport the cards stayed at their
   large intrinsic width instead of sharing the row evenly - pushing the grid past the container edge. */
.partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 680px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .partners-grid { grid-template-columns: minmax(0, 1fr); } }
.partners-grid__card { display: grid; place-items: center; aspect-ratio: 3/2; padding: 18px; border-radius: 16px; background: linear-gradient(160deg, #120d1d, #07050b); border: 1px solid rgba(76,47,133,.55); transition: border-color .3s, box-shadow .35s, transform .25s var(--ease); }
.partners-grid__card:hover { border-color: rgba(190,165,240,.7); box-shadow: 0 22px 40px -24px rgba(76,47,133,.9); transform: translateY(-3px); }
/* max-height in fixed px (not %) on purpose: with the old max-height:100%, each logo grew to fill its
   OWN card based on its OWN aspect ratio, so a tall/square logo (e.g. Perfect Loop, Q Tech) visually
   dominated its card far more than a wide/short one (e.g. WOWIT, Giant Vision) - the 6 cards looked
   inconsistent even though the cards themselves are uniform. A shared max-height makes every logo share
   the same visual "row height" regardless of its native aspect ratio, so the grid reads as aligned. */
.partners-grid__logo { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; display: block; }
@media (min-width: 821px) { .partners-grid__logo { max-height: 72px; } }

/* ---------- Partners: circular orbit (independent of the marquee above) ---------------------------------------------------
   Pure CSS, no JavaScript: .vu3-orbit__track spins via @keyframes; each logo's own .vu3-orbit__logo-wrap runs
   the exact opposite rotation at the same duration, canceling the visual spin so the logo itself stays
   upright while it travels around the circle. --angle (per item, set inline from the server) places it at
   its point on the ring via a static rotate+translate - only the two animations move. */
.vu3-orbit {
  --r: var(--orbit-r-d, 280px);
  --logo: var(--orbit-logo-d, 72px);
  position: relative;
  width: calc((var(--r) + var(--logo) / 2) * 2);
  height: calc((var(--r) + var(--logo) / 2) * 2);
  margin: 32px auto 0;
  max-width: 100%;
}
@media (max-width: 820px) {
  .vu3-orbit { --r: var(--orbit-r-m, 140px); --logo: var(--orbit-logo-m, 48px); }
}
.vu3-orbit__track { position: absolute; inset: 0; animation: vu3-orbit-spin var(--orbit-duration, 40s) linear infinite; }
.vu3-orbit__track--ccw { animation-name: vu3-orbit-spin-reverse; }
.vu3-orbit:hover .vu3-orbit__track, .vu3-orbit:focus-within .vu3-orbit__track { animation-play-state: paused; }
@keyframes vu3-orbit-spin { to { transform: rotate(360deg); } }
@keyframes vu3-orbit-spin-reverse { to { transform: rotate(-360deg); } }
.vu3-orbit__item {
  position: absolute; top: 50%; left: 50%; width: var(--logo); height: var(--logo);
  margin: calc(var(--logo) / -2) 0 0 calc(var(--logo) / -2);
  transform: rotate(var(--angle)) translate(var(--r)) rotate(calc(-1 * var(--angle)));
}
.vu3-orbit__logo-wrap {
  width: 100%; height: 100%; display: grid; place-items: center;
  animation: vu3-orbit-spin-reverse var(--orbit-duration, 40s) linear infinite;
}
.vu3-orbit__logo-wrap--ccw { animation-name: vu3-orbit-spin; }
.vu3-orbit:hover .vu3-orbit__logo-wrap, .vu3-orbit:focus-within .vu3-orbit__logo-wrap { animation-play-state: paused; }
.vu3-orbit__logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 6px 14px rgba(5,7,8,.18)); }
@media (prefers-reduced-motion: reduce) {
  .vu3-orbit__track, .vu3-orbit__logo-wrap { animation: none !important; }
}

/* ---------- Closing message (profile p75) & CTA (profile p76) ------------------------------------------------------------------ */
.closing h2 { font-size: clamp(1.9rem, 1.1rem + 3vw, 3.3rem); max-width: 16ch; }
.closing__quote { margin-top: 28px; font: 900 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.5 var(--font-display); color: #fff !important; max-width: 30ch; }
.cta__inner { max-width: 640px; }
.cta__inner h2 { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--c-line-dark); background: rgba(5,7,8,.55); backdrop-filter: blur(8px); color: #eee7fb; font-size: .86rem; }
.contact-chip svg { width: 16px; height: 16px; flex: none; stroke: var(--c-purple-tint); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-chip .ltr { direction: ltr; unicode-bidi: embed; }

/* ---------- Creative facilities: photo + three cards (profile p41) --------------------------------------------------------------- */
.fac { display: grid; gap: 26px; align-items: stretch; }
@media (min-width: 980px) { .fac { grid-template-columns: 1.05fr 1fr; } }
.fac__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; box-shadow: var(--shadow-soft); border: 1px solid rgba(76,47,133,.4); }
.fac__photo picture, .fac__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fac__list { display: grid; gap: 16px; align-content: center; }
.fac__list .frame h3 { font-size: 1.3rem; }
.fac__list .frame p { font-size: .95rem; }

/* ---------- Tag grids / scope tiles (events page) -------------------------------------------------------------------------------- */
.scope { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: sc; }
@media (min-width: 620px) { .scope { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .scope { grid-template-columns: repeat(4, 1fr); } }
.scope__item { position: relative; counter-increment: sc; padding: 26px 22px 24px; border-radius: 18px; border: 1px solid rgba(76,47,133,.28); background: rgba(255,255,255,.78); backdrop-filter: blur(6px); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.scope__item::before { content: counter(sc, decimal-leading-zero); display: block; margin-bottom: 26px; font: 900 .84rem/1 var(--font-display); letter-spacing: .14em; color: var(--c-purple); direction: ltr; text-align: start; }
.scope__item::after { content: ''; position: absolute; top: 0; inset-inline-start: 22px; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c-purple); }
.scope__item h3 { font-size: 1.08rem; margin: 0; color: var(--c-black); }
.scope__item:hover { transform: translateY(-4px); border-color: var(--c-purple); box-shadow: var(--shadow-soft); }

/* ---------- Page hero (all inner pages) -------------------------------------------------------------------------------------------- */
.phero { min-height: clamp(360px, 48vh, 500px); display: flex; align-items: flex-end; padding-block: clamp(56px, 7vw, 92px) calc(var(--seam) + 34px); }
.phero + .sec { padding-top: calc(clamp(36px, 5vw, 68px) + var(--seam) * .4); }
.phero > .container { width: 100%; }
.phero__body { max-width: 680px; }
.phero h1 { font-size: clamp(2.1rem, 1.1rem + 3.8vw, 3.9rem); line-height: 1.14; margin-bottom: 14px; }
.phero__lead { font-size: 1.1rem; max-width: 58ch; margin: 0; }
.phero.theme-dark .phero__lead { color: rgba(255,255,255,.84) !important; }
.phero .eyebrow { margin-bottom: 14px; }
.phero .luxury-grid--tl { top: 28px; }
.phero.sec { margin-top: 0; }

/* ---------- Service detail ------------------------------------------------------------------------------------------------------------- */
.svc-layout { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .svc-layout { grid-template-columns: 1.5fr .9fr; } }
.svc-desc { font: 500 clamp(1.15rem, 1rem + .6vw, 1.42rem)/1.85 var(--font-body); color: var(--c-purple-900) !important; margin-bottom: 34px; }
.cap-list { counter-reset: cap; border-top: 1px solid var(--c-line); }
.cap-list li { counter-increment: cap; display: flex; align-items: baseline; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--c-line); font-weight: 500; transition: background-color .25s, padding .25s var(--ease); }
.cap-list li::before { content: counter(cap, decimal-leading-zero); font: 900 .82rem/1 var(--font-display); letter-spacing: .12em; color: var(--c-purple); min-width: 28px; direction: ltr; }
.cap-list li:hover { background: rgba(76,47,133,.05); padding-inline-start: 14px; }
.aside-card { position: sticky; top: 96px; border-radius: var(--radius-lg); padding: 32px 28px; color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #1a1030, #07050b); border: 1px solid rgba(76,47,133,.6); }
.aside-card h3 { color: #fff; font-size: 1.4rem; } .aside-card p { color: rgba(255,255,255,.8); font-size: .95rem; }
.aside-card .art--decorative_mark.art--aside { z-index: 0; width: 240px; inset-inline-end: -60px; bottom: -70px; inset-inline-start: auto; top: auto; }
.aside-card > *:not(.art--decorative_mark) { position: relative; z-index: 1; }
.aside-card .btn { width: 100%; margin-top: 8px; }

/* ---------- Work detail -------------------------------------------------------------------------------------------------------------- */
.wd { display: grid; gap: 28px; }
.wd__photo { border-radius: var(--radius-lg); overflow: hidden; background: #0b0910; box-shadow: var(--shadow-soft); border: 1px solid rgba(76,47,133,.35); }
.wd__photo picture, .wd__photo img { display: block; width: 100%; height: auto; }
.wd__grid { display: grid; gap: 22px; }
.wd__grid:not(.wd__grid--multi) { justify-items: center; }
.wd__grid:not(.wd__grid--multi) .wd__photo { width: 100%; max-width: 880px; }
.wd__grid:not(.wd__grid--multi) .wd__photo--portrait { max-width: 520px; }
.wd { justify-items: center; text-align: center; }
.wd__grid--multi { width: 100%; }
@media (min-width: 760px) { .wd__grid--multi { grid-template-columns: repeat(2, 1fr); } }
.wd__source { font-size: .84rem; color: var(--c-muted); }

/* ---------- FAQ ----------------------------------------------------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq-item { border-radius: 18px; border: 1px solid rgba(76,47,133,.3); border-inline-start-width: 5px; background: rgba(255,255,255,.86); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--c-purple); box-shadow: var(--shadow-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font: 700 1.06rem/1.6 var(--font-display); color: var(--c-black); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--c-purple); color: var(--c-purple); font: 400 1.3rem/1 var(--font-body); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--c-purple); color: #fff; }
.faq-answer { padding: 0 24px 22px; color: #3f3a4d; }

/* ---------- Contact / Start a project -------------------------------------------------------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(26px, 4vw, 52px); align-items: start; }
@media (min-width: 920px) { .contact-layout { grid-template-columns: .9fr 1.1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(76,47,133,.3); border-inline-start-width: 5px; background: rgba(255,255,255,.86); transition: transform .3s var(--ease), border-color .3s; }
a.contact-card:hover { transform: translateY(-3px); border-color: var(--c-purple); }
.contact-card__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--c-purple); }
.contact-card__ic svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__label { display: block; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.contact-card__value { font-weight: 600; color: var(--c-black); }
.contact-card__value.ltr { direction: ltr; unicode-bidi: embed; }
.form-card { padding: clamp(24px, 3.4vw, 42px); border-radius: var(--radius-lg); border: 1px solid rgba(76,47,133,.28); background: rgba(255,255,255,.92); box-shadow: var(--shadow-soft); }

/* ---------- 404 ---------------------------------------------------------------------------------------------------------------------------- */
.nf { min-height: clamp(520px, 74vh, 720px); display: flex; align-items: center; padding-block: 70px calc(var(--seam) + 30px); }
.nf > .container { width: 100%; }
.nf__code { display: block; font: 900 clamp(5rem, 3rem + 9vw, 10rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(190,165,240,.7); direction: ltr; margin-bottom: 10px; }
.nf h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.nf__body { max-width: 520px; }
.nf .art--character { width: min(40%, 420px); inset-inline-end: 6%; }
@media (max-width: 820px) { .nf .art--character { width: 56%; inset-inline-end: 50%; transform: translateX(50%); opacity: .55; } }

/* ---------- Shared bits ------------------------------------------------------------------------------------------------------------------------ */
.sec-sub { font: 600 1.02rem/1.6 var(--font-body); letter-spacing: .04em; margin-bottom: 12px; }
.theme-dark .sec-sub { color: #cdbdf0 !important; }
.theme-light .sec-sub { color: var(--c-purple) !important; }
.panel .sec-sub { color: #cdbdf0 !important; }
.vue-en { display: block; margin-bottom: 12px; font: 600 .74rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--c-purple-tint); direction: ltr; }
.svc-main { min-width: 0; }
.svc-main .sec-title { margin-top: 12px; }
.svc-cover { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(76,47,133,.35); box-shadow: var(--shadow-soft); background: #0b0910; }
.svc-cover picture, .svc-cover img { display: block; width: 100%; height: auto; }
.cta-band__inner { max-width: 640px; }
.cta-band__inner h2 { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.8rem); }
.cta-band .cta__actions { margin-top: 24px; }
.form-card--narrow { max-width: 760px; margin-inline: auto; }
.nf__body { position: relative; z-index: 2; }
.nf .hero__actions { margin-top: 26px; }

@media (max-width: 820px) {
  /* closing call-to-action: the character sits on top, the copy below it (never behind it) */
  .cta .sec__art { inset: 0 0 auto 0; height: 360px; }
  .cta .sec__art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 130px; background: linear-gradient(180deg, transparent, var(--c-black)); z-index: 2; }
  .cta > .container { padding-top: 340px; }
  .hero__tag { gap: 10px; font-size: .72rem; letter-spacing: .2em; white-space: nowrap; }
  .hero__tag::before, .hero__tag::after { width: 22px; }
  /* full-bleed light artwork behind body copy stays a soft wash so text keeps its contrast */
  .sec.theme-light:not(.sec--split):not(.phero) > .sec__art .art--background .art__img { opacity: .36; }
}

/* hero content rises in on load (CSS only, so it never waits for JS) */
.hero__body > * { animation: rise .95s var(--ease) both; }
.hero__body > :nth-child(2) { animation-delay: .1s; } .hero__body > :nth-child(3) { animation-delay: .2s; }
.hero__body > :nth-child(4) { animation-delay: .3s; } .hero__body > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Misc ----------------------------------------------------------------------------------------------------------------------------- */
.related { margin-top: clamp(40px, 6vw, 84px); }

/* ---------- Range-specific polish ------------------------------------------------------------------------------------------------- */
@media (max-width: 819px) { .vue-card { min-height: 0; padding-bottom: 30px; } }
/* phones: keep the top of hero art vivid and darken only where the copy sits */
@media (max-width: 820px) {
  html .sec.hero .art__scrim { background: linear-gradient(180deg, rgba(5,7,8,.05) 0%, rgba(5,7,8,.12) 30%, rgba(5,7,8,.74) 56%, rgba(5,7,8,.95) 82%); }
  /* inner-page heroes: the artwork sits on top and the title block below it, never over it */
  .phero { min-height: 0; align-items: flex-start; padding-top: 262px; padding-bottom: calc(var(--seam) + 24px); }
  .phero .sec__art { inset: 0 0 auto 0; height: 300px; }
  .phero .sec__art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 120px; z-index: 2; background: linear-gradient(180deg, transparent, var(--c-black)); }
  .phero.theme-light .sec__art::after { background: linear-gradient(180deg, transparent, var(--c-pearl)); }
  .phero .art__scrim { display: none; }
  .phero .luxury-grid--tl { display: none; }
}
@media (min-width: 821px) and (max-width: 1180px) {
  .hero__body { max-width: 52%; }
  .sec--split .split-content { max-width: 47%; }
  .panel__copy { max-width: 56%; }
}

/* ---------- Section settings chosen in the admin (spacing, alignment, device visibility) --------------------- */
.sec--space-compact { padding-block: calc(clamp(44px, 6vw, 84px) + var(--seam) * .4); }
.sec--space-spacious { padding-block: calc(clamp(104px, 13vw, 190px) + var(--seam) * .4); }
.sec--align-center .sec-head, .sec--align-center .cta__inner, .sec--align-center .cta-band__inner, .sec--align-center .split-content { text-align: center; margin-inline: auto; }
.sec--align-center .sec-title::after { inset-inline-start: 50%; transform: translateX(-50%); }
html[dir="rtl"] .sec--align-center .sec-title::after { inset-inline-start: auto; inset-inline-end: 50%; transform: translateX(50%); }
.sec--align-center .cta__actions, .sec--align-center .chips, .sec--align-center .contact-chips { justify-content: center; }
@media (min-width: 821px) { .hide-desktop { display: none !important; } }
@media (max-width: 820px) { .hide-mobile { display: none !important; } }

/* ---------- Staff preview (?preview=1): sections that are not public yet are outlined and labelled ---------------- */
.preview-bar { position: sticky; top: 0; z-index: 90; padding: 8px var(--gutter); background: #7a1d1d; color: #fff; font: 600 13px/1.5 var(--font-body); text-align: center; }
.sec[data-preview="hidden"] { outline: 3px dashed #d9534f; outline-offset: -3px; }
.sec[data-preview="hidden"]::after { content: attr(data-preview-note); position: absolute; top: 10px; inset-inline-start: 10px; z-index: 60; max-width: calc(100% - 20px); padding: 5px 12px; border-radius: 6px; background: #d9534f; color: #fff; font: 600 12px/1.4 var(--font-body); direction: ltr; text-align: left; }
