/* ==========================================================================
   KC Creative Studio — Design System
   ========================================================================== */

:root {
  /* Palette */
  --ink:        #0b0b0c;
  --ink-soft:   #1a1a1d;
  --paper:      #ffffff;
  --mist:       #f6f5f2;
  --mist-2:     #efede8;
  --line:       #e4e1db;
  --muted:      #6c6a66;
  --muted-2:    #97948e;
  --accent:     #0b0b0c; /* monochrome accent — matches the logo system */

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing / rhythm */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--paper); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}
.section--ink .eyebrow { color: rgba(255,255,255,0.55); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

.display {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.6rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}
.section--ink .lead { color: rgba(255,255,255,0.72); }

.measure { max-width: 64ch; }
.measure-sm { max-width: 48ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-soft); color: var(--paper); transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,0.5); }

.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.section--ink .btn--ghost { border-color: rgba(255,255,255,0.28); color: var(--paper); }
.section--ink .btn--ghost:hover { border-color: var(--paper); }
.section--ink .btn--primary { background: var(--paper); color: var(--ink); }
.section--ink .btn--primary:hover { background: #e7e4de; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,0.6); }

.btn--lg { padding: 17px 34px; font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: 14px; border-color: currentColor; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
  color: inherit;            /* drives currentColor fill */
  transition: transform .4s var(--ease);
}
.brand:hover .brand__logo { transform: translateY(-1px); }
.brand__name {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  line-height: 1.25;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 18px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero__grid { display: grid; gap: clamp(40px, 5vw, 72px); }

.hero__headline { max-width: 16ch; }
.hero__sub { margin-top: 26px; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Reel / thumbnail strip */
.reel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.reel-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist-2);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reel-item:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(0,0,0,0.45); }

/* Decorative gradient "video" placeholders */
.thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.thumb span { position: relative; z-index: 2; }
.thumb .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.45);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.reel-item:hover .play { transform: translate(-50%,-50%) scale(1.12); background: rgba(255,255,255,0.3); }
.thumb .play::after {
  content: "";
  width: 0; height: 0;
  border-left: 13px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

/* Monochrome gradient presets for placeholders (cohesive with the brand) */
.g1 { background: linear-gradient(150deg, #d8d6d1, #6f6d69); }
.g2 { background: linear-gradient(150deg, #c9c7c2, #4f4e4c); }
.g3 { background: linear-gradient(150deg, #e2e0db, #8a8884); }
.g4 { background: linear-gradient(150deg, #cbc9c4, #5c5b58); }
.g5 { background: linear-gradient(150deg, #dedcd7, #7a7874); }
.g6 { background: linear-gradient(150deg, #d2d0cb, #43423f); }
.g7 { background: linear-gradient(150deg, #c4c2bd, #605f5c); }
.g8 { background: linear-gradient(150deg, #e4e2dd, #908e8a); }
.g9 { background: linear-gradient(150deg, #cdcbc6, #514f4d); }
.g10 { background: linear-gradient(150deg, #1a1a1d, #3a3a40); }
.g11 { background: linear-gradient(150deg, #dad8d3, #2a2a2c); }
.g12 { background: linear-gradient(150deg, #c6c4bf, #56544f); }

/* ==========================================================================
   Generic content blocks
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.stat-line {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 44px;
}
.stat { }
.stat__num { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: 0.02em; }
.section--ink .stat__label { color: rgba(255,255,255,0.6); }

/* 3-column features */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: 56px;
}
.feature {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.35); border-color: transparent; }
.feature__num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  opacity: 0.9;
}
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: 56px;
  counter-reset: step;
}
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.section--ink .step { border-color: rgba(255,255,255,0.3); }
.step__n {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.section--ink .step p { color: rgba(255,255,255,0.66); }

/* ==========================================================================
   Work grid + filters
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 44px;
}
.filter {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.work-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(0,0,0,0.45); }
.work-card.is-hidden { display: none; }
.work-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
  margin-top: 56px;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 26px 56px -32px rgba(0,0,0,0.4); }
.price-card--featured { border-color: var(--ink); box-shadow: 0 26px 56px -34px rgba(0,0,0,0.5); }
.price-card--flagship { background: var(--ink); color: var(--paper); border-color: var(--ink); grid-column: 1 / -1; }

.price-card__badge {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.5rem; }
.price-card__price {
  font-family: var(--display);
  font-size: 2.1rem;
  margin: 14px 0 6px;
}
.price-card__price small { font-size: 0.9rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.price-card--flagship .price-card__price small { color: rgba(255,255,255,0.6); }
.price-card__tag { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.price-card--flagship .price-card__tag { color: rgba(255,255,255,0.7); }

.price-list { list-style: none; margin: 0 0 28px; display: grid; gap: 12px; }
.price-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}
.price-card--flagship .price-list li { color: rgba(255,255,255,0.82); }
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.price-card--flagship .price-list li::before { border-color: var(--paper); }
.price-card .btn { margin-top: auto; }
.price-card--flagship { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.price-card--flagship .price-list { margin-bottom: 0; }

/* ==========================================================================
   Work detail modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(11,11,12,0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.modal.is-open { display: grid; opacity: 1; }
.modal__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  max-width: 760px;
  width: 100%;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
  transform: translateY(14px);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal__inner { transform: translateY(0); }
.modal__media {
  width: 230px;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.modal__body { align-self: center; }
.modal__body h3 { font-size: 1.8rem; margin-bottom: 18px; }
.modal__meta { display: grid; gap: 14px; }
.modal__meta div { font-size: 15px; }
.modal__meta span { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.modal__close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  z-index: 2;
}
.modal__close:hover { color: var(--ink); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11,11,12,0.06);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: 14px; color: var(--muted); }
.form__success {
  grid-column: 1 / -1;
  display: none;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 15px;
}
.form__success.is-shown { display: block; }

/* ==========================================================================
   Pull quote / band
   ========================================================================== */
.pullquote {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.band { text-align: center; }
.band .pullquote { margin-inline: auto; }
.band__actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding-block: clamp(56px, 7vw, 96px) 40px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand { color: #fff; }
.footer__brand .brand { align-items: center; }
.footer__brand .brand__logo { height: 44px; }
.footer__brand .brand__name { border-left-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); }
.footer__tagline { margin-top: 18px; max-width: 36ch; color: rgba(255,255,255,0.6); font-size: 15px; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 90px); flex-wrap: wrap; }
.footer__col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 18px; font-weight: 600; }
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a { font-size: 15px; color: rgba(255,255,255,0.72); transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page intro header (interior pages)
   ========================================================================== */
.page-intro { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(20px, 3vw, 40px); }
.page-intro h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-intro .lead { margin-top: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 861px) {
  .hero__grid { }
}

@media (max-width: 1020px) {
  .price-card--flagship { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }

  .mobile-menu {
    position: fixed;
    inset: 76px 0 0;
    background: var(--paper);
    z-index: 55;
    padding: 32px var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu a {
    font-family: var(--display);
    font-size: 1.8rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: 24px; }

  .cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .reel { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reel-item:nth-child(n+5) { display: none; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .modal__inner { grid-template-columns: 1fr; text-align: center; }
  .modal__media { width: 180px; margin-inline: auto; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
}

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

/* ==========================================================================
   Dynamic layer — added
   ========================================================================== */

/* Scroll progress bar (injected by JS) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--ink);
  z-index: 200;
  transition: width .12s linear;
  pointer-events: none;
}

/* Subtle hero atmosphere */
.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 0 0;
  background: radial-gradient(58% 48% at 72% 18%, rgba(0,0,0,0.045), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

/* Category marquee */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: 24px;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  color: var(--ink);
  white-space: nowrap;
  padding-inline: 34px;
}
.marquee__item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  margin-left: 68px;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Staggered reveals inside grids */
.cols-3 .feature.reveal:nth-child(2),
.steps .step.reveal:nth-child(2) { transition-delay: .09s; }
.cols-3 .feature.reveal:nth-child(3),
.steps .step.reveal:nth-child(3) { transition-delay: .18s; }
.steps .step.reveal:nth-child(4) { transition-delay: .27s; }
.pricing .price-card.reveal:nth-child(2) { transition-delay: .08s; }
.pricing .price-card.reveal:nth-child(3) { transition-delay: .16s; }
.pricing .price-card.reveal:nth-child(4) { transition-delay: .24s; }
.work-grid .work-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .scroll-progress { display: none; }
}
