/* T.J.Viking Entertainment - shared styles for index, cookies and asset landing pages */

/* ---------- tokens ---------- */
      :root {
        --bg: #f6f1e9;
        --fg: #1e1a17;
        --mut: #645b54;
        --card: #ffffffcc;
        --line: #1e1a171f;
        --a: #3d74b3;
        --b: #d99a46;
        --c: #e07a4f;
        --orange: #d2601f;
        --orange-hover: #b84f14;
        --orange-ink: #fff;
        --nav-h: 60px;
        color-scheme: light;
      }
      @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) {
          --bg: #12100e;
          --fg: #f4ede4;
          --mut: #a89c90;
          --card: #201b17cc;
          --line: #ffffff1f;
          --a: #5b95d6;
          --b: #e5a755;
          --c: #e8895a;
          --orange: #f0894c;
          --orange-hover: #f6a06a;
          --orange-ink: #1e1a17;
          color-scheme: dark;
        }
      }
      :root[data-theme="dark"] {
        --bg: #12100e;
        --fg: #f4ede4;
        --mut: #a89c90;
        --card: #201b17cc;
        --line: #ffffff1f;
        --a: #5b95d6;
        --b: #e5a755;
        --c: #e8895a;
        --orange: #f0894c;
        --orange-hover: #f6a06a;
        --orange-ink: #1e1a17;
        color-scheme: dark;
      }

      /* ---------- base ---------- */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
        scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
        -webkit-text-size-adjust: 100%;
      }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--fg);
        font:
          16px/1.55 "Inter",
          system-ui,
          -apple-system,
          "Segoe UI",
          sans-serif;
        /* clip: no scroll container, so sticky still works */
        overflow-x: hidden;
        overflow-x: clip;
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      img {
        max-width: 100%;
      }
      a:focus-visible,
      button:focus-visible,
      summary:focus-visible {
        outline: 2px solid var(--b);
        outline-offset: 3px;
        border-radius: 6px;
      }
      .wrap {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 22px;
      }
      .sr {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
      }
      .skip {
        position: absolute;
        top: 0;
        left: -9999px;
        z-index: 20;
        padding: 10px 18px;
        border-radius: 0 0 12px 0;
        background: var(--fg);
        color: var(--bg);
        font-weight: 600;
      }
      .skip:focus {
        left: 0;
      }

      /* ---------- nav ---------- */
      nav {
        position: sticky;
        top: 0;
        z-index: 5;
        padding-top: env(safe-area-inset-top, 0px);
        background: var(--bg);
        background: color-mix(in srgb, var(--bg) 70%, transparent);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
      }
      nav .wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: var(--nav-h);
      }
      .logo {
        display: flex;
        align-items: center;
        font-weight: 800;
        letter-spacing: -0.02em;
      }
      .mark {
        width: 34px;
        height: 34px;
        object-fit: contain;
        margin-right: 8px;
      }
      .wm {
        color: var(--fg);
        font-weight: 800;
        letter-spacing: -0.02em;
        white-space: nowrap;
      }
      .wm small {
        font-size: 0.62em;
        font-weight: 600;
        letter-spacing: 0.2em;
        margin-left: 4px;
        opacity: 0.9;
      }
      @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) .wm {
          color: #fff;
        }
      }
      :root[data-theme="dark"] .wm {
        color: #fff;
      }
      @media (max-width: 420px) {
        .wm small {
          display: none;
        }
      }
      nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
      }
      .links {
        display: flex;
        gap: 22px;
        font-size: 14px;
        color: var(--mut);
      }
      .links a:hover {
        color: var(--fg);
      }
      .menu {
        display: none;
      }
      @media (max-width: 560px) {
        .links {
          display: none;
        }
        .menu {
          display: block;
          position: relative;
        }
        .menu summary {
          list-style: none;
          cursor: pointer;
          padding: 8px 16px;
          border: 1px solid var(--line);
          border-radius: 99px;
          font-size: 14px;
          font-weight: 600;
          color: var(--fg);
          background: var(--card);
        }
        .menu summary::-webkit-details-marker {
          display: none;
        }
        .menu ul {
          position: absolute;
          right: 0;
          top: calc(100% + 10px);
          min-width: 190px;
          padding: 8px;
          display: grid;
          gap: 2px;
          background: var(--bg);
          border: 1px solid var(--line);
          border-radius: 16px;
          box-shadow: 0 18px 40px #0003;
        }
        .menu ul a {
          display: block;
          padding: 10px 14px;
          border-radius: 10px;
          font-size: 15px;
          color: var(--fg);
        }
        .menu ul a:hover {
          background: var(--line);
        }
      }

      /* ---------- hero ---------- */
      .hero {
        position: relative;
        padding: 96px 0 72px;
        isolation: isolate;
        overflow: clip;
      }
      .hero::before,
      .hero::after {
        content: "";
        position: absolute;
        z-index: -1;
        border-radius: 50%;
        filter: blur(110px);
        opacity: 0.28;
      }
      .hero::before {
        width: 480px;
        height: 480px;
        background: var(--a);
        top: -120px;
        left: -120px;
      }
      .hero::after {
        width: 420px;
        height: 420px;
        background: var(--b);
        top: 40px;
        right: -100px;
        opacity: 0.2;
      }
      .hero > .wrap {
        display: grid;
        grid-template-columns: minmax(220px, 380px) 1fr;
        gap: 48px;
        align-items: center;
      }
      .viking {
        display: block;
        width: 100%;
        height: auto;
        max-width: 380px;
        justify-self: center;
        filter: drop-shadow(0 30px 40px #0005);
        transform-origin: center;
        animation: float 7s ease-in-out infinite;
      }
      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-18px);
        }
      }
      h1 {
        font-size: clamp(34px, 5.6vw, 78px);
        line-height: 1;
        letter-spacing: -0.045em;
        margin: 22px 0 20px;
      }
      h1 .accent {
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        background: linear-gradient(90deg, var(--b), var(--c));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }

      /* typed word: its own centred line, so the words can differ in length
         without ever reflowing the headline above it */
      .rotate {
        display: block;
        white-space: nowrap;
        text-align: center;
      }
      .rotate .live {
        white-space: pre;
      }
      .rotate .word {
        position: relative;
        display: inline-block;
        white-space: pre;
      }
      /* keeps the line box at full height while the word is erased */
      .rotate .word::before {
        content: "\200B";
      }
      .rotate .word::after {
        content: "";
        position: absolute;
        left: 100%;
        top: 0.12em;
        height: 0.78em;
        width: 0.055em;
        margin-left: 0.06em;
        border-radius: 2px;
        background: currentColor;
        opacity: 0.85;
        animation: caret 1.05s steps(1, end) infinite;
      }
      .rotate[data-typing] .word::after,
      .rotate[data-static] .word::after {
        opacity: 0.85;
        animation: none;
      }
      .rotate[data-static] .word::after {
        display: none;
      }
      @keyframes caret {
        0%,
        50% {
          opacity: 0.85;
        }
        50.01%,
        100% {
          opacity: 0;
        }
      }
      .lead {
        font-size: clamp(17px, 2.2vw, 21px);
        color: var(--mut);
        margin: 0 0 32px;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
        text-wrap: pretty;
      }
      .btns {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
      }
      .btn {
        padding: 14px 24px;
        border-radius: 99px;
        font-weight: 600;
        border: 1px solid var(--line);
        transition: transform 0.2s;
      }
      .btn:hover {
        transform: translateY(-2px);
      }
      .btn.p {
        background: var(--fg);
        color: var(--bg);
        border-color: var(--fg);
      }
      .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 56px;
      }
      .stats div {
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--card);
      }
      .stats b {
        display: block;
        font-size: 26px;
        letter-spacing: -0.03em;
      }
      .stats small {
        color: var(--mut);
      }
      .hcopy {
        text-align: center;
      }
      .hcopy h1 {
        margin-inline: auto;
      }
      .hcopy .lead {
        text-align: center;
        margin-inline: auto;
        max-width: 720px;
      }
      .hcopy .btns {
        justify-content: center;
      }

      /* ---------- showcase ---------- */
      .showcase-cta {
        display: flex;
        justify-content: center;
        margin: 0 0 26px;
      }
      .btn.showcase {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        padding: 15px 34px;
        font-size: 15px;
        letter-spacing: 0.16em;
        color: var(--orange-ink);
        background: var(--orange);
        border-color: var(--orange);
        box-shadow: 0 14px 28px -14px var(--orange);
        transition:
          transform 0.2s,
          background 0.2s,
          border-color 0.2s,
          box-shadow 0.2s;
      }
      .btn.showcase::before {
        content: "";
        width: 0;
        height: 0;
        border-left: 9px solid currentColor;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
      }
      .btn.showcase:hover {
        background: var(--orange-hover);
        border-color: var(--orange-hover);
        box-shadow: 0 18px 34px -14px var(--orange);
        cursor: pointer;
      }

      .showcase-modal {
        width: min(960px, calc(100vw - 32px), calc((100dvh - 32px) * 16 / 9));
        max-width: none;
        max-height: calc(100dvh - 32px);
        margin: auto;
        padding: 0;
        border: 0;
        border-radius: 16px;
        background: #000;
        color: #fff;
        overflow: hidden;
        box-shadow: 0 40px 90px -20px #000c;
      }
      .showcase-modal::backdrop {
        background: #0b0a09c4;
        backdrop-filter: blur(3px);
      }
      .showcase-modal[open] {
        animation: showcase-in 0.28s ease-out both;
      }
      .showcase-modal[open]::backdrop {
        animation: showcase-fade 0.28s ease-out both;
      }
      @keyframes showcase-in {
        from {
          opacity: 0;
          transform: scale(0.96);
        }
      }
      @keyframes showcase-fade {
        from {
          opacity: 0;
        }
      }
      .showcase-video {
        display: block;
        width: 100%;
        height: auto;
        max-height: calc(100dvh - 32px);
        aspect-ratio: 16 / 9;
        background: #000;
        object-fit: contain;
      }
      .showcase-close {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #000000a6;
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        transition: background 0.2s;
      }
      .showcase-close:hover {
        background: var(--orange);
      }
      body:has(.showcase-modal[open]) {
        overflow: hidden;
      }
      .hcopy .stats {
        margin-inline: auto;
        text-align: center;
      }
      @media (max-width: 860px) {
        .hero > .wrap {
          grid-template-columns: minmax(150px, 240px) 1fr;
          gap: 28px;
        }
      }
      @media (max-width: 640px) {
        .hero {
          padding-top: 56px;
        }
        .hero > .wrap {
          grid-template-columns: 1fr;
          gap: 8px;
        }
        .viking {
          max-width: 200px;
          margin-inline: auto;
        }
        h1 {
          font-size: clamp(34px, 10vw, 52px);
        }
        .stats {
          gap: 8px;
        }
        .stats b {
          font-size: 20px;
        }
        .lead,
        .head .sub {
        color: var(--mut);
        width: 100%;
        text-align: left;
        margin: 0 0 36px;
      }
      }

      /* ---------- sections ---------- */
      section {
        padding: 72px 0;
      }
      h2 {
        font-size: clamp(30px, 5vw, 52px);
        letter-spacing: -0.04em;
        line-height: 1.05;
        margin: 0 0 12px;
      }
      .sub {
        color: var(--mut);
        width: 100%;
        margin: 0 0 36px;
      }
      .head {
        margin-bottom: 40px;
      }
      .head h2 {
        margin: 0 0 8px;
      }
      .head .sub {
        margin: 0;
      }
      @media (max-width: 860px) {
        .head {
          margin-bottom: 28px;
        }
        .head h2 {
          font-size: clamp(30px, 4.4vw, 46px);
        }
      }

      /* ---------- gallery rows ---------- */
      .rows {
        border-top: 1px solid var(--line);
      }
      .item {
        border-bottom: 1px solid var(--line);
      }
      .row {
        position: relative;
        display: grid;
        grid-template-columns: 40px 104px 1fr 28px;
        align-items: center;
        gap: 24px;
        padding: 22px 4px;
        transition: background 0.4s;
      }
      .n {
        font-size: 13px;
        color: var(--mut);
        font-variant-numeric: tabular-nums;
      }
      .th {
        width: 104px;
        height: 64px;
        border-radius: 12px;
        object-fit: cover;
        border: 1px dashed var(--line);
        filter: grayscale(0.9) opacity(0.75);
        transition: filter 0.4s;
      }
      .t {
        margin: 0;
        font-size: clamp(19px, 2.4vw, 28px);
        letter-spacing: -0.025em;
        font-weight: 600;
        line-height: 1.2;
        transition: transform 0.35s;
      }
      .meta {
        display: block;
        color: var(--mut);
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0;
        margin-top: 4px;
      }
      .go {
        opacity: 0.35;
        font-size: 26px;
        font-weight: 300;
        line-height: 1;
        text-align: right;
        transition:
          transform 0.35s,
          color 0.3s,
          opacity 0.3s;
      }
      /* transparent overlay: keeps real <h3> outside the button */
      .hit {
        position: absolute;
        inset: 0;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: none;
        cursor: pointer;
      }
      .hit:focus-visible {
        outline: 2px solid var(--b);
        outline-offset: -2px;
      }
      .row:hover {
        background: linear-gradient(
          90deg,
          color-mix(in srgb, var(--b) 12%, transparent),
          transparent 70%
        );
      }
      .row:hover .t {
        transform: translateX(8px);
      }
      .row:hover .th {
        filter: none;
      }
      .row:hover .go {
        opacity: 1;
        color: var(--b);
      }
      .item.open .t {
        transform: translateX(8px);
      }
      .item.open .th {
        filter: none;
      }
      .item.open .go {
        transform: rotate(45deg);
        color: var(--b);
        opacity: 1;
      }
      .panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.45s ease;
      }
      .item.open .panel {
        grid-template-rows: 1fr;
      }
      .pin {
        overflow: hidden;
        min-height: 0;
      }
      .pc {
        padding: 2px 4px 30px 192px;
        max-width: 880px;
      }
      .pc p {
        margin: 0 0 22px;
        color: var(--mut);
        max-width: 620px;
      }
      .lab {
        display: block;
        font-size: 12px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--b);
        font-weight: 600;
        margin-bottom: 12px;
      }
      .plats {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      .plat {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        padding: 14px 24px;
        border: 1px solid var(--line);
        border-radius: 99px;
        font-size: 14px;
        font-weight: 500;
        background: var(--card);
        transition:
          border-color 0.25s,
          color 0.25s,
          transform 0.25s;
      }
      .plat .arw {
        opacity: 0.65;
        font-size: 0.9em;
      }
      .plat:hover {
        border-color: var(--b);
        color: var(--b);
        transform: translateY(-2px);
      }
      @media (max-width: 700px) {
        .row {
          grid-template-columns: 28px 1fr 20px;
          gap: 14px;
        }
        .th {
          display: none;
        }
        .pc {
          padding-left: 42px;
        }
      }

      /* ---------- stores ---------- */
      .stores {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 64px;
        border-top: 1px solid var(--line);
      }
      .srow {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 20px 2px;
        border-bottom: 1px solid var(--line);
        transition:
          color 0.3s,
          padding 0.3s;
      }
      .srow b {
        font-size: 20px;
        letter-spacing: -0.02em;
        font-weight: 600;
      }
      .srow small {
        color: var(--mut);
      }
      .srow:hover {
        color: var(--b);
        padding-left: 10px;
      }
      @media (max-width: 700px) {
        .stores {
          grid-template-columns: 1fr;
        }
      }

      /* ---------- cta ---------- */
      .cta {
        border: 1px solid var(--line);
        border-radius: 32px;
        padding: clamp(28px, 6vw, 64px);
        text-align: center;
        background: var(--card);
        background:
          radial-gradient(
            circle at 20% 0,
            color-mix(in srgb, var(--a) 30%, transparent),
            transparent 50%
          ),
          radial-gradient(
            circle at 80% 100%,
            color-mix(in srgb, var(--b) 30%, transparent),
            transparent 50%
          ),
          var(--card);
      }
      .cta .sub {
        text-align: center;
        margin-inline: auto;
      }
      .cta .btns {
        justify-content: center;
        margin-top: 24px;
      }

      /* ---------- footer ---------- */
      footer {
        padding: 36px 0 calc(56px + env(safe-area-inset-bottom, 0px));
        color: var(--mut);
        font-size: 14px;
        border-top: 1px solid var(--line);
      }
      footer .wrap {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
      }
      footer .site {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      footer .site:hover {
        color: var(--b);
      }
      .foot-right {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 18px;
      }
      .cookie-link {
        padding: 0;
        border: 0;
        background: none;
        color: inherit;
        font: inherit;
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;
      }
      .cookie-link:hover {
        color: var(--b);
      }

      /* ---------- preferences ---------- */
      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }
        *,
        *::before,
        *::after {
          animation: none !important;
          transition: none !important;
        }
        .rotate .word::after {
          display: none;
        }
      }
      @media (forced-colors: active) {
        h1 .accent {
          -webkit-text-fill-color: CanvasText;
          background: none;
          color: CanvasText;
        }
      }

      /* ---------- cookie consent ---------- */
      .consent {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        display: flex;
        justify-content: center;
        padding:
          16px max(16px, env(safe-area-inset-left, 0px))
          calc(16px + env(safe-area-inset-bottom, 0px))
          max(16px, env(safe-area-inset-right, 0px));
        pointer-events: none;
      }
      .consent[hidden] {
        display: none;
      }
      .consent-card {
        pointer-events: auto;
        width: min(660px, 100%);
        max-height: calc(100dvh - 32px);
        overflow: auto;
        padding: 20px 22px;
        border: 1px solid var(--line);
        border: 1px solid color-mix(in srgb, var(--fg) 24%, transparent);
        border-radius: 20px;
        background: var(--bg);
        background: linear-gradient(
          180deg,
          color-mix(in srgb, var(--fg) 12%, var(--bg)),
          color-mix(in srgb, var(--fg) 7%, var(--bg)) 50%,
          color-mix(in srgb, var(--fg) 5%, var(--bg))
        );
        box-shadow: 0 22px 50px -18px #0006;
        box-shadow:
          0 12px 30px -18px #0008,
          0 30px 70px -24px #000b,
          0 0 64px -8px color-mix(in srgb, var(--orange) 32%, transparent),
          0 20px 60px -20px color-mix(in srgb, var(--orange) 55%, transparent),
          inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent);
        animation: consent-in 0.25s ease-out both;
      }
      .consent-card:focus-visible {
        outline: 2px solid var(--b);
        outline-offset: 3px;
      }
      @keyframes consent-in {
        from {
          opacity: 0;
          transform: translateY(14px);
        }
      }
      .consent h2 {
        margin: 0 0 6px;
        font-size: 17px;
        line-height: 1.25;
        letter-spacing: -0.01em;
      }
      .consent p {
        margin: 0;
        max-width: 64ch;
        color: var(--mut);
        font-size: 14px;
        line-height: 1.5;
      }
      .consent a {
        color: var(--fg);
        text-decoration: underline;
        text-underline-offset: 2px;
      }
      .consent a:hover {
        color: var(--b);
      }
      .consent-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-top: 16px;
      }
      .cbtn {
        padding: 11px 18px;
        border: 1px solid var(--line);
        border-radius: 99px;
        background: transparent;
        color: var(--fg);
        font: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition:
          transform 0.2s,
          background 0.2s,
          border-color 0.2s;
      }
      .cbtn:hover {
        transform: translateY(-1px);
        border-color: var(--fg);
      }
      .cbtn.p {
        background: var(--fg);
        border-color: var(--fg);
        color: var(--bg);
      }
      .cbtn.p:hover {
        background: var(--orange);
        border-color: var(--orange);
        color: var(--orange-ink);
      }
      .clink {
        margin-left: auto;
        padding: 8px 2px;
        border: 0;
        background: none;
        color: var(--mut);
        font: inherit;
        font-size: 13px;
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;
      }
      .clink:hover {
        color: var(--fg);
      }
      .consent-prefs {
        display: grid;
        gap: 10px;
        margin-top: 16px;
      }
      .consent-prefs[hidden] {
        display: none;
      }
      .consent-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--card);
        font-size: 14px;
        cursor: pointer;
      }
      .consent-row span {
        display: block;
      }
      .consent-row b {
        display: block;
        font-size: 14px;
        font-weight: 600;
      }
      .consent-row small {
        display: block;
        margin-top: 2px;
        color: var(--mut);
        font-size: 12.5px;
      }
      .consent-row input {
        flex: none;
        width: 18px;
        height: 18px;
        accent-color: var(--orange);
        cursor: pointer;
      }
      .consent-row input:disabled {
        cursor: default;
        opacity: 0.7;
      }
      @media (max-width: 560px) {
        .consent-card {
          padding: 16px 16px 18px;
        }
        .consent-actions {
          gap: 8px;
        }
        .consent-actions .cbtn {
          flex: 1 1 auto;
        }
        .clink {
          margin-left: 0;
        }
      }


/* ==========================================================
   Shared accent buttons (landing pages, details links)
   ========================================================== */
.btn.orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--orange-ink);
  box-shadow: 0 14px 28px -18px var(--orange);
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.btn.orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  box-shadow: 0 18px 34px -16px var(--orange);
}
.btn.orange .arw {
  opacity: 0.85;
  font-size: 0.92em;
}
.btn.details {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.btn.details::after {
  content: "\2192";
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
}

/* ==========================================================
   Legal page (cookies.html)
   ========================================================== */
body.legal .wrap {
  max-width: 860px;
}
body.legal main {
  padding: 56px 0 72px;
}
body.legal .kicker {
  margin: 0 0 10px;
  color: var(--b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
body.legal h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
body.legal h2 {
  margin: 44px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
body.legal p,
body.legal li {
  color: var(--mut);
}
body.legal p {
  margin: 0 0 16px;
}
body.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
body.legal li {
  margin-bottom: 6px;
}
body.legal strong {
  color: var(--fg);
  font-weight: 600;
}
body.legal .lead {
  max-width: 62ch;
  color: var(--fg);
  font-size: 18px;
  text-align: left;
  hyphens: none;
}
body.legal .updated {
  color: var(--mut);
  font-size: 13px;
}
body.legal .table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
body.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
body.legal th,
body.legal td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
body.legal tr:last-child td {
  border-bottom: 0;
}
body.legal th {
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.legal td {
  color: var(--mut);
}
body.legal code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.92em;
  white-space: nowrap;
}
body.legal .btn {
  display: inline-block;
  font-size: 15px;
}
body.legal .note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-size: 14px;
}
body.legal .note p:last-child {
  margin-bottom: 0;
}
body.legal .back {
  color: var(--mut);
  font-size: 14px;
}
body.legal .back:hover {
  color: var(--fg);
}
body.legal footer {
  padding: 28px 0 calc(40px + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================
   Landing pages
   ========================================================== */
.landing-hero {
  position: relative;
  padding: 80px 0 64px;
  isolation: isolate;
  overflow: clip;
}
.landing-hero::before,
.landing-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.26;
}
.landing-hero::before {
  width: 520px;
  height: 520px;
  background: var(--a);
  top: -160px;
  left: -140px;
}
.landing-hero::after {
  width: 460px;
  height: 460px;
  background: var(--b);
  top: 20px;
  right: -120px;
  opacity: 0.18;
}
.landing-hero > .wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}
.landing-hero > .wrap > * {
  min-width: 0;
}
.lh-copy .kicker {
  margin: 0 0 8px;
  color: var(--b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lh-copy h1 {
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 10px 0 16px;
}
.asset-name {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--orange);
  color: var(--mut);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.lh-copy .lead {
  margin: 0 0 28px;
  color: var(--mut);
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  text-align: left;
  hyphens: none;
}
.buy-block {
  margin-top: 4px;
  min-width: 0;
}
.buy-block .lab {
  color: var(--orange);
  margin-bottom: 12px;
}
.buy-block .btns {
  gap: 10px;
}
.buy-block .btn {
  padding: 13px 22px;
  font-size: 14px;
}
.fine {
  margin: 14px 0 0;
  color: var(--mut);
  font-size: 13px;
}
.preview {
  margin: 0;
  min-width: 0;
}
.preview-btn {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  cursor: zoom-in;
  box-shadow: 0 30px 70px -34px #0009;
}
.preview-btn:focus-visible {
  outline: 2px solid var(--b);
  outline-offset: 3px;
}
.preview-btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.preview-btn:hover img {
  transform: scale(1.025);
}
.preview-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000000a8;
}
.preview-btn img,
.preview-modal img {
  max-width: 960px;
  width: 100%;
  height: auto;
}

.clip-story {
  border-top: 1px solid var(--line);
}
.prose {
  width: 100%;
}
.prose p {
  margin: 0 0 18px;
  color: var(--mut);
  font-size: 17px;
  line-height: 1.68;
}
.prose p:first-child {
  color: var(--fg);
  font-size: 18px;
}
.uses {
  margin-top: 34px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--card);
  color: var(--fg);
  font-size: 13px;
}
.see-more {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}
.see-more .btn {
  padding: 15px 42px;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .landing-hero {
    padding: 56px 0 48px;
  }
  .landing-hero > .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lh-copy h1 {
    font-size: clamp(30px, 7vw, 46px);
  }
}
@media (max-width: 640px) {
  .landing-hero {
    padding-top: 44px;
  }
  .buy-block .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .prose p {
    font-size: 16px;
  }
  .prose p:first-child {
    font-size: 17px;
  }
  .see-more .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- full-size preview dialog ---------- */
.preview-modal {
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #000;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 90px -20px #000c;
}
.preview-modal::backdrop {
  background: #0b0a09c4;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.preview-modal[open] {
  animation: showcase-in 0.28s ease-out both;
}
.preview-modal[open]::backdrop {
  animation: showcase-fade 0.28s ease-out both;
}
.preview-modal img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 32px);
  object-fit: contain;
  background: #000;
}
.preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000000a6;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.preview-close:hover {
  background: var(--orange);
}
body:has(.preview-modal[open]) {
  overflow: hidden;
}
