/* ==========================================================
   Creative Space Studio — Homepage, option C (minimal)
   Loaded after styles.css + page.css.
   ========================================================== */

.c-label { margin: 0 0 32px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.c-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.c-link:hover { color: var(--nebula); }
.c-link svg { transition: transform .2s; }
.c-link:hover svg { transform: translateX(4px); }

/* ---------- 1. Hero ---------- */
.hc { padding-top: clamp(40px, 6vw, 80px); }
.hc__title { margin: clamp(24px, 4vw, 56px) 0 0; text-wrap: balance; font-size: clamp(46px, 8.5vw, 136px); line-height: .92; letter-spacing: -.055em; }
.hc__line { display: block; white-space: nowrap; opacity: 0; transform: translateY(40px); animation: hc-up 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hc__line--accent { color: var(--nebula); animation-delay: .12s; }
@keyframes hc-up { to { opacity: 1; transform: none; } }
.hc__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hc__foot p { margin: 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-soft); text-wrap: balance; }
.hc__cta { flex: none; display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px; border-radius: 99px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 17px; transition: background .25s, gap .25s; }
.hc__cta:hover { background: var(--nebula); gap: 20px; }
.hc__film { position: relative; aspect-ratio: 21 / 9; max-height: 88vh; background: var(--night); overflow: hidden; }
.hc__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc__sound { position: absolute; left: var(--gutter); bottom: 24px; width: auto; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px;
  border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, color .2s; }
.hc__sound:hover { background: var(--white); color: var(--nebula); }

/* ---------- 2. Services ---------- */
.cs { padding: clamp(88px, 12vw, 160px) 0; }
.cs__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.cs__item { display: flex; flex-direction: column; padding: 32px 32px 8px 0; }
.cs__item + .cs__item { padding-left: 32px; border-left: 1px solid var(--line); }
.cs__n { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.cs__item h2 { margin: 56px 0 16px; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.035em; transition: color .25s; }
.cs__item p { margin: 0 0 32px; color: var(--ink-soft); font-size: 17px; text-wrap: pretty; }
.cs__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.cs__go svg { transition: transform .25s; }
.cs__item:hover h2, .cs__item:hover .cs__go { color: var(--nebula); }
.cs__item:hover .cs__go svg { transform: translateX(6px); }

/* ---------- 3. Work ---------- */
.cw { padding-bottom: clamp(88px, 12vw, 160px); }
.cw__head { display: flex; justify-content: space-between; align-items: baseline; }
.cw__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.cw__item { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.cw__item--big { grid-column: span 2; }
.cw__img { position: relative; display: block; height: clamp(240px, 32vw, 460px); border-radius: 6px; overflow: hidden; background: var(--tint); }
.cw__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.cw__item:hover .cw__img img { transform: scale(1.04); }
.cw__play { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--ink); }
.cw__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; }
.cw__cap b { font-size: 20px; letter-spacing: -.01em; }
.cw__cap span { font-size: 15px; color: var(--ink-muted); }

/* ---------- 4. Quote ---------- */
.cq { padding: clamp(72px, 10vw, 128px) 0; background: var(--night); color: var(--white); }
.cq .c-label { margin: 0; color: var(--sky); }
.cq__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.cq__nav { display: flex; align-items: center; gap: 12px; }
.cq__count { margin-right: 10px; font-size: 15px; color: var(--sky); font-variant-numeric: tabular-nums; }
.cq__count b { color: var(--white); }
.cq__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: none; color: var(--white); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cq__btn:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.cq__stage { display: grid; min-height: clamp(260px, 26vw, 400px); }
.cq__q { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateX(40px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.cq__q.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cq__q.is-out { transform: translateX(-40px); }
.cq blockquote { margin: 0 0 36px; max-width: 20ch; font-size: clamp(34px, 5.6vw, 88px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.cq figcaption { font-size: 17px; color: var(--sky); }
.cq figcaption b { color: var(--white); margin-right: 8px; }
.cq__bars { display: flex; gap: 8px; margin-top: clamp(32px, 5vw, 56px); }
.cq__bars button { flex: 1; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.cq__bars i { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.cq__bars i::after { content: ""; position: absolute; inset: 0; background: var(--sunny); transform: scaleX(0); transform-origin: 0 50%; }
.cq__bars .done i::after { transform: scaleX(1); }
.cq__bars .now i::after { animation: cq-fill var(--cq-time, 6s) linear forwards; }
.cq:hover .cq__bars .now i::after, .cq:not(.in-view) .cq__bars .now i::after { animation-play-state: paused; }
@keyframes cq-fill { to { transform: scaleX(1); } }

/* ---------- 5. Numbers ---------- */
.cn { padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.cn__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cn__row b { display: block; font-size: clamp(48px, 6vw, 92px); line-height: 1; letter-spacing: -.05em; }
.cn__row div:first-child b { color: var(--nebula); }
.cn__row span { display: block; margin-top: 10px; color: var(--ink-muted); font-size: 15px; }

/* ---------- 6. Blog list ---------- */
.cb { padding: clamp(88px, 12vw, 160px) 0; }
.cb .cw__head { border-bottom: 1px solid var(--ink); }
.cb .c-label { margin-bottom: 20px; }
.cb__row { display: grid; grid-template-columns: 200px 1fr 40px; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.cb__tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nebula); }
.cb__row b { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cb__row svg { justify-self: end; transition: transform .25s; }
.cb__row:hover b { transform: translateX(10px); }
.cb__row:hover svg { transform: translateX(6px); color: var(--nebula); }

/* ---------- 7. Contact ---------- */
.cc { background: var(--white); border-top: 1px solid var(--line); }
.cc__big { margin: 0; font-size: clamp(64px, 14vw, 220px); line-height: .9; letter-spacing: -.06em; }
.cc__mail { display: inline-block; margin: 20px 0 clamp(48px, 6vw, 88px); font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; color: var(--nebula); border-bottom: 2px solid currentColor; }
.cc .contact__list span { background: var(--tint); box-shadow: none; }
.cc .contact-form { box-shadow: none; border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hc__line { display: inline; white-space: normal; }
  .hc__foot { flex-direction: column; align-items: flex-start; }
  .hc__film { aspect-ratio: 4 / 5; }
  .cs__grid { grid-template-columns: 1fr; border-top: 0; }
  .cs__item, .cs__item + .cs__item { padding: 28px 0; border-left: 0; border-top: 1px solid var(--ink); }
  .cs__item h2 { margin-top: 24px; }
  .cw__grid { grid-template-columns: 1fr; }
  .cw__item--big { grid-column: auto; }
  .cw__img { height: auto; aspect-ratio: 16 / 11; }
  .cn__row { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .cb__row { grid-template-columns: 1fr 28px; gap: 8px 16px; padding: 24px 0; }
  .cb__tag { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .cq__bars .now i::after { animation: none; transform: scaleX(1); }
  .hc__line { animation: none; opacity: 1; transform: none; }
}
.cq .qm { color: var(--sunny); }

/* ---------- Hero v2: rotating word + project stack ---------- */
.hc__top { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: clamp(24px, 4vw, 56px); }
.hc .hc__title { margin: 0; font-size: clamp(44px, 7.2vw, 116px); line-height: .98; text-wrap: initial; }
.hc .hc__line { display: block; white-space: nowrap; }
.hc__spark { display: inline-block; width: .42em; height: .42em; margin-left: .06em; vertical-align: .08em; color: var(--sunny); animation: hc-spin 7s linear infinite; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
.hc__rot { display: grid; color: var(--nebula); padding-bottom: .12em; overflow: hidden; }
.hc__word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(70%); transition: transform .6s cubic-bezier(.7,0,.2,1), opacity .45s ease; }
.hc__word.is-on { opacity: 1; transform: none; }
.hc__word.is-out { opacity: 0; transform: translateY(-70%); }

.hc__stack { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; }
.hc__card { position: absolute; inset: 0; margin: 0; border-radius: 26px; overflow: hidden; background: var(--tint); box-shadow: 0 24px 60px rgba(17,4,114,.18);
  opacity: 0; transform: translateY(30px) scale(.9); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
.hc__card img { width: 100%; height: 100%; object-fit: cover; }
.hc__card figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.94); font-size: 14px; color: var(--ink-soft); backdrop-filter: blur(6px); }
.hc__card figcaption b { color: var(--ink); margin-right: 4px; }
.hc__card.p0 { opacity: 1; transform: none; z-index: 3; }
.hc__card.p1 { opacity: 1; transform: rotate(6deg) translate(6%, -3%) scale(.92); z-index: 2; }
.hc__card.p2 { opacity: 1; transform: rotate(-7deg) translate(-7%, 2%) scale(.88); z-index: 1; }
.hc__card.p1 figcaption, .hc__card.p2 figcaption { opacity: 0; }
.hc__card.gone { opacity: 0; transform: translateY(-40px) rotate(-10deg) scale(.95); z-index: 4; }

@media (max-width: 860px) {
  .hc__top { grid-template-columns: 1fr; }
  .hc .hc__title { font-size: clamp(40px, 11.5vw, 72px); }
  .hc .hc__line { display: block; }
  .hc__stack { max-width: none; aspect-ratio: 16 / 11; justify-self: stretch; margin: 8px 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hc__spark { animation: none; }
}

/* ==========================================================
   Header options (2-5) + preview switcher
   ========================================================== */
.hv { display: none; position: relative; }
body[data-hero="2"] .hv--2, body[data-hero="3"] .hv--3, body[data-hero="4"] .hv--4, body[data-hero="5"] .hv--5 { display: block; }
body:not([data-hero="1"]) [data-hero-panel="1"] { display: none; }
body[data-hero="2"] .hc__film, body[data-hero="4"] .hc__film { display: none; }
.hv__h { margin: 0; font-size: clamp(44px, 8vw, 128px); line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.hv__h span { color: var(--nebula); }
.hc__cta--light { background: var(--white); color: var(--ink); }
.hc__cta--light:hover { background: var(--sunny); color: var(--night); }

/* 2 — full-screen film */
.hv--2 { height: calc(100vh - 84px); height: calc(100svh - 84px); min-height: 560px; overflow: hidden; background: var(--night); color: var(--white); }
.hv--2 .hv-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,10,26,.85) 0%, rgba(11,10,26,.25) 55%, rgba(11,10,26,.15) 100%); }
.hv2__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(36px, 6vh, 72px); }
.hv--2 .hv__h { max-width: none; font-size: clamp(44px, 7.4vw, 120px); }
.hv--2 .hv__h span { display: block; }
.hv--2 .hv__h span { color: var(--sky); }
.hv2__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 32px; }
.hv2__row p { margin: 0; max-width: 34ch; font-size: 18px; color: rgba(255,255,255,.82); text-wrap: balance; }
.hv2__btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hv2__reel { width: auto; display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--white); font-weight: 700; font-size: 16px; cursor: pointer; }
.hv2__reel span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); transition: background .2s, color .2s; }
.hv2__reel:hover span { background: var(--white); color: var(--ink); }

/* 3 — headline + endless work strip */
.hv--3 { padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hv3__h { max-width: 14ch; }
.hv3__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.hv3__row p { margin: 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); text-wrap: balance; }
.hv3__strip { overflow: hidden; padding: 16px 0 clamp(48px, 6vw, 80px); }
.hv3__track { display: flex; gap: 20px; width: max-content; animation: hv3 60s linear infinite; }
.hv3__strip:hover .hv3__track { animation-play-state: paused; }
.hv3__track figure { position: relative; flex: none; margin: 0; width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.hv3__track figure:nth-child(odd) { transform: rotate(-2.5deg); }
.hv3__track figure:nth-child(even) { transform: rotate(2deg) translateY(14px); }
.hv3__track figure:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.hv3__track img { width: 100%; height: 100%; object-fit: cover; }
.hv3__track figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.94); font-size: 13px; font-weight: 700; }
@keyframes hv3 { to { transform: translateX(-50%); } }

/* 4 — split with tall film card */
.hv--4 { padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
.hv4__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hv--4 .hv__h { font-size: clamp(44px, 6.4vw, 104px); }
.hv4__text p { margin: 28px 0 36px; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); text-wrap: balance; }
.hv4__btns { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hv4__card { position: relative; aspect-ratio: 4 / 5; max-height: 76vh; justify-self: end; width: 100%; border-radius: 32px; overflow: hidden; background: var(--night); box-shadow: 0 30px 70px rgba(17,4,114,.22); }
.hv4__card .hv-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv4__reel { position: absolute; left: 18px; bottom: 18px; width: auto; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.hv4__reel:hover { color: var(--nebula); }
.hv4__badge { position: absolute; top: 18px; right: 18px; padding: 10px 16px; border-radius: 99px; background: var(--sunny); color: var(--night); font-size: 14px; }
.hv4__badge b { font-size: 16px; }

/* 5 — cursor trail */
.hv--5 { height: calc(100vh - 84px); height: calc(100svh - 84px); min-height: 520px; overflow: hidden; background: var(--tint); }
.hv5__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.hv5__in a { pointer-events: auto; }
.hv5__h { max-width: 12ch; margin-bottom: 40px; }
.hv5__hint { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.hv5__hint .sparkle { width: 14px; height: 14px; color: var(--sunny); }
.hv5__hint-m { display: none; }
@media (hover: none), (pointer: coarse) { .hv5__hint-d { display: none; } .hv5__hint-m { display: inline; } }
.hv5__trail { position: absolute; inset: 0; z-index: 1; }
.hv5__trail img { position: absolute; width: clamp(150px, 16vw, 240px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 40px rgba(17,4,114,.18);
  translate: -50% -50%; animation: hv5 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes hv5 { 0% { opacity: 0; transform: scale(.6) rotate(var(--r)); } 15% { opacity: 1; transform: scale(1) rotate(var(--r)); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(.85) rotate(var(--r)); } }

/* Preview switcher */
.hero-pick { position: fixed; left: 50%; translate: -50% 0; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--ink); color: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: 13px; font-weight: 700; }
.hero-pick span { margin-right: 6px; color: var(--ash); }
.hero-pick button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font: inherit; cursor: pointer; }
.hero-pick button[aria-pressed="true"] { background: var(--sunny); color: var(--night); }

@media (max-width: 860px) {
  .hv2__row, .hv3__row { flex-direction: column; align-items: flex-start; }
  .hv4__grid { grid-template-columns: 1fr; }
  .hv4__card { aspect-ratio: 4 / 5; max-height: none; }
  .hv5__trail img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) { .hv3__track { animation: none; } }

/* Header 1: text column (headline, line, button) beside the card stack, both centred */
.hc__top { grid-template-columns: 1.2fr 1fr; align-items: center; margin: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hc__left { display: flex; flex-direction: column; align-items: flex-start; }
.hc__left .hc__foot { flex-direction: column; align-items: flex-start; gap: 28px; margin: clamp(28px, 3vw, 40px) 0 0; }
.hc__stack { max-width: 500px; }
@media (max-width: 860px) { .hc__top { margin-bottom: 48px; } .hc__stack { margin: 8px 12px 0; } }

/* Header 5 v2: flipping word + brand shapes trail */
.hv5__h { max-width: none; }
.hv--5 .hv__h .hv5__line { display: block; color: var(--ink); white-space: nowrap; }
.hv5__rot { justify-items: center; color: var(--nebula); }
.hv--5 .hv__h .hc__word { color: var(--nebula); }
.hv5__trail .bit { position: absolute; translate: -50% -50%; pointer-events: none; animation: hv5 1.3s cubic-bezier(.2,.8,.2,1) forwards; }
.bit--spark { width: var(--s); height: var(--s); }
.bit--spark svg { width: 100%; height: 100%; fill: currentColor; }
.bit--dot { width: var(--s); height: var(--s); border-radius: 50%; }
.bit--tag { padding: 10px 18px; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 30px rgba(17,4,114,.14); }
@media (max-width: 860px) { .hv--5 .hv__h .hv5__line { white-space: normal; } }
body:not([data-hero="1"]) .hc { padding-top: 0; }

/* Header 5 v3: ambient brand orbit + film that rises out of the header */
.hv--5 { height: calc(100vh - 84px - 14vh); height: calc(100svh - 84px - 14vh); min-height: 500px; background: var(--tint); }
.hv5__amb { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hv5__amb .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: hv5-drift 18s ease-in-out infinite alternate; }
.hv5__amb .b1 { width: 420px; height: 420px; left: -80px; top: -60px; background: var(--periwinkle); }
.hv5__amb .b2 { width: 380px; height: 380px; right: -60px; top: 30%; background: var(--sky); animation-delay: -6s; }
.hv5__amb .b3 { width: 300px; height: 300px; left: 35%; bottom: -160px; background: #c9b8ff; animation-delay: -11s; }
@keyframes hv5-drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hv5__orbit { position: absolute; left: 50%; top: 50%; width: min(1240px, 125vw); translate: -50% -50%; overflow: visible; }
.hv5__orbit ellipse { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hv5__orbit .o1 { stroke: rgba(55,30,229,.22); }
.hv5__orbit .o2 { stroke: rgba(55,30,229,.16); stroke-dasharray: 4 8; }
.hv5__orbit .s1 { color: var(--sunny); fill: var(--sunny); }
.hv5__orbit .s2 { fill: var(--coral); }
.hv5__amb .fl { position: absolute; animation: hv5-bob 5s ease-in-out infinite; }
.hv5__amb svg.fl { width: 30px; height: 30px; }
.hv5__amb .f1 { left: 12%; top: 22%; color: var(--nebula); }
.hv5__amb .f2 { right: 14%; top: 18%; width: 20px; height: 20px; color: var(--coral); animation-delay: -1.5s; }
.hv5__amb .f3 { right: 22%; bottom: 18%; width: 40px; height: 40px; color: var(--sunny); animation-delay: -3s; }
.hv5__amb i.fl { width: 14px; height: 14px; border-radius: 50%; }
.hv5__amb .f4 { left: 20%; bottom: 22%; background: var(--sunny); animation-delay: -2s; }
.hv5__amb .f5 { left: 30%; top: 14%; width: 9px; height: 9px; background: var(--periwinkle); animation-delay: -4s; }
@keyframes hv5-bob { 50% { transform: translateY(-14px) rotate(20deg); } }

body[data-hero="5"] .hc { background: linear-gradient(180deg, var(--tint) 0, var(--tint) 34%, var(--white) 34%); }
body[data-hero="5"] .hc__film { width: var(--w, 90%); margin: 0 auto; border-radius: var(--r, 32px); box-shadow: 0 30px 70px rgba(17,4,114,.18); }
@media (max-width: 860px) {
  .hv5__amb .blob { width: 240px; height: 240px; }
  .hv5__orbit { width: 180vw; }
  body[data-hero="5"] .hc__film { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .hv5__amb .blob, .hv5__amb .fl { animation: none; } }

/* Header 5 v4: refined — dot grid lit by a soft spotlight that follows the cursor */
.hv5__trail > i { position: absolute; inset: 0; }
.hv5__grid { background-image: radial-gradient(rgba(55,30,229,.13) 1.2px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.hv5__glow { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 45%), rgba(103,108,239,.22), transparent 70%); }
.hv5__spot { background-image: radial-gradient(rgba(55,30,229,.75) 1.5px, transparent 1.7px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 45%), #000 0%, transparent 75%); mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 45%), #000 0%, transparent 75%); }
.hv5__orbit .o2 { display: none; }
.hv5__amb .blob { opacity: .4; }
.hv5__orbit .s2 { display: none; }

/* Header 5 v5: picture pills inside the headline (from option B, pared back) */
.hv5__h .pill { display: inline-block; position: relative; width: 1.6em; height: .74em; margin: 0 .04em; border-radius: 999px; overflow: hidden; vertical-align: -.02em; background: var(--white);
  box-shadow: 0 6px 18px rgba(17,4,114,.14); }
.hv5__h .pill video, .hv5__h .pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv5__h .pill--vid { width: 2em; }
.hv5__pics img { opacity: 0; transform: scale(1.15); transition: opacity .6s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.hv5__pics img.is-on { opacity: 1; transform: none; }
.hv--5 .hv__h .hv5__line { white-space: nowrap; }
.hv5__line2 { display: inline-flex; align-items: center; justify-content: center; gap: .22em; white-space: nowrap; }
.hv5__line2 .pill { margin: 0; }
.hv--5 .hv5__rot { display: inline-grid; justify-items: start; transition: width .6s cubic-bezier(.7,0,.2,1); }
@media (max-width: 860px) {
  .hv--5 .hv__h { font-size: clamp(32px, 9.4vw, 60px); }
  .hv--5 .hv__h .hv5__line { white-space: nowrap; }
  .hv5__h .pill { width: 1.35em; } .hv5__h .pill--vid { width: 1.6em; }
}
.hv--5 .hc__rot { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hv--5 .hc__word { transform: translateY(110%); opacity: 1; transition: transform .65s cubic-bezier(.7,0,.2,1); }
.hv--5 .hc__word.is-on { transform: none; }
.hv--5 .hc__word.is-out { transform: translateY(-110%); }

/* Header 5 v6: no pills — spinning sparkle + a yellow brush stroke that draws under each new word */
.hv5__spark { width: .36em; height: .36em; margin-left: .12em; vertical-align: .55em; }
.hv5__ww { position: relative; display: inline-block; }
.hv5__stroke { position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .26em; overflow: visible; pointer-events: none; }
.hv5__stroke path { fill: none; stroke: var(--sunny); stroke-width: 10; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hv5__stroke.is-draw path { animation: hv5-draw .9s cubic-bezier(.6,0,.2,1) .15s forwards; }
@keyframes hv5-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) { .hv5__stroke path { stroke-width: 6; } }
@media (prefers-reduced-motion: reduce) { .hv5__stroke path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 860px) { .hv--5 .hv__h { font-size: clamp(36px, 11.2vw, 64px); } }

/* Header 5: word swap — only one word is ever visible (works in every browser) */
.hv--5 .hc__rot { clip-path: inset(0 -.3em -.2em -.3em); }
.hv--5 .hc__word { white-space: nowrap; opacity: 0; visibility: hidden;
  transition: transform .65s cubic-bezier(.7,0,.2,1), opacity .35s ease, visibility 0s linear .65s; }
.hv--5 .hc__word.is-on { opacity: 1; visibility: visible; transition: transform .65s cubic-bezier(.7,0,.2,1), opacity .35s ease .15s, visibility 0s; }
.hv--5 .hc__word.is-out { opacity: 0; visibility: visible; transition: transform .65s cubic-bezier(.7,0,.2,1), opacity .3s ease, visibility 0s linear .65s; }
.hv--5 .hc__rot { overflow: visible; clip-path: inset(-.05em -.6em -.3em -.6em); }

/* Header 5 v7: the showreel IS the header — a dark veil with a clear window that follows the cursor */
.hv--5 { height: calc(100vh - 84px); height: calc(100svh - 84px); min-height: 560px; background: var(--night); color: var(--white); }
.hv5__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hv5__veil { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(17,4,114,.62), rgba(11,10,26,.86) 75%);
  -webkit-mask-image: radial-gradient(circle 230px at var(--mx, 50%) var(--my, 45%), transparent 0, transparent 30%, rgba(0,0,0,.55) 62%, #000 100%);
          mask-image: radial-gradient(circle 230px at var(--mx, 50%) var(--my, 45%), transparent 0, transparent 30%, rgba(0,0,0,.55) 62%, #000 100%); }
.hv--5 .hv5__amb .blob { display: none; }
.hv--5 .hv5__orbit .o1 { stroke: rgba(255,255,255,.22); }
.hv--5 .hv5__grid { background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px); }
.hv--5 .hv5__glow { display: none; }
.hv--5 .hv5__spot { background-image: radial-gradient(rgba(255,255,255,.7) 1.5px, transparent 1.7px); }
.hv--5 .hv__h .hv5__line { color: var(--white); }
.hv--5 .hv__h .hc__word, .hv5__rot { color: var(--sky); }
.hv--5 .hv__h { text-shadow: 0 4px 30px rgba(11,10,26,.35); }
.hv5__btns { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; pointer-events: auto; }
.hv5__btns .hv2__reel { pointer-events: auto; }
body[data-hero="5"] .hc__film { display: none; }
body[data-hero="5"] .hc { background: none; }
.hv--5 .hv__h { text-shadow: 0 2px 28px rgba(11,10,26,.6), 0 0 2px rgba(11,10,26,.25); }
@media (hover: none), (pointer: coarse) {
  .hv5__veil { -webkit-mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 84%), transparent 0, transparent 30%, rgba(0,0,0,.55) 62%, #000 100%);
                      mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 84%), transparent 0, transparent 30%, rgba(0,0,0,.55) 62%, #000 100%); }
}

/* Numbers: scroll-driven — each column rises in turn, its rule draws across and the number counts up as you scroll */
.cn__item { position: relative; padding-top: 22px; }
.cn__rule { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.cn__item:first-child .cn__rule { background: var(--nebula); }
.cn__item b, .cn__item > span { transform: translateY(calc((1 - var(--p, 1)) * 48px)); opacity: calc(.15 + var(--p, 1) * .85); }
.cn__num { font-variant-numeric: tabular-nums; }
.cn__row .cn__num { display: inline; margin: 0; color: inherit; font-size: inherit; }
