/* ==========================================================================
   Frank Amato — UGC Creator Portfolio
   Dark theme · vibrant orange accent · fully responsive
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-alt: #0f0f11;
  --surface: #141418;
  --surface-2: #1c1c22;
  --border: #26262e;
  --border-soft: #1e1e25;
  --text: #f4f4f6;
  --muted: #9a9aa8;
  --muted-dim: #6d6d7a;

  --accent: #ff6a00;
  --accent-hover: #ff8226;
  --accent-soft: rgba(255, 106, 0, 0.12);
  --accent-line: rgba(255, 106, 0, 0.35);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --header-h: 72px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

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

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

html { scroll-behavior: smooth; }

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

body.no-scroll { overflow: hidden; }

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

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

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

p { margin: 0; }

::selection { background: var(--accent); color: #0a0a0b; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head--center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #0a0a0b;
  box-shadow: 0 8px 28px rgba(255, 106, 0, 0.28);
}
.btn--primary:hover { background: var(--accent-hover); }

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

.btn--xl {
  padding: 20px 42px;
  font-size: 1.1rem;
  border-radius: 999px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(10, 10, 11, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}
.logo__dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 34px; }

.nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.nav__cta { margin-left: 6px; padding: 10px 20px; font-size: 0.88rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.16), transparent 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 68px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 106, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); }
}

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  letter-spacing: -0.04em;
}

.hero__tagline {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hero__desc {
  margin-top: 20px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Media */
.hero__media { position: relative; }

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 5;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}

.hero__frame img,
.hero__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Tuned so the subject stays centred when the landscape photo is cropped
     to the portrait hero frame. */
  object-position: 41% center;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.55), transparent 46%);
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero__tag svg { color: var(--accent); }

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-alt);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 38px 22px;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}
.stat:last-child { border-right: none; }

.stat__num {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--accent);
}

.stat__label {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ==========================================================================
   Trusted By — marquee
   ========================================================================== */
.trusted { padding: 66px 0; }

.trusted__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 34px;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(
    to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  height: 76px;
}

/* Logos are transparent PNGs, tight-cropped to the artwork, so they are sized
   by height and only clamped on width for very wide wordmarks. */
.marquee__item img {
  height: 42px;
  width: auto;
  max-width: 156px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65);
  opacity: 0.72;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}

.marquee__item:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.06);
}

/* ==========================================================================
   Selected Work
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.22s var(--ease);
}

.filter:hover { color: var(--text); border-color: var(--muted-dim); }

.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0b;
}

.niche-group { margin-bottom: 62px; }
.niche-group:last-child { margin-bottom: 0; }
.niche-group[hidden] { display: none; }

.niche-group__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.niche-group__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.niche-group__count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.niche-group__rule {
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 22px;
}

.work-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
}

.work-card__thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--surface-2);
  overflow: hidden;
}

.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.work-card:hover .work-card__thumb img { transform: scale(1.05); }

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.9) 4%, transparent 46%);
}

.work-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.86);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0b;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s, transform 0.28s var(--ease);
  box-shadow: 0 8px 26px rgba(255, 106, 0, 0.4);
}

.work-card:hover .work-card__play,
.work-card:focus-visible .work-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-card__format {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.work-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 15px;
}

.work-card__brand {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.work-card__meta {
  margin-top: 3px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   Performance
   ========================================================================== */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
}

.perf-card {
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.perf-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }

.perf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.perf-card:hover::before { transform: scaleX(1); }

.perf-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.perf-card__num {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--accent);
}

.perf-card__label {
  margin-top: 4px;
  font-weight: 700;
  font-size: 1rem;
}

.perf-card__desc {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}

.service:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.service__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.service__title {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service__desc {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.93rem;
}

.service__tags {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service__tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  gap: 20px;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.testimonial:hover { border-color: var(--accent-line); transform: translateY(-4px); }

.testimonial__stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.testimonial__quote {
  margin: 0;
  flex: 1;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  quotes: "\201C" "\201D";
}

.testimonial__quote::before { content: open-quote; }
.testimonial__quote::after { content: close-quote; }

.testimonial__author {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial__name { font-weight: 700; font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { text-align: center; position: relative; overflow: hidden; }

.contact::before {
  content: "";
  position: absolute;
  bottom: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.13), transparent 68%);
  pointer-events: none;
}

.contact__inner { position: relative; }

.contact__title {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  max-width: 15ch;
  margin: 0 auto;
}

.contact__desc {
  margin: 20px auto 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact__email { margin-top: 40px; }

.contact__hint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted-dim);
}

.socials {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.24s var(--ease);
}

.social:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-3px);
  background: var(--surface-2);
}

.social svg { color: var(--accent); flex-shrink: 0; }
.social__handle { color: var(--muted-dim); font-weight: 500; }
.social:hover .social__handle { color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 34px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: var(--muted-dim);
}

.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s;
}

.lightbox.is-open { display: flex; opacity: 1; }

.lightbox__inner {
  position: relative;
  width: min(430px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox__video {
  width: 100%;
  max-height: calc(100vh - 170px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #000;
  outline: none;
}

.lightbox__caption { text-align: center; }
.lightbox__brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.lightbox__meta { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s var(--ease);
}

.lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0b;
  transform: rotate(90deg);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .section { padding: 82px 0; }

  .hero { padding: 62px 0 74px; }
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero__media { max-width: 460px; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .hero__desc { max-width: none; }
}

@media (max-width: 700px) {
  .hero { padding: 46px 0 54px; }
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: center;
  }
  .hero__media { max-width: none; }
  .hero__frame { aspect-ratio: 3 / 4.2; }
  .hero__badge { margin-bottom: 12px; padding: 6px 11px; font-size: 0.68rem; gap: 7px; }
  .hero__title { font-size: clamp(1.65rem, 8vw, 2.5rem); }
  .hero__tagline { margin-top: 8px; font-size: clamp(0.88rem, 3.4vw, 1.05rem); }
  .hero__desc { margin-top: 10px; max-width: none; font-size: 0.85rem; }
  .hero__actions { margin-top: 16px; gap: 8px; }
  .hero__actions .btn { flex: 1 1 100%; padding: 11px 14px; font-size: 0.82rem; }
  .hero__tag { font-size: 0.62rem; padding: 5px 9px; gap: 5px; }
  .hero__tag svg { width: 12px; height: 12px; }
}

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

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 28px;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
      visibility 0.26s;
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__link {
    padding: 16px 4px;
    font-size: 1.02rem;
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
  }
  .nav__link::after { display: none; }

  .nav__cta { margin: 20px 0 0; justify-content: center; padding: 14px 24px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 14px; border-bottom: 1px solid var(--border-soft); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-bottom: none; }

  .marquee__item { padding: 0 26px; height: 64px; }
  .marquee__item img { height: 32px; max-width: 120px; }

  .work-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
  .work-card__body { padding: 13px 12px; }
  .work-card__brand { font-size: 0.92rem; }
  .work-card__meta { font-size: 0.76rem; }
  .work-card__format { font-size: 0.62rem; padding: 4px 9px; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .section { padding: 66px 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn--xl { width: 100%; padding: 18px 24px; font-size: 1rem; }
  .lightbox { padding: 16px; }
  .lightbox__close { top: auto; bottom: -50px; right: 50%; transform: translateX(50%); }
  .lightbox__close:hover { transform: translateX(50%) rotate(90deg); }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
