/* ==========================================================================
   Malik Tijōn — site styles
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --char: #262626;
  --red: #c63f3c;
  --red-deep: #8f2522;
  --fog: #d8d8d6;
  --cream: #f3ede3;
  --white: #ffffff;

  --serif: "Young Serif", Georgia, serif;
  --body: "Bitter", Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
/* Matches the original: transparent, scrolls away with the page, logo centered */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 14px 28px;
}
body:has(.contact) .site-header { background: var(--ink); }
.site-header .brand { justify-self: center; }
.site-header .brand img { width: 180px; max-width: 34vw; height: auto; }
.site-header .nav { justify-self: start; }
.site-header .header-social { justify-self: end; margin: 0; gap: 10px; }
.site-header .header-social a { width: 36px; height: 36px; box-shadow: none; }
.site-header .header-social svg { width: 18px; height: 18px; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-family: var(--body); font-size: 16px; text-decoration: none; position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-btn { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 60; justify-self: end; grid-column: 3; grid-row: 1; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .site-header .header-social { display: none; }
  .site-header .brand { grid-column: 2; grid-row: 1; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 18px;
    background: var(--ink); clip-path: circle(0 at calc(100% - 38px) 36px);
    transition: clip-path .7s var(--ease-in-out);
  }
  .nav a { font-size: 44px; }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 38px) 36px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--serif); font-size: 17px; text-decoration: none;
  background: var(--white); color: var(--ink); padding: 14px 30px; border-radius: 6px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s, transform .35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--red); z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover { color: var(--white); transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- Section dividers (waves) ---------- */
.wave { display: block; width: 100%; height: clamp(40px, 7vw, 110px); margin-bottom: -1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  background: var(--ink); overflow: hidden; padding: 120px var(--gutter) 160px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; pointer-events: none; }
.hero__portrait {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: clamp(260px, 36vw, 520px); z-index: 1;
}
.hero__portrait img { width: 100%; height: auto; }
.hero__inner { position: relative; z-index: 2; }
.glow {
  font-size: clamp(44px, 8vw, 104px);
  text-shadow: 0 0 18px rgba(255,255,255,.55), 0 0 42px rgba(255,255,255,.25);
}
.hero__tag { margin: 18px 0 30px; font-size: 18px; letter-spacing: .02em; opacity: .9; }
.hero .wave { position: absolute; left: 0; bottom: 0; }

/* Split-letter entrance */
.split .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); filter: blur(6px); }
.is-ready .split .ch {
  animation: chIn .9s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 28ms + var(--d, 0ms));
}
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- What's new ---------- */
.news {
  position: relative; background: var(--red) url("/assets/img/deco-4.webp") center/cover; color: var(--white);
  padding: clamp(80px, 12vw, 160px) 0 0; overflow: hidden;
}
.news__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.news h2 { font-size: clamp(48px, 8vw, 112px); }
.news__video { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: rotate(-1.5deg); transition: transform .6s var(--ease-out); }
.news__video:hover { transform: rotate(0) scale(1.02); }

/* Click-to-play YouTube (loads the player only when clicked) */
.yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; background: #000 center/cover; color: #fff; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 55%); }
.yt span { position: relative; z-index: 1; width: 84px; height: 58px; border-radius: 16px; background: #e00; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(230,0,0,.45); transition: transform .4s var(--ease-out); }
.yt span::before { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.yt:hover span { transform: scale(1.12); }
.yt b { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; text-align: left; font-family: var(--body); font-size: clamp(13px, 1.4vw, 18px); }
iframe.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- About teaser ---------- */
.about-teaser { background: var(--char); padding: clamp(80px, 10vw, 140px) 0 0; position: relative; }
.about-teaser__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.about-teaser h2 { font-size: clamp(40px, 6vw, 84px); margin-bottom: 24px; }
.about-teaser h2 em { display: block; font-style: normal; color: var(--red); }
.about-teaser__photo { border-radius: 999px 999px 12px 12px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.about-teaser__badge { position: absolute; width: 110px; right: -20px; top: -30px; }
.about-teaser__photo-wrap { position: relative; }

/* ---------- Marquee ---------- */
.marquee { background: var(--fog); color: var(--ink); overflow: hidden; padding: 40px 0 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(56px, 10vw, 150px); white-space: nowrap; padding-right: .5em; }
.marquee__track .dot { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

.socials-grid { background: var(--fog); padding: 30px 0 80px; }
.socials-grid__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.socials-grid__row a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 9/14; background: #bbb; }
.socials-grid__row img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.socials-grid__row a:hover img { transform: scale(1.06); }
.socials-grid .cta { text-align: center; margin-top: 40px; }
@media (max-width: 760px) { .socials-grid__row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Footer ---------- */
.site-footer {
  background: #282828; min-height: 292px; padding: 50px 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 20px;
}
.site-footer .social-icons { margin: 0; gap: 0; }
.site-footer .social-icons a { width: 38px; height: 38px; box-shadow: none; color: #b53033; }
.site-footer .social-icons a:hover { background: none; color: #fff; }
.site-footer .email { justify-self: center; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .site-footer { grid-template-columns: 1fr; justify-items: center; min-height: 0; } .site-footer > span { display: none; } }
.site-footer .wave { margin-top: -60px; }
.social-icons { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; }
.social-icons a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transition: background .3s, transform .3s var(--ease-out); }
.social-icons a:hover { background: var(--red); transform: translateY(-3px); box-shadow: none; }
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer .email { font-family: var(--serif); font-size: 26px; }
.site-footer small { display: block; margin-top: 24px; opacity: .5; font-size: 13px; }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding: 160px 0 60px; text-align: center; position: relative; }
.page-head h1 { font-size: clamp(56px, 11vw, 160px); }

/* ---------- About page ---------- */
.about-hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--ink); overflow: hidden; }
.about-hero__title { padding: 140px var(--gutter) 80px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.about-hero__title h1 { font-size: clamp(56px, 9vw, 140px); }
.about-hero__title .who { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.about-hero__title .who img { width: clamp(220px, 30vw, 420px); }
.about-hero__title .stars { display: flex; gap: 8px; margin-top: 10px; }
.about-hero__title .stars img { width: 64px; }
.about-hero__photo { height: 100%; position: relative; }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 40%); }
@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__photo { position: absolute; inset: 0; opacity: .45; }
}

.bio { background: var(--cream); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; }
.bio__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.bio__lede { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; position: sticky; top: 120px; }
.bio__lede strong { color: var(--red); font-weight: 400; }
.bio__text p { font-size: 19px; }
.bio__text em { font-style: italic; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; }
.stat { border-top: 2px solid var(--ink); padding-top: 10px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); display: block; line-height: 1; }
.stat span { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }

.mt-feature { background: var(--red); padding: clamp(60px, 8vw, 120px) 0; text-align: center; }
.mt-feature img { width: min(520px, 90%); margin: 0 auto 36px; border-radius: 12px; }
.mt-feature h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 30px; }

@media (max-width: 860px) {
  .news__grid, .about-teaser__grid, .bio__grid { grid-template-columns: 1fr; }
  .bio__lede { position: static; }
}

/* ---------- Contact ---------- */
.contact { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); color: var(--ink); }
.contact__visual { position: relative; overflow: hidden; background: var(--ink); }
.contact__visual img { width: 100%; height: 100%; object-fit: cover; }
.contact__visual .sparkle { position: absolute; width: 140px; height: auto; right: 10%; top: 18%; mix-blend-mode: screen; }
.contact__form { padding: 140px var(--gutter) 80px; display: flex; flex-direction: column; justify-content: center; }
.contact h1 { font-size: clamp(48px, 7vw, 100px); margin-bottom: 18px; }
.contact .mail { font-family: var(--serif); font-size: 22px; color: var(--red); }
form { display: grid; gap: 18px; margin-top: 34px; max-width: 560px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; display: grid; gap: 6px; }
input, textarea {
  font: inherit; font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); padding: 10px 2px; border-radius: 0;
  transition: border-color .3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { min-height: 140px; resize: vertical; }
.form-status { font-family: var(--serif); font-size: 20px; min-height: 1.4em; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact__visual { height: 50vh; order: 2; }
  .row { grid-template-columns: 1fr; }
}

/* ---------- Shop ---------- */
.soon { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); background: radial-gradient(circle at 50% 120%, var(--red-deep), var(--ink) 60%); }
.soon h1 { font-size: clamp(56px, 11vw, 160px); }
.soon p { font-size: 20px; opacity: .85; margin: 18px 0 30px; }

/* ==========================================================================
   Page transition — "the curtain"
   ========================================================================== */
.tx { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.tx__bar { background: var(--c); transform: scaleY(0); transform-origin: var(--origin, bottom); will-change: transform; }
.tx__bar:nth-child(1) { --c: var(--ink); }
.tx__bar:nth-child(2) { --c: var(--red); }
.tx__bar:nth-child(3) { --c: var(--char); }
.tx__bar:nth-child(4) { --c: var(--red-deep); }
.tx__bar:nth-child(5) { --c: var(--ink); }
.tx__label {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--serif); font-size: clamp(64px, 14vw, 220px); color: var(--cream);
  opacity: 0; letter-spacing: -.01em; overflow: hidden;
}
.tx__label span { display: block; transform: translateY(110%); }
.tx__label img { position: absolute; width: clamp(90px, 10vw, 140px); bottom: 10vh; left: 50%; translate: -50% 0; opacity: .9; }

/* Covered state (set before first paint on arriving page) */
html.tx-covered .tx { pointer-events: all; }
html.tx-covered .tx__bar { transform: scaleY(1); }
html.tx-covered .tx__label { opacity: 1; }
html.tx-covered .tx__label span { transform: none; }

/* Leaving: bars sweep up from the bottom, staggered in travel direction */
html.tx-leave .tx { pointer-events: all; }
html.tx-leave .tx__bar { animation: barIn .62s var(--ease-in-out) forwards; animation-delay: calc(var(--n) * 55ms); }
html.tx-leave .tx__label { animation: fadeIn .2s .35s forwards; }
html.tx-leave .tx__label span { animation: labelUp .55s .38s var(--ease-out) forwards; }

/* Arriving: bars retract upward, label lifts away */
html.tx-enter .tx__bar { transform: scaleY(1); --origin: top; animation: barOut .72s var(--ease-in-out) forwards; animation-delay: calc(var(--n) * 55ms + 120ms); }
html.tx-enter .tx__label { opacity: 1; animation: fadeOut .3s .1s forwards; }
html.tx-enter .tx__label span { transform: none; animation: labelOut .45s var(--ease-in-out) forwards; }

@keyframes barIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes barOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes labelUp { to { transform: none; } }
@keyframes labelOut { to { transform: translateY(-110%); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }

/* Page content settles in after the curtain lifts */
html.tx-enter main { animation: settle 1s .35s var(--ease-out) both; }
@keyframes settle { from { transform: translateY(60px) scale(.985); filter: blur(4px); } to { transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .split .ch { opacity: 1; transform: none; filter: none; }
}

/* ---------- phones: full-screen menu + a footer email that fits ---------- */
@media (max-width: 760px) {
  .site-header .nav { justify-self: stretch; width: 100%; z-index: 55; }
  .site-footer .email { font-size: clamp(17px, 5.4vw, 24px); }
}

/* ==========================================================================
   Logo transition — colour rings radiate out from the logo, home opens back up from it
   ========================================================================== */
.txr { position: fixed; inset: 0; z-index: 101; pointer-events: none; overflow: hidden; display: none; }
html.tx-radial .txr { display: block; pointer-events: all; }
html.tx-radial .tx { display: none; }
.txr i { position: absolute; left: var(--txr-x, 50vw); top: var(--txr-y, 40px); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; transform: scale(0); will-change: transform; }
.txr i:nth-child(1) { background: #b53033; --n: 0; }
.txr i:nth-child(2) { background: #f2d34b; --n: 1; }
.txr i:nth-child(3) { background: #f3ede3; --n: 2; }
.txr i:nth-child(4) { background: #0b0b0b; --n: 3; }
html.txr-leave .txr i { animation: txrGrow .5s cubic-bezier(.65, 0, .35, 1) forwards; animation-delay: calc(var(--n) * 55ms); }
@keyframes txrGrow { from { transform: scale(0); } to { transform: scale(var(--txr-s, 300)); } }
html.tx-covered.tx-radial .txr i, html.txr-covered .txr i { transform: scale(var(--txr-s, 300)); animation: none; }
html.txr-covered .txr { pointer-events: none; } /* while the page opens back up, clicks go through */

/* ---------- Video focus view (site.js: openVideo / closeVideo) ---------- */
html.vf-open { overflow: hidden; }
.vf-source { visibility: hidden; }
.vf { position: fixed; inset: 0; z-index: 96; }
.vf__veil { position: absolute; inset: 0; background: rgba(6, 5, 5, 0); transition: background .5s ease, backdrop-filter .5s ease, -webkit-backdrop-filter .5s ease; }
.vf.is-open .vf__veil { background: rgba(6, 5, 5, .72); backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15); }
.vf__stage { position: fixed; border-radius: 16px; transform-origin: 0 0; background: #000; overflow: visible; }
.vf__screen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #000; }
.vf__poster, .vf__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.vf__poster { background: #000 center / cover; overflow: hidden; }
.vf__frame { opacity: 0; transition: opacity .4s ease; }
.vf__frame.is-on { opacity: 1; }
/* the border draws itself around the video */
.vf__ring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); pointer-events: none; overflow: visible; }
.vf__ring rect { fill: none; stroke: url(#vfGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 8px rgba(242, 211, 75, .55)) drop-shadow(0 0 22px rgba(181, 48, 51, .5)); transition: stroke-dashoffset .26s cubic-bezier(.6, 0, .4, 1); }
.vf.is-ringed .vf__ring rect { stroke-dashoffset: 0; transition: stroke-dashoffset .75s cubic-bezier(.65, 0, .25, 1); }
.vf__x { position: fixed; top: 18px; right: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  opacity: 0; transform: scale(.6) rotate(-90deg); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.6, .4, 1), background .2s; }
.vf.is-ringed .vf__x { opacity: 1; transform: none; }
.vf__x:hover { background: rgba(255,255,255,.15); transform: rotate(90deg); }
/* "sale sticker" subscribe badge, centred right on the video's bottom-right corner */
.vf__sub { position: absolute; right: 0; bottom: 0; translate: 50% 50%; z-index: 3; width: 88px; height: 88px; text-decoration: none; pointer-events: none; opacity: 0; transform: scale(1.8) rotate(30deg); }
.vf__sub-in { position: absolute; inset: 0; display: block; transform: rotate(-12deg); transition: transform .4s cubic-bezier(.2, 1.7, .4, 1); filter: drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
.vf__sub-burst { display: block; width: 100%; height: 100%; overflow: visible; }
.vf__sub-burst polygon { fill: #e01b22; stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; paint-order: stroke; }   /* white die-cut edge */
.vf__sub-burst text { fill: #fff; text-anchor: middle; }
.vf__sub-big { font-family: var(--serif); font-size: 17px; }
.vf__sub-yt rect { fill: #fff; } .vf__sub-yt path { fill: #e01b22; }
.vf.is-ringed .vf__sub { pointer-events: auto; animation: vfSlap .55s cubic-bezier(.2, 1.4, .4, 1) .45s forwards; }
.vf.is-ringed .vf__sub-in { animation: vfNudge 4.5s ease-in-out 2.2s infinite; }
.vf__sub:hover .vf__sub-in, .vf__sub:focus-visible .vf__sub-in { animation: none; transform: rotate(-4deg) scale(1.12); }
@keyframes vfSlap { 0% { opacity: 0; transform: scale(1.8) rotate(30deg); } 55% { opacity: 1; transform: scale(.9) rotate(-4deg); } 100% { opacity: 1; transform: none; } }
@keyframes vfNudge { 0%, 80%, 100% { transform: rotate(-12deg); } 85% { transform: rotate(-24deg) scale(1.1); } 90% { transform: rotate(0deg) scale(1.1); } 95% { transform: rotate(-16deg) scale(1.03); } }
@media (max-width: 760px) { .vf__sub { width: 72px; height: 72px; translate: 18% 50%; } }
@media (prefers-reduced-motion: reduce) { .vf__veil, .vf__ring rect, .vf__x, .vf__frame { transition: none !important; } .vf.is-ringed .vf__sub { animation: none; opacity: 1; transform: none; } .vf.is-ringed .vf__sub-in { animation: none; } }

/* ---------- Site video controls (assets/js/player.js) ---------- */
.mp { position: absolute; inset: 0; z-index: 2; color: #fff; font-family: var(--body); --mp-pad: 0px; }
.mp__hit { position: absolute; inset: 0; cursor: pointer; }
.mp:not(.is-show):not(.is-paused) .mp__hit { cursor: none; }
.mp__bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 34px 18px calc(12px + var(--mp-pad));
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.35) 55%, transparent);
  transition: opacity .35s ease, transform .35s cubic-bezier(.3, 1.2, .4, 1);
}
.mp:not(.is-show) .mp__bar { opacity: 0; transform: translateY(14px); pointer-events: none; }
.mp__btn { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; padding: 0; transition: background .2s, transform .25s cubic-bezier(.2, 1.7, .4, 1); }
.mp__btn:hover { background: rgba(255,255,255,.14); transform: scale(1.1); }
.mp__btn svg { width: 24px; height: 24px; fill: currentColor; }
.mp__btn[hidden] { display: none; }
.mp__time { flex: none; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mp__time i { font-style: normal; opacity: .6; font-weight: 500; }
.mp__seek { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; outline-offset: 2px; }
.mp__seek::before, .mp__buf, .mp__fill { content: ""; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; transition: height .2s, margin .2s; }
.mp__seek::before { right: 0; background: rgba(255,255,255,.25); }
.mp__buf { background: rgba(255,255,255,.35); }
.mp__fill { background: linear-gradient(90deg, #f2d34b, #ff6a3d 60%, #e0262b); box-shadow: 0 0 10px rgba(255,106,61,.6); }
.mp__knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(242,211,75,.55), 0 2px 6px rgba(0,0,0,.4); transform: scale(0); transition: transform .2s cubic-bezier(.2, 1.7, .4, 1); }
.mp__seek:hover::before, .mp__seek:hover .mp__buf, .mp__seek:hover .mp__fill, .mp.is-seeking .mp__seek::before, .mp.is-seeking .mp__buf, .mp.is-seeking .mp__fill { height: 6px; margin-top: -3px; }
.mp__seek:hover .mp__knob, .mp.is-seeking .mp__knob, .mp__seek:focus-visible .mp__knob { transform: scale(1); }
.mp.is-seeking .mp__fill, .mp.is-seeking .mp__knob { transition: none; }
/* centre pulse when play/pause is toggled */
.mp__flash { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); pointer-events: none; opacity: 0; }
.mp__flash svg { width: 38px; height: 38px; fill: #fff; }
.mp__flash.is-on { animation: mpFlash .6s ease-out; }
@keyframes mpFlash { 0% { opacity: 1; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.35); } }
/* big play button while paused before the first play / when autoplay is blocked */
.mp.is-paused:not(.is-started) .mp__flash { opacity: 1; animation: none; }
.mp__unmute { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 0; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font: 700 13px/1 var(--body); cursor: pointer; animation: mpPulse 1.8s ease-in-out infinite; }
.mp__unmute svg { width: 20px; height: 20px; fill: currentColor; }
.mp__unmute[hidden] { display: none; }
@keyframes mpPulse { 50% { box-shadow: 0 0 0 6px rgba(242,211,75,.35); } }
@media (max-width: 560px) { .mp__bar { gap: 6px; padding: 26px 8px calc(6px + var(--mp-pad)); } .mp__time { font-size: 11.5px; } .mp__btn { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .mp__bar { transition: opacity .2s; transform: none !important; } .mp__flash.is-on, .mp__unmute { animation: none; } }
/* keep the mute / full-screen buttons clear of the subscribe sticker in the focus view */
.vf .mp__bar { padding-right: 60px; }
@media (max-width: 760px) { .vf .mp__bar { padding-right: 68px; } }
:fullscreen .mp__bar, :-webkit-full-screen .mp__bar { padding-right: 18px; }

/* ---------- Random page transitions (assets/js/transitions.js) ---------- */
.ftx { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; }
html.ftx-on .ftx { display: block; pointer-events: all; }
html.ftx-on .tx { display: none; }
.ftx__solid { position: absolute; inset: 0; background: var(--ftx-c, #0b0b0b); opacity: 0; }
html.tx-covered.ftx-on .ftx__solid, .ftx.is-solid .ftx__solid { opacity: 1; }
.ftx__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.ftx__label {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 5vw; text-align: center;
  font-family: var(--serif); font-size: clamp(48px, 9vw, 130px); line-height: 1; color: var(--ftx-fg, #fff);
  opacity: 0; transform: scale(.96); transition: opacity .25s ease, transform .35s ease;
}
html.tx-covered.ftx-on .ftx__label, .ftx.show-label .ftx__label { opacity: 1; transform: none; }
.ftx[data-style="water"] .ftx__label { text-shadow: 0 0 30px rgba(120, 220, 255, .45); }
html.ftx-settle main { animation: settle .9s .15s var(--ease-out) both; }
