
    :root {
      color-scheme: dark;
      --bg: #08080a;
      --white: #f7f7fa;
      --muted: #aaaab7;
      --line: #323239;
      --purple: #b68aff;
      --accent: linear-gradient(110deg, #6443ef, #cf66ed 65%, #ffba78);
    }
    * {
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
      scroll-padding-top: 92px;
    }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--white);
      font-family: Arial, Helvetica, sans-serif;
      font-size: 16px;
      line-height: 1.6;
    }
    a {
      color: inherit;
      text-decoration: none;
    }
    button {
      font: inherit;
    }
    a:focus-visible,
    button:focus-visible,
    summary:focus-visible {
      outline: 3px solid #dfb6ff;
      outline-offset: 6px;
    }
    .wrap {
      max-width: 1360px;
      margin: auto;
      padding: 0 5%;
    }
    .draft {
      padding: 9px 5%;
      background: #21192e;
      color: #dbc7ef;
      font-size: 13px;
      text-align: center;
    }
    .draft a {
      text-decoration: underline;
    }
    .nav {
      min-height: 90px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--line);
      gap: 24px;
    }
    .logo {
      font-size: 19px;
      font-weight: 900;
      letter-spacing: -0.7px;
    }
    .logo span {
      color: var(--purple);
    }
    nav {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    nav a {
      font-size: 14px;
    }
    nav a:hover {
      color: var(--purple);
    }
    .menu {
      display: none;
      border: 1px solid var(--line);
      border-radius: 30px;
      background: none;
      color: white;
      padding: 10px 18px;
    }
    .pill {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      padding: 13px 23px;
      border: 1px solid #73707b;
      border-radius: 40px;
      font-size: 14px;
      font-weight: 700;
      transition:
        transform 0.2s,
        background 0.2s;
    }
    .pill:hover {
      transform: translateY(-3px);
      background: #27212f;
    }
    .pill.primary {
      background: var(--accent);
      color: #100b16;
      border: 0;
    }
    .pill.primary:hover {
      background: linear-gradient(110deg, #8968ff, #e18ffa 65%, #ffd2a7);
    }
    .eyebrow {
      font-size: 13px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 700;
    }
    .hero {
      position: relative;
      padding-top: 54px;
      min-height: 740px;
      overflow: hidden;
    }
    .hero h1 {
      font-size: clamp(66px, 10.7vw, 148px);
      font-weight: 900;
      line-height: 0.93;
      letter-spacing: -0.07em;
      margin: 26px 0 0;
      position: relative;
      z-index: 2;
      max-width: 1000px;
    }
    .hero h1 span {
      display: block;
      color: var(--purple);
    }
    .hero-art {
      position: absolute;
      right: -5%;
      top: 148px;
      width: 64%;
      height: 530px;
      object-fit: contain;
      z-index: 0;
      pointer-events: none;
    }
    .hero-copy {
      position: relative;
      z-index: 2;
      max-width: 355px;
      margin-top: 36px;
    }
    .hero-copy p {
      color: #c7c5ce;
      margin-bottom: 25px;
    }
    .hero-bottom {
      position: absolute;
      bottom: 26px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: #aaa;
      letter-spacing: 1px;
    }
    .ticker {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 20px 0;
      display: flex;
      justify-content: space-around;
      gap: 24px;
      flex-wrap: wrap;
      color: #c7c5ce;
      font-size: 14px;
    }
    .ticker span:before {
      content: "✳";
      margin-right: 18px;
      color: var(--purple);
    }
    section {
      padding: 105px 0;
    }
    .section-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 35px;
      margin-bottom: 45px;
    }
    .section-top p {
      max-width: 330px;
      color: var(--muted);
      margin: 0;
    }
    h2 {
      font-size: clamp(43px, 6.7vw, 88px);
      line-height: 1;
      letter-spacing: -0.06em;
      margin: 15px 0 0;
      font-weight: 900;
    }
    h3 {
      font-size: 24px;
      letter-spacing: -0.6px;
      line-height: 1.2;
    }
    .projects {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 38px 26px;
    }
    .work-card {
      min-width: 0;
    }
    .work-visual {
      aspect-ratio: 1.45;
      border: 1px solid #42414c;
      border-radius: 22px;
      position: relative;
      overflow: hidden;
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .work-visual .number {
      font-size: 15px;
      color: #e0dbe9;
    }
    .work-visual strong {
      font-size: clamp(34px, 4.5vw, 63px);
      letter-spacing: -0.06em;
      line-height: 1;
      text-transform: uppercase;
      font-weight: 900;
      max-width: 350px;
    }
    .work-visual small {
      font-size: 13px;
      letter-spacing: 1px;
      opacity: 0.8;
    }
    .violet {
      background: #382559;
      color: #f0e5ff;
    }
    .peach {
      background: #f4a47c;
      color: #231216;
    }
    .peach .number {
      color: #553528;
    }
    .blue {
      background: #243ac2;
      color: #eef2ff;
    }
    .lime {
      background: #d1e485;
      color: #1e2b09;
    }
    .lime .number {
      color: #455826;
    }
    .project-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      margin: 20px 4px 0;
    }
    .project-info h3 {
      font-size: 20px;
      margin: 0 0 3px;
    }
    .project-info p {
      font-size: 14px;
      margin: 0;
      color: var(--muted);
    }
    .project-info .index {
      color: var(--muted);
      font-size: 14px;
    }
    .about {
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 10%;
      align-items: start;
    }
    .about h2 {
      max-width: 430px;
    }
    .about .big-copy {
      font-size: clamp(24px, 3vw, 38px);
      letter-spacing: -1px;
      line-height: 1.4;
      margin: 0 0 26px;
    }
    .about .body-copy {
      color: var(--muted);
      max-width: 610px;
      margin: 0 0 30px;
    }
    .note {
      font-size: 13px;
      color: var(--muted);
    }
    .services {
      background: #eeeef3;
      color: #101014;
    }
    .services .eyebrow {
      color: #64646f;
    }
    .services .section-top p {
      color: #64646f;
    }
    .service {
      display: grid;
      grid-template-columns: 70px 1fr 1fr;
      gap: 30px;
      padding: 32px 0;
      border-bottom: 1px solid #c3c3cc;
      align-items: start;
    }
    .service:first-child {
      border-top: 1px solid #c3c3cc;
    }
    .service .num {
      font-size: 32px;
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: -2px;
    }
    .service h3 {
      margin: 5px 0;
    }
    .service p {
      margin: 4px 0;
      color: #53535e;
    }
    .testimonials h2 {
      max-width: 800px;
    }
    .quotes {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .quote {
      border: 1px solid #575361;
      border-radius: 23px;
      padding: 28px;
      min-height: 265px;
      display: flex;
      flex-direction: column;
    }
    .quote-mark {
      color: var(--purple);
      font-size: 65px;
      line-height: 1;
      height: 50px;
    }
    .quote p {
      font-size: 18px;
      line-height: 1.6;
      color: #d7d4dd;
      margin: 12px 0 28px;
    }
    .quote small {
      margin-top: auto;
      color: var(--muted);
      font-size: 13px;
    }
    .contact {
      background: #ecebf3;
      color: #14131a;
      border-radius: 32px 32px 0 0;
      padding: 80px 0;
    }
    .contact .wrap {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      align-items: center;
      gap: 60px;
    }
    .contact h2 {
      font-size: clamp(50px, 7vw, 96px);
      margin: 0;
    }
    .contact p {
      color: #5b5764;
    }
    .contact .eyebrow {
      color: #6b6377;
    }
    .contact .contact-placeholder {
      padding: 20px 0;
      border-top: 1px solid #b9b5c3;
      border-bottom: 1px solid #b9b5c3;
      font-size: 20px;
    }
    .footer {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 25px;
      padding-bottom: 25px;
      font-size: 13px;
      color: #aaa;
    }
    .footer a {
      text-decoration: underline;
    }
    details {
      border: 1px solid #59515f;
      border-radius: 16px;
      padding: 18px 22px;
      margin: 30px 0;
      color: #c8c4ce;
      font-size: 14px;
    }
    summary {
      cursor: pointer;
      color: #efebf3;
      font-weight: 700;
    }
    details li {
      margin: 10px 0;
    }
    details code {
      color: #dab8ff;
    }
    .setup {
      padding-top: 5px;
      padding-bottom: 5px;
    }
    .setup p {
      max-width: 850px;
    }
    @media (min-width: 1500px) {
      .hero h1 {
        font-size: 148px;
      }
    }
    @media (max-width: 800px) {
      nav {
        gap: 16px;
      }
      nav .pill {
        display: none;
      }
      .hero {
        min-height: 850px;
      }
      .hero h1 {
        font-size: clamp(68px, 12vw, 100px);
      }
      .hero-art {
        width: 95%;
        top: 280px;
        right: -12%;
        height: 480px;
      }
      .hero-copy {
        max-width: 340px;
        margin-top: 30px;
      }
      .hero-bottom {
        bottom: 20px;
      }
      .section-top {
        display: block;
      }
      .section-top p {
        margin-top: 25px;
      }
      .about {
        grid-template-columns: 1fr;
        gap: 35px;
      }
      .quotes {
        grid-template-columns: 1fr;
      }
      .quote {
        min-height: 220px;
      }
      .service {
        grid-template-columns: 45px 1fr;
        gap: 15px;
      }
      .service p {
        grid-column: 2;
      }
      .contact .wrap {
        grid-template-columns: 1fr;
        gap: 35px;
      }
      section {
        padding: 75px 0;
      }
    }
    @media (max-width: 560px) {
      .wrap {
        padding-left: 6%;
        padding-right: 6%;
      }
      .nav {
        min-height: 76px;
        position: relative;
        flex-wrap: wrap;
        padding: 16px 0;
        gap: 10px;
      }
      .menu {
        display: block;
      }
      nav {
        display: none;
        width: 100%;
        padding: 14px 0;
        flex-wrap: wrap;
        gap: 12px 22px;
      }
      nav.open {
        display: flex;
      }
      nav a {
        padding: 5px 0;
      }
      .hero {
        padding-top: 32px;
        min-height: 810px;
      }
      .hero h1 {
        font-size: clamp(55px, 14vw, 78px);
        letter-spacing: -0.06em;
      }
      .hero-copy {
        max-width: 90%;
        margin-top: 22px;
      }
      .hero-art {
        top: 355px;
        right: -7%;
        width: 115%;
        height: 370px;
      }
      .hero-bottom {
        font-size: 11px;
        gap: 20px;
      }
      .ticker {
        justify-content: flex-start;
        font-size: 12px;
        gap: 14px 20px;
      }
      .ticker span:before {
        margin-right: 8px;
      }
      .projects {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      .work-visual strong {
        font-size: 48px;
      }
      .work-visual {
        padding: 25px;
      }
      .section-top {
        margin-bottom: 30px;
      }
      .service h3 {
        font-size: 23px;
      }
      .footer {
        flex-direction: column;
        gap: 5px;
      }
      .contact {
        border-radius: 24px 24px 0 0;
      }
      .draft {
        font-size: 12px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }
      * {
        transition: none !important;
      }
    }
  
    .hero h1 {
      font-size: clamp(65px, 9.5vw, 132px);
    }
    .hero-art {
      top: 165px;
      right: -6%;
      width: 68%;
      mix-blend-mode: screen;
    }
    .project-open {
      position: relative;
      display: block;
      width: 100%;
      padding: 0;
      border: 0;
      border-radius: 22px;
      overflow: hidden;
      background: #17171c;
      cursor: pointer;
      color: white;
    }
    .project-open img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1;
      object-fit: contain;
      transition: transform 0.5s;
    }
    .project-open:hover img {
      transform: scale(1.025);
    }
    .view-label {
      position: absolute;
      right: 18px;
      bottom: 18px;
      background: #111e;
      border: 1px solid #aaa6;
      padding: 10px 18px;
      border-radius: 30px;
      font-size: 14px;
    }
    .work-card:last-child {
      grid-column: 1/-1;
    }
    .work-card:last-child .project-open img {
      aspect-ratio: 2.5;
      object-fit: contain;
      background: white;
    }
    .testimonial-empty {
      border: 1px solid #55515f;
      border-radius: 24px;
      padding: 30px 36px;
      display: flex;
      gap: 28px;
      align-items: center;
    }
    .testimonial-empty h3 {
      margin: 0;
    }
    .testimonial-empty p {
      color: var(--muted);
      margin: 10px 0 0;
    }
    dialog {
      background: #15151b;
      border: 1px solid #605967;
      border-radius: 22px;
      padding: 20px;
      width: min(850px, 92vw);
      max-height: 90vh;
      color: var(--white);
    }
    dialog::backdrop {
      background: #000c;
      backdrop-filter: blur(6px);
    }
    #project-image {
      display: block;
      margin: 45px auto 0;
      max-width: 100%;
      max-height: 58vh;
      object-fit: contain;
    }
    .dialog-close {
      position: absolute;
      right: 16px;
      top: 13px;
      background: #33303d;
      color: white;
      border: 0;
      border-radius: 30px;
      padding: 9px 18px;
      cursor: pointer;
    }
    .dialog-copy {
      padding: 0 10px;
    }
    .dialog-copy p {
      color: #bbb6c6;
    }
    .hero-art {
      animation: drift 8s ease-in-out infinite;
    }
    @keyframes drift {
      50% {
        transform: translateY(-14px);
      }
    }
    @media (max-width: 800px) {
      .hero-art {
        top: 340px;
        width: 98%;
        right: -7%;
        height: 390px;
      }
      .hero h1 {
        font-size: clamp(55px, 10vw, 95px);
      }
    }
    @media (max-width: 560px) {
      .hero h1 {
        font-size: clamp(48px, 12vw, 67px);
      }
      .hero-art {
        top: 355px;
        width: 115%;
        right: -7%;
        height: 350px;
      }
      .hero {
        min-height: 775px;
      }
      .work-card:last-child .project-open img {
        aspect-ratio: 1.3;
      }
      .testimonial-empty {
        padding: 25px;
        gap: 20px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-art {
        animation: none;
      }
    }
  
    /* Reference-inspired motion */
    .hero h1 .hero-line {
      display: block;
      overflow: hidden;
      padding-bottom: 0.12em;
      margin-bottom: -0.12em;
      color: inherit;
    }
    .hero h1 .hero-line > span {
      display: block;
      color: inherit;
      animation: headline-in 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .hero h1 .hero-line:nth-child(2) {
      color: var(--purple);
    }
    .hero h1 .hero-line:nth-child(2) > span {
      animation-delay: 0.13s;
    }
    .hero-copy {
      animation: copy-in 1.2s 0.35s both;
    }
    .hero-art {
      animation: ribbon-drift 9s ease-in-out infinite;
      transform-origin: 50% 50%;
      will-change: transform;
    }
    @keyframes headline-in {
      from {
        transform: translateY(110%) rotate(3deg);
      }
      to {
        transform: translateY(0) rotate(0);
      }
    }
    @keyframes copy-in {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
    @keyframes ribbon-drift {
      0%,
      100% {
        transform: translate3d(0, 0, 0) rotate(-3deg) scale(0.97);
      }
      50% {
        transform: translate3d(-15px, -22px, 0) rotate(4deg) scale(1.035);
      }
    }
    .ticker {
      display: block;
      overflow: hidden;
      padding: 22px 0;
    }
    .ticker-track {
      display: flex;
      width: max-content;
      animation: marquee 25s linear infinite;
    }
    .ticker-group {
      display: flex;
      align-items: center;
      gap: 50px;
      padding-right: 50px;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .ticker-group span:before {
      display: inline-block;
    }
    @keyframes marquee {
      to {
        transform: translateX(-50%);
      }
    }
    .reveal {
      transition:
        opacity 0.85s ease,
        translate 0.85s cubic-bezier(0.16, 1, 0.3, 1);
      transition-delay: var(--reveal-delay, 0ms);
    }
    .reveal.waiting {
      opacity: 0;
      translate: 0 48px;
    }
    .service {
      transition:
        background 0.25s,
        padding 0.35s,
        opacity 0.85s,
        translate 0.85s;
    }
    .service:hover {
      background: #e1d9ef;
      padding-left: 18px;
      padding-right: 18px;
    }
    .service .num {
      transition:
        color 0.3s,
        transform 0.4s;
    }
    .service:hover .num {
      color: #7340b6;
      transform: translateX(4px);
    }
    .project-open {
      transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
      transition:
        transform 0.4s ease,
        box-shadow 0.4s;
      will-change: transform;
    }
    .project-open:hover {
      box-shadow: 0 20px 65px #9e66d32a;
    }
    .project-open .view-label {
      transition:
        transform 0.4s,
        background 0.4s;
    }
    .project-open:hover .view-label {
      transform: translateY(-5px);
      background: #4d2d78;
    }
    .logo span {
      display: inline-block;
      margin-left: 5px;
      animation: spin-mark 18s linear infinite;
    }
    @keyframes spin-mark {
      to {
        transform: rotate(360deg);
      }
    }
    .pill.primary {
      background-size: 180% 180%;
      animation: button-color 6s ease infinite;
    }
    @keyframes button-color {
      50% {
        background-position: 100% 50%;
      }
    }
    .pill span {
      transition: transform 0.3s;
    }
    .pill:hover span {
      transform: translate(3px, -3px);
    }
    .quote {
      background: #111115;
      transition:
        border-color 0.3s,
        box-shadow 0.3s,
        opacity 0.85s,
        translate 0.85s;
    }
    .quote:hover {
      border-color: #b68aff;
      box-shadow: 0 10px 40px #7340b622;
    }
    .quote p {
      font-size: 16px;
      line-height: 1.7;
    }
    .review-top {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }
    .review-stars {
      color: #edbe7c;
      letter-spacing: 3px;
      font-size: 16px;
    }
    .sample-label {
      font-size: 12px;
      color: #d3b8ed;
      border: 1px solid #5d446e;
      border-radius: 20px;
      padding: 3px 9px;
    }
    .review-person {
      margin-top: auto;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .initials {
      height: 44px;
      width: 44px;
      flex-shrink: 0;
      border-radius: 50%;
      background: #3a294e;
      color: #ead5ff;
      display: grid;
      place-items: center;
      font-weight: 700;
      font-size: 14px;
    }
    .review-person strong {
      display: block;
      font-size: 15px;
      font-weight: 700;
    }
    .review-person small {
      display: block;
      font-size: 12px;
    }
    #motion-toggle {
      border: 1px solid #57505e;
      border-radius: 25px;
      padding: 9px 13px;
      color: #d8cde6;
      background: transparent;
      font-size: 13px;
      cursor: pointer;
    }
    dialog[open] {
      animation: dialog-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes dialog-in {
      from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
    .motion-paused *,
    .motion-paused *:before {
      animation-play-state: paused !important;
    }
    .motion-paused .reveal {
      opacity: 1;
      translate: none;
      transition: none;
    }
    .motion-paused .project-open {
      transform: none;
    }
    .motion-paused {
      scroll-behavior: auto;
    }
    @media (max-width: 1000px) {
      nav {
        gap: 15px;
      }
      .quotes {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 640px) {
      .quotes {
        grid-template-columns: 1fr;
      }
      .ticker-group {
        gap: 30px;
        padding-right: 30px;
      }
      .hero-art {
        animation-name: ribbon-mobile;
      }
      .hero h1 .hero-line {
        padding-bottom: 0.16em;
      }
    }
    @keyframes ribbon-mobile {
      0%,
      100% {
        transform: translateY(0) rotate(-2deg);
      }
      50% {
        transform: translateY(-14px) rotate(3deg);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      *,
      *:before {
        animation: none !important;
        transition: none !important;
      }
      .reveal.waiting {
        opacity: 1;
        translate: none;
      }
      .project-open {
        transform: none !important;
      }
    }
  
    /* Full-name layout */
    .logo {
      font-size: 17px;
      line-height: 1.15;
      flex-shrink: 0;
    }
    .hero h1 {
      font-size: clamp(62px, 7.5vw, 100px);
      line-height: 0.98;
      max-width: 700px;
    }
    .hero h1 .hero-line:nth-child(3) {
      color: var(--purple);
    }
    .hero h1 .hero-line:nth-child(3) > span {
      animation-delay: 0.26s;
    }
    .hero {
      min-height: 800px;
    }
    .hero-art {
      top: 175px;
      right: -8%;
      width: 67%;
    }
    @media (max-width: 1000px) and (min-width: 561px) {
      .nav {
        flex-wrap: wrap;
        padding: 20px 0;
      }
      nav {
        flex-wrap: wrap;
      }
    }
    @media (max-width: 800px) {
      .hero {
        min-height: 940px;
      }
      .hero h1 {
        font-size: clamp(55px, 9vw, 76px);
      }
      .hero-art {
        top: 440px;
        width: 98%;
        right: -7%;
      }
    }
    @media (max-width: 560px) {
      .logo {
        font-size: 15px;
      }
      .hero h1 {
        font-size: clamp(44px, 11.8vw, 66px);
      }
      .hero {
        min-height: 880px;
      }
      .hero-art {
        top: 470px;
        width: 112%;
        right: -7%;
        height: 320px;
      }
      .hero-bottom {
        font-size: 11px;
        letter-spacing: 0;
        flex-wrap: wrap;
      }
      .hero-copy {
        max-width: 95%;
      }
    }
  


    /* static capture: freeze motion so the import reflects the resting design */
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
    .reveal {
      opacity: 1 !important;
      translate: none !important;
    }
    .hero h1 .hero-line > span {
      transform: none !important;
    }
    .project-open {
      transform: none !important;
    }
    .logo span {
      transform: none !important;
    }
    html {
      scroll-behavior: auto;
    }
  
/* Lightweight cinematic hero: animate only the existing image layer. */
.hero .hero-art {
  transform-origin: 52% 50%;
  animation: hero-cinematic-float 16s cubic-bezier(.45,0,.55,1) infinite !important;
  will-change: auto;
}
.hero.hero-motion-visible .hero-art { will-change: transform; }
.hero.hero-motion-paused .hero-art { animation-play-state: paused !important; }
@keyframes hero-cinematic-float {
  0%, 100% { transform: perspective(1100px) translate3d(0,0,0) rotateX(2deg) rotateY(-4deg) rotateZ(-1deg) scale(1); }
  50% { transform: perspective(1100px) translate3d(-10px,-16px,0) rotateX(-2deg) rotateY(4deg) rotateZ(1.5deg) scale(1.035); }
}
@media (max-width: 560px) {
  .hero .hero-art { animation-name: hero-cinematic-mobile !important; }
  @keyframes hero-cinematic-mobile {
    0%, 100% { transform: translate3d(0,0,0) rotate(-1deg) scale(1); }
    50% { transform: translate3d(-4px,-8px,0) rotate(1deg) scale(1.02); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-art { animation: none !important; transform: none; will-change: auto; }
}


/* ==========================================================
   HOME HERO VIDEO — right-side cinematic media
   ========================================================== */
.hero-media {
  position: absolute;
  top: 150px;
  right: -5%;
  width: 65%;
  height: 550px;
  z-index: 0;
  overflow: hidden;
  border-radius: 28px;
  pointer-events: none;
  background: #08080a;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #08080a 0%, rgba(8,8,10,.72) 8%, rgba(8,8,10,.15) 23%, transparent 42%),
    linear-gradient(0deg, rgba(8,8,10,.72) 0%, transparent 24%);
}

.hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: normal;
  border-radius: inherit;
  pointer-events: none;
  transform-origin: center;
  animation: none !important;
  will-change: auto !important;
}

/* Keep the copy comfortably above the video layer. */
.hero h1,
.hero-copy,
.hero-bottom,
.hero > .eyebrow {
  position: relative;
  z-index: 3;
}

@media (max-width: 1000px) {
  .hero-media {
    right: -4%;
    width: 60%;
    height: 500px;
    top: 220px;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 990px;
  }

  .hero-media {
    top: 470px;
    right: 0;
    width: 100%;
    height: 430px;
    border-radius: 24px;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, #08080a 0%, rgba(8,8,10,.3) 15%, transparent 35%),
      linear-gradient(0deg, rgba(8,8,10,.72) 0%, transparent 25%);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 900px;
  }

  .hero-media {
    top: 485px;
    right: -6%;
    width: 112%;
    height: 330px;
    border-radius: 20px;
  }

  .hero .hero-video {
    object-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-video {
    animation: none !important;
  }
}
