/* islamarketing.com homepage preview, in the "Carousel" world of /linkedin/legal-case-acquisition-v2/.
   Deep plum page, white paper sheets inset on it, plum-to-coral sweep inside cards and the contact slide.
   One face: Fontshare Supreme, self-hosted. */

@font-face { font-family: "Supreme"; src: url("fonts/supreme-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --deep: #290C3F;
  --plum: #3D1650;
  --plum-2: #4A1D61;
  --wine: #7A1A55;
  --berry: #A8194F;
  --coral: #E01C48;
  --coral-ink: #C0153D;
  --coral-soft: #FF9BB3;
  --blush: #FFE3EA;
  --ink: #290C3F;
  --ink-2: #5E4A6B;
  --field: #F7EFF6;
  --paper: #FFFFFF;
  --paper-2: #F8F3F8;
  --line-ink: rgba(41, 12, 63, .14);
  --err: #B3123A;
  --ok: #17734A;
  --text: #fff;
  --text-2: rgba(255, 255, 255, .84);
  --text-3: rgba(255, 255, 255, .72);
  --g: clamp(20px, 4.4vw, 56px);
  --wrap: 1200px;
  --sec: clamp(64px, 6.6vw, 104px);
  --r: 16px;
  --sheet-r: clamp(22px, 2.6vw, 34px);
  --sheet-m: clamp(8px, 1.1vw, 16px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sweep: linear-gradient(152deg, #3D1650 0%, #3D1650 22%, #57175A 38%, #7A1A55 52%, #A8194F 68%, #C81A4B 82%, #E01C48 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); scrollbar-color: #5A2A70 var(--deep); -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--deep); color: var(--text);
  font: 400 17px/1.55 "Supreme", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; font-feature-settings: "kern" 1;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.zb { transform: translateY(1px); } /* zerobill's mark sits a hair high against LegalCove's baseline */

/* Paper: a white sheet on the plum page, inset on every side so no section edge meets another as a seam. */
.paper {
  position: relative; margin: 0 var(--sheet-m); border-radius: var(--sheet-r);
  background: var(--paper); color: var(--ink); color-scheme: light;
}
.paper ::selection, .sheet ::selection, .drawer ::selection { background: var(--plum); color: #fff; }
.paper :focus-visible, .sheet :focus-visible, .drawer :focus-visible { outline-color: var(--coral); }
.sec { padding: var(--sec) 0; }

.head h2 {
  font-weight: 800; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -.026em;
  text-wrap: balance; max-width: 22ch;
}
.head p { margin-top: 14px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--text-2); max-width: 48ch; text-wrap: pretty; }
.paper .head p { color: var(--ink-2); }

/* Buttons: white on plum, plum on white. The button never moves; its arrow does. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 22px 0 24px; border: 0; border-radius: 10px;
  background: #fff; color: var(--ink); text-decoration: none; cursor: pointer;
  font: 700 16px/1 "Supreme", system-ui, sans-serif; letter-spacing: -.005em;
  transition: background-color .2s ease;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .28s var(--ease); }
.btn:hover { background: var(--blush); }
.btn:hover svg, .btn:focus-visible svg { transform: translate(2px, -2px); }
.btn:focus-visible { outline-offset: 4px; }
.btn-sm { height: 40px; padding: 0 14px 0 16px; border-radius: 8px; font-size: 14.5px; gap: 9px; }
.btn-sm svg { width: 12px; height: 12px; }
.btn-ink { background: var(--plum); color: #fff; }
.btn-ink:hover { background: var(--deep); }
.btn-ink:focus-visible { outline-color: var(--coral); }
.btn:disabled { opacity: .7; cursor: wait; }
.join-top .btn svg { transform: none; }
.join-top .btn:hover svg, .join-top .btn:focus-visible svg { transform: translateX(3px); }

/* Bar: the live homepage's own navigation (Jeremy, Oct 21): the animated isla mark on the
   left, one round menu button on the right on every screen, plum once the page scrolls. */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%; transition: background-color .3s ease, box-shadow .3s ease;
}
.bar.is-solid { background: var(--deep); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.bar-logo { display: flex; align-items: center; height: 36px; min-width: 200px; border-radius: 6px; }
.bar-logo svg { height: 36px; width: auto; }
.logo-animated path { fill: #fff; fill-opacity: 0; stroke: #fff; stroke-width: 1.5; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.logo-animated .logo-letter-1 { --len: 150; animation: logo-draw .4s ease-out .4s forwards, logo-fill .3s ease-out .8s forwards; }
.logo-animated .logo-letter-2 { --len: 50; animation: logo-draw .3s ease-out .6s forwards, logo-fill .3s ease-out .9s forwards; }
.logo-animated .logo-letter-3 { --len: 120; animation: logo-draw .3s ease-out .7s forwards, logo-fill .3s ease-out 1s forwards; }
.logo-animated .logo-letter-4 { --len: 280; animation: logo-draw .5s ease-out .9s forwards, logo-fill .3s ease-out 1.4s forwards; }
.logo-animated .logo-letter-5 { --len: 140; animation: logo-draw .3s ease-out 1.2s forwards, logo-fill .3s ease-out 1.5s forwards; }
.logo-animated .logo-letter-6 { --len: 200; animation: logo-draw .5s ease-out 1.4s forwards, logo-fill .3s ease-out 1.9s forwards; }
@keyframes logo-draw { to { stroke-dashoffset: 0; } }
@keyframes logo-fill { to { fill-opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .logo-animated path { animation: none !important; fill-opacity: 1; stroke-dashoffset: 0; } }
.menu-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--plum); color: #fff; cursor: pointer; transition: background-color .3s ease, color .3s ease, transform .3s ease, opacity .3s ease;
}
.menu-btn:hover { background: var(--deep); transform: translateY(-2px); }
.bar.is-solid .menu-btn { background: #fff; color: var(--plum); }
.bar.is-solid .menu-btn:hover { background: var(--blush); }
.menu-btn svg { width: 24px; height: 24px; }
body:has(.menu[open]) .menu-btn { opacity: 0; pointer-events: none; }

/* Side panels: the menu (deep plum, as on the live site) and the resume form (white) slide from the right. */
.menu, .drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: none; width: min(440px, 100%);
  padding: 0; border: 0; display: none; flex-direction: column; overflow: hidden;
}
.menu[open], .drawer[open] { display: flex; }
.drawer::backdrop { background: rgba(26, 6, 40, .58); }
.menu::backdrop { background: rgba(0, 0, 0, .5); }
.menu { width: 320px; max-width: 85vw; color: #fff; background: var(--deep); }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.menu-head a { display: flex; align-items: center; height: 32px; border-radius: 6px; }
.menu-logo { height: 32px; width: auto; }
.menu .x-btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--plum); }
.menu .x-btn:hover { background: var(--blush); }
.menu .x-btn svg { width: 24px; height: 24px; }
.menu-links { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 32px 24px; overflow-y: auto; }
.menu-label { margin-bottom: 8px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.menu-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1.4; color: #fff; border-radius: 6px; transition: color .2s ease; }
.menu-links a:hover { color: var(--coral); }
.menu-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.menu-ic svg { width: 16px; height: 16px; }
.menu-ic .menu-ic-legal { width: 20px; height: 20px; fill: currentColor; }
.menu-rule { height: 1px; margin: 16px 0; background: rgba(255, 255, 255, .1); }
.menu-foot { padding: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.menu-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px 32px; border-radius: 999px;
  background: #fff; color: var(--plum); text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1; transition: background-color .2s ease;
}
.menu-cta:hover { background: var(--blush); }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-in .3s ease-out; }
  .menu[open]::backdrop { animation: menu-fade .3s ease-out; }
}
@keyframes menu-in { from { transform: translateX(100%); } }
@keyframes menu-fade { from { opacity: 0; } }
.drawer { max-width: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; min-height: 72px; }
.x-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; transition: background-color .2s ease; }
.x-btn:hover { background: rgba(255, 255, 255, .2); }
.x-btn svg { width: 16px; height: 16px; }

.drawer { width: min(520px, 100%); background: var(--paper); color: var(--ink); color-scheme: light; box-shadow: -2px 0 0 rgba(41, 12, 63, .06), -24px 0 48px -32px rgba(20, 0, 30, .55); }
.drawer-head { box-shadow: 0 1px 0 var(--line-ink); }
.drawer-head h2 { font-weight: 800; font-size: 22px; letter-spacing: -.018em; line-height: 1.2; }
.drawer .x-btn { background: transparent; }
.drawer .x-btn:hover { background: var(--field); }
.drawer-body { overflow-y: auto; padding: 24px 28px 40px; }
.stack { display: grid; gap: 18px; margin-top: 22px; }

/* Hero: the live homepage's photo under its plum overlay (Jeremy, Oct 21) */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh; /* the hero owns the first screen (Jeremy, Oct 21) */
  padding: 112px 0 clamp(48px, 6vw, 80px);
  background: linear-gradient(135deg, #290C3F, #3D1650);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .4; }

.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(41, 12, 63, 0) calc(100% - 140px), #290C3F 100%), /* ends on the page ground: no seam */
    linear-gradient(116deg, #290C3F 0%, rgba(41, 12, 63, .8) 50%, rgba(122, 26, 85, .55) 100%);
}
.hero::after { z-index: -1; background-image: var(--grain); background-size: 180px; opacity: .08; mix-blend-mode: overlay; }

.hero-in { position: relative; width: 100%; }
/* The match stream from the live homepage hero: wide screens only, beside the copy. */
.hero-stream { display: none; }
.stream-win { height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); text-shadow: 0 1px 8px rgba(41, 12, 63, .55); }
.stream-run li { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.s-who { font-size: 20px; font-weight: 700; line-height: 1.35; color: #fff; }
.s-to { margin-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.s-to svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--coral-soft); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.s-to b { margin-left: auto; font-weight: 700; color: #fff; }
.stream-note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); text-shadow: 0 1px 8px rgba(41, 12, 63, .55); }
@media (prefers-reduced-motion: no-preference) {
  .stream-run { animation: stream 36s linear infinite; }
  .stream-win:hover .stream-run { animation-play-state: paused; }
}
@keyframes stream { to { transform: translateY(-50%); } }
@media (min-width: 1280px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 80px; align-items: center; }
  .hero-stream { display: block; }
}
.hero h1 {
  font-weight: 800; font-size: clamp(50px, 7.2vw, 96px); line-height: .98; letter-spacing: -.036em;
  text-shadow: 0 2px 18px rgba(25, 4, 40, .45);
}
.lede { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hero .btn { margin-top: 28px; }

/* Compliance and where we are (Sean, Oct 21), on the plum: the six points, the TrustedForm
   mark, a link to the team page, and Florida with the Tampa headquarters marked. */
.us-in { display: grid; gap: 40px; }
.us-items { display: grid; gap: 10px; margin-top: 32px; }
.us-items li { padding: 20px 22px 22px; border-radius: 16px; background: var(--plum); }
.us-items h3 { font-weight: 800; font-size: 19px; letter-spacing: -.014em; line-height: 1.2; }
.us-items p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); max-width: 40ch; }
@media (min-width: 640px) { .us-items { grid-template-columns: 1fr 1fr; } .us-items .us-wide { grid-column: 1 / -1; } }
.us-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-top: 32px; }
.proof-marks { display: grid; justify-items: start; gap: 8px; color: #fff; }
.pm-tf { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.pm-by { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.pm-ap { height: 21px; width: auto; color: #fff; }
.us-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.us-link svg { width: 12px; height: 12px; flex: none; transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.us-link:hover { color: var(--blush); }
.us-link:hover svg { transform: translate(2px, -2px); }
.hq { margin: 0; justify-self: center; width: 100%; max-width: 460px; padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: var(--plum); }
.hq-map { display: block; width: 100%; height: auto; }
.hq-fl { fill: var(--plum-2); stroke: rgba(255, 155, 179, .32); stroke-width: 1.2; stroke-linejoin: round; }
.hq-dot { fill: var(--coral); }
.hq-label { fill: #fff; font: 800 17px "Supreme", system-ui, sans-serif; letter-spacing: -.01em; }
/* The ring widens out from Tampa and fades, on a slow loop. No glow. Still with reduced motion. */
.hq-ring { fill: none; stroke: var(--coral-soft); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .hq-ring { animation: hq-ring 3.2s cubic-bezier(.2, .7, .3, 1) infinite; }
}
@keyframes hq-ring { 0% { transform: scale(.45); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hq figcaption { margin-top: 18px; display: grid; gap: 4px; }
.hq figcaption b { font-weight: 800; font-size: 20px; letter-spacing: -.015em; }
.hq figcaption span { font-size: 15px; color: var(--text-3); }
@media (min-width: 1000px) {
  .us-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .hq { justify-self: end; }
}
/* Sean, Oct 21: compliance now comes before Meet us in person. Compliance sits on a white sheet
   (its map card stays plum), Meet us on the plum, so light and dark still alternate. */
.paper.us .us-items li { background: var(--paper-2); }
.paper.us .us-items p { color: var(--ink-2); }
.paper.us .proof-marks { color: var(--ink); }
.paper.us .pm-by { color: var(--ink-2); }
.paper.us .pm-ap { color: var(--ink); }
.paper.us .us-link { color: var(--plum); }
.paper.us .us-link:hover { color: var(--deep); }
.paper.us .hq { color: #fff; }
.meet:not(.paper) .meet-link { color: #fff; }
.meet:not(.paper) .meet-link:hover { color: var(--blush); }
.meet:not(.paper) .ev-when { color: var(--coral-soft); }
.meet:not(.paper) .ev-where { color: var(--text-2); }
.meet:not(.paper) .ev-row { background: var(--plum); }
.meet:not(.paper) .ev-lead img, .meet:not(.paper) .ev-row img { background: var(--plum-2); }
.meet:not(.paper) .ev-more { background: var(--plum-2); }

/* The link under the agency text, in the room left beside the matches. */
.agency-link { margin-top: 24px; }

/* Not an agency (paper): the statement, example matches, what partners receive */
.agency { margin-top: var(--sheet-m); }
.agency-in { display: grid; gap: clamp(36px, 4.4vw, 56px); }
.agency-head h2 { max-width: 16ch; }
.match { border-radius: 22px; background: var(--paper-2); padding: clamp(18px, 2.4vw, 30px); }
/* The label, then the two brands on their own line (Jeremy, Oct 21: the logos broke mid-sentence on a phone). */
.match figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.m-brands { display: flex; align-items: center; gap: 20px; }
.match figcaption img { display: block; height: 17px; width: auto; }
.match figcaption img.zb { height: 15px; margin-top: -1px; } /* the zerobill wordmark is all x-height and ascenders: a hair smaller reads the same size */
.m-rows { margin-top: 18px; display: grid; gap: 8px; }
.m-row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: center;
  padding: 14px 18px 15px; border-radius: 12px; background: var(--paper);
}
.m-row b { font-weight: 800; font-size: 17.5px; line-height: 1.25; letter-spacing: -.012em; }
/* The join (Jeremy, Oct 21): the line is a track; a coral light runs along it, and the
   arrowhead turns coral as the light arrives, then settles back. One row at a time. */
.m-to { display: none; position: relative; height: 12px; }
.m-track { position: absolute; left: 0; right: 1px; top: 50%; height: 2px; margin-top: -1px; overflow: hidden; border-radius: 2px; background: var(--line-ink); }
.m-track i { position: absolute; top: 0; bottom: 0; left: -22px; width: 22px; border-radius: 2px; background: linear-gradient(90deg, rgba(224, 28, 72, 0), var(--coral)); }
.m-to::after { /* the arrowhead, its tip on the end of the track */
  content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; margin-top: -1px;
  border: solid rgba(41, 12, 63, .34); border-width: 2px 2px 0 0; border-radius: 1px; transform: rotate(45deg); transform-origin: 100% 0;
}
.m-out { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; font-size: 16px; line-height: 1.35; }
.m-out span, .m-out em { grid-column: 2; }
.m-out span { color: var(--ink-2); font-weight: 500; }
.m-out em { font-style: normal; font-weight: 800; color: var(--plum); }
.m-out::before { /* phone: a small turn arrow ahead of the partner */
  content: ""; grid-column: 1; grid-row: 1; align-self: center; width: 9px; height: 9px; margin-right: 2px;
  border: solid rgba(41, 12, 63, .4); border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; transform: translateY(-2px);
}
@media (prefers-reduced-motion: no-preference) {
  .m-track i { animation: m-run 9.6s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: calc(var(--i) * 2.4s); }
  .m-to::after { animation: m-head 9.6s ease infinite; animation-delay: calc(var(--i) * 2.4s); }
}
@keyframes m-run { 0% { left: -22px; } 15% { left: calc(100% - 22px); } 19%, 100% { left: 100%; } }
@keyframes m-head { 0%, 13% { border-color: rgba(41, 12, 63, .34); } 16%, 26% { border-color: var(--coral); } 38%, 100% { border-color: rgba(41, 12, 63, .34); } }

.gets-h { font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.steps { position: relative; isolation: isolate; display: grid; border-radius: var(--r); overflow: hidden; color: #fff; }
.steps::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .09; mix-blend-mode: overlay; }
.steps li { position: relative; z-index: 0; padding: 22px 22px 24px; }
.steps li > * { position: relative; z-index: 2; } /* text above the grain */
.steps li:nth-child(1) { background: #3D1650; }
.steps li:nth-child(2) { background: #791957; }
.steps li:nth-child(3) { background: #C81A4B; }
.steps h4 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.022em; line-height: 1.1; }
.steps p { margin-top: 8px; font-size: 16px; line-height: 1.45; max-width: 34ch; }

/* Brands (plum): each consumer brand is a slide with its own real ads bleeding off the bottom */
.brands .head { margin-bottom: clamp(30px, 3.6vw, 48px); }
.brand-grid { display: grid; gap: 14px; }
.brand {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--r); padding: clamp(24px, 2.8vw, 34px) clamp(22px, 2.8vw, 34px) 0;
  color: #fff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  background: linear-gradient(155deg, #3D1650 0%, #3D1650 38%, #6A1955 66%, #B0194E 100%);
}
.brand.b-fin { background: linear-gradient(205deg, #3D1650 0%, #3D1650 34%, #71195A 64%, #C81A4B 100%); }
.brand::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .09; mix-blend-mode: overlay; }
.brand:focus-visible { outline-offset: 4px; border-radius: var(--r); }
.brand-copy { display: grid; justify-items: start; }
.brand-mark { height: 30px; width: auto; }
.brand-mark.zb { height: 27px; transform: translateY(2px); }
.brand-text { margin-top: 22px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; line-height: 1.32; letter-spacing: -.012em; max-width: 30ch; text-wrap: pretty; }
.brand-gets { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--text-2); max-width: 36ch; }
.brand-go {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 16px;
  border-radius: 8px; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 15.5px; transition: background-color .2s ease;
}
.brand-go svg { width: 14px; height: 14px; transition: transform .28s var(--ease); }
.brand:hover .brand-go { background: rgba(255, 255, 255, .24); }
.brand:hover .brand-go svg, .brand:focus-visible .brand-go svg { transform: translateX(3px); }
.brand-ads { margin: clamp(28px, 3vw, 40px) 0 -96px; display: flex; gap: 10px; align-items: flex-start; }
.brand-ads img { width: calc((100% - 20px) / 3); max-width: 190px; height: auto; border-radius: 10px; background: var(--plum); transition: transform .5s var(--ease); }
.brand-ads img:nth-child(2) { margin-top: 22px; }
.brand-ads img:nth-child(3) { margin-top: 8px; }
.brand:hover .brand-ads img:nth-child(1) { transform: translateY(-6px); }
.brand:hover .brand-ads img:nth-child(2) { transform: translateY(-10px); }
.brand:hover .brand-ads img:nth-child(3) { transform: translateY(-4px); }

/* Meet us (paper) */
/* Meet us (Jeremy, Oct 21): the next event large, the three after it beside it, and everything
   later as one slow strip on the plum. */
.meet-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.meet-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; color: var(--plum); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.meet-link svg { width: 12px; height: 12px; flex: none; transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.meet-link:hover { color: var(--deep); }
.meet-link:hover svg { transform: translate(2px, -2px); }
.ev-when { font-size: 15px; font-weight: 700; color: var(--plum); }
.ev-where { margin-top: 5px; display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.ev-where svg { width: 15px; height: 15px; flex: none; }
.ev-grid { display: grid; gap: 14px; }
.ev-lead { display: grid; gap: 18px; align-content: start; }
.ev-lead img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; background: var(--field); }
.ev-lead .ev-when { font-size: 16px; }
.ev-lead h3 { margin-top: 4px; font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.026em; line-height: 1.04; text-wrap: balance; }
.ev-next { display: grid; gap: 10px; }
.ev-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; border-radius: 18px; background: var(--paper-2); }
.ev-row img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--field); }
.ev-row h3 { margin-top: 3px; font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
.ev-more { margin-top: clamp(28px, 3vw, 40px); display: grid; gap: 12px; padding: 18px 0 20px; border-radius: 18px; background: var(--plum); color: #fff; overflow: hidden; }
.ev-more-h { padding: 0 22px; display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.012em; }
.ev-more-h span { font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--text-3); }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.tick-run { display: flex; width: max-content; }
.tick-run ul { display: flex; flex: none; gap: 44px; padding-right: 44px; }
.tick-run li { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.tick-run b { font-weight: 800; font-size: 17px; letter-spacing: -.012em; }
.tick-run span { font-size: 15px; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .tick-run { animation: tick 70s linear infinite; }
  .ev-more:hover .tick-run, .ev-more:focus-within .tick-run { animation-play-state: paused; }
}
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { /* still: the list wraps, no copy */
  .ticker { -webkit-mask-image: none; mask-image: none; padding: 0 22px; }
  .tick-run { width: auto; }
  .tick-run ul { flex-wrap: wrap; gap: 10px 28px; padding: 0; }
  .tick-copy { display: none !important; }
}

/* Contact: the plum-to-coral slide, inset, holding the white form sheet */
.sweep { padding: clamp(28px, 4vw, 56px) 0; } /* room between the slide and the white sheets around it (Jeremy, Oct 21) */
.sweep > .wrap {
  --sp: clamp(22px, 3.4vw, 52px);
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; /* clip, so the sticky heading follows the page, not this box */
  width: calc(100% - 2 * var(--sheet-m)); max-width: none; margin: 0 var(--sheet-m);
  padding: clamp(40px, 5.4vw, 88px) max(var(--sp), (100% - var(--wrap)) / 2);
  border-radius: var(--sheet-r); background: var(--sweep);
}
.sweep > .wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .1; mix-blend-mode: overlay; }
.contact-in { display: grid; gap: 36px; align-items: start; }
.contact-head p { color: #fff; }
.direct { margin-top: 32px; display: grid; gap: 18px; }
.direct div { display: grid; gap: 2px; }
.direct dt { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .86); }
.direct dd { font-size: 19px; font-weight: 800; letter-spacing: -.012em; line-height: 1.35; }
.direct a { text-decoration: none; border-radius: 4px; }
.direct a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.sheet {
  background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 2px 4px rgba(50, 0, 25, .18), 0 28px 44px -30px rgba(30, 0, 15, .75);
  color-scheme: light;
}
.sheet fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet legend { padding: 0; font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.018em; line-height: 1.2; }
.sheet legend em, .fl em, .note em { font-style: normal; color: var(--err); }
.models { display: grid; gap: 8px; margin-top: 16px; }
.model {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 14px; row-gap: 6px;
  padding: 16px 18px; border-radius: 12px; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line-ink); cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.model:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .34); }
.model input {
  grid-column: 1; grid-row: 1 / span 2; margin: 0;
  appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-2); background: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.model input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); transform: scale(0); transition: transform .2s var(--ease); }
.model input:checked { border-color: var(--coral); }
.model input:checked::before { transform: scale(1); }
.model input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.model:has(input:checked) { background: #FDEBF0; box-shadow: inset 0 0 0 2px var(--coral); }
.model.bad { box-shadow: inset 0 0 0 2px var(--err); background: #FFF6F8; }
.model img { grid-column: 2; grid-row: 1; height: 21px; width: auto; }
.model img.zb { height: 19px; }
.model .q { grid-column: 2; grid-row: 2; font-size: 15px; font-weight: 500; color: var(--ink-2); line-height: 1.35; }
.sheet .about { margin-top: 30px; }
.hint { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.grid2 { display: grid; gap: 18px 16px; margin-top: 18px; }
.fl { display: grid; gap: 7px; }
.fl > span { font-size: 15px; font-weight: 700; color: var(--ink); }
.in {
  width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--field); color: var(--ink); caret-color: var(--coral);
  box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .22);
  font: 400 16px/1.4 "Supreme", system-ui, sans-serif;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.in::placeholder { color: #6F5C7C; }
.in:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .42); }
.in:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--plum), 0 0 0 4px rgba(224, 28, 72, .18); }
.in[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); background: #FFF6F8; }
textarea.in { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
select.in {
  appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23290C3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.in-file { height: auto; min-height: 50px; padding: 8px; font-size: 15px; cursor: pointer; }
.in-file::file-selector-button {
  margin-right: 12px; height: 34px; padding: 0 14px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--plum); color: #fff; font: 700 14.5px/1 "Supreme", system-ui, sans-serif;
}
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.send .btn { width: 100%; }
.note { font-size: 14px; color: var(--ink-2); }
.status { margin-top: 12px; font-size: 15px; font-weight: 500; min-height: 1.4em; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

/* Join (paper) */
.join { margin-top: var(--sheet-m); }
/* Join (Jeremy, Oct 21): the ask up top, the roles as cards on one grid with the link at the
   bottom of each, and the perks on a plum band like the calendar strip. */
.join-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 3.6vw, 48px); }
/* The call center behind the whole sheet (Sean, Oct 21), a still (Jeremy: no panning), sharp,
   under a plum veil that is darkest behind the heading. The role cards stay solid, so they read on it. */
.join.has-photo { isolation: isolate; overflow: hidden; overflow: clip; background: var(--deep); color: #fff; color-scheme: dark; }
.join-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.join.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(41, 12, 63, .86) 0%, rgba(41, 12, 63, .7) 22%, rgba(41, 12, 63, .5) 46%, rgba(41, 12, 63, .58) 72%, rgba(41, 12, 63, .82) 100%); }
.join.has-photo .head p { color: rgba(255, 255, 255, .9); }
.join.has-photo .roles-h { color: rgba(255, 255, 255, .88); }
.join.has-photo .roles-h span { color: #fff; }
.join.has-photo .roles a { color: var(--ink); background: rgba(255, 255, 255, .94); }
.join.has-photo .roles a:hover { background: #fff; }
.join.has-photo .perks-band { background: rgba(41, 12, 63, .9); }
.roles-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.roles-h span { font-weight: 800; color: var(--plum); }
.roles { display: grid; gap: 10px; }
.roles li { display: grid; }
.roles a {
  display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 20px 20px 18px;
  border-radius: 16px; background: var(--paper-2); text-decoration: none; transition: background-color .2s ease;
}
.roles a:hover { background: var(--field); }
.r-t { font-weight: 800; font-size: 19px; letter-spacing: -.014em; line-height: 1.2; text-wrap: balance; }
.r-w { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.r-w svg { width: 15px; height: 15px; flex: none; }
.r-go { align-self: end; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--plum); }
.r-go svg { width: 12px; height: 12px; transition: transform .28s var(--ease); }
.roles a:hover .r-go svg, .roles a:focus-visible .r-go svg { transform: translate(2px, -2px); }
.perks-band { margin-top: clamp(28px, 3vw, 40px); padding: 24px 22px 26px; border-radius: 18px; background: var(--plum); color: #fff; }
.perks-h { font-weight: 800; font-size: 17px; letter-spacing: -.012em; margin-bottom: 16px; }
.perks { display: grid; gap: 18px 28px; }
.perks h4 { font-size: 17px; font-weight: 800; letter-spacing: -.012em; line-height: 1.25; }
.perks p { margin-top: 5px; font-size: 15px; line-height: 1.5; color: var(--text-2); max-width: 34ch; }
@media (min-width: 640px) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles a { min-height: 152px; } /* side by side, every card the same height */
  .roles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roles li:last-child:nth-child(odd) { grid-column: auto; }
  .perks-band { padding: 26px 28px 28px; }
  .perks { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
}

/* Footer: centered, the three marks, then where to go */
.foot { padding: clamp(48px, 6vw, 80px) 0 48px; }
.foot-in { display: grid; justify-items: center; gap: 22px; text-align: center; }
.by { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; justify-content: center; }
.by > img { height: 30px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
.foot-nav a { padding: 8px 10px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--text-2); transition: color .2s ease, background-color .2s ease; }
.foot-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.foot-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; font-size: 15px; color: var(--text-3); }
.foot-contact a { text-decoration: none; color: var(--text-2); }
.foot-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.li { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--text-2); transition: color .2s ease; }
.li:hover { color: #fff; }
.li svg { width: 22px; height: 22px; fill: currentColor; }
.legal { font-size: 14px; color: var(--text-3); }
.legal a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:hover { color: #fff; }

/* Phone */
/* Phone: the matches sit straight on the sheet (no box in a box), the label over the logos. */
@media (max-width: 759px) {
  .match { padding: 0; background: none; border-radius: 0; }
  .match figcaption { flex-direction: column; align-items: flex-start; }
  .m-rows { margin-top: 16px; }
  .m-row { background: var(--paper-2); padding: 15px 16px 16px; }
}
@media (max-width: 479px) {
  .hero .btn { width: 100%; }
  .drawer-body { padding: 22px 20px 36px; }
  .brand-ads { margin-bottom: -64px; }
}

/* Tablet up */
@media (min-width: 760px) {
  .m-row { grid-template-columns: minmax(0, 19fr) minmax(36px, 4fr) minmax(0, 13fr); gap: 0 16px; padding: 16px 20px; }
  .m-to { display: block; }
  .m-out { grid-template-columns: minmax(0, 1fr); }
  .m-out span, .m-out em { grid-column: 1; }
  .m-out::before { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { padding: 26px 24px 28px; }
  /* Each part of a brand slide sits on one shared row across both, whatever the copy length. */
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; grid-template-rows: repeat(5, auto); }
  .brand { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; justify-items: start; }
  .brand-copy { display: contents; }
  .brand-go { align-self: end; }
  .brand-ads { width: 100%; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .span2 { grid-column: 1 / -1; }
  .models { grid-template-columns: 1fr 1fr; }
  .send .btn { width: auto; }
}
@media (min-width: 760px) {
  .ev-row { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
  .ev-more { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 8px; padding: 20px 0; }
  .ev-more-h { flex-direction: column; gap: 2px; padding: 0 24px 0 26px; }
}
@media (min-width: 1000px) {
  .ev-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
  .ev-next { grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ev-row { grid-template-columns: 136px minmax(0, 1fr); align-items: stretch; }
  .ev-row img { align-self: stretch; height: auto; min-height: 112px; aspect-ratio: auto; } /* fills the row's height */
  .ev-row > div { align-self: center; }
}
@media (min-width: 1000px) {
  .agency-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; }
  .agency-head { padding-top: 6px; }
  .gets { grid-column: 1 / -1; }
  .contact-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); }
  .contact-head { position: sticky; top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn svg, .brand-go svg, .brand-ads img, .r-go svg, .model input::before { transition: none; }
  html { scroll-behavior: auto; }
}

/* Contact sunset (kept from the previous homepage, Jeremy, Oct 22): the slide becomes a purple
   sky, with a large sun setting behind the form and its reflection on the water. */
/* The sky starts at plum, not the page's deep plum, so the rounded slide stays visible against the page above it. */
.contact > .wrap { background: linear-gradient(to bottom, #3D1650 0%, #4A1D61 38%, #8D1643 78%, #B91946 100%); }
.sunset { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sun {
  position: absolute; left: 50%; bottom: 9%; width: clamp(640px, 76vw, 1080px); aspect-ratio: 1;
  transform: translate(-50%, 50%); border-radius: 50%;
  background: linear-gradient(to bottom, #E01C48 0%, #A8194F 26%, #7A1A55 52%, #57175A 78%);
  opacity: .8; transition: opacity .7s ease, filter .7s ease;
}
.contact:focus-within .sun { opacity: 1; filter: brightness(1.1); }
.water { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(to bottom, #8D1643 0%, #3D1650 55%, #290C3F 100%); }
.water span {
  position: absolute; left: 50%; top: var(--t); width: var(--w); height: 3px; border-radius: 3px;
  background: #FF9AA8; opacity: var(--o); transform: translateX(-50%);
  animation: islaShimmer 4.5s ease-in-out var(--d) infinite;
}
@keyframes islaShimmer {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: var(--o); }
  50% { transform: translateX(-50%) scaleX(.82); opacity: calc(var(--o) * .55); }
}
@media (prefers-reduced-motion: reduce) { .water span { animation: none; } .sun { transition: none; } }
