/* Slide styles. Every slide is a 16:9 container; all sizes are in cqw (1% of slide width)
   so the same markup works as a thumbnail, an editor preview and a full-screen slide. */
:root {
  --purple: #350642;
  --pink: #ec2979;
  --yellow: #ffd000;
  --lilac: #7b4d96;
  --white: #ffffff;
  --ink: #350642;
}

.s {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  font-family: 'Rubik', system-ui, sans-serif;
  color: var(--white);
  background: var(--purple);
  isolation: isolate;
  line-height: 1.25;
}
.s * { box-sizing: border-box; }
.s p { margin: 0 0 0.6em; }
.s h1, .s h2, .s h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.s-purple { background: var(--purple); }
.s-pink { background: var(--pink); }
.s-yellow { background: var(--yellow); color: var(--ink); }
.s-lilac { background: var(--lilac); }
.s-dark { background: #111; }
.yellow { color: var(--yellow); }
.s-yellow .yellow { color: var(--ink); }

.s-pad { position: absolute; inset: 7cqw 5.5cqw 4cqw; display: flex; flex-direction: column; gap: 2cqw; }
.wordmark { position: absolute; top: 2.6cqw; left: 3cqw; height: 2.2cqw; z-index: 3; }
.wordmark.dark { filter: brightness(0); opacity: 0.85; }
.deco { position: absolute; pointer-events: none; z-index: 1; }
.s .num { font-weight: 800; font-size: 2.2cqw; color: var(--yellow); }
.s-yellow .num, .s-yellow .pillar .num { color: var(--pink); }

.mega { font-size: 8.2cqw; line-height: 0.95; font-weight: 900; }
.giga { font-size: 17cqw; line-height: 0.85; font-weight: 900; margin: 0; }
.h1 { font-size: 4.4cqw; line-height: 1.05; }
.h2 { font-size: 3.1cqw; line-height: 1.08; }
.s h3 { font-size: 1.7cqw; line-height: 1.15; }
.lead { font-size: 1.9cqw; line-height: 1.4; max-width: 70cqw; }
.body { font-size: 1.15cqw; line-height: 1.45; opacity: 0.92; }
.kicker { font-size: 1.4cqw; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.04em; }
.s-yellow .kicker { color: var(--pink); }
.vert-label {
  position: absolute; inset-inline-start: 1.5cqw; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-size: 7cqw; font-weight: 900; opacity: 0.16; white-space: nowrap; z-index: 0;
}

/* cover */
.s-cover .hand, .s-thanks .hand { top: 0; right: 0; width: 24cqw; }
.s-cover .hash { width: 9cqw; bottom: 4cqw; inset-inline-end: 5cqw; }
.cover-main { position: absolute; inset-inline: 6cqw; bottom: 9cqw; z-index: 2; }
.cover-sub { font-size: 2.6cqw; font-weight: 700; color: var(--yellow); margin-top: 1.6cqw; }
.client-chip { display: inline-flex; margin-top: 2cqw; background: #fff; border-radius: 1.2cqw; padding: 1cqw 2cqw; }
.client-chip img { height: 4.5cqw; max-width: 22cqw; object-fit: contain; }

/* agenda */
.s-agenda .arrow { width: 13cqw; bottom: 3cqw; inset-inline-start: 4cqw; }
.agenda { list-style: none; margin: 1cqw 0 0; padding: 0; display: grid; gap: 1.1cqw; }
.agenda li { display: flex; align-items: baseline; gap: 2cqw; font-size: 2.6cqw; font-weight: 700; border-bottom: 0.12cqw solid rgb(255 255 255 / 0.18); padding-bottom: 1cqw; }

/* divider */
.divider-main { position: absolute; inset-inline: 6cqw; bottom: 8cqw; z-index: 2; }
.kicker-big { font-size: 3cqw; font-weight: 800; color: var(--yellow); margin-bottom: 1cqw; }
.s-yellow .kicker-big { color: var(--pink); }
.s-pink .kicker-big { color: var(--yellow); }
.s-divider .arrow { width: 15cqw; top: 9cqw; inset-inline-end: 6cqw; }
.s-pink .deco.arrow, .s-divider.s-pink .arrow { filter: brightness(0) invert(1); opacity: 0.9; }

/* about */
.about-main { justify-content: center; padding-inline-start: 6cqw; }
.about-main .h1 { max-width: 62cqw; font-size: 5cqw; }
.about-main .lead { color: var(--yellow); font-weight: 500; }

/* pillars / columns */
.cols { display: grid; grid-template-columns: repeat(var(--c, 3), 1fr); gap: 2.4cqw; margin-top: 1.5cqw; flex: 1; }
.cols-1 { --c: 1; } .cols-2 { --c: 2; } .cols-3 { --c: 3; } .cols-4 { --c: 4; } .cols-5 { --c: 5; }
.pillar { background: rgb(255 255 255 / 0.55); border-radius: 1.4cqw; padding: 2.2cqw; display: flex; flex-direction: column; gap: 1cqw; }
.pillar .icon { height: 4.6cqw; }
.pillar h3 { font-size: 2.1cqw; }
.pillar .body, .card .body { font-size: 1.4cqw; }

/* logos */
.logo-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 1.6cqw 2.2cqw; align-content: center; flex: 1; }
.logo-cell { height: 6.2cqw; display: grid; place-items: center; }
.logo-cell img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* team */
.s-team .s-pad { inset-inline-start: 9cqw; }
.team-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 1.4cqw 1.6cqw; align-content: center; flex: 1; }
.member { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6cqw; }
.member .ph { width: 100%; max-width: 8.4cqw; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #ddd; display: grid; place-items: center; box-shadow: 0 0 0 0.25cqw var(--yellow); }
.member .ph img { width: 108%; height: 108%; object-fit: cover; }
.member .ph span { font-size: 4cqw; font-weight: 900; color: var(--yellow); }
.member b { display: block; font-size: 1.1cqw; font-weight: 700; line-height: 1.1; }
.member small { display: block; font-size: 0.85cqw; opacity: 0.85; margin-top: 0.2cqw; }

/* case study */
.s-case { display: grid; grid-template-columns: 38fr 62fr; grid-template-rows: 100%; }
.case-text { padding: 7cqw 4cqw 3cqw 3.5cqw; display: flex; flex-direction: column; gap: 1.1cqw; z-index: 2; min-height: 0; }
.case-logo { height: 4.4cqw; max-width: 16cqw; object-fit: contain; object-position: right; }
[dir='ltr'] .case-logo { object-position: left; }
.case-sub { font-size: 1.6cqw; font-weight: 600; }
.case-desc { font-size: 1.12cqw; line-height: 1.5; opacity: 0.92; overflow: hidden; flex: 0 1 auto; min-height: 0; display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; }
.results { display: flex; gap: 1cqw; flex-wrap: wrap; }
.result { background: var(--yellow); color: var(--ink); border-radius: 1cqw; padding: 0.9cqw 1.2cqw; display: flex; flex-direction: column; min-width: 9cqw; flex: 1; }
.result b { font-size: 2.4cqw; font-weight: 900; line-height: 1; direction: ltr; text-align: start; }
.result span { font-size: 0.9cqw; font-weight: 500; margin-top: 0.3cqw; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5cqw; margin-top: auto; }
.chips span { border: 0.1cqw solid rgb(255 255 255 / 0.5); border-radius: 99px; padding: 0.3cqw 0.9cqw; font-size: 0.85cqw; }
.case-media { display: grid; gap: 1cqw; padding: 6.5cqw 3cqw 3cqw; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); min-height: 0; height: 100%; }
.case-media.n1 { grid-template-columns: 1fr; }
.case-media.n2 { grid-template-columns: repeat(2, 1fr); }
.case-media.n4 { grid-template-columns: repeat(2, 1fr); }
.case-media.n5 .tile:first-child { grid-row: span 2; }
.tile { position: relative; border: 0; padding: 0; margin: 0; border-radius: 1.1cqw; overflow: hidden; background: rgb(255 255 255 / 0.08); cursor: zoom-in; min-height: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.tile:hover img { transform: scale(1.04); }
.tile .play { position: absolute; inset: 0; margin: auto; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--yellow); box-shadow: 0 0.4cqw 1.2cqw rgb(0 0 0 / 0.35); }
.tile .play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 0.9cqw 0 0.9cqw 1.5cqw; border-color: transparent transparent transparent var(--ink); transform: translateX(0.2cqw); }
.tile.is-video { cursor: pointer; }
.tile .more { direction: ltr; position: absolute; inset: 0; display: grid; place-items: center; background: rgb(53 6 66 / 0.72); font-size: 3cqw; font-weight: 900; color: var(--yellow); }

/* principles */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8cqw 2.4cqw; flex: 1; align-content: center; }
.card { display: flex; gap: 1.6cqw; background: rgb(255 255 255 / 0.1); border-radius: 1.4cqw; padding: 2cqw; }
.card .num { font-size: 3.6cqw; line-height: 0.9; }
.card h3 { margin-bottom: 0.6cqw; font-size: 1.9cqw; }

/* process */
.steps { list-style: none; margin: auto 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 1.4cqw; position: relative; }
.steps::before { content: ''; position: absolute; top: 2.2cqw; inset-inline: 2cqw; height: 0.2cqw; background: var(--yellow); opacity: 0.6; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 0.8cqw; }
.steps .dot { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 2cqw; position: relative; }
.steps h3 { font-size: 1.75cqw; }
.steps .body { font-size: 1.25cqw; }

/* workplan */
.month { background: rgb(255 255 255 / 0.6); border-radius: 1.4cqw; padding: 2cqw; }
.month-head { display: flex; align-items: baseline; gap: 1cqw; margin-bottom: 1.2cqw; }
.month-head h3 { font-size: 2cqw; }
.month ul { margin: 0; padding-inline-start: 1.8cqw; font-size: 1.65cqw; line-height: 1.65; }
.month li::marker { color: var(--pink); }

/* campaign structure */
.intro { font-size: 1.5cqw; max-width: 78cqw; opacity: 0.9; }
.layers { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 1.4cqw; flex: 1; align-items: end; }
.layer { background: var(--pink); border-radius: 1.4cqw; padding: 1.8cqw; min-height: calc(55% + var(--i) * 8%); display: flex; flex-direction: column; gap: 1cqw; }
.layer:nth-child(2n) { background: var(--lilac); }
.layer:nth-child(3n) { background: var(--yellow); color: var(--ink); }
.layer h3 { font-size: 2cqw; }
.layer dl { margin: 0; display: grid; gap: 0.2cqw; font-size: 1.45cqw; }
.layer dt { font-weight: 700; opacity: 0.75; margin-top: 0.6cqw; font-size: 1.05cqw; }
.layer dd { margin: 0; font-weight: 600; }

/* media plan */
.mp-head { position: absolute; top: 6cqw; inset-inline: 4cqw; display: flex; justify-content: space-between; align-items: flex-end; gap: 2cqw; }
.hero-num { text-align: end; display: flex; flex-direction: column; }
.hero-num span { font-size: 1cqw; opacity: 0.8; }
.hero-num b { font-size: 3.6cqw; font-weight: 900; color: var(--yellow); line-height: 1; direction: ltr; }
.hero-num small { font-size: 0.95cqw; opacity: 0.8; }
.mp-card {
  position: absolute; top: 14.5cqw; inset-inline: 4cqw; bottom: 2.6cqw; background: #fcfcfb; color: #0b0b0b; border-radius: 1.4cqw;
  padding: 1.6cqw 2cqw; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr auto; gap: 1.2cqw 2.4cqw;
}
.mp-label { font-size: 1.1cqw; font-weight: 700; color: #52514e; margin-bottom: 0.6cqw; }
.mp-chart { display: flex; flex-direction: column; min-height: 0; }
.mp-chart svg { flex: 1; width: 100%; min-height: 0; overflow: visible; }
.mp-chart .grid { stroke: #e4e3df; stroke-width: 1; }
.mp-chart .ax { font-size: 13px; fill: #898781; font-family: Rubik, sans-serif; }
.mp-chart .val { font-size: 13px; fill: #0b0b0b; font-weight: 600; font-family: Rubik, sans-serif; }
.mp-chart rect { stroke: #fcfcfb; stroke-width: 0; }
.mp-chart rect:hover, .share-row:hover .share-bar i { filter: brightness(1.1) saturate(1.1); }
.mp-share { display: flex; flex-direction: column; gap: 0.8cqw; overflow: hidden; }
.share-top { display: flex; align-items: center; gap: 0.6cqw; font-size: 1.2cqw; }
.share-top .pct { margin-inline-start: auto; font-weight: 700; }
.share-bar { height: 0.55cqw; background: #f0efec; border-radius: 99px; overflow: hidden; margin: 0.35cqw 0 0.2cqw; }
.share-bar i { display: block; height: 100%; border-radius: 99px; }
.share-meta { font-size: 0.95cqw; color: #52514e; }
.sw { display: inline-block; width: 0.8cqw; height: 0.8cqw; border-radius: 0.2cqw; margin-inline-end: 0.5cqw; vertical-align: middle; }
.mp-table { grid-column: 1 / -1; width: 100%; border-collapse: collapse; font-size: 1cqw; }
.mp-table th { text-align: start; color: #52514e; font-weight: 600; padding: 0.35cqw 0.5cqw; border-bottom: 0.1cqw solid #e4e3df; }
.mp-table td { padding: 0.35cqw 0.5cqw; border-bottom: 0.1cqw solid #f0efec; white-space: nowrap; }
.mp-table td:nth-child(n + 4), .mp-table th:nth-child(n + 4) { text-align: end; direction: ltr; }

/* studio */
.s-studio { display: grid; place-items: center; }
.studio-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #111; }
.studio-frame { width: 100%; height: 100%; border: 0; background: #fff; }
.studio-ph { font-size: 2cqw; color: #fff; opacity: 0.7; font-weight: 700; padding: 2cqw; text-align: center; }

/* text + image */
.text-main { justify-content: center; }
.s-text.has-img .text-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqw; align-items: center; }
.text-img { position: relative; height: 38cqw; border-radius: 1.4cqw; overflow: hidden; }
.text-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* quote */
.quote-main { justify-content: center; }
.mega-q { font-size: 5.4cqw; line-height: 1.05; font-weight: 900; max-width: 80cqw; }
.s-quote .bolt { width: 11cqw; bottom: 4cqw; inset-inline-end: 5cqw; }

/* q&a */
.s-qa .binoculars { width: 38cqw; bottom: 0; left: 0; }
[dir='ltr'] .s-qa .binoculars { left: auto; right: 0; transform: scaleX(-1); }
.qa-main { justify-content: center; max-width: 55cqw; }

/* thanks */
.thanks-main { position: absolute; bottom: -2.2cqw; right: 0; z-index: 2; text-align: right; }
[dir='ltr'] .thanks-main { right: auto; left: 4cqw; text-align: left; }
.thanks-kicker { font-size: 4cqw; font-weight: 400; display: inline-flex; align-items: center; gap: 2cqw; margin-inline-end: 4cqw; }
.thanks-kicker img { width: 3.6cqw; filter: brightness(0) saturate(100%) invert(79%) sepia(66%) saturate(1500%) hue-rotate(359deg); }
.s-thanks .giga { font-size: 22cqw; padding-inline-end: 3cqw; }
.contact { position: absolute; top: 10cqw; left: 6cqw; font-size: 1.4cqw; line-height: 1.6; z-index: 2; }
[dir='ltr'] .contact { left: auto; right: 28cqw; }

/* ===== slides converted from the original decks ===== */
.s-el { background-color: #350642; }
.s-el .el { position: absolute; box-sizing: border-box; }
.s-el .el-img { overflow: hidden; }
.s-el .el-img > img { width: 100%; height: 100%; display: block; object-fit: fill; }
.s-el .el-bg { position: absolute; inset: 0; }
.s-el svg.el-bg { width: 100%; height: 100%; overflow: visible; }
.s-el .el-tx { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: visible; }
.s-el .el-tx p { margin: 0; white-space: pre-wrap; overflow-wrap: break-word; }
.s-el .el-tx a { color: inherit; }
.s-el .el-bu { margin-inline-end: 0.5em; }
.s-el .el-line { overflow: visible; }
.s-el .el-link { cursor: pointer; }
.s-el .el-play { position: absolute; inset: 0; margin: auto; width: 4.2cqw; height: 4.2cqw; max-width: 60%; max-height: 60%; aspect-ratio: 1; border-radius: 50%; background: #ffd000; box-shadow: 0 0.3cqw 1cqw rgb(0 0 0 / .35); }
.s-el .el-play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 0.8cqw 0 0.8cqw 1.3cqw; border-color: transparent transparent transparent #350642; transform: translateX(0.15cqw); }
.s-el .el-ghost { opacity: 0.25; outline: 1px dashed #ec2979; }
.s-mediaplan { color: #330541; }
.s-mediaplan .case-sub { color: #330541; }
.s-mediaplan .hero-num b { color: #ec2979; }
.s-mediaplan .mp-head { top: 8.2cqw; }
.s-mediaplan .mp-card { box-shadow: 0 0.6cqw 2cqw rgb(51 5 65 / 0.18); }

/* paper grain + soft light under every slide in a design language (below the content: photos stay clean) */
.s-el.s-grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(120% 90% at 85% 0%, rgb(255 255 255 / 0.10), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgb(0 0 0 / 0.12), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 100% 100%, 100% 100%, 220px 220px;
  mix-blend-mode: soft-light; opacity: 0.55;
}

/* ---------- summary slide: "what we covered", cards that jump back ---------- */
.s-summary { display: grid; grid-template-columns: 21cqw 1fr; gap: 3.4cqw; padding: 7cqw 4.5cqw 5.5cqw; align-items: center; box-sizing: border-box; }
.s-summary .sm-side h2 { font-size: 4.3cqw; font-weight: 800; color: #fff; line-height: 1.04; margin: 0; }
.s-summary .sm-side i { display: block; width: 6.5cqw; height: 0.55cqw; background: #ffd000; margin: 1.7cqw 0 1.4cqw; border-radius: 1cqw; }
.s-summary .sm-side p { font-size: 1.3cqw; line-height: 1.35; color: rgb(255 255 255 / .78); margin: 0; }
.s-summary .sm-grid { width: calc(var(--size, 1) * 100%); display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 2.6cqw 2.1cqw; align-content: center; }
.s-summary .sm-card { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0.9cqw; min-width: 0; }
.s-summary .sm-tag { text-align: center; background: #ffd000; color: #330541; font-weight: 800; font-size: calc(1.32cqw * (0.55 + 0.45 * var(--size, 1))); line-height: 1.15; padding: 0.55cqw 1cqw; border-radius: 99cqw; text-wrap: balance; }
.s-summary .sm-th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 0.9cqw; overflow: hidden; box-shadow: 0 0 0 0.32cqw #fff, 0 1.1cqw 2.2cqw rgb(0 0 0 / .35); transition: transform .2s ease; }
.s-summary .sm-card:hover .sm-th, .s-summary .sm-card:focus-visible .sm-th { transform: translateY(-0.5cqw); }
.s-summary .sm-th > .s { position: absolute; top: 0; left: 0; width: 960px !important; max-width: none !important; transform: scale(calc(var(--tw, 200) / 960)); transform-origin: 0 0; pointer-events: none; }
.s-summary .sm-empty { color: #fff; font-size: 1.6cqw; opacity: .8; }

/* ---------- table object ---------- */
.s-el .el-table { overflow: hidden; border-radius: 0.9cqw; }
.s-el .el-table table { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; font-family: 'Rubik', Assistant, sans-serif; line-height: 1.25; }
.s-el .el-table th { background: var(--tb-head); color: var(--tb-head-text); font-weight: 800; padding: 0.55em 0.8em; text-align: start; }
.s-el .el-table td { color: var(--tb-text); padding: 0.5em 0.8em; border-bottom: 0.08cqw solid var(--tb-line); text-align: start; vertical-align: middle; }
.s-el .el-table tr:nth-child(odd) td { background: var(--tb-band); }
.s-el .el-table tr:last-child td { border-bottom: 0; }

/* ---------- a miniature of another slide (summary cards) ---------- */
.s-el .el-thumb { border-radius: 0.9cqw; overflow: hidden; box-shadow: 0 0 0 0.32cqw #fff, 0 1.1cqw 2.2cqw rgb(0 0 0 / .35); cursor: pointer; background: #1d0624; transition: transform .2s ease; }
.s-el .el-thumb:hover { transform: translateY(-0.4cqw); }
.s-el .el-thumb-in { position: absolute; inset: 0; overflow: hidden; }
.s-el .el-thumb-in > .s { position: absolute; top: 0; left: 0; width: 960px !important; max-width: none !important; transform: scale(calc(var(--tw, 200) / 960)); transform-origin: 0 0; pointer-events: none; }
.s-el [data-goto] { cursor: pointer; }
