/* ==========================================================================
   Valerie LePelch — brand partnerships
   --------------------------------------------------------------------------
   One stylesheet, no framework, no build step. It is organised top-to-bottom
   in the same order as the page, so to change a section you scroll to the
   heading with the same name in index.html.

   The design rules, so edits stay consistent:
     - Two typefaces only. Instrument Serif for anything large, Inter for
       anything you actually read or click.
     - Two surfaces only. "Night" (near-black) for the moments that should feel
       cinematic, "paper" (warm bone) for the moments that should feel like a
       magazine page. Nothing in between.
     - Hairline rules do the dividing. Borders, not boxes; shadows are rare.
     - Space is the luxury. When a section feels cheap, add space before adding
       decoration.
   ========================================================================== */

/* ---------- Fonts (self-hosted: no third-party request, no layout shift) --- */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens -------------------------------------------------------- */

:root {
  --night: #0b0a09;
  --night-2: #141210;
  --paper: #f2eee7;
  --paper-2: #e9e3d9;
  --ink: #15120f;
  --ink-soft: #3a332c;
  --smoke: #6f6659;
  --smoke-dim: #9a9084;
  --gold: #b9893f;
  --line: rgba(21, 18, 15, 0.14);
  --line-strong: rgba(21, 18, 15, 0.26);
  --line-night: rgba(242, 238, 231, 0.16);
  --line-night-strong: rgba(242, 238, 231, 0.3);

  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* One shared page gutter keeps every section optically aligned. */
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --measure: 78rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset --------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The sticky bar is ~72px; without this, anchor jumps hide section titles. */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

/* ---------- Layout primitives --------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(5rem, 11vw, 10rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.night {
  background: var(--night);
  color: var(--paper);
}
.night ::selection { background: var(--paper); color: var(--night); }

/* Small caps label that opens most sections. Zendaya's site uses the same
   device: a quiet all-caps line, a hairline, then a very large serif. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.night .eyebrow { color: var(--smoke-dim); }
.night .eyebrow::after { background: var(--line-night); }

.eyebrow__num {
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* Display type. clamp() means one rule covers phone through desktop and the
   headline is never orphaned on a 390px screen. */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; }

.h-xl { font-size: clamp(3.25rem, 11vw, 9rem); }
.h-lg { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.h-md { font-size: clamp(1.9rem, 3.6vw, 3rem); }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}
.night .lede { color: rgba(242, 238, 231, 0.84); }

.muted { color: var(--smoke); }
.night .muted { color: var(--smoke-dim); }

.rule { height: 1px; background: var(--line); border: 0; }
.night .rule { background: var(--line-night); }

/* ---------- Buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.night .btn { background: var(--paper); border-color: var(--paper); color: var(--night); }
.night .btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.night .btn--ghost { background: transparent; color: var(--paper); border-color: rgba(242, 238, 231, 0.42); }
.night .btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }

/* The arrow nudges on hover — the smallest possible signal that the button is
   alive, with no layout cost. */
.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Header -------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 1.1rem;
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Over the dark hero the bar is invisible; past it, it becomes a paper strip.
   Toggled by site.js, not by a scroll listener doing layout work. */
.header.is-stuck {
  background: rgba(242, 238, 231, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}
.nav a {
  position: relative;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

.header__cta {
  padding: 0.6rem 1.15rem;
  font-size: 0.8125rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.header__cta:hover { background: currentColor; }
.header__cta:hover span { color: var(--night); }
.header.is-stuck .header__cta:hover span { color: var(--paper); }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
  padding-top: 7rem;
}

/* The portrait is anchored right and bled off the top/right edge, the way a
   magazine cover crops a subject rather than centring them in a box. */
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 46rem);
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.92) contrast(1.04);
}
/* Two gradients, not one: the horizontal one lets the headline sit on clean
   black, the vertical one hands the eye down to the stat row. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--night) 4%, rgba(11, 10, 9, 0.86) 30%, rgba(11, 10, 9, 0.12) 72%),
    linear-gradient(to top, var(--night) 2%, rgba(11, 10, 9, 0) 42%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.hero__kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  max-width: 14ch;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem);
}
.hero__title em { color: #fff; }

.hero__lede { margin-bottom: clamp(2rem, 3.4vw, 2.75rem); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* Stat row: hairline-divided cells, the figure in serif, the label in caps.
   This is the single most-screenshotted element on a media-kit site, so it
   gets the full page width and real breathing room. */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-night);
  background: linear-gradient(to top, var(--night) 35%, rgba(11, 10, 9, 0.72));
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stat {
  padding: clamp(1.1rem, 2.2vw, 1.85rem) clamp(0.5rem, 1.5vw, 1.5rem);
  border-left: 1px solid var(--line-night);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat--total { background: rgba(185, 137, 63, 0.08); }
.stat__value {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 3.1vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat--total .stat__value { color: var(--gold); }
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 9rem; }
  .hero__media { width: 100%; opacity: 0.5; }
  .hero__media::after {
    background:
      linear-gradient(to top, var(--night) 12%, rgba(11, 10, 9, 0.45) 60%, rgba(11, 10, 9, 0.75) 100%);
  }
  .hero__title { max-width: 100%; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 1px solid var(--line-night); border-top: 1px solid var(--line-night); padding-left: 1rem; }
  .stat:first-child { border-left: 1px solid var(--line-night); padding-left: 1rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat--total { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* ---------- Marquee ------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line-night);
  background: var(--night-2);
  color: var(--paper);
  overflow: hidden;
  padding-block: 1.15rem;
}
.marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, 0.62);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pitch (why brands work with Valerie) -------------------------- */

.pitch__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 800px) { .pitch__head { grid-template-columns: 1fr; } }

.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.reason {
  padding: clamp(1.75rem, 2.6vw, 2.5rem) clamp(1.25rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
}
.reason:first-child { border-left: 0; padding-left: 0; }
.reason__num {
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.reason__title {
  margin-block: 0.9rem 0.6rem;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.reason__body { font-size: 0.9375rem; color: var(--smoke); line-height: 1.6; }

@media (max-width: 980px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .reason { border-top: 1px solid var(--line); padding-left: 1.25rem; }
  .reason:nth-child(odd) { border-left: 0; padding-left: 0; }
  .reason:first-child, .reason:nth-child(2) { border-top: 0; }
}
@media (max-width: 560px) {
  .reasons { grid-template-columns: 1fr; }
  .reason { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .reason:first-child { border-top: 0; }
  .reason:nth-child(2) { border-top: 1px solid var(--line); }
}

/* ---------- Formats ------------------------------------------------------- */

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.format {
  position: relative;
  background: var(--paper);
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 17rem;
  overflow: hidden;
  transition: background 0.45s var(--ease);
}
/* A gold wash rises from the bottom on hover — motion that reads as light
   rather than as a box changing colour. */
.format::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background: linear-gradient(to top, rgba(185, 137, 63, 0.1), transparent 62%);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.format:hover::before { transform: translateY(0); }
.format > * { position: relative; }

.format__num {
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.format__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.format__body { font-size: 0.9375rem; color: var(--smoke); line-height: 1.6; }
.format__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.tag {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

@media (max-width: 980px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .formats { grid-template-columns: 1fr; } .format { min-height: 0; } }

/* ---------- Quote / process ----------------------------------------------- */

.quote {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
}
.quote__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.quote__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  filter: grayscale(0.35) saturate(0.75);
  opacity: 0.42;
}
.quote__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--night) 10%, rgba(11, 10, 9, 0.7) 55%, rgba(11, 10, 9, 0.85));
}
.quote__inner { position: relative; z-index: 1; }
.quote__mark {
  max-width: 24ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.quote__body { max-width: 54ch; }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-night);
}
.step {
  padding: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1rem, 1.8vw, 1.75rem);
  border-left: 1px solid var(--line-night);
}
.step:first-child { border-left: 0; padding-left: 0; }
/* Big enough to anchor the step, in the sans because a lone serif "1" reads
   as an "l". Light weight keeps it from shouting next to the serif headings. */
.step__num {
  font-size: 2rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.step__title { margin-block: 0.75rem 0.4rem; font-size: 1rem; font-weight: 600; }
.step__body { font-size: 0.875rem; color: rgba(242, 238, 231, 0.6); line-height: 1.6; }

@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .step { border-top: 1px solid var(--line-night); padding-left: 1.25rem; }
  .step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .step:first-child, .step:nth-child(2) { border-top: 0; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .step { border-left: 0; padding-left: 0; }
  .step:nth-child(2) { border-top: 1px solid var(--line-night); }
}

/* Who does what. A two-column split makes the division of labour the point,
   which is the real objection a brand marketer has. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-night);
  border: 1px solid var(--line-night);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.split__col { background: var(--night); padding: clamp(1.5rem, 2.4vw, 2.25rem); }
.split__title {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  margin-bottom: 1.1rem;
}
.split__col--lead .split__title { color: var(--gold); }
.split__list li {
  padding-block: 0.55rem;
  border-top: 1px solid var(--line-night);
  font-size: 0.9375rem;
  color: rgba(242, 238, 231, 0.84);
}
.split__list li:first-child { border-top: 0; }
@media (max-width: 620px) { .split { grid-template-columns: 1fr; } }

/* ---------- Work / proof -------------------------------------------------- */

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.case {
  background: var(--paper);
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
}
.case__brand {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.case__note {
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.case__figures {
  padding-top: clamp(2rem, 3.5vw, 3rem);
  display: grid;
  gap: 1.25rem;
}
.figure__value {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  /* Reserve the width so the count-up does not reflow the card. */
  font-variant-numeric: tabular-nums;
}
.figure__label {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
}
.case__foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--smoke);
  line-height: 1.55;
}
@media (max-width: 980px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Brand logos --------------------------------------------------- */

.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.logo-cell {
  background: var(--paper);
  height: clamp(6rem, 10vw, 9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1rem, 2.5vw, 2.25rem);
}
/* Desaturated by default so eight unrelated brand palettes do not fight each
   other; full colour on hover rewards the look. */
.logo-cell img {
  max-height: 2.25rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }
.logo-cell--type {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  color: rgba(58, 51, 44, 0.5);
  transition: color 0.4s var(--ease);
}
.logo-cell--type:hover { color: var(--ink); }
/* Nine brands stay in three columns at every width. Two columns would leave
   one empty grid cell, and with the 1px-gap technique an empty cell shows the
   hairline colour as a grey block. */
@media (max-width: 760px) {
  .logo-cell { height: clamp(4.5rem, 16vw, 6rem); padding-inline: 0.75rem; }
  .logo-cell img { max-height: 1.5rem; }
}

/* ---------- Scale band ---------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
  min-height: clamp(22rem, 46vw, 34rem);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.band__media { position: absolute; inset: 0; z-index: 0; }
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The subject sits right of centre in this frame; pulling focus there keeps
     her face in shot at every aspect ratio instead of cropping to sand. */
  object-position: 62% 32%;
  filter: saturate(0.85) contrast(1.05);
}
.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 10, 9, 0.96) 0%, rgba(11, 10, 9, 0.9) 30%, rgba(11, 10, 9, 0.6) 58%, rgba(11, 10, 9, 0.22));
}
.band__inner { position: relative; z-index: 1; }
.band__figure {
  font-size: clamp(5rem, 17vw, 14rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.band__label {
  margin-top: clamp(1rem, 2vw, 1.75rem);
  max-width: 30ch;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  line-height: 1.7;
}

/* ---------- Audience ------------------------------------------------------ */

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-night);
  border: 1px solid var(--line-night);
}
.platform {
  background: var(--night);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
}
.platform__name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-night);
}
.platform__name h3 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.platform__count {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--gold);
}
.platform__count small {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  display: block;
  margin-top: 0.3rem;
}

.metric { padding-block: 1.1rem; border-bottom: 1px solid var(--line-night); }
.metric:last-child { border-bottom: 0; padding-bottom: 0; }
.metric__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.metric__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke-dim);
}
.metric__value { font-family: var(--display); font-size: 1.375rem; line-height: 1; }
/* The bar is a drawn fact, not decoration: width is set from the data
   attribute in site.js, so the number and the bar cannot drift apart. */
.meter { height: 2px; background: var(--line-night); overflow: hidden; }
.meter__fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 1.1s var(--ease);
}
.metric__text { font-size: 0.8125rem; color: rgba(242, 238, 231, 0.6); line-height: 1.5; }

@media (max-width: 1000px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .platforms { grid-template-columns: 1fr; } }

.audience__foot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
@media (max-width: 800px) { .audience__foot { grid-template-columns: 1fr; } }

.recent__item { padding-block: 1.1rem; border-top: 1px solid var(--line-night); }
.recent__item:first-of-type { border-top: 0; padding-top: 0; }
.recent__plat {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.recent__text { font-size: 0.9375rem; color: rgba(242, 238, 231, 0.8); line-height: 1.6; }

.fits { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1.25rem; }
.fit {
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  line-height: 1;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-night);
  border-radius: 999px;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.fit:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Contact ------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}
@media (max-width: 920px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__direct {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.contact__email {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  line-height: 1.2;
  word-break: break-word;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__email:hover { color: var(--gold); border-color: var(--gold); }

.contact__socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.social {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--smoke);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.social:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* ---------- Form ---------------------------------------------------------- */

.form {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form__note {
  font-size: 0.8125rem;
  color: var(--smoke);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
/* min-width:0 is load-bearing. A grid track will not shrink below its item's
   min-content width, and an <input>'s min-content width comes from its `size`
   attribute (~20 characters), not from `width:100%`. Without this the form
   pushed the whole page wider than a phone screen. */
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } .field--wide { grid-column: auto; } }

.field label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
}
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--smoke-dim); }

.field input,
.field select,
.field textarea {
  min-width: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); outline: none; background: #fff; }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* Visually hidden but still focusable and still announced. It must also be
   1px wide: it inherits `width:100%` from the field rule above, and an
   absolutely-positioned 100%-wide box resolves against the viewport, which
   silently stretched the document past the right edge of a phone screen. */
.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.check span {
  display: inline-block;
  font-size: 0.8125rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.check input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.check input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Honeypot. Hidden from people, irresistible to the bots that scrape a
   partnerships address off a creator site. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.form__hint { font-size: 0.75rem; color: var(--smoke); }

/* ---------- Footer -------------------------------------------------------- */

.footer { background: var(--night); color: var(--paper); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-night);
}
.footer__name { max-width: 12ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer .social { color: var(--smoke-dim); border-color: var(--line-night); }
.footer .social:hover { background: var(--paper); color: var(--night); border-color: var(--paper); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.75rem;
  color: var(--smoke-dim);
  line-height: 1.6;
}
.footer__bottom p { max-width: 60ch; }

/* ---------- Reveal animation ---------------------------------------------- */

/* Everything with [data-reveal] starts shifted and transparent; site.js adds
   .is-in when it enters the viewport. If JS fails, the no-js rule below means
   the page is still fully readable — nothing important is hidden by default
   without a way back. */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* Per-brand optical sizing. Logos are drawn at wildly different aspect ratios,
   so a single max-height makes the wide wordmarks dwarf the compact marks.
   These values match them by apparent weight, not by pixel height. */
.logo--bjs { max-height: 4.25rem; }
.logo--betterhelp { max-height: 1.875rem; }
.logo--hottopic { max-height: 1.875rem; }
.logo--shein { max-height: 1.625rem; }
.logo--romwe { max-height: 1.75rem; }
.logo--yougov { max-height: 2rem; }

@media (max-width: 760px) {
  .logo--bjs { max-height: 3rem; }
  .logo--betterhelp,
  .logo--hottopic { max-height: 1.375rem; }
  .logo--shein { max-height: 1.25rem; }
  .logo--romwe { max-height: 1.375rem; }
  .logo--yougov { max-height: 1.5rem; }
}


.form__security {
  margin-top: 1.5rem;
  min-height: 65px;
}
.form__security[hidden] { display: none; }
.form__submit .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}
