/* ==========================================================================
   Avanzza · Marketing digital
   Arquitectura: Cosmos ("muro de galería con polaroids flotando").
   Interfaz monocroma sobre pergamino; el color entra solo por las piezas.
   Depende de site.css (tokens, header, planes, FAQ, cierre, footer).
   ========================================================================== */

:root {
  --radius-media: 16px;
  --radius-tile: 12px;
  --tile-shadow: 0 1px 2px rgba(29, 28, 27, 0.08), 0 22px 44px -26px rgba(29, 28, 27, 0.55);
  --media-sand: #ece2d1;
  --media-sky: #d9e3f7;
  --media-lilac: #e2dcf5;
}
[data-theme="dark"] {
  --tile-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 26px 50px -24px rgba(0, 0, 0, 0.9);
  --media-sand: #221e18;
  --media-sky: #161c28;
  --media-lilac: #1c1a26;
}

/* --------------------------------------------------------------------------
   1. Hero: centered copy framed by a free-form collage
   -------------------------------------------------------------------------- */
.mk-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(720px, calc(100svh - var(--header-h)), 1000px);
  padding: 48px 0 72px;
  overflow: clip;
  isolation: isolate;
}
.mk-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}
.mk-title {
  max-width: 9.6em;
  margin-top: 22px;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.038em;
}
.mk-title em { font-weight: 330; }
.mk-sub { max-width: 50ch; margin-top: 28px; line-height: 1.7; }
.mk-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: 36px; }

.mk-collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mk-layer { position: absolute; inset: 0; }
.tile { position: absolute; width: var(--w); transform: rotate(var(--r)); }
.tile .art { box-shadow: var(--tile-shadow); }

.tile--reel { --w: 128px; --r: -6deg; left: 4%; top: 10%; }
.tile--post { --w: 160px; --r: 3deg; left: 2.5%; top: 47%; }
.tile--carousel { --w: 144px; --r: -3deg; left: 13.5%; top: 74%; }
.tile--search { --w: 248px; --r: 3deg; right: 3%; top: 11%; }
.tile--story { --w: 112px; --r: -4deg; right: 14.5%; top: 43%; }
.tile--rec { --w: 204px; --r: 2deg; right: 3.5%; top: 71%; }
.tile--metric { --w: 180px; --r: -2deg; left: 24%; top: 3%; }
.tile--brand { --w: 128px; --r: 5deg; right: 25%; top: 2%; }
.tile--thumb { --w: 196px; --r: 2deg; left: 27%; top: 82%; }
.tile--calendar { --w: 160px; --r: -3deg; right: 27%; top: 79%; }

/* --------------------------------------------------------------------------
   2. Art: content pieces built in CSS. They scale with their own width
      (container units), so the same piece works as a tile, in a grid or in
      a phone. Colors are "photography": fixed, independent from the theme.
   Container units never go on .art itself (they would resolve against the
   viewport): padded pieces lay out inside .art-body.
   -------------------------------------------------------------------------- */
.art {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: var(--radius-tile);
  font-family: var(--font-mono);
  line-height: 1.25;
  letter-spacing: 0;
  color: #1d1c1b;
  background-color: #fffdfb;
}
.art p { margin: 0; }
.art .icon { stroke-width: 1.8; }
.art .logo { fill: currentColor; }

.art-bars { position: absolute; top: 5cqw; left: 5cqw; right: 5cqw; z-index: 2; display: flex; gap: 2cqw; }
.art-bars i { flex: 1; height: max(2px, 1.4cqw); border-radius: 2px; background-color: rgba(255, 255, 255, 0.35); }
.art-bars i.is-on { background-color: #ffffff; }

/* Reel 9:16 */
.art--reel {
  aspect-ratio: 9 / 16;
  color: #ffffff;
  background:
    radial-gradient(120% 70% at 18% 8%, #2e8f8a 0%, transparent 60%),
    radial-gradient(90% 60% at 95% 95%, #125e5b 0%, transparent 70%),
    linear-gradient(170deg, #0d3b3a, #061413 72%);
}
.art-reel-text {
  position: absolute;
  left: 8cqw;
  right: 20cqw;
  top: 32%;
  font-family: var(--font-serif);
  font-size: 11cqw;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.art-reel-side { position: absolute; right: 5cqw; bottom: 24%; display: grid; gap: 7cqw; }
.art-reel-side .icon { width: 10cqw; height: 10cqw; }
.art-reel-foot { position: absolute; left: 8cqw; right: 8cqw; bottom: 7cqw; display: grid; gap: 1.5cqw; font-size: 6.4cqw; }
.art-reel-foot b { font-weight: 500; }
.art-reel-foot span { opacity: 0.72; }

/* Search ad */
.art--search .art-body { display: grid; gap: 5cqw; padding: 6cqw; }
.art-search-bar {
  display: flex;
  align-items: center;
  gap: 3cqw;
  height: 13cqw;
  padding: 0 5cqw;
  border-radius: 999px;
  font-size: 5cqw;
  box-shadow: inset 0 0 0 1px #d6d1ce;
}
.art-search-bar .icon { width: 6cqw; height: 6cqw; color: #52504e; }
.art-caret { display: none; width: 1.5px; height: 6cqw; margin-left: -2cqw; background-color: #1d1c1b; }
.art--live .art-caret { display: block; animation: caret 1s steps(2, jump-none) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.art-ad {
  display: grid;
  gap: 2.2cqw;
  padding: 4.5cqw 5cqw;
  border-radius: 3cqw;
  background-color: #f1f6f5;
  box-shadow: inset 0.9cqw 0 0 #139595;
}
.art-ad-meta { font-size: 4.2cqw; color: #52504e; }
.art-ad-meta b { font-weight: 600; color: #1d1c1b; }
.art-ad-title { font-family: var(--font-serif); font-size: 7.2cqw; line-height: 1.1; letter-spacing: -0.01em; color: #0e6666; }
.art-lines { display: grid; gap: 1.8cqw; }
.art-lines i { display: block; height: 2.2cqw; border-radius: 2px; background-color: #dcd6d2; }
.art-lines i:last-child { width: 68%; }
.art-lines--muted i { background-color: #ece7e3; }
.art-ad-links { display: flex; flex-wrap: wrap; gap: 2cqw; }
.art-ad-links span { padding: 1.2cqw 3cqw; border-radius: 999px; font-size: 3.9cqw; color: #0e6666; box-shadow: inset 0 0 0 1px #c7e2df; }

/* Feed post */
.art--post { display: grid; grid-template-rows: auto 1fr auto; aspect-ratio: 4 / 5.6; }
.art-head { display: flex; align-items: center; gap: 3cqw; padding: 4.5cqw 5cqw; font-size: 5.6cqw; }
.art-avatar { width: 9cqw; height: 9cqw; border-radius: 50%; background: conic-gradient(from 210deg, #139595, #e9dbc1, #139595); }
.art-head b { font-weight: 600; }
.art-head span { margin-left: auto; font-size: 4.6cqw; color: #8a8580; }
.art-scene { position: relative; overflow: hidden; background: linear-gradient(180deg, #efe3cc, #dfcaa7); }
.art-sun {
  position: absolute;
  left: 12cqw;
  top: 10cqw;
  width: 46cqw;
  height: 46cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #46b8b3, #139595 55%, #0c6967);
}
.art-arch {
  position: absolute;
  right: 8cqw;
  bottom: 0;
  width: 38cqw;
  height: 60cqw;
  border-radius: 19cqw 19cqw 0 0;
  background: linear-gradient(90deg, #f7f3ee, #ebe3d8);
}
.art-box {
  position: absolute;
  left: 9cqw;
  bottom: 8cqw;
  display: grid;
  place-items: center;
  width: 36cqw;
  height: 27cqw;
  border-radius: 2cqw;
  font-family: var(--font-serif);
  font-size: 5.6cqw;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
  color: #f6f3f1;
  background-color: #1d1c1b;
  box-shadow: 0 4cqw 7cqw -3cqw rgba(0, 0, 0, 0.5);
}
.art-post-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4cqw 5cqw;
  font-size: 5cqw;
  font-weight: 500;
  color: #041212;
  background-color: #139595;
}
.art-post-cta .icon { width: 6cqw; height: 6cqw; }

/* Story 9:16 */
.art--story {
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(90% 60% at 80% 8%, #ece6fb, transparent 70%),
    linear-gradient(180deg, #cdc3ef, #b3c8f2);
}
.art--story .art-bars i { background-color: rgba(29, 28, 27, 0.18); }
.art--story .art-bars i.is-on { background-color: #1d1c1b; }
.art-story-q {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 28%;
  font-family: var(--font-serif);
  font-size: 13cqw;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: center;
}
.art-poll { position: absolute; left: 9cqw; right: 9cqw; bottom: 16%; display: grid; gap: 3cqw; }
.art-poll span { display: grid; place-items: center; height: 16cqw; border-radius: 999px; font-size: 7cqw; font-weight: 500; background-color: rgba(255, 255, 255, 0.72); }
.art-poll .is-picked { color: #f6f3f1; background-color: #1d1c1b; }

/* Carousel cover 1:1 */
.art--carousel {
  aspect-ratio: 1;
  background:
    radial-gradient(80% 80% at 100% 0, #dde6fb, transparent 62%),
    #b3c8f2;
}
.art-count { position: absolute; top: 6cqw; right: 6cqw; padding: 1.4cqw 3.4cqw; border-radius: 999px; font-size: 5cqw; color: #ffffff; background-color: rgba(29, 28, 27, 0.72); }
.art-num {
  position: absolute;
  top: -4cqw;
  left: 7cqw;
  font-family: var(--font-serif);
  font-size: 62cqw;
  line-height: 1;
  letter-spacing: -0.06em;
}
.art-cover {
  position: absolute;
  left: 8cqw;
  right: 14cqw;
  bottom: 16cqw;
  font-family: var(--font-serif);
  font-size: 9.4cqw;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.art-dots { position: absolute; left: 0; right: 0; bottom: 6cqw; display: flex; justify-content: center; gap: 2cqw; }
.art-dots i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background-color: rgba(29, 28, 27, 0.25); }
.art-dots i.is-on { background-color: #1d1c1b; }

/* Camera viewfinder 16:10 */
.art--rec {
  aspect-ratio: 16 / 10;
  color: #f6f3f1;
  background:
    radial-gradient(70% 90% at 72% 38%, #2c4d4c, transparent 70%),
    radial-gradient(60% 70% at 18% 86%, #3b3127, transparent 70%),
    #121312;
}
.art-corner { position: absolute; width: 8cqw; height: 8cqw; border: 0 solid rgba(246, 243, 241, 0.85); }
.art-corner--tl { top: 6cqw; left: 6cqw; border-top-width: 2px; border-left-width: 2px; }
.art-corner--tr { top: 6cqw; right: 6cqw; border-top-width: 2px; border-right-width: 2px; }
.art-corner--bl { bottom: 6cqw; left: 6cqw; border-bottom-width: 2px; border-left-width: 2px; }
.art-corner--br { bottom: 6cqw; right: 6cqw; border-bottom-width: 2px; border-right-width: 2px; }
.art-rec-top { position: absolute; top: 8cqw; left: 17cqw; right: 17cqw; display: flex; align-items: center; gap: 2cqw; font-size: 4.6cqw; letter-spacing: 0.1em; }
.art-rec-top span { margin-left: auto; letter-spacing: 0.04em; }
.art-rec-dot { width: 3cqw; height: 3cqw; border-radius: 50%; background-color: #3cc4c0; box-shadow: 0 0 0 1cqw rgba(60, 196, 192, 0.25); animation: rec-blink 1.4s steps(2, jump-none) infinite; }
@keyframes rec-blink { 50% { opacity: 0.25; } }
.art-focus { position: absolute; left: 50%; top: 52%; width: 18cqw; height: 18cqw; margin: -9cqw 0 0 -9cqw; border: 1.5px solid #3cc4c0; border-radius: 2cqw; }
.art-rec-bottom { position: absolute; left: 17cqw; right: 17cqw; bottom: 8cqw; display: flex; justify-content: space-between; font-size: 4.2cqw; letter-spacing: 0.08em; opacity: 0.85; }

/* Metric card */
.art--metric .art-body { display: grid; gap: 4cqw; padding: 7cqw; }
.art-metric-head { display: flex; align-items: baseline; justify-content: space-between; gap: 3cqw; font-size: 6cqw; }
.art-metric-head em { padding: 1cqw 3cqw; border-radius: 999px; font-size: 4.6cqw; font-style: normal; color: #0e6666; background-color: #eaf4f3; }
.art-spark { display: block; width: 100%; height: 26cqw; overflow: visible; }
.art-spark-line { fill: none; stroke: #139595; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.art-spark-area { fill: rgba(19, 149, 149, 0.1); }
.art-metric-foot { display: flex; justify-content: space-between; font-size: 4.6cqw; color: #8a8580; }

/* Brand kit */
.art--brand { background-color: #f1ebe4; }
.art--brand .art-body { display: grid; gap: 6cqw; padding: 9cqw 8cqw 8cqw; }
.art-brand-aa { font-family: var(--font-serif); font-size: 38cqw; line-height: 0.86; letter-spacing: -0.05em; }
.art-swatches { display: flex; gap: 3cqw; }
.art-swatches i { width: 14cqw; height: 14cqw; border-radius: 50%; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.art-brand-label { font-size: 6.4cqw; letter-spacing: 0.08em; text-transform: uppercase; color: #52504e; }

/* Video thumbnail 16:9 */
.art--thumb { aspect-ratio: 16 / 9; color: #ffffff; background: linear-gradient(118deg, #0a2a29, #0f4e4c 58%, #139595); }
.art-thumb-title { position: absolute; left: 7cqw; top: 11cqw; width: 54%; font-family: var(--font-serif); font-size: 9.4cqw; line-height: 0.98; letter-spacing: -0.02em; }
.art-portrait {
  position: absolute;
  right: 5cqw;
  bottom: 0;
  width: 36cqw;
  height: 48cqw;
  background:
    radial-gradient(circle at 50% 30%, #eadcc2 0 21%, transparent 22%),
    radial-gradient(60% 46% at 50% 104%, #eadcc2 0 99%, transparent 100%);
}
.art-thumb-play { position: absolute; left: 7cqw; bottom: 9cqw; display: grid; place-items: center; width: 14cqw; height: 10cqw; border-radius: 3cqw; color: #1d1c1b; background-color: #f6f3f1; }
.art-thumb-play .icon { width: 6cqw; height: 6cqw; fill: currentColor; }
.art-thumb-time { position: absolute; right: 3cqw; bottom: 3cqw; padding: 0.8cqw 2cqw; border-radius: 1cqw; font-size: 4cqw; background-color: rgba(0, 0, 0, 0.72); }

/* Content calendar */
.art--calendar .art-body { display: grid; gap: 5cqw; padding: 7cqw; }
.art-cal-head { display: flex; align-items: baseline; justify-content: space-between; }
.art-cal-head b { font-family: var(--font-serif); font-size: 11cqw; font-weight: 400; letter-spacing: -0.02em; }
.art-cal-head span { font-size: 4.6cqw; color: #8a8580; }
.art-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2cqw; }
.art-cal-grid i { aspect-ratio: 1; border-radius: 1.6cqw; background-color: #f0ebe6; }
.art-cal-grid .c1 { background-color: #139595; }
.art-cal-grid .c2 { background-color: #e2d0b0; }
.art-cal-grid .c3 { background-color: #b3c8f2; }
.art-cal-grid .c4 { background-color: #cdc3ef; }

/* --------------------------------------------------------------------------
   3. Channels
   -------------------------------------------------------------------------- */
.mk-channels { padding-bottom: clamp(1rem, 2vw, 2rem); }
.mk-channels-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 44px;
  padding-top: 32px;
  box-shadow: inset 0 1px 0 var(--ash);
}
.mk-channels-label { font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); }
.mk-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; list-style: none; }
.mk-logos li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.mk-logos .logo { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   4. Services: image-led cards in an asymmetric 7/5 grid
   -------------------------------------------------------------------------- */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.mk-card { display: grid; align-content: start; gap: 22px; }
.mk-card--content { grid-column: 1 / span 7; grid-row: 1 / span 2; grid-template-rows: 1fr auto; align-content: stretch; }
.mk-card--search,
.mk-card--social { grid-column: 8 / span 5; }
.mk-media { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-media); }
.mk-card-body { display: grid; gap: 12px; }
.mk-card-body > p { max-width: 54ch; line-height: 1.7; }
.mk-card-body .tags { margin-top: 6px; }
.mk-card-title { font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.08; letter-spacing: -0.02em; }

.mk-media--sheet { min-height: 560px; background-color: var(--media-sand); }
.mk-sheet { position: absolute; inset: 0; }
.mk-sheet-cell { position: absolute; }
.mk-sheet-cell .art { box-shadow: var(--tile-shadow); }
.mk-sheet-cell:nth-child(1) { left: 6%; top: 6%; width: 24%; transform: rotate(-3deg); }
.mk-sheet-cell:nth-child(2) { left: 37%; top: 3.5%; width: 27%; transform: rotate(2deg); }
.mk-sheet-cell:nth-child(3) { right: 6%; top: 9%; width: 22%; transform: rotate(3deg); }
.mk-sheet-cell:nth-child(4) { left: 11%; bottom: 7%; width: 24%; transform: rotate(-2deg); }
.mk-sheet-cell--wide { right: 7%; bottom: 6%; width: 46%; transform: rotate(-1deg); }
.mk-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 2px;
  background: linear-gradient(180deg, transparent, #3cc4c0 20%, #3cc4c0 80%, transparent);
  box-shadow: 0 0 24px 6px rgba(60, 196, 192, 0.35);
  opacity: 0;
  pointer-events: none;
}

.mk-media--search { display: grid; place-items: start center; height: 300px; padding: 36px 28px 0; background-color: var(--media-sky); }
.mk-media--search .art--search { width: min(100%, 360px); box-shadow: var(--tile-shadow); }
.mk-media--search .art-ad { transform-origin: 50% 0; }

.mk-media--feed { display: grid; place-items: end center; height: 340px; padding: 28px 24px 0; background-color: var(--media-lilac); }
.mk-phone--feed {
  width: 188px;
  height: 312px;
  padding: 7px 7px 0;
  border-radius: 30px 30px 0 0;
  background-color: #111111;
  box-shadow: 0 30px 60px -30px rgba(29, 28, 27, 0.6);
  align-self: end;
}
.mk-feed { height: 100%; overflow: hidden; border-radius: 24px 24px 0 0; background-color: #fffdfb; }
.mk-feed-track { display: grid; gap: 8px; padding: 8px; }
.mk-feed-track .art { border-radius: 10px; box-shadow: 0 0 0 1px rgba(29, 28, 27, 0.06); }
.mk-feed-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background-color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ash), 0 14px 28px -16px rgba(29, 28, 27, 0.4);
}
.mk-feed-chip .logo { width: 15px; height: 15px; }
.mk-feed-chip--a { left: 8%; top: 22%; transform: rotate(-4deg); }
.mk-feed-chip--b { right: 8%; top: 52%; transform: rotate(3deg); }

/* --------------------------------------------------------------------------
   5. Reel: split "film" title + pinned storyboard
   -------------------------------------------------------------------------- */
.mk-reel { position: relative; padding-top: var(--section-pad); }
.mk-reel-intro { overflow: clip; padding-bottom: clamp(2rem, 5vw, 4rem); }
.mk-film {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 36px);
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 7.4vw, 7.5rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--ink);
}
.mk-film-a,
.mk-film-b { flex: 1 1 0; }
.mk-film-a { text-align: right; }
.mk-film-b { font-style: italic; }
.mk-film-play {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(48px, 7vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--accent-ink);
  background-color: var(--accent);
}
.mk-film-play .icon { width: 36%; height: 36%; margin-left: 6%; fill: currentColor; }

.mk-reel-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 16px) 40px;
}
.mk-reel-copy h2 { max-width: 12ch; margin-top: 20px; }
.mk-beats { display: grid; margin-top: 36px; list-style: none; }
.mk-beat {
  display: grid;
  gap: 6px;
  padding: 16px 0 16px 24px;
  opacity: 0.36;
  box-shadow: inset 2px 0 0 var(--ash);
  transition: opacity 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.mk-beat.is-active { opacity: 1; box-shadow: inset 2px 0 0 var(--accent); }
.mk-beat-time { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.mk-beat h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.1; letter-spacing: -0.02em; }
.mk-beat p { max-width: 46ch; max-height: 7em; overflow: hidden; font-size: 14.5px; line-height: 1.65; transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease-out); }
.mk-reel.is-pinned .mk-beat:not(.is-active) p { max-height: 0; opacity: 0; }
.mk-reel.is-pinned .mk-reel-copy h2 { font-size: clamp(2.5rem, 3.8vw, 3.75rem); max-width: 18ch; }

.mk-reel-stage { display: grid; place-items: center; }
.mk-phone--reel {
  width: min(320px, 28vw);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 46px;
  background-color: #111111;
  box-shadow: inset 0 0 0 1px #2c2c2c, 0 70px 110px -60px rgba(29, 28, 27, 0.7), 0 30px 60px -40px rgba(29, 28, 27, 0.5);
}
.mk-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  border-radius: 36px;
  background-color: #061413;
}
.mk-frame { position: absolute; inset: 0; display: grid; place-items: center; padding: 18cqw 9cqw; }
.mk-frame + .mk-frame { visibility: hidden; }

.mk-frame--hook {
  align-content: center;
  background:
    radial-gradient(110% 60% at 20% 12%, #2e8f8a, transparent 62%),
    radial-gradient(80% 50% at 90% 100%, #125e5b, transparent 70%),
    linear-gradient(175deg, #0d3b3a, #051110 75%);
}
.mk-hook-badge { position: absolute; top: 14cqw; left: 8cqw; padding: 1.6cqw 4cqw; border-radius: 999px; font-size: 4.6cqw; letter-spacing: 0.08em; color: #041212; background-color: #3cc4c0; }
.mk-hook-text { display: grid; font-family: var(--font-serif); font-size: 11.5cqw; line-height: 1.02; letter-spacing: -0.03em; color: #ffffff; }
.mk-hook-text span { display: block; }

.mk-frame--problem { align-content: center; gap: 10cqw; background: linear-gradient(180deg, #efe3cc, #e2cfae); }
.mk-problem-text { font-family: var(--font-serif); font-size: 12cqw; line-height: 1; letter-spacing: -0.03em; text-align: center; color: #1d1c1b; }
.mk-problem-text em { color: #0e6666; }
.mk-inbox {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 4cqw 5cqw;
  border-radius: 5cqw;
  font-size: 4.6cqw;
  color: #1d1c1b;
  background-color: rgba(255, 253, 251, 0.85);
  box-shadow: 0 6cqw 12cqw -8cqw rgba(29, 28, 27, 0.5);
}
.mk-inbox .icon { width: 7cqw; height: 7cqw; }
.mk-inbox b { display: grid; place-items: center; min-width: 8cqw; height: 8cqw; margin-left: 3cqw; border-radius: 999px; font-weight: 600; color: #f6f3f1; background-color: #1d1c1b; }

.mk-frame--proof { padding: 0; background-color: #1d1c1b; }
.mk-ba { --split: 70%; position: absolute; inset: 0; }
.mk-ba-side { position: absolute; inset: 0; overflow: hidden; }
.mk-ba-side i { position: absolute; }
.mk-ba-side i:nth-child(1) { left: 14cqw; top: 30%; width: 50cqw; height: 50cqw; border-radius: 50%; }
.mk-ba-side i:nth-child(2) { right: 10cqw; bottom: 0; width: 40cqw; height: 64cqw; border-radius: 20cqw 20cqw 0 0; }
.mk-ba-side i:nth-child(3) { left: 12cqw; bottom: 12cqw; width: 38cqw; height: 28cqw; border-radius: 2cqw; }
.mk-ba-side span { position: absolute; top: 16cqw; padding: 1.6cqw 4cqw; border-radius: 999px; font-size: 4.6cqw; letter-spacing: 0.08em; text-transform: uppercase; }
.mk-ba-side--before { background: linear-gradient(180deg, #cfcac5, #b9b3ad); }
.mk-ba-side--before i:nth-child(1) { background-color: #a29c96; }
.mk-ba-side--before i:nth-child(2) { background-color: #ddd8d3; }
.mk-ba-side--before i:nth-child(3) { background-color: #7d7873; }
.mk-ba-side--before span { left: 8cqw; color: #1d1c1b; background-color: rgba(255, 255, 255, 0.7); }
.mk-ba-side--after { clip-path: inset(0 0 0 var(--split)); background: linear-gradient(180deg, #efe3cc, #dcc6a0); }
.mk-ba-side--after i:nth-child(1) { background: radial-gradient(circle at 34% 30%, #46b8b3, #139595 55%, #0c6967); }
.mk-ba-side--after i:nth-child(2) { background: linear-gradient(90deg, #f7f3ee, #ebe3d8); }
.mk-ba-side--after i:nth-child(3) { background-color: #1d1c1b; box-shadow: 0 5cqw 8cqw -4cqw rgba(0, 0, 0, 0.5); }
.mk-ba-side--after span { right: 8cqw; color: #041212; background-color: #3cc4c0; }
.mk-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background-color: #ffffff;
}
.mk-ba-handle .icon {
  position: absolute;
  top: 58%;
  left: 50%;
  width: 11cqw;
  height: 11cqw;
  margin: -5.5cqw 0 0 -5.5cqw;
  padding: 2cqw;
  border-radius: 50%;
  color: #1d1c1b;
  background-color: #ffffff;
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.3);
}

.mk-frame--action { align-content: center; gap: 9cqw; background: linear-gradient(180deg, #f6f3f1, #e8e1d8); }
.mk-action-text { font-family: var(--font-serif); font-size: 11cqw; line-height: 1.02; letter-spacing: -0.03em; text-align: center; color: #1d1c1b; }
.mk-action-text em { color: #0e6666; }
.mk-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 3cqw;
  height: 15cqw;
  padding: 0 7cqw;
  border-radius: 999px;
  font-size: 5cqw;
  font-weight: 600;
  color: #041212;
  background-color: #139595;
  box-shadow: 0 5cqw 10cqw -5cqw rgba(19, 149, 149, 0.8);
}
.mk-action-btn .logo { width: 6cqw; height: 6cqw; }
.mk-tap {
  position: absolute;
  left: 58%;
  top: 56%;
  width: 16cqw;
  height: 16cqw;
  margin: -8cqw 0 0 -8cqw;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  opacity: 0;
}

.mk-screen-ui { position: absolute; inset: 0; z-index: 5; pointer-events: none; color: #ffffff; }
.mk-screen-ui::before,
.mk-screen-ui::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.mk-screen-ui::before { top: 0; height: 22%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent); }
.mk-screen-ui::after { bottom: 0; height: 38%; background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent); }
.mk-screen-ui > * { z-index: 1; }
.mk-progress { position: absolute; top: 6cqw; left: 6cqw; right: 6cqw; height: max(2px, 1.2cqw); border-radius: 2px; overflow: hidden; background-color: rgba(255, 255, 255, 0.3); }
.mk-progress i { display: block; height: 100%; background-color: #ffffff; transform-origin: left center; transform: scaleX(0); }
.mk-timecode { position: absolute; top: 10cqw; right: 6cqw; font-size: 4.2cqw; letter-spacing: 0.04em; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.mk-timecode b { font-weight: 500; }
.mk-screen-side { position: absolute; right: 5cqw; bottom: 22%; display: grid; gap: 6cqw; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)); }
.mk-screen-side .icon { width: 8cqw; height: 8cqw; }
.mk-screen-caption { position: absolute; left: 6cqw; bottom: 7cqw; font-size: 4.4cqw; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55); }
.mk-screen-caption b { font-weight: 600; }

/* --------------------------------------------------------------------------
   6. Method
   -------------------------------------------------------------------------- */
.mk-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.mk-method-head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: var(--space-5); justify-items: start; }
.mk-method-head h2 { max-width: 12ch; }
.mk-steps { position: relative; display: grid; padding-left: clamp(28px, 3vw, 44px); list-style: none; }
.mk-step {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 116px) minmax(0, 1fr);
  gap: var(--space-5);
  padding: 40px 0;
  box-shadow: inset 0 -1px 0 var(--ash);
}
.mk-step:first-of-type { padding-top: 4px; }
.mk-step-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ash);
  transition: color 0.6s var(--ease-out);
}
.mk-step.is-lit .mk-step-num { color: var(--accent-text); }
.mk-step h3 { font-size: clamp(1.625rem, 2.4vw, 2.25rem); line-height: 1.05; letter-spacing: -0.02em; }
.mk-step p { max-width: 52ch; margin-top: 12px; line-height: 1.7; }
.mk-step-out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ash);
}
.mk-step-out .icon { width: 15px; height: 15px; color: var(--accent-text); }
.mk-steps-line { position: absolute; top: 6px; bottom: 40px; left: 0; width: 2px; border-radius: 2px; background-color: var(--ash); }
.mk-steps-line i { display: block; height: 100%; border-radius: 2px; background-color: var(--accent); transform-origin: 50% 0; transform: scaleY(0); }

/* --------------------------------------------------------------------------
   7. Bridge: the one night card of the page
   -------------------------------------------------------------------------- */
.mk-bridge { padding-bottom: 0; }
.mk-bridge-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(32px, 5.5vw, 80px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  color: #b9bdc6;
  background-color: #07080f;
}
[data-theme="dark"] .mk-bridge-card { box-shadow: inset 0 0 0 1px rgba(246, 243, 241, 0.1); }
.mk-bridge-wash {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -70%;
  width: 80%;
  height: 140%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 149, 149, 0.5), transparent 70%);
  pointer-events: none;
}
.mk-bridge-card h2 { max-width: 13ch; color: #f3efec; }
.mk-bridge-card h2 em { color: #3cc4c0; }
.mk-bridge-copy p { max-width: 48ch; margin-top: 20px; line-height: 1.7; }
.mk-bridge-links { display: grid; gap: 12px; }
.mk-bridge-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  color: #f3efec;
  background-color: rgba(246, 243, 241, 0.04);
  box-shadow: inset 0 0 0 1px rgba(246, 243, 241, 0.12);
  transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.mk-bridge-link:hover { background-color: rgba(246, 243, 241, 0.08); box-shadow: inset 0 0 0 1px rgba(60, 196, 192, 0.55); }
.mk-bridge-link:focus-visible { outline-color: #3cc4c0; }
.mk-bridge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #3cc4c0; background-color: rgba(19, 149, 149, 0.18); }
.mk-bridge-text { display: grid; gap: 4px; }
.mk-bridge-text b { font-size: 15px; font-weight: 500; }
.mk-bridge-text span { font-size: 13px; line-height: 1.5; color: #a4a9b3; }
.mk-bridge-arrow { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.mk-bridge-link:hover .mk-bridge-arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   8. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .tile { width: calc(var(--w) * 0.84); }
  .tile--metric, .tile--brand { display: none; }
}

@media (max-width: 1023px) {
  .mk-hero { min-height: 0; padding: clamp(250px, 35vw, 300px) 0 clamp(240px, 33vw, 290px); }
  .tile { width: var(--w); }
  .tile--thumb, .tile--calendar { display: none; }
  .tile--reel { --w: 96px; left: 7%; top: 26px; }
  .tile--search { --w: 212px; --r: -2deg; left: 50%; right: auto; top: 42px; margin-left: -106px; }
  .tile--post { --w: 118px; left: auto; right: 6%; top: 22px; }
  .tile--story { --w: 88px; left: 9%; right: auto; top: auto; bottom: 34px; }
  .tile--carousel { --w: 116px; left: 50%; top: auto; bottom: 46px; margin-left: -58px; }
  .tile--rec { --w: 176px; right: 5%; top: auto; bottom: 50px; }

  .mk-card--content { grid-column: 1 / -1; grid-row: auto; }
  .mk-card--search { grid-column: 1 / span 6; }
  .mk-card--social { grid-column: 7 / span 6; }
  .mk-media--sheet { min-height: 0; aspect-ratio: 1 / 0.86; }

  .mk-reel-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage"; min-height: 0; padding-block: 0; gap: 48px; }
  .mk-reel-copy { grid-area: copy; }
  .mk-reel-stage { grid-area: stage; }
  .mk-phone--reel { width: min(300px, 70vw); }
  .mk-reel { padding-bottom: 0; }

  .mk-method-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-method-head { position: static; }

  .mk-bridge-card { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 767px) {
  .mk-hero { padding: 222px 0 206px; }
  .mk-title { margin-top: 18px; }
  .mk-ctas { flex-direction: column; width: 100%; max-width: 380px; }
  .mk-ctas .pill { width: 100%; }
  .tile--reel { --w: 76px; left: 4%; top: 20px; }
  .tile--search { --w: 168px; top: 30px; margin-left: -84px; }
  .tile--post { --w: 92px; right: 3%; top: 16px; }
  .tile--story { --w: 70px; left: 5%; bottom: 26px; }
  .tile--carousel { --w: 92px; bottom: 34px; margin-left: -46px; }
  .tile--rec { --w: 136px; right: 3%; bottom: 40px; }

  .mk-channels-inner { gap: 16px; }
  .mk-logos { gap: 12px 22px; }
  .mk-logos li { font-size: 13px; }

  .mk-card--search,
  .mk-card--social { grid-column: 1 / -1; }

  .mk-step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 32px 0; }
  .mk-bridge-card { border-radius: 28px; }
  .mk-bridge-link { padding: 16px; gap: 12px; }
}

/* --------------------------------------------------------------------------
   9. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mk-scan { display: none; }
  .mk-frame + .mk-frame { visibility: visible; }
  .mk-frame--hook,
  .mk-frame--problem,
  .mk-frame--proof { visibility: hidden; }
  .mk-progress i { transform: scaleX(1); }
  .mk-steps-line i { transform: scaleY(1); }
  .mk-step .mk-step-num { color: var(--accent-text); }
  .mk-beat { opacity: 1; }
}

@media (forced-colors: active) {
  .tile .art,
  .mk-media { border: 1px solid CanvasText; }
  .mk-film-play { border: 1px solid ButtonText; }
}

/* --------------------------------------------------------------------------
   10. Liquid glass chips over the collage (material in liquid-glass.css)
   -------------------------------------------------------------------------- */
.mk-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.mk-chip .icon { width: 15px; height: 15px; color: var(--accent-text); }
.mk-chip-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background-color: var(--accent); }
.mk-chip-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
  opacity: 0;
  animation: mk-ping 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes mk-ping { 0% { transform: scale(0.5); opacity: 0.9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.mk-chip--a { left: 8.5%; top: 34%; }
.mk-chip--b { right: 11%; top: 37.5%; }
.mk-chip--c { right: 10.5%; top: 67.5%; }
.mk-feed-chip.lg { background-color: var(--lg-tint-strong); }

@media (max-width: 1023px) {
  .mk-chip { display: none; }
}
