/* ==========================================================================
   UGC creator site — design system
   Palette : deep blue / near-black / off-white / bright blue accent
   Type    : Bricolage Grotesque (display) · Inter Tight (body) · JetBrains Mono (data)
   ========================================================================== */

:root {
  /* Two blues on purpose: --sun is a filled surface and always carries
     white text; --signal is the brighter blue used for anything drawn
     directly on black, where the deep blue would sink into it. */
  --sun:      #1D4ED8;
  --sun-deep: #1740B4;
  --ink:      #0A0B0E;
  --shell:    #EDF0F6;
  --asphalt:  #111318;
  --asphalt-2:#181B22;
  --signal:   #6EA0FF;
  --mute:     #8C93A6;

  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --body:    "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --data:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shelf:  clamp(4rem, 9vw, 7.5rem);
  --max:    1220px;

  --edge: 2px solid rgba(237, 240, 246, 0.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--shell);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 100;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.85rem, 8.4vw, 6.75rem); }
h2 { font-size: clamp(1.95rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.015em; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 1.25rem;
}
.eyebrow--dark { color: var(--signal); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 46ch; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band { padding-block: var(--shelf); }
.band--shell   { background: var(--ink); color: var(--shell); }
.band--asphalt { background: var(--asphalt); color: var(--shell); }
.band--sun     { background: var(--sun); color: var(--shell); }
.band--tight   { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: var(--edge);
  border-radius: 0;
  background: var(--ink);
  color: var(--shell);
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.btn:hover { transform: translate(-2px, -2px); background: var(--shell); color: var(--ink); border-color: var(--shell); }
.btn--ghost { background: transparent; color: var(--shell); }
.btn--ghost:hover { background: var(--shell); color: var(--ink); border-color: var(--shell); }

/* ---------- header ---------- */
.masthead {
  background: var(--ink);
  border-bottom: var(--edge);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark span { color: var(--signal); }
.wordmark { color: var(--shell); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-family: var(--data);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.nav a { color: var(--shell); }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--signal); }

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--shell);
  border: var(--edge);
  padding: 0.5rem 0.8rem;
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- hero ---------- */
.hero {
  background: var(--sun);
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.hero h1 { margin-bottom: 1.75rem; }
.hero h1 em {
  font-style: normal;
  color: var(--ink);
}
/* --mute is tuned for black; on any blue band it goes muddy. */
.hero .eyebrow,
.band--sun .eyebrow { color: rgba(237, 240, 246, 0.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__stats {
  display: grid;
  gap: 1.35rem;
  border-left: var(--edge);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
}
.stat__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: block;
}
.stat__label {
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
}

/* ---------- section head ---------- */
.head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.head p { max-width: 42ch; color: var(--mute); }
.band--asphalt .head p { color: var(--mute); }

/* ---------- work frames (9:16) ---------- */
.frames {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Five ranked reels read as one row, not four plus an orphan */
@media (min-width: 900px) {
  .frames { grid-template-columns: repeat(5, 1fr); }
}
.frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--asphalt-2);
  border: 2px solid rgba(237, 240, 246, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.05rem;
  text-decoration: none;
  color: var(--shell);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.frame:hover { border-color: var(--signal); transform: translateY(-4px); }
.frame > * { position: relative; z-index: 1; }
.frame .frame__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.35s ease;
}
.frame:hover .frame__media { transform: scale(1.04); }
.frame .frame__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(20,18,16,0.15) 0%, rgba(20,18,16,0.05) 45%, rgba(20,18,16,0.88) 100%);
}
.frame__tag {
  align-self: flex-start;
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--shell);
  padding: 0.28rem 0.5rem;
}
.frame__hook {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}
.frame__meta {
  font-family: var(--data);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.frame__meta strong { color: var(--signal); font-weight: 500; }

/* ---------- video card ---------- */
/* Self-hosted clip, so it plays inline instead of linking out. Native
   controls own the bottom of the card; badges sit clear of them at the top. */
.frame--video {
  display: block;
  padding: 0;
  background: #000;
}
.frame--video:hover { transform: none; }
.frame__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.frame__badges {
  position: absolute;
  top: 1.05rem;
  left: 1.05rem;
  right: 1.05rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.frame__vlabel {
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.95);
}

/* ---------- filter bar ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}
.filters button {
  font-family: var(--data);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--shell);
  border: 2px solid rgba(250,247,242,0.25);
}
.filters button:hover { border-color: var(--signal); }
.filters button[aria-pressed="true"] { background: var(--sun); color: var(--shell); border-color: var(--sun); }

/* ---------- offer cards ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: var(--edge);
}
.offer {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: var(--edge);
  display: flex;
  flex-direction: column;
}
.offer:last-child { border-right: 0; }
.offer__price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0.9rem 0 1.1rem;
  color: var(--signal);
}
.offer ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.95rem;
}
.offer li {
  padding: 0.5rem 0 0.5rem 1.35rem;
  position: relative;
  border-top: 1px solid rgba(237,240,246,0.14);
}
.offer li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--signal);
}
.offer .btn { margin-top: auto; align-self: flex-start; }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about__note {
  border-left: 4px solid var(--signal);
  padding-left: 1.4rem;
  font-size: 1.05rem;
}
.kit {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(237,240,246,0.16);
}
.kit li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(237,240,246,0.16);
  font-family: var(--data);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kit span:last-child { color: var(--mute); text-align: right; }

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--data);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  background: var(--shell);
  color: var(--ink);
  border: var(--edge);
  border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.brief {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.98rem;
}
.brief li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-top: 1px solid rgba(237,240,246,0.28);
}
.brief li::before { content: "·"; position: absolute; left: 0.35rem; font-weight: 700; }
.direct {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  display: inline-block;
  margin-top: 0.4rem;
}
.direct:hover { color: var(--signal); border-bottom-color: var(--signal); }

/* ---------- footer ---------- */
.foot {
  background: var(--ink);
  color: var(--shell);
  padding-block: 2.75rem;
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot a { color: var(--signal); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero__grid,
  .about,
  .contact { grid-template-columns: 1fr; }
  .hero__stats {
    border-left: 0;
    border-top: var(--edge);
    padding-left: 0;
    padding-top: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  .offers { grid-template-columns: 1fr; }
  .offer { border-right: 0; border-bottom: var(--edge); }
  .offer:last-child { border-bottom: 0; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-bottom: var(--edge);
    padding: 0.5rem var(--gutter) 1.25rem;
    z-index: 20;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding-block: 0.7rem; width: 100%; }
  .nav-toggle { display: block; }
  .masthead__inner { position: relative; }
}

@media (max-width: 520px) {
  .frames { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .frame { padding: 0.8rem; }
  .frame__hook { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
