/* Blocks: styles for blocks inserted with the CMS ("+ Add block").
 * Pages load this file automatically when they get their first block.
 * Every block is <section class="cms-block cms-block--dark|light b-TYPE" data-cms-block="TYPE">;
 * inside content pages the --inline variant inherits the page's colours. */

/* Site colours, for pages that don't define them (the page's own values win). */
:where(:root) {
  --site-dark: #1C1A1F;
  --site-light: #F3EFEA;
  --site-accent: #6E4A5E;
  --site-accent-soft: #B48AA0;
  --cream: #F3EFEA;
  --cream-dark: #EAE5DF;
  --navy: #6E4A5E;
  --navy-light: #5B6F85;
  --navy-mid: #7A5268;
  --black: #1C1A1F;
  --text: #1C1A1F;
  --muted: #7a7278;
  --white: #ffffff;
}

/* ── Base ─────────────────────────────────────────────────────────── */
/* Colours follow the site colours (Settings). Themes: dark (default), light, accent, soft. */
.cms-block { --b-bg: var(--site-dark); --b-fg: var(--site-light); --b-accent: var(--site-accent-soft);
  --b-muted: color-mix(in srgb, var(--b-fg) 55%, transparent); --b-line: color-mix(in srgb, var(--b-fg) 14%, transparent);
  background: var(--b-bg); color: var(--b-fg); padding: 96px 52px; font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; line-height: 1.65; }
.cms-block--light { --b-bg: var(--site-light); --b-fg: var(--site-dark); --b-accent: var(--site-accent); }
.cms-block--accent { --b-bg: var(--site-accent); --b-fg: var(--site-light); --b-accent: var(--site-light); }
.cms-block--soft { --b-bg: var(--site-accent-soft); --b-fg: var(--site-dark); --b-accent: var(--site-dark); }
.cms-block--inline { background: none; color: inherit; padding: 0; margin: 40px 0; --b-fg: currentColor; --b-muted: currentColor; --b-line: rgba(127,127,127,.25); }
.cms-block-inner { max-width: 960px; margin: 0 auto; }
.cms-block h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.3px; margin: 0 0 20px; }
.cms-block h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 24px; line-height: 1.2; margin: 32px 0 10px; }
.cms-block p { margin: 0 0 16px; font-size: 17px; opacity: .85; }
.cms-block a { color: inherit; text-decoration-color: var(--b-accent); text-underline-offset: 3px; }
.cms-block figure { margin: 0; }
.cms-block img, .cms-block video { display: block; width: 100%; height: auto; border-radius: 8px; }
.cms-block figcaption { margin-top: 10px; font-size: 13px; color: var(--b-muted); }
.cms-block figcaption:empty { display: none; }
.cms-block .b-slot { display: grid; place-items: center; min-height: 260px; border: 1px dashed var(--b-line); border-radius: 8px;
  color: var(--b-muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* ── Text ── */
.b-text .cms-block-inner { max-width: 720px; }
/* ── Image / Video ── */
.b-image .cms-block-inner, .b-video .cms-block-inner { max-width: 1100px; }
.b-video .b-slot { min-height: 420px; }
/* ── Image + text ── */
.b-imgtext .cms-block-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* ── Gallery ── */
.b-gallery .b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.b-gallery .b-grid > * { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; }
.b-gallery .b-grid img, .b-gallery .b-grid video { height: 100%; object-fit: cover; }
.b-gallery .b-grid .b-slot { min-height: 0; height: 100%; }
/* ── Quote ── */
.b-quote .cms-block-inner { max-width: 820px; text-align: center; }
.b-quote blockquote { margin: 0; font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; font-size: clamp(26px, 4vw, 42px); line-height: 1.25; }
.b-quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--b-muted); }
/* ── Carousel ── */
.b-carousel .cms-block-inner { max-width: 1100px; }
.b-car { position: relative; }
.b-car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 8px; }
.b-car-track::-webkit-scrollbar { display: none; }
.b-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 10; overflow: hidden; }
.cms-block .b-slide img, .cms-block .b-slide video { height: 100%; object-fit: cover; border-radius: 0; }
.cms-block .b-slide .b-slot { min-height: 0; height: 100%; border-radius: 0; }
.b-car-prev, .b-car-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 26px; line-height: 44px; cursor: pointer; transition: opacity .2s; }
.b-car-prev { left: 12px; } .b-car-next { right: 12px; }
.b-car-prev::before { content: '‹'; } .b-car-next::before { content: '›'; }
.b-car-prev:disabled, .b-car-next:disabled { opacity: 0; pointer-events: none; }
.b-car-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.b-car-dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.b-car-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--b-line); transition: background .2s, transform .2s; }
.b-car-dot.active::before { background: var(--b-fg); transform: scale(1.3); }
/* ── Key figures ── */
.b-facts .b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.b-facts .b-fact b { display: block; font-family: 'Fraunces', serif; font-weight: 400; font-size: 48px; line-height: 1; margin-bottom: 8px; }
.b-facts .b-fact span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--b-muted); }
/* ── Tags ── */
.b-tags .b-list { display: flex; flex-wrap: wrap; gap: 10px; }
.b-tags .b-tag { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; border: 1px solid var(--b-line); border-radius: 100px; padding: 8px 16px; }
/* ── CV entries ── */
.b-cv .b-list { display: grid; }
.b-cv .b-entry { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--b-line); }
.b-cv .b-entry b { font-weight: 500; }
.b-cv .b-entry span { color: var(--b-muted); font-size: 14px; }
/* ── Button ── */
.b-button .cms-block-inner { text-align: center; }
.b-button .b-btn { display: inline-block; padding: 16px 28px; border-radius: 100px; background: var(--b-fg); color: var(--b-bg); text-decoration: none; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 760px) {
  .cms-block:not(.cms-block--inline) { padding: 64px 20px; }
  .b-imgtext .cms-block-inner { grid-template-columns: 1fr; gap: 28px; }
  .b-cv .b-entry { grid-template-columns: 1fr; gap: 2px; }
  .b-facts .b-fact b { font-size: 36px; }
}

/* ── Phone scroller block (cards that follow the page scroll) ─────────
 * Copied from the homepage's styles, where this block comes from; keep both in sync.
 * In inserted blocks the fade-in animation of the homepage is not used. */
.cms-phone .projects-heading { opacity: 1; transform: none; }
.cms-phone .iphone-wrap { opacity: 1; }
.projects-section {
  background: var(--cream);
  
  padding: 0;
  position: relative;
}
.projects-section-inner {
  padding: 80px 52px 0;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.projects-scroll-space {
  height: calc(8 * 60vh);
  position: relative;
}
.iphone-sticky-outer {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  width: 100%;
  margin: 0;
}
.projects-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px,6vw,88px);
  color: var(--text); line-height: 1; letter-spacing: -.5px;
  margin-bottom: 64px; align-self: flex-start;
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s, transform .8s;
}
.projects-heading.visible { opacity: 1; transform: translateY(0); }
.iphone-wrap {
  position: relative;
  flex-shrink: 0;
  pointer-events: all;
  width: 375px;
  height: 812px;
  
  --s: min(1, calc((100vh - 80px) / 812px));
  transform: scale(var(--s));
  transform-origin: center center;
  opacity: 0;
  transition: opacity .9s .1s;
}
.iphone-wrap.visible { opacity: 1; }
.iphone-shell {
  position: relative; width: 375px; height: 812px;
  border-radius: 54px; background: #0a0a0c;
  box-shadow: 0 0 0 1.5px #3a3a3c, 0 0 0 3px #1c1c1e,
    0 32px 80px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.3);
  overflow: hidden; cursor: none;
}
.iphone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 150px; height: 34px; background: #0a0a0c;
  border-radius: 0 0 24px 24px; z-index: 20;
}
.iphone-status {
  position: absolute; top: 0; left: 0; right: 0; height: 48px; z-index: 19;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 28px 8px; pointer-events: none;
}
.iphone-time { font-family: 'Instrument Sans', sans-serif; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: -.3px; }
.iphone-icons { display: flex; gap: 6px; align-items: center; }
.tiktok-feed { position: absolute; inset: 0; overflow: hidden; border-radius: 54px; }
.tiktok-scroll {
  height: 100%; overflow-y: hidden; 
  scroll-snap-type: y mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tiktok-scroll::-webkit-scrollbar { display: none; }
.tiktok-card {
  height: 812px; scroll-snap-align: start; scroll-snap-stop: always;
  position: relative; overflow: hidden; background: #111;
}
.tiktok-visual { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tiktok-visual-img { width: 100%; height: 100%; object-fit: cover; }
.tiktok-visual-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,.12); text-transform: uppercase;
  flex-direction: column; gap: 8px;
}
.tiktok-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.tiktok-sidebar {
  position: absolute; right: 12px; bottom: 160px;
  display: flex; flex-direction: column; gap: 20px; align-items: center; z-index: 10;
}
.tiktok-action { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tiktok-action-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.tiktok-action-label { font-family: 'Instrument Sans', sans-serif; font-size: 9px; color: rgba(255,255,255,.65); letter-spacing: .3px; }
.tiktok-caption { position: absolute; bottom: 80px; left: 0; right: 60px; padding: 0 16px; z-index: 10; }
.tiktok-archive-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: .5px; margin-bottom: 6px; }
.tiktok-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 400; color: #fff; line-height: 1.15; margin-bottom: 8px; letter-spacing: -.2px; }
.tiktok-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tiktok-tag { font-family: 'Instrument Sans', sans-serif; font-size: 10px; color: rgba(255,255,255,.55); }
.tiktok-tag::before { content: '#'; }
.tiktok-caption-body {
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; line-height: 1.65;
  color: rgba(255,255,255,.72); overflow: hidden;
  max-height: 0; transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .4s; opacity: 0;
}
.tiktok-caption-body.open { max-height: 600px; opacity: 1; }
/* Expanded text: dark behind all of it (however long), fading out in the 140px above the first line.
   Strength: setting "textShade" (blocks.js sets --text-shade). */
.tiktok-caption::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 0; right: -60px; top: -140px; bottom: -80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,var(--text-shade, .8)) 140px, rgba(0,0,0,var(--text-shade, .8)) 100%);
  opacity: 0; transition: opacity .4s;
}
.tiktok-caption.is-open::before { opacity: 1; }
/* The phone text is a content area (sections, plus texts, images and blocks added in the editor).
   Long text scrolls inside the phone instead of being cut off. */
.tiktok-caption-body > * { margin: 0 0 1.4em; }
.tiktok-caption-body > *:last-child { margin-bottom: 0; }
.tiktok-caption-body.open { max-height: 430px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.tiktok-caption-body :is(h2, h3, h4) { font-family: 'Fraunces', serif; font-weight: 400; font-size: 16px; line-height: 1.25; color: #fff; }
.tiktok-caption-body img, .tiktok-caption-body video { display: block; max-width: 100%; height: auto; border-radius: 6px; }
/* Blocks inside the phone: compact */
.tiktok-caption-body .cms-block { padding: 0; margin: 14px 0; font-size: 12px; line-height: 1.6; }
.tiktok-caption-body .cms-block-inner { max-width: none !important; }
.tiktok-caption-body .cms-block h2 { font-size: 18px; margin: 0 0 6px; letter-spacing: 0; }
.tiktok-caption-body .cms-block h3 { font-size: 15px; margin: 10px 0 4px; }
.tiktok-caption-body .cms-block p, .tiktok-caption-body .cms-block blockquote { font-size: 12px; margin: 0 0 8px; }
.tiktok-caption-body .cms-block .b-slot { min-height: 110px; }
.tiktok-caption-body .cms-block :is(.b-grid, .b-list) { gap: 8px; }
.tiktok-caption-body .b-imgtext .cms-block-inner { grid-template-columns: 1fr; }
.tiktok-see-more {
  font-family: 'Instrument Sans', sans-serif; font-size: 11px; font-weight: 600;
  /* colour: setting "seeMoreColor" (blocks.js sets --see-more) */
  color: var(--see-more, #5B6F85);
  background: color-mix(in srgb, var(--see-more, #5B6F85) 18%, transparent);
  border: none; cursor: none;
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: .3px; display: inline-block;
  margin-top: 6px;
  transition: background .2s, color .2s;
}
.tiktok-see-more:hover { background: color-mix(in srgb, var(--see-more, #5B6F85) 32%, transparent); color: color-mix(in srgb, var(--see-more, #5B6F85) 65%, #fff); }
.tiktok-swipe-hint {
  position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; z-index: 10;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1px;
  color: rgba(255,255,255,.25); animation: hintFade 3s ease 1.5s forwards; opacity: 0;
}
.tiktok-dots {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
}
.tiktok-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(28,26,31,.2); transition: background .3s, transform .3s; }
.tiktok-dot.active { background: var(--navy); transform: scale(1.5); }
@media (max-width: 600px) { .tiktok-dots { right: -18px; gap: 8px; } .tiktok-dot { width: 6px; height: 6px; } }
.iphone-home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 5px; background: rgba(255,255,255,.3);
  border-radius: 3px; z-index: 20; pointer-events: none;
}
.project-voice-tiktok {
  font-family: 'Instrument Sans', sans-serif; font-size: 11px;
  font-style: italic; color: rgba(255,255,255,.38);
  line-height: 1.6; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stats-row-tiktok { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0; }
.stat-tiktok { display: flex; flex-direction: column; gap: 1px; }
.tiktok-carousel {
  position: absolute; inset: 0;
  overflow: hidden;
}
.tiktok-carousel-track {
  display: flex; height: 100%;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.tiktok-carousel-slide {
  flex-shrink: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  user-select: none; -webkit-user-drag: none;
}
.tiktok-carousel-dots {
  position: absolute; top: 56px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px;
  z-index: 12; pointer-events: none;
}
.tiktok-carousel-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background .25s, transform .25s;
}
.tiktok-carousel-dot.active {
  background: var(--white); transform: scale(1.3);
}
@media (max-width: 900px) {
  .iphone-shell { width: 320px; height: 693px; }
  .tiktok-card { height: 693px; }
  .tiktok-scroll { scroll-snap-type: y mandatory; }
  .projects-section { padding: 72px 24px 80px; }
}
@supports (height: 100svh) {
  .hero, .iphone-sticky-outer { height: 100svh; }
  .iphone-wrap { --s: min(1, calc((100svh - 80px) / 812px)); }
}
@media (hover: none), (pointer: coarse) {
  body, button, a, .iphone-shell, .skill-rect, .call-btn, .lang-toggle, .tiktok-see-more, .call-bubble-close { cursor: auto; }
}
@media (max-width: 900px) {
  .iphone-wrap { width: 320px; height: 693px; --s: min(1, calc((100vh - 80px) / 693px), calc((100vw - 48px) / 320px)); }
  .tiktok-archive-label, .tiktok-tag, .tiktok-swipe-hint { font-size: 12px; }
  .tiktok-action-label, .stat-label-tiktok { font-size: 11px; }
  .tiktok-see-more { font-size: 13px; padding: 10px 16px; }
  .project-link-tiktok { display: inline-block; padding: 10px 0; font-size: 13px; }
}
@keyframes hintFade { 0% { opacity:0; transform:translateY(4px); } 20%,70% { opacity:1; transform:translateY(0); } 100% { opacity:0; } }

/* ── Choices from the editor (classes set by the CMS; they win over the block's own layout) ── */
/* Width of a block's content */
.cms-block.cms-w-narrow > .cms-block-inner { max-width: 640px; }
.cms-block.cms-w-wide > .cms-block-inner { max-width: 1240px; }
.cms-block.cms-w-full { padding-left: 0; padding-right: 0; }
.cms-block.cms-w-full > .cms-block-inner { max-width: none; }
/* Space above and below */
.cms-block.cms-sp-s { padding-top: 40px; padding-bottom: 40px; }
.cms-block.cms-sp-l { padding-top: 160px; padding-bottom: 160px; }
.cms-block--inline.cms-sp-s { padding: 0; margin: 16px 0; }
.cms-block--inline.cms-sp-l { padding: 0; margin: 96px 0; }
/* Centred content */
.cms-block.cms-al-center > .cms-block-inner { text-align: center; }
.cms-block.cms-al-center .b-list, .cms-block.cms-al-center .b-grid { justify-content: center; }
/* Text sizes (S–XXL); big sizes shrink on small screens */
.cms-fs-xs { font-size: 12px !important; line-height: 1.6 !important; }
.cms-fs-s { font-size: 15px !important; line-height: 1.6 !important; }
.cms-fs-m { font-size: 18px !important; line-height: 1.6 !important; }
.cms-fs-l { font-size: clamp(20px, 2.4vw, 26px) !important; line-height: 1.35 !important; }
.cms-fs-xl { font-size: clamp(28px, 4.5vw, 48px) !important; line-height: 1.12 !important; }
.cms-fs-xxl { font-size: clamp(40px, 8vw, 88px) !important; line-height: 1.02 !important; }
/* Image focus: which part of a cropped image or video stays visible */
.cms-focus-top { object-position: center top !important; }
.cms-focus-bottom { object-position: center bottom !important; }
.cms-focus-left { object-position: left center !important; }
.cms-focus-right { object-position: right center !important; }
@media (max-width: 760px) {
  .cms-block.cms-sp-l { padding-top: 96px; padding-bottom: 96px; }
  .cms-block.cms-w-full { padding-left: 0; padding-right: 0; }
}

/* ── Section backgrounds ("Background" in the editor): image/video and/or big text behind the content ── */
:where(.cms-has-bg) { position: relative; }   /* sections that are already positioned keep their own */
.cms-has-bg { isolation: isolate; }
.cms-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cms-bg--media img, .cms-bg--media video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cms-bg--media::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; }
.cms-bg-dim-s::after { opacity: .3; }
.cms-bg-dim-l::after { opacity: .6; }
.cms-bg--text { display: grid; place-items: center; color: #fff; }
.cms-bg--text.cms-bg-dark { color: #000; }
.cms-bg--text span { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(64px, 17vw, 300px); line-height: .9;
  letter-spacing: -.02em; white-space: nowrap; opacity: .07; }
.cms-bg-strong span { opacity: .2; }
.cms-bg-font-logo span { font-family: 'MyFont', 'Fraunces', serif; }
.cms-bg-font-sans span { font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; letter-spacing: -.04em; }

/* ── Moved elements ("Move" in the editor): centre at --cms-x/--cms-y (% of the section),
   kept far enough from the edges that they stay fully visible, also on phones ── */
/* Distances to keep from the edges: set by the element's own CSS (defaults fit the call pop-up). */
.cms-moved {
  inset: auto !important;
  left: clamp(min(50%, var(--cms-edge-x, 190px)), var(--cms-x, 50%), max(50%, 100% - var(--cms-edge-x, 190px))) !important;
  top: clamp(min(50%, var(--cms-edge-top, 120px)), var(--cms-y, 50%), max(50%, 100% - var(--cms-edge-bottom, 200px))) !important;
  transform: translate(-50%, -50%) !important;
  width: var(--cms-moved-w, min(380px, calc(100% - 32px)));
}
@media (max-width: 760px) {
  .cms-moved { top: clamp(min(50%, var(--cms-edge-top, 120px)), var(--cms-y, 50%), max(50%, 100% - var(--cms-edge-bottom-m, 270px))) !important; }
}

/* A video put into a background slot ("+ Add visual" on a background) */
.cms-slot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
