/* ==========================================================================
   Afrizalprojects v2
   Warna dari brand guideline: oranye #FA5200, putih #F5F5F5.
   Font: Clash Grotesk (judul, angka, tombol, label) + Inter (teks panjang,
   sesuai brand guideline). Semua ukuran huruf diatur di :root.
   ========================================================================== */

:root {
  /* Colors */
  --bg: #000;
  --surface: #101110;
  --surface-2: #171817;
  --line: rgba(245, 245, 245, 0.09);
  --line-2: rgba(245, 245, 245, 0.16);
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.66);
  --faint: rgba(245, 245, 245, 0.44);
  --dim: rgba(245, 245, 245, 0.38);
  --orange: #fa5200;
  --cream: #fefce1;
  --grad: linear-gradient(90deg, #fa5200 0%, #fefce1 100%);

  /* Type families */
  --font-display: "Clash Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Type scale (display = Clash Grotesk, the rest = Inter unless noted) */
  --fs-display: clamp(46px, 6.6vw, 92px);   /* hero H1 */
  --fs-h1: clamp(44px, 6.2vw, 88px);        /* category page H1 */
  --fs-h2: clamp(36px, 4.8vw, 64px);        /* section titles */
  --fs-h3: clamp(20px, 1.7vw, 23px);        /* card titles */
  --fs-stat: clamp(44px, 5vw, 68px);        /* big numbers */
  --fs-lead: clamp(17px, 1.45vw, 20px);     /* intro paragraphs */
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-kicker: 12.5px;                      /* uppercase labels */

  /* Layout */
  --radius: 20px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }

/* ---------- Type hierarchy ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -0.01em; }

.dim { color: var(--dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* Section titles: white fading to light grey. The dim half gets its own opaque grey gradient
   so the white one underneath doesn't shine through. The small padding keeps letters like
   "g" and "y" from being cut off at the bottom. */
.section-head h2, .cta-copy h2, .page-hero h1 {
  background-image: linear-gradient(180deg, #ffffff 0%, #e4e4e4 55%, #a8a8a8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0.04em 0 0.12em; margin: -0.04em 0 -0.12em;
}
.section-head h2 .dim, .cta-copy h2 .dim, .page-hero h1 .dim {
  background-image: linear-gradient(180deg, #7c7d7c 0%, #4a4b4a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Uppercase label above titles: "01 Portfolio" */
.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-kicker);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.kicker b { font-weight: 500; color: var(--orange); }
.kicker::after { content: ""; flex: 0 0 64px; height: 1px; background: linear-gradient(90deg, rgba(250, 82, 0, 1), rgba(250, 82, 0, 0)); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 52ch; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.text-link { color: var(--text); border-bottom: 1px solid var(--line-2); transition: color 0.2s, border-color 0.2s; }
.text-link:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: 0.005em; white-space: nowrap;
  transition: background-position 0.5s ease, border-color 0.2s, background-color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background-image: linear-gradient(90deg, #fa5200 0%, #fefce1 51%, #fa5200 100%);
  background-size: 200% auto; color: #141514;
}
.btn-primary:hover { background-position: right center; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(245, 245, 245, 0.42); background: rgba(245, 245, 245, 0.04); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 32px; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; position: relative; transition: transform 0.2s, background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 26px; }
  .nav.open .mobile-menu {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #070707; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .mobile-menu a:not(.btn) {
    display: block; padding: 15px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em;
  }
  .mobile-menu .btn { display: flex; width: 100%; margin-top: 20px; }
}

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; padding: clamp(60px, 6.5vw, 96px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > p:not(.kicker) { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 46ch; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .section-head .kicker { grid-column: 1 / -1; }
  .section-head > p:not(.kicker) { justify-self: end; }
}
/* Cards: soft top-to-bottom gradient with a lighter top edge. Slightly see-through,
   so the orange light behind a section tints them a little. */
.card {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.09) 0%, rgba(245, 245, 245, 0.03) 100%);
  border: 1px solid var(--line); border-top-color: rgba(245, 245, 245, 0.22);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px);
}
.label { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

/* ---------- Ambient light ----------
   glow-l / glow-r / glow-c on a section put a soft orange light behind it (left, right
   or centre). Sections that follow each other are split by a hairline that fades in
   from both sides and warms up in the middle. */
.glow-l, .glow-r, .glow-c { isolation: isolate; overflow-x: clip; }
.glow-l::before, .glow-r::before, .glow-c::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: 50%;
  width: min(1200px, 150vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 82, 0, 0.3), rgba(250, 82, 0, 0.12) 45%, rgba(250, 82, 0, 0) 100%);
}
.glow-l::before { left: 0; transform: translate(-40%, -50%); }
.glow-r::before { right: 0; transform: translate(40%, -50%); }
.glow-c::before { left: 50%; width: min(1050px, 140vw); transform: translate(-50%, -50%); }
/* Divider: a bright hairline plus a soft light that spills down from its centre */
.section + .section::after {
  content: ""; position: absolute; z-index: -1; top: 0; left: 50%; transform: translateX(-50%); pointer-events: none;
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--container) - 2 * var(--gutter))); height: 160px;
  background:
    linear-gradient(90deg, rgba(245, 245, 245, 0), rgba(245, 245, 245, 0.18) 22%, rgba(250, 82, 0, 0.95) 50%, rgba(245, 245, 245, 0.18) 78%, rgba(245, 245, 245, 0)) top / 100% 1px no-repeat,
    radial-gradient(42% 100% at 50% 0%, rgba(250, 82, 0, 0.22), rgba(250, 82, 0, 0) 72%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 0;
  /* soft light from the left edge, to balance the glow behind the photo. Centred halfway
     down so it has faded out by the top edge (no hard line under the header). */
  background: radial-gradient(55% 75% at 0% 50%, rgba(250, 82, 0, 0.24), rgba(250, 82, 0, 0) 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(36px, 5vw, 72px); align-items: end; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; align-self: center; padding-bottom: clamp(64px, 8vw, 112px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--font-display); font-weight: 500; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(250, 82, 0, 0.2); flex: none; }
.hero h1 { max-width: 12ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: var(--fs-small); color: var(--muted); list-style: none; padding: 0; margin: 0; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--orange); }
/* Upwork rating under the hero ticks: proof on the first screen */
.hero-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: -12px; font-size: var(--fs-small); color: var(--muted); }
.hero-rating-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; }
.hero-rating b { color: var(--text); font-weight: 600; }
/* Foto hero: cutout (tanpa background) yang berdiri di garis bawah hero, disinari cahaya oranye */
.hero-photo { position: relative; align-self: end; justify-self: end; width: 118%; max-width: 560px; }
.hero-photo::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -14%; right: -14%; bottom: -16%; height: 82%;
  background: radial-gradient(closest-side, rgba(250, 82, 0, 0.6), rgba(250, 82, 0, 0.2) 55%, transparent);
}
.hero-photo::after {
  content: ""; position: absolute; z-index: 2; left: -14%; right: -14%; bottom: 0; height: 16%; pointer-events: none;
  background: linear-gradient(transparent, #000);
}
.hero-cutout { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.hero-tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  background: rgba(20, 21, 20, 0.92); border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.hero-tag.one { left: 2%; bottom: 30%; }
.hero-tag.two { right: 0; top: 36%; }
@media (max-width: 560px) {
  .hero-ctas, .page-hero .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo { justify-self: center; width: min(100%, 440px); }
  .hero-tag { display: none; }
}

/* ---------- Logos & creators marquee ---------- */
/* The band (lines + logos) is as wide as the content column; on phones the logos run edge to edge */
.logos-band {
  padding: 34px 0 38px; border-top: 1px solid; border-bottom: 1px solid;
  border-image: linear-gradient(90deg, rgba(245, 245, 245, 0), rgba(245, 245, 245, 0.18) 28%, rgba(250, 82, 0, 0.75) 50%, rgba(245, 245, 245, 0.18) 72%, rgba(245, 245, 245, 0)) 1;
}
.logos-title {
  text-align: center; margin-bottom: 26px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-kicker); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.marquee {
  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; align-items: center; gap: 64px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 80s; gap: 16px; }
.logo-item { flex: none; filter: grayscale(1) brightness(1.2); opacity: 0.8; }
.creator-item { flex: none; width: 136px; height: 136px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 620px) { .logos .marquee { margin-inline: calc(-1 * var(--gutter)); } }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 16px; }
/* Vertical grids: 4 cards a row on an 8-column track, so a short last row (1 to 3 cards) sits in the middle. */
.work-grid.vertical { grid-template-columns: repeat(8, 1fr); }
.work-grid.vertical > * { grid-column: span 2; }
.work-grid.vertical > :last-child:nth-child(4n+1) { grid-column: 4 / span 2; }
.work-grid.vertical > :nth-last-child(2):nth-child(4n+1) { grid-column: 3 / span 2; }
.work-grid.vertical > :nth-last-child(3):nth-child(4n+1) { grid-column: 2 / span 2; }
/* Horizontal grids: 3 cards a row on a 6-column track, so a short last row (1 or 2 cards) sits in the middle. */
.work-grid.horizontal { grid-template-columns: repeat(6, 1fr); }
.work-grid.horizontal > * { grid-column: span 2; }
.work-grid.horizontal > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.work-grid.horizontal > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
.work-grid + .work-grid { margin-top: 16px; }
.work-card { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.work-card .thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; }
.horizontal .work-card .thumb { aspect-ratio: 16 / 9; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover img { transform: scale(1.04); }
.play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.play svg { width: 20px; height: 20px; margin-left: 3px; }
.work-card:hover .play { transform: scale(1.08); background: var(--orange); border-color: var(--orange); }
.work-card .meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); display: flex; flex-direction: column; gap: 4px;
}
.work-card .cat { font-family: var(--font-display); font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); opacity: 0.85; }
.work-card .client { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.25; letter-spacing: -0.005em; }

/* Showreel card (full width above Selected work) */
.work-card.reel { margin-bottom: 16px; }
.work-card.reel .thumb { aspect-ratio: 2 / 1; }
.work-card.reel .thumb img { object-position: center 60%; }
.work-card.reel .play { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
.work-card.reel .play svg { width: 26px; height: 26px; }
.work-card.reel .meta { top: 0; bottom: auto; padding: 22px 26px 64px; background: linear-gradient(rgba(0, 0, 0, 0.78), transparent); }
.work-card.reel .client { font-size: 22px; }

@media (max-width: 960px) {
  /* 2 cards a row on a 4-column track; a single last card is centered */
  .work-grid.vertical { grid-template-columns: repeat(4, 1fr); }
  .work-grid.vertical > :last-child:nth-child(4n+1),
  .work-grid.vertical > :nth-last-child(2):nth-child(4n+1),
  .work-grid.vertical > :nth-last-child(3):nth-child(4n+1) { grid-column: span 2; }
  .work-grid.vertical > :last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
  .work-grid.horizontal { grid-template-columns: repeat(4, 1fr); }
  .work-grid.horizontal > :last-child:nth-child(3n+1),
  .work-grid.horizontal > :nth-last-child(2):nth-child(3n+1) { grid-column: span 2; }
  .work-grid.horizontal > :last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 700px) {
  .work-card.reel { margin-bottom: 12px; }
  .work-card.reel .thumb { aspect-ratio: 16 / 9; }
  .work-card.reel .play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
  .work-card.reel .meta { padding: 12px 14px 40px; }
  .work-card.reel .client { font-size: 17px; }
}
@media (max-width: 560px) {
  .work-grid.horizontal { grid-template-columns: 1fr; }
  .work-grid.horizontal > *,
  .work-grid.horizontal > :last-child:nth-child(3n+1),
  .work-grid.horizontal > :nth-last-child(2):nth-child(3n+1),
  .work-grid.horizontal > :last-child:nth-child(2n+1) { grid-column: auto; }
  .work-grid { gap: 12px; }
  .work-grid + .work-grid { margin-top: 12px; }
  .work-card .meta { padding: 36px 12px 10px; }
  .work-card .client { font-size: 15px; }
  .play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

.chips-label {
  margin-top: 36px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-kicker); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border: 1px solid var(--line-2); border-radius: 999px; transition: border-color 0.2s, background 0.2s;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
}
.chip small { font-family: var(--font-text); font-weight: 400; color: var(--faint); font-size: 13px; }
.chip:hover { border-color: var(--orange); background: rgba(250, 82, 0, 0.06); }
.chip.active { border-color: var(--orange); color: var(--cream); }
/* Phones: category chips in one row you can swipe, instead of four wrapped rows */
@media (max-width: 560px) {
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- Services ----------
   7 services + 1 "Something Else" card. Column count is set further down, under
   "Services: a normal grid on desktop and tablet". */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.services .card { padding: clamp(22px, 2vw, 28px); }
.service-custom { border-style: dashed; border-top-style: dashed; background: rgba(245, 245, 245, 0.02); }
.service { display: flex; flex-direction: column; gap: 14px; }
.service h3 { margin-top: 4px; }
.service > p { color: var(--muted); font-size: 15.5px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 9px; align-content: start; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--orange); }
.service .foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-small); color: var(--muted);
}
.service .foot a { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; color: var(--text); font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.service .foot a:hover { color: var(--orange); }
.service .foot svg { width: 16px; height: 16px; }
@media (max-width: 1180px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- Ways to work (no prices, price is discussed in chat) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { margin-top: 4px; }
.plan > p { color: var(--muted); font-size: 15.5px; }
.plan.featured {
  border-color: rgba(250, 82, 0, 0.65);
  background: linear-gradient(180deg, rgba(250, 82, 0, 0.32) 0%, rgba(250, 82, 0, 0.09) 55%, rgba(245, 245, 245, 0.03) 100%);
}
/* Pill that sits on the top edge of the featured card */
.badge {
  position: absolute; top: 0; left: clamp(22px, 2.6vw, 32px); transform: translateY(-50%);
  padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #141514;
  font-family: var(--font-display); font-weight: 600; font-size: 11px; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase;
}
.plans-note { margin-top: 24px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; row-gap: 30px; max-width: 640px; } }

/* Line up label, title, text and list across cards in the same row,
   even when one label wraps to two lines. */
@supports (grid-template-rows: subgrid) {
  .service { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px; }
  .plan { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; }
}

/* ---------- Why + stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 16px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: linear-gradient(180deg, #0e0f0e 0%, #000 100%); padding: clamp(24px, 3vw, 36px); }
/* Big numbers: white fading to grey, switching to the brand gradient on hover */
.stat b {
  display: block; margin-bottom: 8px; padding-bottom: 0.08em;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-stat); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(180deg, #ffffff 15%, #9a9a9a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.icon-box {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(250, 82, 0, 0.12); color: var(--orange); margin-bottom: 22px;
}
.icon-box svg { width: 22px; height: 22px; }
.reason h3 { margin-bottom: 10px; }
.reason p { color: var(--muted); font-size: 15.5px; }
/* Track record: campaign and channel results, in the same slider as the reviews */
.track-label { margin: clamp(36px, 4vw, 48px) 0 16px; }
.small-note.track-note { margin: 16px 0 clamp(36px, 4vw, 48px); }
.result { display: flex; flex-direction: column; gap: 14px; }
.result-brand { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.3; color: var(--text); }
.result-brand span { display: block; margin-top: 3px; font-family: var(--font-text); font-weight: 400; font-size: 13px; color: var(--faint); }
.result-num b {
  display: block; padding-bottom: 0.08em;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4vw, 54px); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(180deg, #ffffff 15%, #9a9a9a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.result-num span { display: block; margin-top: 6px; color: var(--muted); font-size: var(--fs-small); }
.result-text { color: var(--muted); font-size: 15px; line-height: 1.55; }
.result-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
@media (max-width: 960px) { .reasons, .stats { grid-template-columns: repeat(2, 1fr); } }
/* Phones: the four reasons sit in a swipeable row (.slider-mobile), so each card keeps its normal
   layout, just with a smaller icon */
@media (max-width: 560px) {
  .reason .icon-box { width: 42px; height: 42px; margin-bottom: 16px; }
  .reason .icon-box svg { width: 20px; height: 20px; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.step .num {
  display: flex; align-items: center; gap: 14px; margin-bottom: 30px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.08em; color: var(--orange);
}
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step .num { margin-bottom: 16px; }
}

/* ---------- Testimonials ---------- */
/* Creators strip sits inside the content column; on phones it runs edge to edge like the review slider.
   The 10px padding gives a hovered photo room to lift without its top being cut off; the negative
   margins keep the visible spacing the same. */
.creators-strip { margin: calc(clamp(36px, 4vw, 52px) - 10px) 0 -10px; }
.creators-strip .marquee-track { padding: 10px 0; }
@media (max-width: 620px) { .creators-strip { margin-inline: calc(-1 * var(--gutter)); } }
.quote { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.45; letter-spacing: -0.005em;
}
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.quote figcaption span { color: var(--faint); font-size: 13.5px; }
.quote figcaption .initial {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #141514; font-family: var(--font-display); font-size: 17px; font-weight: 600;
}
.stars { display: flex; align-items: center; gap: 10px; color: var(--orange); font-size: 15px; letter-spacing: 2px; }
.stars span {
  font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px;
}
.quote-link { justify-content: center; gap: 12px; transition: border-color 0.2s; background: linear-gradient(180deg, rgba(250, 82, 0, 0.32) 0%, rgba(250, 82, 0, 0.09) 55%, rgba(245, 245, 245, 0.03) 100%); border-color: rgba(250, 82, 0, 0.45); }
.quote-link:hover { border-color: rgba(250, 82, 0, 0.6); }
.quote-link .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(52px, 5.4vw, 72px); letter-spacing: -0.04em; line-height: 1; }
.quote-link p { color: var(--muted); }
.quote-link .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; }
.quote-link .more svg { width: 16px; height: 16px; }
.small-note { margin-top: 18px; color: var(--faint); font-size: 13.5px; }

/* ---------- Slider (reviews, and services on phones) ----------
   A row of cards that scrolls sideways and snaps card by card. main.js wires the
   arrow buttons and the progress line. The extra padding leaves room for the hover
   lift and shadow, the negative margin cancels it out. */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px 0 36px; margin: -10px 0 -36px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.slider-progress { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.slider-progress span {
  position: absolute; top: 0; bottom: 0; left: 0; width: 34%; border-radius: 2px; background: var(--grad);
  transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.slider-btns { display: flex; gap: 10px; flex: none; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--text);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, opacity 0.2s;
}
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn:hover:not(:disabled) { border-color: var(--orange); background: rgba(250, 82, 0, 0.1); color: var(--cream); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 960px) { .slider-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 620px) {
  .slider-track {
    grid-auto-columns: 84%; gap: 12px; scroll-padding-inline: var(--gutter);
    padding: 10px var(--gutter) 30px; margin: -10px calc(-1 * var(--gutter)) -30px;
  }
  .slider-foot { margin-top: 22px; gap: 16px; }
  .slider-btn { width: 42px; height: 42px; }
}
/* Services: a normal grid on desktop and tablet (4 x 2, or 2 columns below 1180px),
   a slider only on phones */
@media (min-width: 621px) {
  .slider-mobile .slider-track {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible;
    scroll-snap-type: none; padding: 0; margin: 0;
  }
  .slider-mobile .slider-foot { display: none; }
}
@media (min-width: 621px) and (max-width: 1180px) { .slider-mobile .slider-track { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; align-items: stretch; }
.about-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); min-height: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--text);
}
.about-body { display: grid; gap: 16px; align-content: start; }
.about-main { display: flex; flex-direction: column; gap: 18px; }
.about-main .statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.about-main p { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.creds li { display: flex; gap: 14px; align-items: flex-start; }
.creds .icon-box { margin: 0; flex: none; width: 40px; height: 40px; }
.creds .icon-box svg { width: 19px; height: 19px; }
.creds b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.3; margin-bottom: 2px; }
.creds span { color: var(--muted); font-size: var(--fs-small); }
.side-title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-kicker); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tools img { width: 44px; height: 44px; border-radius: 11px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: border-color 0.2s, color 0.2s;
}
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .about-photo img { object-position: center 30%; }
}
@media (max-width: 620px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
/* Two columns on desktop (each opens on its own), one column on tablets and phones */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
@media (max-width: 899px) {
  .faq { grid-template-columns: 1fr; max-width: 760px; }
  .faq-col + .faq-col details:first-child { border-top: 0; }
}
.faq summary {
  list-style: none; cursor: pointer; padding: 21px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--orange); font-size: 28px; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; color: var(--muted); max-width: 68ch; }

/* ---------- Contact CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); border-top-color: rgba(245, 245, 245, 0.16);
  padding: clamp(28px, 4.6vw, 64px);
  background:
    radial-gradient(110% 130% at 100% 100%, rgba(250, 82, 0, 0.62), transparent 58%),
    radial-gradient(70% 90% at 0% 0%, rgba(254, 252, 225, 0.12), transparent 60%),
    var(--surface);
}
.cta .kicker { margin-bottom: 24px; }
.cta h2 { max-width: 16ch; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.cta-copy > p { color: var(--muted); max-width: 46ch; margin-top: 20px; font-size: var(--fs-lead); }
.cta .direct { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; font-size: var(--fs-small); color: var(--muted); }
.cta .direct a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s, color 0.2s; }
.cta .direct a:hover { border-color: var(--orange); color: var(--cream); }
/* Proof card next to the brief form: a small scorecard. Big 5.0 rating from Upwork + Fiverr,
   three numbers that count up (main.js, [data-count-group]) and the biggest campaign brands.
   Dark glass like the form, so the two read as a pair. */
.cta-proof {
  position: relative; margin-top: 30px; max-width: 480px; padding: 22px 22px 18px;
  border: 1px solid var(--line-2); border-radius: 20px;
  background: radial-gradient(120% 100% at 0% 0%, rgba(250, 82, 0, 0.2), transparent 55%), rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* Lit top edge, like the hairline between sections */
.cta-proof::before {
  content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(250, 82, 0, 0), #fa5200 35%, #fefce1 65%, rgba(254, 252, 225, 0));
}
.cta-proof-head { display: flex; align-items: center; gap: 16px; }
.cta-proof-score {
  flex: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(50px, 4.6vw, 62px);
  letter-spacing: -0.045em; line-height: 0.9; padding-bottom: 0.06em;
}
.cta-proof-stars { display: block; color: var(--orange); font-size: 16px; letter-spacing: 3px; line-height: 1; }
.cta-proof-head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.cta-proof-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
}
.cta-proof-stat { padding: 0 14px; border-left: 1px solid var(--line); }
.cta-proof-stat:first-child { padding-left: 0; border-left: 0; }
/* Numbers: white fading to grey, like the stats in Why Me; brand gradient on hover */
.cta-proof-stat b {
  display: block; padding-bottom: 0.08em;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(180deg, #ffffff 15%, #9a9a9a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-proof-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.cta-proof-brands {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.cta-proof-brands span {
  margin-right: 2px; font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.cta-proof-brands img { filter: grayscale(1) brightness(1.2); opacity: 0.85; }
/* Phones: smaller numbers so all three fit, label on its own line so the logos share one row */
@media (max-width: 560px) {
  .cta-proof { padding: 18px 16px 16px; border-radius: 18px; }
  .cta-proof-head { gap: 14px; }
  .cta-proof-score { font-size: 46px; }
  .cta-proof-stat { padding: 0 8px; }
  .cta-proof-stat b { font-size: 20px; }
  .cta-proof-stat span { font-size: 11.5px; }
  .cta-proof-brands { gap: 10px 20px; }
  .cta-proof-brands span { flex-basis: 100%; }
}
.cta .chips-label { margin-top: 36px; }
/* minmax(0, 1fr), not 1fr: the swipeable "More Work" chips on category pages would
   otherwise stretch the column wider than the phone screen */
@media (max-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* What happens after the brief */
.next-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: step; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.next-steps li::before {
  counter-increment: step; content: counter(step); flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #141514;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
}

/* ---------- Quote form ---------- */
.quote-form {
  display: grid; gap: 16px; padding: clamp(20px, 2.8vw, 32px); border-radius: 22px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.01em; color: var(--text); }
.field label span { font-family: var(--font-text); font-weight: 400; font-size: 13px; color: var(--faint); }
.req { color: var(--orange); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; margin: 0; padding: 13px 14px; border-radius: 12px;
  font-family: var(--font-text); font-size: 16px; line-height: 1.4; color: var(--text);
  background: rgba(245, 245, 245, 0.04); border: 1px solid var(--line-2);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 124px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23a3a3a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { background: #111211; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(245, 245, 245, 0.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background-color: rgba(250, 82, 0, 0.06); box-shadow: 0 0 0 3px rgba(250, 82, 0, 0.18);
}
/* WhatsApp gets the full row, email and copy share the row under it */
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.form-actions .btn-primary { grid-column: 1 / -1; }
.form-actions .btn { padding: 0 18px; }
.form-actions .btn.copied { border-color: var(--orange); color: var(--cream); }
.form-note { font-size: 13.5px; color: var(--faint); line-height: 1.5; }
.form-note.sent { color: var(--cream); }
@media (max-width: 560px) {
  .cta { padding: 28px 14px; border-radius: 22px; }
  .cta-copy { padding: 0 6px; }
  .quote-form { padding: 18px 14px; border-radius: 18px; gap: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .field { gap: 6px; }
  .field input, .field select, .field textarea { padding: 11px 13px; }
  .field textarea { min-height: 104px; }
  .next-steps { margin-top: 22px; gap: 10px; }
  .form-actions { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 28px; }
/* Hairline on top and a low orange light rising from the bottom edge */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 245, 245, 0), rgba(245, 245, 245, 0.18) 25%, rgba(250, 82, 0, 0.95) 50%, rgba(245, 245, 245, 0.18) 75%, rgba(245, 245, 245, 0));
}
.site-footer::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; pointer-events: none;
  width: min(1500px, 170vw); height: 560px; border-radius: 50%; transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgba(250, 82, 0, 0.42), rgba(250, 82, 0, 0.14) 50%, rgba(250, 82, 0, 0));
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-about p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 32ch; }
.site-footer h4 { font-size: var(--fs-kicker); font-weight: 500; color: var(--faint); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.site-footer ul a:hover { color: var(--text); }
.footer-about .socials { margin-top: 22px; }
.legal {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13.5px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* Phones: Work and Explore lists side by side, the rest full width */
@media (max-width: 520px) {
  .site-footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .legal { margin-top: 40px; }
}

/* ---------- Floating CTA (mobile) ---------- */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); }
@media (max-width: 960px) {
  .float-cta { display: inline-flex; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
  .float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0, 0, 0, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-box { position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.modal-box.vertical { width: min(100%, calc(86vh * 9 / 16), 480px); aspect-ratio: 9 / 16; }
.modal-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-box video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.modal-close svg { width: 20px; height: 20px; }
.modal-close:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- Category pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(44px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: 0; top: 40%;
  width: min(1100px, 150vw); aspect-ratio: 1; border-radius: 50%; transform: translate(36%, -50%);
  background: radial-gradient(closest-side, rgba(250, 82, 0, 0.32), rgba(250, 82, 0, 0.12) 45%, rgba(250, 82, 0, 0));
}
.page-hero .kicker a:hover { color: var(--text); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 22px; }
.page-hero .lead { margin-top: 22px; }
.page-hero .hero-ctas { margin-top: 32px; }
/* "Best for ..." line and what the service includes */
.page-hero .best-for {
  margin-top: 30px; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-kicker);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
}
.ticks.includes { margin-top: 16px; max-width: 820px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; color: var(--muted); }
@media (max-width: 620px) { .ticks.includes { grid-template-columns: 1fr; } }
.count { margin-top: 18px; color: var(--faint); font-size: var(--fs-small); }
.page-work { padding-bottom: clamp(56px, 6.5vw, 96px); }
/* Category that has no videos yet (shown until the first samples are added) */
.empty-work { max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.6; }
/* Category hero: rating line under the buttons, and an optional short note (Real Estate: who shoots) */
.page-hero .hero-rating { margin-top: 22px; }
.page-hero .page-note {
  margin-top: 18px; max-width: 64ch; padding-left: 14px; border-left: 2px solid var(--orange);
  color: var(--muted); font-size: 15px; line-height: 1.6;
}
/* Category proof: 4 cards (results + reviews) that match the niche, between the videos and the form */
.page-proof { position: relative; padding: 0 0 clamp(56px, 6.5vw, 96px); }
.page-proof .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
/* Category workflow: how the work is made (Meta Ads: AI tools + edit), between the videos and the proof */
.page-workflow { position: relative; padding: 0 0 clamp(56px, 6.5vw, 96px); }
.page-workflow .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.group-title { margin: 0 0 18px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(72px, 14vw, 160px); }
.notfound p { color: var(--muted); margin: 16px 0 28px; }

/* ---------- Motion: hover & idle animations ---------- */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }

.btn, .work-card, .service, .reason, .step, .plan, .quote, .result, .chip, .stat,
.socials a, .tools img, .logo-item, .creator-item, .about-photo img, .icon-box, .work-card .meta > *, .cta-proof-brands img {
  transition-property: transform, box-shadow, border-color, background, background-color, color, filter, opacity, background-position;
  transition-duration: 0.45s;
  transition-timing-function: var(--ease-out);
}
.btn svg, .service .foot svg, .service .foot a, .quote-link .more svg, .stat b, .faq summary { transition: transform 0.35s var(--ease-out), color 0.3s; }

/* Nav: underline that draws in from the left */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
}

/* Hero tags float gently */
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-tag.one { animation: float-y 6s ease-in-out infinite; }
.hero-tag.two { animation: float-y 6s ease-in-out -3s infinite; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 14px 34px -12px rgba(250, 82, 0, 0.7); }
  .btn:hover > svg:last-child { transform: translateX(4px); }

  .work-card:hover { transform: translateY(-6px); border-color: rgba(250, 82, 0, 0.45); box-shadow: 0 28px 60px -28px rgba(250, 82, 0, 0.55); }
  /* Only the text lifts. The gradient stays pinned to the bottom edge, otherwise a strip of bare thumbnail shows under it. */
  .work-card:hover .meta > * { transform: translateY(-4px); }

  .result:hover .result-num b { background-image: var(--grad); }
  .service:hover, .reason:hover, .step:hover, .plan:hover, .quote:hover, .result:hover {
    transform: translateY(-6px); border-color: rgba(250, 82, 0, 0.4);
    box-shadow: 0 30px 60px -32px rgba(250, 82, 0, 0.45);
  }
  .plan.featured:hover { border-color: rgba(250, 82, 0, 0.75); box-shadow: 0 30px 70px -24px rgba(250, 82, 0, 0.75); }
  .service:hover .foot a { color: var(--orange); }
  .service:hover .foot svg, .quote-link:hover .more svg { transform: translateX(4px); }
  .reason:hover .icon-box { background: var(--orange); color: #141514; transform: rotate(-8deg) scale(1.06); }
  .step:hover .num::after { background: linear-gradient(90deg, var(--orange), rgba(250, 82, 0, 0)); }

  .stat:hover { background: radial-gradient(130% 120% at 0% 100%, rgba(250, 82, 0, 0.16), var(--bg) 62%); }
  .stat:hover b, .cta-proof-stat:hover b { background-image: var(--grad); }
  .cta-proof-brands img:hover { opacity: 1; transform: translateY(-2px) scale(1.06); }

  .logo-item:hover { filter: none; opacity: 1; transform: scale(1.08); }
  .creator-item:hover { transform: translateY(-4px) scale(1.04); }
  .chip:hover { transform: translateY(-2px); }
  .socials a:hover { transform: translateY(-3px); }
  .tools img:hover { transform: translateY(-3px) scale(1.08); }
  .about-photo:hover img { transform: scale(1.04); }
  .faq summary:hover { color: var(--cream); }
  .site-footer ul a { display: inline-block; transition: transform 0.3s var(--ease-out), color 0.2s; }
  .site-footer ul a:hover { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider-progress span { transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 24px; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .hero-tag.one, .hero-tag.two { animation: none; }
  .btn, .work-card, .work-card img, .work-card .meta > *, .service, .reason, .step, .plan, .quote, .result, .chip, .stat,
  .socials a, .tools img, .logo-item, .creator-item, .about-photo img, .icon-box, .play, .site-footer ul a, .cta-proof-brands img {
    transition: none; transform: none !important;
  }
}
