/* Brand & Production Studio - page styles.
   Lifted verbatim from the approved design; only the asset paths changed. */
:root {
      --bg: #f4f0e5;
      --bg2: #ebe5d2;
      --card: #fbf9f3;
      --tx: #17131f;
      --mute: #5e5868;
      --line: rgba(23, 19, 31, .13);
      --v: #6B2478;
      --m: #B0307F;
      --grad: linear-gradient(120deg, #6B2478, #B0307F);
      --sh: 0 24px 48px -32px rgba(60, 30, 70, .3)
    }

    html {
      scroll-behavior: auto !important
    }

    html.lenis,
    html.lenis body {
      height: auto
    }

    .lenis.lenis-stopped {
      overflow: hidden
    }

    body {
      background: var(--bg);
      color: var(--tx);
      font-family: Inter, sans-serif;
      line-height: 1.6;
      overflow-x: hidden
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: Syne, sans-serif;
      letter-spacing: -.02em;
      line-height: 1.05
    }

    .mono {
      font-family: 'JetBrains Mono', monospace
    }

    .mute {
      color: var(--mute)
    }

    a {
      color: inherit
    }

    :focus-visible {
      outline: 2px solid var(--m);
      outline-offset: 3px
    }

    section {
      position: relative
    }

    .pad {
      padding: clamp(4rem, 10vw, 8rem) 0
    }

    .alt {
      background: var(--bg2)
    }

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .ph {
      background: linear-gradient(135deg, #e2d8ec, #f1e6dc);
      overflow: hidden;
      position: relative
    }

    .ln {
      display: inline-block;
      overflow: hidden;
      vertical-align: top;
      padding-bottom: .14em
    }

    .wd {
      display: inline-block;
      will-change: transform
    }

    .btn-go {
      background: var(--grad);
      color: #fff;
      border: 0;
      border-radius: 99px;
      padding: 10px 14px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: box-shadow .3s;
      font-size: 13px;
    }

    .btn-go:hover {
      box-shadow: 0 12px 30px -10px var(--m);
      color: #fff
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid var(--line);
      color: var(--tx);
      border-radius: 99px;
      padding: .8rem 1.4rem;
      font-size: .95rem;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: .25s
    }

    .btn-ghost:hover {
      border-color: var(--v);
      color: var(--v)
    }

    .grain {
      position: fixed;
      inset: -60%;
      z-index: 95;
      pointer-events: none;
      opacity: .07;
      mix-blend-mode: multiply;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      animation: gr .9s steps(1) infinite
    }

    @keyframes gr {
      0% {
        transform: translate(0, 0)
      }

      20% {
        transform: translate(-4%, 3%)
      }

      40% {
        transform: translate(3%, -5%)
      }

      60% {
        transform: translate(-5%, -2%)
      }

      80% {
        transform: translate(4%, 4%)
      }
    }

    .prog {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--grad);
      transform: scaleX(0);
      transform-origin: left;
      z-index: 96
    }

    .pre {
      position: fixed;
      inset: 0;
      z-index: 97;
      background: var(--bg);
      display: grid;
      place-items: center;
      clip-path: inset(0)
    }

    .pre div {
      text-align: center
    }

    .pre img {
      height: 88px;
      width: auto;
      margin: 0 auto 1.2rem;
      mix-blend-mode: multiply
    }

    .pre b {
      font: 500 clamp(3rem, 9vw, 6rem)/1 'JetBrains Mono';
      color: var(--v)
    }

    .pre p {
      margin: .4rem 0 0;
      color: var(--mute);
      font-size: .85rem
    }

    /* nav */
    .nav {
      position: fixed;
      inset: 0 0 auto;
      z-index: 60;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: .8rem clamp(1rem, 3vw, 2.4rem)
    }

    .nav::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(244, 240, 229, .8);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line)
    }

    .nav>* {
      position: relative
    }

    .logo img {
      height: 55px;
      width: auto;
      mix-blend-mode: multiply
    }
    .marquee-logo {
      height: 80px;
      width: auto;
      object-fit: contain;
    }
    .pillbar {
      display: none;
      padding: 5px;
      border: 1px solid var(--line);
      border-radius: 99px;
      background: rgba(251, 249, 243, .75)
    }

    @media(min-width:992px) {
      .pillbar {
        display: block
      }

      .burger {
        display: none !important
      }
    }

    .menu {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      position: relative
    }

    .menu li {
      position: static
    }

    .mi {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 0;
      border-radius: 99px;
      background: rgba(107, 36, 120, .11);
      opacity: 0;
      pointer-events: none
    }

    .menu>li>a,
    .menu>li>button {
      position: relative;
      z-index: 1;
      background: none;
      border: 0;
      font-family: Inter;
      font-weight: 500;
      font-size: .93rem;
      line-height: 1.4;
      color: var(--tx);
      padding: .55rem 1rem;
      border-radius: 99px;
      text-decoration: none;
      cursor: pointer;
      display: inline-block;
      transition: color .2s
    }

    .menu>li.hov>*,
    .menu>li.open>button {
      color: var(--v)
    }

    .menu button::after {
      content: "";
      display: inline-block;
      width: 5px;
      height: 5px;
      border: solid currentColor;
      border-width: 0 1.5px 1.5px 0;
      transform: translateY(-2px) rotate(45deg);
      margin-left: .5rem;
      transition: transform .3s
    }

    .menu li.open button::after {
      transform: translateY(1px) rotate(225deg)
    }

    .dd {
      position: fixed;
      top: 78px;
      left: 50%;
      width: min(1080px, 92vw);
      margin-left: calc(min(1080px, 92vw)/-2);
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: 2rem;
      display: grid;
      grid-template-columns: repeat(var(--c), 1fr) 1.2fr;
      gap: 2.4rem;
      box-shadow: 0 40px 80px -30px rgba(50, 20, 60, .35);
      clip-path: inset(0 0 100% 0 round 24px);
      opacity: 0;
      visibility: hidden;
      transition: clip-path .5s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility 0s .5s
    }

    .dd::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -16px;
      height: 16px
    }

    .open>.dd {
      clip-path: inset(0 0 0 0 round 24px);
      opacity: 1;
      visibility: visible;
      transition-delay: 0s
    }

    .dd h4 {
      font: 500 .78rem 'JetBrains Mono';
      color: var(--v);
      margin: 0 0 .8rem
    }

    .dd a {
      display: block;
      position: relative;
      padding: .34rem 0 .34rem 0;
      color: var(--tx);
      text-decoration: none;
      font-size: .96rem;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .4s calc(var(--i)*35ms + .12s), transform .4s calc(var(--i)*35ms + .12s), color .2s, padding .25s
    }

    .open .dd a {
      opacity: 1;
      transform: none
    }

    .dd a:hover {
      color: var(--v);
      padding-left: 1rem
    }

    .dd a::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 6px;
      height: 6px;
      margin-top: -3px;
      border-radius: 50%;
      background: var(--m);
      transform: scale(0);
      transition: transform .25s
    }

    .dd a:hover::before {
      transform: scale(1)
    }

    .fc {
      border-radius: 18px;
      background: linear-gradient(145deg, #ecdcf0, #f8e3dc);
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
      min-height: 210px
    }

    .fc h3 {
      font-size: 1.35rem;
      margin: .3rem 0 .5rem
    }

    .fc p {
      font-size: .9rem;
      color: var(--mute);
      margin: 0
    }

    .fc .go {
      align-self: flex-start;
      background: none;
      border: 0;
      padding: 0;
      color: var(--v);
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1.5px solid currentColor;
      cursor: pointer
    }

    a[aria-current=page] {
      color: var(--v) !important;
      font-weight: 600
    }

    .burger {
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: var(--card);
      display: grid;
      place-content: center;
      gap: 6px;
      cursor: pointer
    }

    .burger i {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--tx);
      transition: .3s
    }

    .burger[aria-expanded=true] i:first-child {
      transform: translateY(4px) rotate(45deg)
    }

    .burger[aria-expanded=true] i:last-child {
      transform: translateY(-4px) rotate(-45deg)
    }

    .mpanel {
      position: fixed;
      inset: 0;
      z-index: 55;
      background: var(--bg);
      padding: 5.5rem 1.2rem 2rem;
      overflow: auto;
      clip-path: inset(0 0 100% 0);
      visibility: hidden
    }

    .mpanel summary {
      font: 600 1.35rem Syne;
      padding: 1rem 0;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between
    }

    .mpanel summary::after {
      content: "+";
      color: var(--v)
    }

    .mpanel details[open] summary::after {
      content: "–"
    }

    .mpanel details,
    .mpanel .top {
      border-bottom: 1px solid var(--line)
    }

    .mpanel h4 {
      font: 500 .78rem 'JetBrains Mono';
      color: var(--v);
      margin: .8rem 0 .2rem
    }

    .mpanel .top {
      display: block;
      font: 600 1.35rem Syne;
      padding: 1rem 0;
      text-decoration: none;
      color: var(--tx)
    }

    .mpanel a:not(.top) {
      display: block;
      padding: .4rem 0;
      text-decoration: none;
      color: var(--tx)
    }

    .mcta {
      position: fixed;
      left: 12px;
      right: 12px;
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      z-index: 45;
      transform: translateY(180%);
      transition: transform .45s
    }

    .mcta.show {
      transform: none
    }

    @media(min-width:768px) {
      .mcta {
        display: none
      }
    }

    .hud2 {
      position: fixed;
      left: clamp(1rem, 3vw, 2.4rem);
      bottom: 1.2rem;
      z-index: 40;
      display: none;
      gap: .8rem;
      align-items: center;
      font: 500 .75rem 'JetBrains Mono';
      background: rgba(251, 249, 243, .85);
      backdrop-filter: blur(8px);
      border: 1px solid var(--line);
      border-radius: 99px;
      padding: .35rem .9rem
    }

    @media(min-width:992px) {
      .hud2 {
        display: flex
      }
    }

    .hud2 b {
      color: #e11d48;
      animation: blink 1s steps(2) infinite
    }

    .cur {
      position: fixed;
      top: 0;
      left: 0;
      width: 14px;
      height: 14px;
      margin: -7px;
      border-radius: 50%;
      background: var(--v);
      z-index: 94;
      pointer-events: none;
      display: none;
      place-items: center;
      color: #fff;
      font: 600 .78rem Inter;
      transition: width .3s, height .3s, margin .3s
    }

    @media(hover:hover) and (pointer:fine) {
      .cur {
        display: grid
      }
    }

    .cur.big {
      width: 88px;
      height: 88px;
      margin: -44px
    }

    /* hero */
    .hero {
      height: 100svh;
      min-height: 600px;
      padding: 4.9rem .8rem .8rem;
      display: flex
    }

    .frame {
      position: relative;
      flex: 1;
      overflow: hidden;
      border-radius: 0;
      background: linear-gradient(160deg, #f6efe2, #efe3ee);
      will-change: transform;
      display: flex;
      align-items: flex-end
    }

    .mesh {
      position: absolute;
      inset: 0;
      overflow: hidden
    }

    .blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(70px);
      opacity: .75
    }

    .b1 {
      width: 48vw;
      height: 48vw;
      left: -8%;
      top: -20%;
      background: radial-gradient(circle, #b38ae0, transparent 70%)
    }

    .b2 {
      width: 42vw;
      height: 42vw;
      right: -6%;
      top: 5%;
      background: radial-gradient(circle, #f2a1c4, transparent 70%)
    }

    .b3 {
      width: 36vw;
      height: 36vw;
      left: 35%;
      bottom: -25%;
      background: radial-gradient(circle, #ffd29a, transparent 70%)
    }

    .himg {
      position: absolute;
      inset: 0;
      mix-blend-mode: multiply;
      opacity: .4
    }

    .hud {
      position: absolute;
      inset: clamp(14px, 2vw, 28px);
      z-index: 2;
      font: .78rem 'JetBrains Mono';
      pointer-events: none
    }

    .hud i {
      position: absolute;
      width: 34px;
      height: 34px;
      border: 2px solid var(--tx);
      opacity: .55
    }

    .hud .tl {
      top: 0;
      left: 0;
      border-right: 0;
      border-bottom: 0
    }

    .hud .tr {
      top: 0;
      right: 0;
      border-left: 0;
      border-bottom: 0
    }

    .hud .bl {
      bottom: 0;
      left: 0;
      border-right: 0;
      border-top: 0
    }

    .hud .br {
      bottom: 0;
      right: 0;
      border-left: 0;
      border-top: 0
    }

    .hud span {
      position: absolute;
      background: rgba(251, 249, 243, .9);
      padding: .15rem .6rem;
      border-radius: 99px
    }

    .rec {
      top: 12px;
      left: 50px
    }

    .rec b {
      color: #e11d48;
      animation: blink 1s steps(2) infinite
    }

    .tc {
      top: 12px;
      right: 50px
    }

    .meta {
      bottom: 12px;
      right: 50px;
      color: var(--mute)
    }

    @keyframes blink {
      50% {
        opacity: 0
      }
    }

    .reticle {
      position: absolute;
      left: 0;
      top: 0;
      width: 92px;
      height: 92px;
      margin: -46px 0 0 -46px;
      z-index: 3;
      pointer-events: none;
      display: none
    }

    .reticle::before,
    .reticle::after {
      content: "";
      position: absolute;
      inset: 0;
      border: 2px solid var(--v);
      border-radius: 6px;
      clip-path: polygon(0 0, 28% 0, 28% 8%, 8% 8%, 8% 28%, 0 28%, 0 0, 100% 0, 100% 28%, 92% 28%, 92% 8%, 72% 8%, 72% 0, 100% 100%, 72% 100%, 72% 92%, 92% 92%, 92% 72%, 100% 72%, 0 100%, 0 72%, 8% 72%, 8% 92%, 28% 92%, 28% 100%)
    }

    .reticle em {
      position: absolute;
      left: 50%;
      top: 100%;
      transform: translateX(-50%);
      font: 500 .7rem 'JetBrains Mono';
      color: var(--v);
      font-style: normal
    }

    @media(hover:hover) and (pointer:fine) {
      .reticle {
        display: block
      }
    }

    .hcopy {
      position: relative;
      z-index: 4;
      padding: clamp(2.2rem, 5vw, 4.2rem);
      max-width: 1100px
    }

    .hcopy h1 {
      font-size: clamp(2.2rem, 5vw, 4.5rem);
      max-width: 19ch;
      margin: 1rem 0 1.3rem;
      color: #fff;
    }

    .hcopy .lead {
      max-width: 52ch;
      color: var(--mute);
      font-size: clamp(1rem, 1.3vw, 1.15rem)
    }

    .scue {
      position: absolute;
      right: 50px;
      bottom: 48px;
      z-index: 4;
      font: .75rem 'JetBrains Mono';
      color: var(--mute);
      writing-mode: vertical-rl
    }

    @media(max-width:767.98px) {
      .meta {
        display: none
      }

      .cam .rec {
        display: none
      }

      .scue {
        display: none
      }

      .hcopy {
        padding: 1.6rem 1.2rem 2.6rem
      }
    }

    /* intro */
    .crumb {
      font-size: .85rem;
      color: var(--mute);
      margin-bottom: 1.4rem
    }

    .crumb a {
      text-decoration: none
    }

    .crumb a:hover {
      color: var(--v)
    }

    .milo {
      background: rgba(251, 249, 243, .85);
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: clamp(1.2rem, 3vw, 2.2rem);
      max-width: 900px;
      box-shadow: var(--sh)
    }

    .milo h3 {
      font: 600 1.15rem Inter;
      margin: 0 0 .25rem;
      letter-spacing: 0
    }

    .grp {
      margin-top: 1.1rem
    }

    .grp p {
      margin: 0 0 .5rem;
      font-size: .85rem;
      color: var(--mute)
    }

    .pill {
      border: 1px solid var(--line);
      background: var(--card);
      color: var(--tx);
      border-radius: 99px;
      padding: .5rem 1rem;
      margin: 0 .4rem .5rem 0;
      transition: border-color .2s;
      cursor: pointer;
      font-size: .92rem
    }

    .pill:hover {
      border-color: var(--v)
    }

    .pill[aria-pressed=true] {
      background: var(--grad);
      border-color: transparent;
      color: #fff
    }

    .out {
      display: none;
      margin-top: 1.2rem;
      padding-top: 1.2rem;
      border-top: 1px solid var(--line)
    }

    .out .k {
      font-size: .78rem;
      color: var(--mute)
    }

    .out .v {
      margin-bottom: .8rem
    }

    /* trust */
    .marq {
      overflow: hidden;
      border-block: 1px solid var(--line);
      padding: 1.5rem 0
    }

    .mq {
      display: flex;
      width: max-content;
      will-change: transform
    }

    .mq span {
      font: 700 1.7rem Syne;
      margin: 0 1.6rem;
      color: #8d8799;
      padding: 8px;
      white-space: nowrap;
      border:1px solid #cfced0;
      border-radius: 8px;
    }

    .stat b {
      font: 700 clamp(2rem, 4vw, 3.2rem)/1.1 Syne;
      display: block;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent
    }

    .mani {
      font: 700 clamp(1.7rem, 4.2vw, 3.6rem)/1.15 Syne;
      letter-spacing: -.02em;
      max-width: 24ch
    }

    .mani .w {
      opacity: .16;
      display: inline-block;
      margin-right: .26em
    }

    .mani .k {
      color: var(--v)
    }

    /* act 2 */
    #tension {
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center
    }

    .th {
      padding: clamp(4.5rem, 8vw, 6.5rem) 0 1.6rem
    }

    .th h2 {
      font-size: clamp(1.9rem, 4vw, 3.4rem);
      max-width: 22ch;
      position: relative
    }

    .th .t2 {
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      color: var(--v)
    }

    .th .tcount {
      float: right;
      color: var(--mute);
      font-size: .85rem
    }

    .tgrid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.2rem;
      padding-bottom: 3rem
    }

    .pc {
      display: grid;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: var(--sh);
      min-height: 330px;
      overflow: hidden;
      will-change: transform
    }

    .face {
      grid-area: 1/1;
      padding: 1.8rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.4rem
    }

    .face h3 {
      font-size: clamp(1.25rem, 1.9vw, 1.7rem)
    }

    .face p {
      margin: 0;
      color: var(--mute);
      font-size: .95rem
    }

    .sf h3 {
      color: var(--v)
    }

    .tline {
      height: 2px;
      background: var(--line);
      position: relative;
      margin-bottom: .8rem
    }

    .tline i {
      position: absolute;
      inset: 0;
      background: var(--grad);
      transform: scaleX(0);
      transform-origin: left
    }

    .tnote {
      font: .85rem 'JetBrains Mono';
      color: var(--mute);
      opacity: 0
    }

    @media(min-width:992px) {
      .sf {
        opacity: 0
      }
    }

    @media(max-width:991.98px) {
      .tgrid {
        grid-template-columns: 1fr 1fr
      }

      .th .t2 {
        display: none
      }

      .face {
        grid-area: auto
      }

      .pc {
        display: block
      }

      .sf {
        border-top: 1px dashed var(--line);
        background: #f3e8f3
      }

      .tline,
      .tnote,
      .tcount {
        display: none
      }
    }

    @media(max-width:575.98px) {
      .tgrid {
        grid-template-columns: 1fr
      }
    }

    /* act 3 */
    .craft h2 {
      font-size: clamp(2rem, 4.4vw, 3.6rem)
    }

    .chap {
      min-height: 70vh;
      padding: 2rem 0 2rem 2.2rem;
      opacity: .3;
      transition: opacity .4s
    }

    .chap.on {
      opacity: 1
    }

    .chap h3 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      margin: .4rem 0 1rem
    }

    .chapters {
      position: relative
    }

    .rail {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--line)
    }

    .rail i {
      position: absolute;
      inset: 0;
      background: var(--grad);
      transform: scaleY(0);
      transform-origin: top
    }

    .mon {
      position: sticky;
      top: 5.8rem;
      height: min(70vh, 580px);
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 22px;
      overflow: hidden;
      box-shadow: var(--sh)
    }

    .mlab {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 8;
      font: .75rem 'JetBrains Mono';
      background: rgba(251, 249, 243, .92);
      border: 1px solid var(--line);
      padding: .25rem .7rem;
      border-radius: 99px
    }

    .scr {
      position: absolute;
      inset: 0;
      opacity: 0;
      visibility: hidden;
      transition: opacity .6s, visibility 0s .6s
    }

    .scr.on {
      opacity: 1;
      visibility: visible;
      transition-delay: 0s
    }

    .vsvg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block
    }

    .sb {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      padding: 3.4rem 1.2rem 1.2rem;
      height: 100%
    }

    .fr {
      border: 1.5px dashed rgba(23, 19, 31, .28);
      border-radius: 10px;
      padding: .5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      font-size: .72rem;
      color: var(--mute);
      background: rgba(255, 255, 255, .5)
    }

    .fr svg {
      width: 100%;
      flex: 1;
      min-height: 0
    }

    .fr svg * {
      fill: none;
      stroke: var(--tx);
      stroke-width: 1.3;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 1;
      stroke-dashoffset: 0
    }

    .fr.hot {
      border-color: var(--v);
      color: var(--tx)
    }

    .stamp {
      position: absolute;
      right: 22px;
      bottom: 22px;
      border: 2px solid #16a34a;
      color: #16a34a;
      font: 600 .85rem 'JetBrains Mono';
      padding: .3rem .8rem;
      border-radius: 8px;
      transform: rotate(-6deg);
      background: rgba(255, 255, 255, .85)
    }

    .cam .hud {
      inset: 18px
    }

    .cam .rec {
      left: 190px
    }

    .cam .vf {
      position: absolute;
      inset: 0
    }

    .ret {
      position: absolute;
      left: 50%;
      top: 48%;
      width: 84px;
      height: 84px;
      margin: -42px;
      border: 2px solid #fff;
      border-radius: 6px;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, .25)
    }

    .spec {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      display: flex;
      gap: .6rem;
      flex-wrap: wrap;
      font: .75rem 'JetBrains Mono';
      z-index: 3
    }

    .spec span {
      background: rgba(251, 249, 243, .92);
      padding: .3rem .65rem;
      border-radius: 8px
    }

    .mt {
      position: absolute;
      right: 20px;
      top: 60px;
      display: flex;
      gap: 4px;
      align-items: flex-end;
      height: 70px;
      z-index: 3;
      background: rgba(251, 249, 243, .8);
      padding: 8px;
      border-radius: 8px
    }

    .mt i {
      width: 6px;
      height: 100%;
      background: var(--v);
      border-radius: 3px;
      transform-origin: bottom;
      transform: scaleY(.3)
    }

    .cmp {
      --p: 50%
    }

    .cmp .gr {
      filter: contrast(1.14) saturate(1.4)
    }

    .cmp .raw {
      filter: grayscale(.75) contrast(.5) brightness(1.3);
      clip-path: inset(0 calc(100% - var(--p)) 0 0)
    }

    .cmp .bar {
      position: absolute;
      top: 0;
      bottom: 0;
      left: var(--p);
      width: 2px;
      background: #fff;
      z-index: 3;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, .15)
    }

    .cmp .bar::after {
      content: "↔";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 44px;
      height: 44px;
      margin: -22px;
      border-radius: 50%;
      background: #fff;
      color: #000;
      display: grid;
      place-items: center;
      transition: transform .2s;
      box-shadow: 0 6px 20px rgba(0, 0, 0, .25)
    }

    .cmp.drag .bar::after {
      transform: scale(1.25)
    }

    .cmp input {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: ew-resize;
      z-index: 4
    }

    .tag {
      position: absolute;
      bottom: 16px;
      z-index: 3;
      font: .75rem 'JetBrains Mono';
      background: rgba(251, 249, 243, .92);
      padding: .3rem .65rem;
      border-radius: 8px
    }

    .tag.l {
      left: 16px
    }

    .tag.r {
      right: 16px
    }

    .mx {
      padding: 3.4rem 1.2rem 1.2rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: .9rem
    }

    .tabs {
      display: flex;
      gap: .5rem;
      flex-wrap: wrap
    }

    .tabs .btn-ghost {
      padding: .45rem .9rem;
      font-size: .85rem
    }

    .tabs .act {
      background: var(--grad);
      border-color: transparent;
      color: #fff
    }

    .mxb {
      flex: 1;
      min-height: 0;
      display: flex;
      gap: 1rem;
      align-items: stretch
    }

    .stage {
      flex: 1;
      display: grid;
      place-items: center;
      min-width: 0
    }

    .big {
      height: 100%;
      max-width: 100%;
      aspect-ratio: 16/9;
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      border: 1px solid var(--line)
    }

    .big span {
      position: absolute;
      left: 10px;
      bottom: 10px;
      z-index: 2;
      font: .75rem 'JetBrains Mono';
      background: rgba(251, 249, 243, .92);
      padding: .25rem .5rem;
      border-radius: 6px
    }

    .ths {
      display: flex;
      flex-direction: column;
      gap: .6rem;
      justify-content: center;
      width: 84px
    }

    .th2 {
      border: 1.5px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      position: relative;
      background: none;
      padding: 0;
      cursor: pointer
    }

    .th2.act {
      border-color: var(--v)
    }

    .cap {
      font-size: .85rem;
      color: var(--mute);
      margin: 0
    }

    @media(max-width:991.98px) {
      .craft .col-lg-7 {
        position: sticky;
        top: 3.9rem;
        z-index: 5;
        background: var(--bg);
        padding-bottom: .6rem
      }

      .mon {
        position: relative;
        top: 0;
        height: 36vh
      }

      .chap {
        min-height: 55vh
      }

      .ths {
        display: none
      }

      .sb {
        padding-top: 3rem;
        gap: 6px
      }
    }

    /* act 4 */
    .proof h2 {
      font-size: clamp(2rem, 4.4vw, 3.6rem);
      max-width: 18ch
    }

    .cs {
      position: sticky;
      top: calc(5.8rem + var(--i)*18px);
      height: min(64vh, 520px);
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      margin-bottom: 6vh;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      transform-origin: top center;
      box-shadow: var(--sh)
    }

    .cs::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--bg2);
      opacity: var(--dim, 0);
      pointer-events: none;
      z-index: 5
    }

    .cs .txt {
      padding: clamp(1.4rem, 3vw, 2.6rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between
    }

    .cs h3 {
      font-size: clamp(1.5rem, 2.8vw, 2.3rem)
    }

    .cs .big2 {
      font: 700 clamp(2.4rem, 5.2vw, 4.2rem)/1 Syne;
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent
    }

    .cs .md {
      position: relative;
      overflow: hidden
    }

    .cs .md img {
      height: 118%;
      position: absolute;
      top: -9%;
      left: 0
    }

    .play {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 76px;
      height: 76px;
      margin: -38px;
      border-radius: 50%;
      background: var(--v);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 1.3rem;
      transform: scale(.6);
      opacity: 0;
      transition: .35s;
      pointer-events: none
    }

    .cs:hover .play {
      transform: scale(1);
      opacity: 1
    }

    .dl {
      position: absolute;
      inset: auto 0 0;
      padding: 1rem 1.4rem;
      background: linear-gradient(transparent, rgba(251, 249, 243, .97));
      font-size: .8rem;
      transform: translateY(100%);
      transition: .4s
    }

    .cs:hover .dl {
      transform: none
    }

    @media(max-width:767.98px) {
      .cs {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        height: auto;
        position: relative;
        top: 0
      }

      .cs .md {
        order: -1;
        min-height: 200px
      }

      .dl {
        transform: none
      }

      .play {
        opacity: 1;
        transform: scale(.7)
      }
    }

    /* sections */
    .bc {
      display: block;
      text-decoration: none;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 20px;
      overflow: hidden;
      height: 100%;
      transition: box-shadow .3s
    }

    .bc:hover {
      box-shadow: 0 26px 44px -26px rgba(60, 20, 80, .45)
    }

    .bc .im {
      aspect-ratio: 16/10
    }

    .bc .im img {
      transition: transform .7s
    }

    .bc:hover .im img {
      transform: scale(1.06)
    }

    .bc .bd {
      padding: 1.3rem
    }

    .bc h3 {
      font-size: 1.3rem;
      margin: .5rem 0
    }

    .faq details {
      border-bottom: 1px solid var(--line);
      padding: 1.1rem 0
    }

    .faq summary {
      font: 600 1.1rem Syne;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      gap: 1rem
    }

    .faq summary::after {
      content: "+";
      color: var(--v);
      font-size: 1.4rem;
      line-height: 1;
      transition: transform .3s
    }

    .faq details[open] summary::after {
      transform: rotate(45deg)
    }

    .faq p {
      margin: .8rem 0 0;
      max-width: 68ch;
      animation: fd .4s
    }

    @keyframes fd {
      from {
        opacity: 0;
        transform: translateY(-6px)
      }
    }

    .rel a {
      display: flex;
      justify-content: space-between;
      padding: 1.2rem 1.4rem;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      text-decoration: none;
      font: 600 1.05rem Syne;
      transition: .3s
    }

    .rel a:hover {
      border-color: var(--v);
      color: var(--v);
      padding-left: 1.8rem
    }

    .lnk {
      color: var(--v);
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid currentColor
    }

    .close h2 {
      font-size: clamp(1.9rem, 4.2vw, 3.5rem);
      max-width: 24ch
    }

    .panel {
      background: linear-gradient(135deg, #eadcf0, #f6e6dc);
      border-radius: 32px;
      padding: clamp(2rem, 5vw, 4.5rem);
      border: 1px solid var(--line)
    }

    .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #22c55e;
      margin-right: .5rem;
      box-shadow: 0 0 0 0 #22c55e99;
      animation: pulse 1.8s infinite
    }

    @keyframes pulse {
      to {
        box-shadow: 0 0 0 14px #22c55e00
      }
    }

    .prod {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 1.6rem;
      display: flex;
      gap: 1.2rem;
      align-items: center;
      box-shadow: var(--sh)
    }

    .av {
      width: 78px;
      height: 78px;
      border-radius: 50%;
      flex: none
    }

    footer {
      background: var(--bg2);
      padding: 4rem 0 2rem;
      font-size: .92rem
    }

    footer h4 {
      font: 600 1.05rem Syne
    }

    footer h5 {
      font: 500 .78rem 'JetBrains Mono';
      color: var(--v);
      margin: 1.2rem 0 .4rem
    }

    footer a {
      display: block;
      color: var(--tx);
      text-decoration: none;
      padding: .16rem 0
    }

    footer a:hover {
      color: var(--v)
    }

    footer .logo {
      display: inline-block
    }

    footer .logo img {
      height: 60px
    }

    footer .border-top {
      border-color: var(--line) !important
    }

    footer span a {
      display: inline
    }

    @media(max-width:767.98px) {
      footer {
        padding-bottom: 6rem
      }
    }

    /* drawer */
    .ov {
      position: fixed;
      inset: 0;
      background: rgba(23, 19, 31, .4);
      z-index: 90;
      opacity: 0;
      visibility: hidden
    }

    .dr {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(100%, 480px);
      background: var(--card);
      z-index: 100;
      transform: translateX(100%);
      visibility: hidden;
      overflow: auto;
      padding: 2rem;
      border-left: 1px solid var(--line)
    }

    .dr label {
      font-size: .82rem;
      color: var(--mute);
      display: block;
      margin: 1rem 0 .35rem
    }

    .dr .form-control {
      background: #fff;
      border: 1px solid var(--line);
      color: var(--tx);
      border-radius: 12px;
      padding: .7rem .9rem
    }

    .dr .form-control:focus {
      border-color: var(--v);
      box-shadow: none
    }

    .dr .btn-ghost {
      padding: .5rem 1rem
    }

    #dr .act {
      background: var(--grad);
      border-color: transparent;
      color: #fff
    }

    .scope {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: .8rem 1rem;
      font-size: .88rem
    }

    .x {
      position: absolute;
      top: 1rem;
      right: 1rem
    }

    .done {
      display: none;
      text-align: center;
      padding: 3rem 0
    }

    @media(prefers-reduced-motion:reduce) {

      .grain,
      .dot,
      .rec b,
      .hud2 b {
        animation: none
      }
    }
    .hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    pointer-events: none;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(-90deg) scale(1.02);
}

.cs .md {
  position: relative;
  z-index: 2;
  cursor: pointer;
}


.cs .md .play {
  pointer-events: none;
}

/* ---------- Video popup ---------- */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vmodal.open {
  display: flex;
}

.vmodal-box {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.vmodal-body {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.vmodal-body video,
.vmodal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vmodal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
