/* =========================================================================
   Perceptionism Media pitch page. Dark stage; the prospect's brand colour
   arrives as --accent / --accent-hi / --accent-rgb in an inline <style>.
   ========================================================================= */

@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("assets/fonts/clash-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("assets/fonts/clash-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --accent: #b9912f; --accent-hi: #e2bd5c; --accent-rgb: 185, 145, 47;
  --bg: #0a0a0b; --panel: #131315; --panel-2: #18181b; --line: rgba(255, 255, 255, 0.09);
  --text: #f4f3ef; --text-2: #a7a6a1; --text-3: #8b8a85;
  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Clash Display", "Satoshi", -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; overflow-x: hidden;
  background:
    radial-gradient(60rem 36rem at 50% -8rem, rgba(var(--accent-rgb), 0.22), transparent 70%),
    radial-gradient(40rem 30rem at 100% 40%, rgba(var(--accent-rgb), 0.06), transparent 70%),
    var(--bg); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.eyebrow { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-hi); }
.h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; word-spacing: 0.08em; }
.head { text-align: center; margin-bottom: clamp(36px, 6vw, 56px); }
.head__sub { margin: 12px 0 0; color: var(--text-2); }

/* reveal (only when JS runs, so the page never sits blank) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ------------------------------ top bar ------------------------------ */
.top { padding: 22px 0; }
.top__in { display: flex; align-items: center; justify-content: center; gap: 16px; }
.cobrand__pm { height: 28px; width: auto; }
.cobrand__x { color: var(--text-3); font-size: 1.1rem; }
.cobrand__them { display: grid; place-items: center; height: 40px; min-width: 40px; padding: 6px 12px; border-radius: 10px; background: #fff; }
.cobrand__them img { max-height: 28px; max-width: 120px; width: auto; }

/* ------------------------------ hero ------------------------------ */
.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(56px, 9vw, 104px); text-align: center; }
.hero__title { margin: 0 auto; max-width: 18ch; font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.015em; word-spacing: 0.08em; }
.hero__title .hl { background: linear-gradient(100deg, var(--accent-hi), #fff 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .muted { color: var(--text-3); }
.hero__sub { max-width: 600px; margin: 22px auto 0; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--text-2); }
.loom { position: relative; max-width: 920px; margin: clamp(36px, 6vw, 56px) auto 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.18), 0 40px 120px -40px rgba(var(--accent-rgb), 0.55), 0 30px 60px -30px #000; }
.loom iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loom__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--text-3); font-size: 0.95rem; }
.loom__play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0.15); }
.loom__play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }

/* ------------------------------ the 3 ads ------------------------------ */
.ads { padding: clamp(56px, 9vw, 112px) 0; }
.ads__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ad { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ad:nth-child(2) { transform: translateY(-28px); }
.ads__row--one { grid-template-columns: minmax(0, 340px); justify-content: center; }
.ad__cap { margin-top: 26px; max-width: 300px; }
.ad__kicker { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-hi); }
.ad__title { margin: 8px 0 0; font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; word-spacing: 0.06em; }
.ad__angle { margin: 8px 0 0; font-size: 0.95rem; color: var(--text-2); }

/* phone: titanium rail, black bezel, the screen inside */
.phone { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 19.2; padding: 9px; border-radius: 46px;
  background: linear-gradient(148deg, #77716a, #141210 45%, #827b72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 50px 90px -30px rgba(0,0,0,.95), 0 30px 80px -40px rgba(var(--accent-rgb), 0.5); }
.phone::before { content: ""; position: absolute; inset: 6px; border-radius: 40px; background: #000; }
.phone__screen { position: relative; z-index: 1; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; display: flex; flex-direction: column; }
.island { position: absolute; z-index: 6; left: 50%; top: 9px; width: 30%; height: 22px; margin-left: -15%; border-radius: 20px; background: #000; }
.sbar { height: 38px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0; font-size: 12px; font-weight: 600; }
.sbar--over { position: absolute; z-index: 5; left: 0; right: 0; top: 0; color: #fff; }
.sbar i { display: inline-block; width: 14px; height: 9px; border-radius: 2px; background: currentColor; margin-left: 4px; }
.igbar { height: 36px; flex: none; display: flex; align-items: center; padding: 0 12px; font-family: "Snell Roundhand", "Brush Script MT", cursive; font-size: 22px; border-bottom: 1px solid #efefef; }
.post { flex: 1; overflow: hidden; }
.post__head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.av { width: 28px; height: 28px; flex: none; border-radius: 50%; padding: 4px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px #dbdbdb; }
.who { min-width: 0; text-align: left; line-height: 1.2; }
.who b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { display: block; font-size: 11px; color: #737373; }
.post__img { width: 100%; height: auto; }
.learn { display: flex; justify-content: space-between; padding: 9px 10px; background: #efefef; font-size: 12px; font-weight: 600; }
.acts { display: flex; gap: 12px; padding: 8px 10px; }
.acts svg { width: 21px; height: 21px; fill: none; stroke: #000; stroke-width: 1.8; }
.acts svg:last-child { margin-left: auto; }
.post__cap { padding: 0 10px 10px; font-size: 12px; line-height: 1.35; text-align: left; }
.post__cap b { margin-right: 4px; }

.reel { position: absolute; inset: 0; background: #000; color: #fff; cursor: pointer; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)); pointer-events: none; }
.reel__meta { position: absolute; left: 12px; right: 52px; bottom: 20px; text-align: left; }
.reel__who { display: flex; align-items: center; gap: 8px; }
.reel__who .av { box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.reel__who .who span { color: rgba(255,255,255,.8); }
.reel__cap { margin-top: 8px; font-size: 12px; line-height: 1.35; }
.reel__learn { margin-top: 10px; display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 600; }
.reel__side { position: absolute; right: 10px; bottom: 26px; display: flex; flex-direction: column; gap: 18px; }
.reel__side svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.8; }
.sound { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; font: 600 13px/1 -apple-system, sans-serif; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.sound svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }
.reel.unmuted .sound { display: none; }

/* ------------------------------ proof ------------------------------ */
.proof { padding: clamp(56px, 9vw, 104px) 0; }
.proof__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.res { padding: clamp(26px, 4vw, 40px); border-radius: 20px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); text-align: left; }
.res__drop { font-family: var(--display); font-weight: 600; font-size: clamp(3.4rem, 8vw, 5rem); line-height: 0.95; color: var(--accent-hi); }
.res__metric { margin-top: 6px; font-size: 1.05rem; font-weight: 700; }
.res__fig { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-variant-numeric: tabular-nums; font-weight: 500; }
.res__fig s { color: var(--text-3); text-decoration-thickness: 1px; }
.res__detail { margin: 16px 0 0; font-size: 0.92rem; color: var(--text-2); }
.res { display: grid; grid-template-columns: 1fr 150px; gap: 24px; align-items: start; }
.res__ad { margin: 0; }
.res__ad video, .res__ad img { width: 150px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #000; box-shadow: 0 20px 40px -20px #000; }
.res__ad img { aspect-ratio: 4 / 5; }
.res__ad figcaption, .res__shot figcaption { margin-top: 8px; font-size: 0.78rem; color: var(--text-3); }
.res__shot { grid-column: 1 / -1; margin: 6px 0 0; }
.res__shot img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }

/* ------------------------------ guarantees ------------------------------ */
.guar { padding: 0 0 clamp(56px, 9vw, 104px); }
.guar__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.g { padding: 28px 26px; background: var(--panel); }
.g svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-hi); stroke-width: 1.8; }
.g__title { margin: 14px 0 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; word-spacing: 0.06em; }
.g__text { margin: 8px 0 0; font-size: 0.95rem; color: var(--text-2); }

/* ------------------------------ book a call ------------------------------ */
.cta { padding: 0 0 clamp(64px, 10vw, 120px); }
.cta__card { max-width: 880px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); border-radius: 28px; text-align: center;
  background: radial-gradient(40rem 20rem at 50% 0%, rgba(var(--accent-rgb), 0.28), transparent 70%), var(--panel);
  border: 1px solid rgba(var(--accent-rgb), 0.35); }
.cta__sub { max-width: 520px; margin: 14px auto 28px; color: var(--text-2); }
.cal { height: 700px; border-radius: 16px; overflow: hidden; background: #fff; }
.cal iframe { width: 100%; height: 100%; border: 0; }
.cta__fallback { max-width: 520px; margin: 0 auto; padding: 18px 22px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 1.05rem; }

.foot { padding: 28px 0 40px; text-align: center; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); border-top: 1px solid var(--line); }

.sticky { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(var(--accent-rgb), 0.7);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.sticky.on { opacity: 1; transform: none; pointer-events: auto; }

/* ------------------------------ phones and small screens ------------------------------ */
@media (max-width: 900px) {
  .ads__row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px 16px 8px; margin: 0 calc(-1 * clamp(16px, 4vw, 32px));
    scrollbar-width: none; }
  .ads__row::-webkit-scrollbar { display: none; }
  .ad { flex: 0 0 76%; scroll-snap-align: center; }
  .ad:nth-child(2) { transform: none; order: -1; } /* the video phone leads the swipe row */
  .ads__row--one { justify-content: center; overflow-x: visible; }
  .ads__row--one .ad { flex: 0 0 80%; }
  .proof__row, .guar__row { grid-template-columns: 1fr; }
  .res { grid-template-columns: 1fr 120px; gap: 16px; }
  .res__ad video, .res__ad img { width: 120px; }
}
@media (max-width: 560px) {
  .top__in { gap: 10px; }
  .cobrand__pm { height: 22px; }
  .sticky { left: 16px; right: 16px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
