/* nirkosover.com */
:root {
  --pink: #FF7CA9;        /* brand accent: fills, rings, highlights */
  --pink-cv: #C2185B;     /* pink for text on white (AA contrast) */
  --pink-wash: #FFE3ED;
  --ink: #111;
  --ink-soft: #45434A;
  --ink-btn: #161616;
  --line: rgba(17,17,17,.12);
  --surface: rgba(255,255,255,.82);
  --display: "Outfit", "Arial Black", sans-serif;
  --body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { overflow-x: clip; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-weight: 400;
       font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px;
        background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* Animated background (site/bg.js). Sits above the static .bg fallback, still behind content. */
.bg-canvas { position: fixed; inset: 0; z-index: -1; display: block; width: 100%; height: 100%;
             opacity: 0; transition: opacity .9s ease; }
.bg-canvas.is-ready { opacity: 1; }
.bg { position: fixed; inset: 0; z-index: -2; background: #f4f4f4 url("assets/bg.jpg") center / cover no-repeat; filter: blur(5px); transform: scale(1.04); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-cv); }
.lead { color: var(--ink-soft); }
.lead strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
       min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
       font-family: var(--body); font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
       transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.btn .arrow, .card-link .arrow, .more .arrow { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .arrow, .card-link:hover .arrow, .more a:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink-btn); color: #fff; }
.btn-primary:hover { background: var(--pink); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--ink); border-color: rgba(17,17,17,.3); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--pink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.72);
          -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
          border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--pink); }
.topnav { display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 500; }
.topnav > a:not(.btn) { text-decoration: none; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.topnav > a:not(.btn):hover, .topnav > a[aria-current="page"] { color: var(--ink); border-color: var(--pink); }

/* ---------- Home: hero ---------- */
.home .hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center;
              gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.home h1 { font-weight: 900; font-size: clamp(56px, 8.6vw, 124px); line-height: .9; letter-spacing: -.035em; }
.home .hero .lead { margin: 28px 0 0; max-width: 30ch; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.35; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.home .portrait { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--pink);
                  box-shadow: 0 30px 80px -30px rgba(194,24,91,.45); }
.home .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* WebGL ripple layer (site/bg.js) painted over the still portrait. */
.home .portrait canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
                         opacity: 0; transition: opacity .6s ease; }
.home .portrait canvas.is-ready { opacity: 1; }
.home .contact { position: absolute; left: -6%; bottom: 2%; width: 34%; aspect-ratio: 1; z-index: 2;
                 display: flex; align-items: center; justify-content: center; text-align: center;
                 border-radius: 50%; border: 2px solid var(--pink); background: #fff; color: var(--pink-cv);
                 font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; text-decoration: none;
                 box-shadow: 0 12px 30px -12px rgba(0,0,0,.25);
                 transition: transform .45s var(--ease), background .45s ease, color .45s ease; }
.home .contact:hover { background: var(--pink); color: var(--ink); transform: scale(1.06) rotate(-6deg); }

/* First screen: the hero fills the viewport; the rest starts on scroll. */
.home .hero { min-height: 100vh; min-height: 100svh; box-sizing: border-box;
              padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(40px, 6vh, 80px); }

/* Scroll cue: a small word and a thin line with light running down it. */
.home .hero { position: relative; }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(18px, 3.5vh, 36px); transform: translateX(-50%);
              display: flex; flex-direction: column; align-items: center; gap: 10px;
              text-decoration: none; color: var(--pink-cv);
              font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
              transition: opacity .5s ease, transform .5s var(--ease); }
.scroll-cue span { padding-left: .22em; } /* balance the letter-spacing */
.scroll-cue i { position: relative; display: block; width: 1px; height: 44px; overflow: hidden;
                background: rgba(194,24,91,.18); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
                       background: linear-gradient(to bottom, transparent, var(--pink-cv));
                       animation: scroll-cue-run 2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes scroll-cue-run { 0% { top: -50%; } 100% { top: 100%; } }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue.is-hidden { opacity: 0; transform: translate(-50%, 8px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; top: 0; height: 100%; } }

/* ---------- Home: facts ---------- */
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.02em; }
.facts span { color: var(--ink-soft); font-size: 16px; }

/* ---------- Home: work ---------- */
.work { padding-top: clamp(64px, 9vw, 120px); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2, .cta h2 { font-weight: 700; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.025em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius);
        background: var(--surface); border: 1px solid var(--line);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.3); border-color: rgba(17,17,17,.2); }
.card-feature { grid-column: 1 / -1; background: linear-gradient(120deg, var(--pink-wash), rgba(255,255,255,.88) 70%); }
.card-feature h3 { font-size: clamp(32px, 3.6vw, 46px); }
.card-feature > p:not(.card-role) { max-width: 62ch; font-size: 19px; }
.card-role { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-cv); }
.card h3 { font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -.015em; margin-bottom: 12px; }
.card p { margin: 0; color: var(--ink-soft); }
.card p + .card-link { margin-top: auto; }
.card > p:last-of-type { margin-bottom: 22px; }
.card-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
             font-weight: 600; text-decoration: none; color: var(--ink); }
.card-link { background: linear-gradient(var(--pink), var(--pink)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.card-link:hover { color: var(--pink-cv); }
.more { margin: 28px 0 0; }
.more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Contact band (both pages) ---------- */
.cta { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta-box { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: var(--ink-btn); color: #fff;
           padding: clamp(36px, 6vw, 80px); }
.cta-box::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%;
                  border: 2px solid var(--pink); opacity: .7; pointer-events: none; }
.cta-box p { margin: 14px 0 30px; color: rgba(255,255,255,.75); font-size: clamp(18px, 1.8vw, 22px); max-width: 44ch; }
.cta-box h2 { position: relative; max-width: 16ch; }
.cta-box .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
          padding-top: 28px; padding-bottom: 40px; font-size: 15px; color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; transition: color .3s ease; }
.footer a:hover { color: var(--pink-cv); }

/* ---------- CV ---------- */
.cv-head { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
           border-bottom: 1px solid var(--line); }
.cv .avatar { flex: none; width: clamp(96px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
              box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--pink); }
.cv .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv h1 { font-weight: 900; font-size: clamp(48px, 7.5vw, 112px); line-height: .9; letter-spacing: -.035em; }
.cv-head .lead { margin: 16px 0 0; font-size: clamp(18px, 1.8vw, 22px); max-width: 44ch; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { display: grid; grid-template-columns: 180px minmax(0, 280px) minmax(0, 1fr); gap: 8px 40px;
         padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.cv .when { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--pink-cv); font-variant-numeric: tabular-nums; padding-top: 6px; }
.cv .who h2 { font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
.cv .who p { margin: 4px 0 0; color: var(--ink-soft); font-size: 17px; }
.cv .what { color: var(--ink-soft); max-width: 62ch; padding-top: 4px; }
.cv .what p { margin: 0 0 1em; }
.cv .what ul { margin: 0 0 1em; padding-left: 1.1em; }
.cv .what li { margin-bottom: .35em; }
.cv .what li::marker { color: var(--pink); }
.cv .what .btn { margin-top: 6px; }
.cv .what:empty { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card:last-child { grid-column: 1 / -1; }
  .entry { grid-template-columns: 140px minmax(0, 1fr); }
  .cv .what { grid-column: 2; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .topbar-inner { min-height: 60px; }
  .brand { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .topnav { gap: 16px; font-size: 15px; }
  .topnav > a[href="#work"], .topnav > a[aria-current="page"] { display: none; }
  .eyebrow { font-size: 13px; letter-spacing: .08em; }
  .btn-sm { min-height: 40px; padding: 0 16px; }

  .home .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 40px; }
  .home h1 { font-size: clamp(52px, 16.5vw, 88px); }
  .home .hero .lead { margin-top: 20px; }
  .actions { margin-top: 28px; }
  .actions .btn { flex: 1 1 auto; }
  .hero-visual { justify-self: center; max-width: 340px; }
  .home .contact { width: 36%; left: -2%; font-size: 14px; }

  .facts li { padding: 18px 10px 18px 0; }
  .facts li + li { padding-left: 12px; }
  .facts b { font-size: 22px; }
  .facts span { font-size: 14px; line-height: 1.35; }

  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 24px; }
  .card-feature > p:not(.card-role) { font-size: 17px; }

  .cta-box::after { width: 200px; height: 200px; right: -80px; top: -80px; }
  .cta-box .btn { width: 100%; }

  .cv-head { flex-direction: column; align-items: flex-start; }
  .entry { grid-template-columns: 1fr; }
  .cv .what { grid-column: 1; padding-top: 8px; }
  .cv .when { padding-top: 0; }

  .footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- Articles ---------- */
.article-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 100px; }
.article-page .back { display: inline-block; margin-bottom: 40px; font-size: 16px; text-decoration: none; }
.article-page h1 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 6vw, 72px); line-height: 1.1; margin: 0 0 16px; }
.article-page .meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 40px; }
.article-body { font-size: 20px; line-height: 1.6; color: var(--ink-soft); }
.article-body h2 { font-size: 30px; line-height: 1.2; margin: 1.6em 0 .5em; color: var(--ink); }
.article-body h3 { font-size: 23px; margin: 1.4em 0 .4em; color: var(--ink); }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.2em; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 1.5em 0; }
.article-body blockquote { margin: 1.5em 0; padding-inline-start: 1em; border-inline-start: 3px solid var(--pink); color: var(--ink); }
.article-body pre { background: #111; color: #eee; padding: 16px; overflow: auto; font-size: 15px; border-radius: 4px; direction: ltr; text-align: left; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.article-body a { color: var(--ink); text-decoration-color: var(--pink); }
[lang="he"] .article-page, [lang="he"] .article-body { font-family: "Heebo", var(--body); }
.articles-index h1 { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 8vw, 120px); line-height: 1.1; margin: 0 0 40px; }
.articles-index h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .1em; color: var(--pink-cv); margin: 48px 0 16px; }
.articles-index ul { list-style: none; padding: 0; margin: 0; }
.articles-index li { padding: 18px 0; border-top: 1px solid #ddd; }
.articles-index li a { font-size: 24px; text-decoration: none; }
.articles-index li a:hover { text-decoration: underline; text-decoration-color: var(--pink); }
.articles-index li .meta { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.articles-index li .desc { display: block; margin-top: 6px; font-size: 17px; color: var(--ink-soft); }
.articles-index [dir="rtl"] { direction: rtl; text-align: right; font-family: "Heebo", var(--body); }

/* ---------- Entrance (short: content is readable from the first frame) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes circle-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.home .hero-text   { animation: rise .7s var(--ease) both; }
.home .hero-visual { animation: circle-in .9s var(--ease) .1s both; }
.home .facts       { animation: rise .7s var(--ease) .2s both; }
.cv-head           { animation: rise .7s var(--ease) both; }
.entries           { animation: rise .7s var(--ease) .12s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Phone: make room for the scroll cue under the photo. */
@media (max-width: 720px) {
  .home .hero { gap: 28px; padding-bottom: 96px; }
  .hero-visual { max-width: 300px; }
  .scroll-cue { bottom: 22px; gap: 8px; }
  .scroll-cue i { height: 32px; }
}

/* ---------- Contact band with the scroll-linked video ---------- */
.cta-box.has-video { background: #e2e2e4; color: var(--ink); min-height: clamp(420px, 44vw, 600px);
                     display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-box.has-video::after { display: none; }
.cta-box.has-video > :not(video) { position: relative; z-index: 1; }
.cta-box.has-video p { color: var(--ink-soft); }
.cta-box.has-video .btn-light { background: var(--ink-btn); color: #fff; }
.cta-box.has-video .btn-light:hover { background: var(--pink); color: var(--ink); }
.cta-video { position: absolute; top: 0; right: 0; height: 100%; width: 72%; object-fit: cover; object-position: 50% 20%;
             pointer-events: none; opacity: 0; transition: opacity .8s ease;
             -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
                     mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.cta-box.video-ready .cta-video { opacity: 1; }

@media (max-width: 720px) {
  .cta-box.has-video { justify-content: flex-start; min-height: 0; padding-bottom: 0; }
  .cta-video { position: relative; order: 9; width: calc(100% + 2 * clamp(36px, 6vw, 80px)); height: auto; aspect-ratio: 4 / 3;
               margin: 8px calc(-1 * clamp(36px, 6vw, 80px)) 0; object-position: 50% 15%;
               -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 25%);
                       mask-image: linear-gradient(to bottom, transparent 0, #000 25%); }
}

/* ---------- Portrait: "Contact me" tip on hover ---------- */
.portrait-link { display: block; position: relative; border-radius: 50%; cursor: pointer; text-decoration: none; }
.portrait-link .portrait { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.portrait-link:hover .portrait { transform: scale(1.015); box-shadow: 0 36px 90px -30px rgba(194,24,91,.55); }
.contact-tip { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
               display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
               padding: 11px 18px 11px 20px; border-radius: 999px;
               background: var(--ink-btn); color: #fff; font-size: 15px; font-weight: 600;
               box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
               transform: translate(calc(var(--x, 50%) + 14px), calc(var(--y, 50%) + 14px)) scale(.4);
               transform-origin: 0 0; opacity: 0;
               transition: opacity .25s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.contact-tip svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.portrait-link:hover .contact-tip { opacity: 1; transform: translate(calc(var(--x, 50%) + 14px), calc(var(--y, 50%) + 14px)) scale(var(--press, 1)); }
/* Press: the tip squeezes in while held; after the click it turns pink. */
.portrait-link:active { --press: .88; }
.portrait-link:active .portrait { transform: scale(.995); }
.contact-tip { transition: opacity .25s ease, transform .45s cubic-bezier(.34,1.56,.64,1), background .25s ease, color .25s ease; }
.portrait-link.is-sent .contact-tip { opacity: 1; background: var(--pink); color: var(--ink); animation: tip-pop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes tip-pop { 0% { scale: .85; } 100% { scale: 1; } }
.portrait-link:hover .contact-tip svg { transform: translateX(3px); }
/* Keyboard: show it at the bottom of the photo. */
.portrait-link:focus-visible { outline: none; }
.portrait-link:focus-visible .portrait { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--pink-cv); }
.portrait-link:focus-visible .contact-tip { opacity: 1; left: 50%; top: auto; bottom: 6%; transform: translateX(-50%); transform-origin: 50% 50%; }
/* Touch screens have no hover: keep it visible, sitting on the photo. */
@media (hover: none) {
  .contact-tip { opacity: 1; left: 50%; top: auto; bottom: 4%; transform: translateX(-50%); }
}

/* ---------- Projects: each one a full block of frosted glass ---------- */
.cards { grid-template-columns: 1fr; gap: 16px; }
.card, .card-feature { grid-column: auto; border: 0; background: rgba(255,255,255,.42);
        -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
        padding: clamp(28px, 4vw, 48px); }
.card:hover { border-color: transparent; background: rgba(255,255,255,.55); }
.card:last-child { grid-column: auto; }
.card h3 { font-size: clamp(30px, 3.4vw, 44px); }
.card > p:not(.card-role) { max-width: 62ch; font-size: clamp(17px, 1.5vw, 19px); }

/* ---------- Variant: plasma ball of dots around the portrait (plasma.html) ---------- */
.plasma .hero-visual { max-width: 540px; aspect-ratio: 1; display: grid; place-items: center; }
.plasma .portrait-link { width: 66%; z-index: auto; }
.plasma .portrait { box-shadow: 0 20px 60px -24px rgba(194,24,91,.45); }
.plasma-canvas { position: absolute; inset: -6%; width: 112%; height: 112%; z-index: 1; pointer-events: none;
                 opacity: 0; transition: opacity 1.2s ease; }
.plasma-canvas.is-ready { opacity: 1; }
@media (max-width: 720px) { .plasma .hero-visual { max-width: 340px; } }
/* The glass: a soft pink-violet glow filling the ball, brighter at the centre. */
.plasma .hero-visual::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,124,169,.30) 0 34%, rgba(170,140,255,.14) 55%, rgba(255,255,255,.0) 71%),
              radial-gradient(circle at 34% 26%, rgba(255,255,255,.7), rgba(255,255,255,0) 22%);
  box-shadow: inset 0 0 0 1px rgba(154,143,184,.16), inset 0 -30px 60px -30px rgba(139,108,255,.18); }
.plasma .portrait-link { position: relative; z-index: auto; }

/* ---------- Variant: dust field background (dust.html) ---------- */
.dust { background: #f7f6f8; }
.dust .bg, .dust .bg-canvas { display: none; }
.dust .bg { display: block; background: radial-gradient(ellipse 70% 55% at 72% 30%, rgba(255,124,169,.10), rgba(255,124,169,0) 70%),
                                         radial-gradient(ellipse 60% 50% at 15% 85%, rgba(139,108,255,.07), rgba(139,108,255,0) 70%), #f7f6f8;
            filter: none; transform: none; }
.dust-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block;
               opacity: 0; transition: opacity 1.5s ease; }
.dust-canvas.is-ready { opacity: 1; }

/* ---------- Variant: flipping tiles background (tiles.html) ---------- */
.tiles { background: #f7f6f8; }
.tiles .bg, .tiles .bg-canvas { display: none; }
.tiles-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block;
                opacity: 0; transition: opacity 1.2s ease; }
.tiles-canvas.is-ready { opacity: 1; }

/* ---------- Variant: coming soon (soon.html) ---------- */
/* The hero fills the screen minus a strip, so the top of the banner peeks in. */
.soon { --peek: clamp(84px, 12vh, 120px); }
.soon .hero { min-height: calc(100vh - var(--peek)); min-height: calc(100svh - var(--peek)); padding-bottom: 72px; }
.soon h1 { white-space: nowrap; font-size: clamp(44px, 7.4vw, 112px); }
.soon-note { position: absolute; left: 50%; bottom: clamp(18px, 3vh, 30px); transform: translateX(-50%); margin: 0;
             display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
             font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-cv); }
.soon-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); position: relative; flex: none; }
.soon-note i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pink);
                      animation: soon-pulse 1.8s var(--ease) infinite; }
@keyframes soon-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .soon-note i::after { animation: none; } }
.soon .cta { padding-top: 0; }

/* Banner: the figure on the left, title + text + button on the right. */
.soon .cta-box.has-video { align-items: stretch; }
.soon .cta-copy { margin-left: auto; width: min(48%, 520px); }
.soon .cta-video { left: 0; right: auto; width: 66%; object-position: 50% 20%;
                   -webkit-mask-image: linear-gradient(to left, transparent 0, #000 32%);
                           mask-image: linear-gradient(to left, transparent 0, #000 32%); }

@media (max-width: 720px) {
  .soon h1 { font-size: clamp(40px, 13.2vw, 88px); }
  .soon .hero { padding-bottom: 64px; }
  .soon-note { font-size: 12px; letter-spacing: .1em; }
  .soon .cta-copy { width: auto; margin-left: 0; }
  .soon .cta-video { width: calc(100% + 2 * clamp(36px, 6vw, 80px));
                     -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 25%);
                             mask-image: linear-gradient(to bottom, transparent 0, #000 25%); }
}
.btn-li .li-icon { width: 17px; height: 17px; flex: none; }

/* Coming soon: the portrait is 390 x 390 on wide screens. */
.soon .hero-visual { max-width: 390px; }
@media (max-width: 720px) { .soon .hero-visual { max-width: 300px; } }
