/* ==========================================================================
   SPRYNT MEDIA — stylesheet
   --------------------------------------------------------------------------
   SECTION 1  BRAND TOKENS      <- change colours, fonts and spacing here
   SECTION 2  BASE
   SECTION 3  LAYOUT
   SECTION 4  NAV
   SECTION 5  HERO
   SECTION 6  MARQUEE + STATS
   SECTION 7  SERVICES
   SECTION 8  PROOF OF WORK
   SECTION 9  PACKAGES
   SECTION 10 TESTIMONIALS + FAQ
   SECTION 11 CONTACT + FOOTER
   SECTION 12 LIGHTBOX
   SECTION 13 RESPONSIVE (phone / tablet)
   ========================================================================== */

/* ===== SECTION 1 — BRAND TOKENS ========================================== */
:root {
  /* Colour */
  --ink:          #07070b;      /* page background */
  --ink-2:        #0e0e16;      /* raised panels */
  --line:         rgba(255,255,255,.09);
  --text:         #f2f2f5;
  --text-dim:     #9a9aab;
  --pink:         #ff1493;      /* primary accent */
  --lime:         #ccff00;      /* secondary accent */
  --glass:        rgba(255,255,255,.045);
  --glass-hover:  rgba(255,255,255,.075);

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Courier New", monospace;

  /* Scale */
  --step-hero:  clamp(2.5rem, 7.5vw, 5.5rem);
  --step-h2:    clamp(1.85rem, 4.2vw, 3.1rem);
  --step-h3:    clamp(1.15rem, 2vw, 1.4rem);
  --step-body:  clamp(.98rem, 1.15vw, 1.06rem);
  --step-small: .8rem;

  /* Space + shape */
  --gutter:  clamp(1.15rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);
  --maxw:    1240px;
  --radius:  18px;
  --radius-s: 11px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== SECTION 2 — BASE ================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint technical grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0;
}

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--lime); color: #000; padding: .7rem 1.1rem; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ===== SECTION 3 — LAYOUT ================================================ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

section { padding-block: var(--section); position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step-small);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--lime);
  flex: none;
}

.section-head { max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: var(--step-h2); }
.section-head p { color: var(--text-dim); margin: .9rem 0 0; }

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .92rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 30px -10px rgba(255,20,147,.85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(255,20,147,1); }
.btn-ghost { border-color: var(--line); background: var(--glass); color: var(--text); }
.btn-ghost:hover { background: var(--glass-hover); transform: translateY(-2px); }

/* ===== SECTION 4 — NAV =================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7,7,11,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.04em; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); align-self: center; box-shadow: 0 0 14px var(--pink); }
.brand__logo { height: 38px; width: auto; display: block; }
.brand--footer { margin-bottom: .55rem; }
.brand--footer .brand__logo { height: 46px; }
.brand__tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-weight: 400; }

.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: .92rem; color: var(--text-dim); transition: color .2s; }
.nav__links a:hover { color: var(--text); }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: .55rem .6rem; line-height: 0;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== SECTION 5 — HERO ================================================== */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { font-size: var(--step-hero); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--pink), var(--lime));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub { color: var(--text-dim); max-width: 46ch; margin: 1.5rem 0 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.reel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
  animation: float 7s ease-in-out infinite;
  box-shadow: 0 40px 90px -40px rgba(255,20,147,.5);
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(7,7,11,.75); border: 1px solid var(--line);
  padding: .42rem .7rem; border-radius: 100px; backdrop-filter: blur(8px);
}
.reel__empty { display: grid; place-content: center; height: 100%; color: var(--text-dim); font-family: var(--font-mono); font-size: .78rem; text-align: center; padding: 2rem; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* ----- floating video wall behind the hero -------------------------------
   Filled by renderHeroWall() in main.js from the Proof of Work sheet.
   --wall-gap has to match the keyframe below or the loop shows a seam.      */
.hero { position: relative; overflow: hidden; }
.hero__grid { position: relative; z-index: 1; }
.hero--wall .hero__grid { grid-template-columns: minmax(0, 60ch); }

.wall {
  --wall-gap: clamp(.55rem, 1.1vw, .95rem);
  position: absolute; top: -12%; bottom: -12%;
  right: calc(var(--gutter) * -1.2); width: min(58%, 880px);
  display: flex; gap: var(--wall-gap);
  z-index: 0; pointer-events: none; user-select: none;
  opacity: .5;
  transform: rotate(-5deg) scale(1.08);
}
/* with a showreel in the hero the wall steps back so the two do not fight */
.hero:not(.hero--wall) .wall { opacity: .26; }
.wall__col { flex: 1; overflow: hidden; }
.wall__track {
  display: flex; flex-direction: column; gap: var(--wall-gap);
  animation-name: wall-scroll; animation-timing-function: linear; animation-iteration-count: infinite;
}
.wall__tile {
  aspect-ratio: 4 / 5; border-radius: var(--radius-s); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  display: grid; place-items: center;
}
.wall__tile video, .wall__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wall__id { font-family: var(--font-mono); font-size: .62rem; color: var(--text-dim); }
/* fades the wall into the page so the headline keeps its contrast */
.wall__fade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, var(--ink) 4%, rgba(7,7,11,.72) 34%, rgba(7,7,11,.18) 72%),
    linear-gradient(180deg, var(--ink), transparent 22%, transparent 74%, var(--ink));
}
@keyframes wall-scroll {
  from { transform: translateY(0) }
  to   { transform: translateY(calc(-50% - var(--wall-gap) / 2)) }
}
@media (prefers-reduced-motion: reduce) {
  .wall__track { animation: none; }
}

/* ===== SECTION 6 — MARQUEE + STATS ======================================= */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 26px; width: auto; opacity: .55; filter: grayscale(1) brightness(2.4); transition: opacity .25s; }
.marquee img:hover { opacity: 1; }
.marquee span { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-dim); letter-spacing: -.02em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: clamp(1.4rem, 3vw, 2.2rem); }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1; letter-spacing: -.045em; color: var(--lime); }
.stat__label { margin-top: .55rem; font-weight: 600; font-size: .95rem; }
.stat__note { font-family: var(--font-mono); font-size: .7rem; color: var(--text-dim); margin-top: .3rem; letter-spacing: .02em; }

/* ===== SECTION 7 — SERVICES ============================================== */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.1rem; }
.service {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.service:hover { transform: translateY(-5px); background: var(--glass-hover); border-color: rgba(255,20,147,.4); }

/* flagship card — lime, so it reads apart from the pink-accented siblings */
.service.is-highlight { border-color: rgba(204,255,0,.45); background: linear-gradient(170deg, rgba(204,255,0,.08), var(--glass) 55%); }
.service.is-highlight:hover { border-color: rgba(204,255,0,.7); }
.service.is-highlight .service__icon { background: rgba(204,255,0,.14); border-color: rgba(204,255,0,.3); }
.service.is-highlight .service__icon svg { stroke: var(--lime); }
.service__flag {
  position: absolute; top: -1px; right: 1.4rem;
  background: var(--lime); color: #000;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 0 0 8px 8px;
}
.service__icon { width: 40px; height: 40px; display: grid; place-content: center; border-radius: 11px; background: rgba(255,20,147,.13); border: 1px solid rgba(255,20,147,.28); margin-bottom: 1.1rem; }
.service__icon svg { width: 19px; height: 19px; stroke: var(--pink); fill: none; stroke-width: 1.7; }
.service h3 { font-size: var(--step-h3); }
.service__pitch { color: var(--text-dim); font-size: .95rem; margin: .6rem 0 1.1rem; }
.service__list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }
.service__list li { font-size: .88rem; color: var(--text-dim); padding-left: 1.1rem; position: relative; }
.service__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.service__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; }
.service__price { color: var(--lime); }
.service__time { color: var(--text-dim); }

/* ===== SECTION 8 — PROOF OF WORK ========================================= */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter {
  background: transparent; border: 1px solid var(--line); color: var(--text-dim);
  padding: .5rem 1rem; border-radius: 100px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  transition: all .22s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.filter.is-active { background: var(--lime); border-color: var(--lime); color: #000; }

/* the AI video filter sits apart from the rest of the categories */
.filter[data-cat^="AI"] { color: var(--lime); border-color: rgba(204,255,0,.38); }
.filter[data-cat^="AI"]:hover { color: var(--lime); border-color: var(--lime); }
.filter[data-cat^="AI"].is-active { background: var(--lime); border-color: var(--lime); color: #000; }

.work__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.05rem; }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  aspect-ratio: 9 / 13;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform .4s var(--ease), border-color .3s;
}
.work.is-featured { grid-column: span 2; aspect-ratio: 16 / 11; }
.work:hover { transform: translateY(-6px); border-color: rgba(204,255,0,.45); }
.work__media { position: absolute; inset: 0; }
.work__media img, .work__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.work:hover .work__media img { transform: scale(1.06); }
.work__media video { opacity: 0; position: absolute; inset: 0; }
.work.is-previewing .work__media video { opacity: 1; }
.work__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: .5rem; text-align: center; padding: 1.5rem; background: linear-gradient(150deg, #14141f, #0b0b12); color: var(--text-dim); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; }
.work__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,9,.94) 8%, rgba(5,5,9,.45) 45%, rgba(5,5,9,.12) 100%); }
.work__body { position: absolute; inset: auto 0 0 0; padding: 1.1rem; }
.work__cat { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.work__title { font-family: var(--font-display); font-size: 1.06rem; letter-spacing: -.025em; line-height: 1.2; margin: .35rem 0 .1rem; }
.work__client { font-size: .8rem; color: var(--text-dim); }
.work__metrics { display: flex; gap: 1.1rem; margin-top: .8rem; }
.work__metric { font-family: var(--font-mono); }
.work__metric b { display: block; font-size: 1.02rem; color: var(--pink); font-weight: 700; letter-spacing: -.02em; }
.work__metric span { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.work__play {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-content: center;
  background: rgba(7,7,11,.65); border: 1px solid var(--line); backdrop-filter: blur(8px);
  transition: background .25s, transform .25s;
}
.work:hover .work__play { background: var(--pink); transform: scale(1.1); }
.work__play svg { width: 12px; height: 12px; fill: #fff; }

.work__empty { grid-column: 1 / -1; padding: 3rem 1.5rem; text-align: center; color: var(--text-dim); font-family: var(--font-mono); font-size: .82rem; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ===== SECTION 9 — PACKAGES ============================================== */
.packages__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 1.1rem; align-items: stretch; }
.pack { padding: clamp(1.5rem, 3vw, 2.1rem); display: flex; flex-direction: column; position: relative; }
.pack.is-highlight { border-color: rgba(255,20,147,.55); background: linear-gradient(170deg, rgba(255,20,147,.09), var(--glass) 55%); }
.pack__flag { position: absolute; top: -1px; right: 1.4rem; background: var(--pink); color: #fff; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 0 0 8px 8px; }
.pack h3 { font-size: 1.35rem; }
.pack__price { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.04em; margin: .7rem 0 .2rem; }
.pack__for { color: var(--text-dim); font-size: .88rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.pack__list { list-style: none; margin: 1.2rem 0 1.8rem; padding: 0; display: grid; gap: .6rem; flex: 1; }
.pack__list li { font-size: .89rem; padding-left: 1.4rem; position: relative; color: var(--text-dim); }
.pack__list li::before { content: "+"; position: absolute; left: 0; color: var(--lime); font-family: var(--font-mono); }
.pack .btn { width: 100%; justify-content: center; }

/* ===== SECTION 10 — TESTIMONIALS + FAQ =================================== */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; }
.quote { padding: clamp(1.5rem, 3vw, 2rem); }
.quote p { font-family: var(--font-display); font-size: 1.14rem; letter-spacing: -.02em; line-height: 1.4; margin: 0 0 1.4rem; }
.quote footer { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote__avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--lime)); display: grid; place-content: center; font-weight: 700; font-size: .8rem; color: #000; flex: none; }
.quote__who b { display: block; font-size: .88rem; }
.quote__who span { font-size: .76rem; color: var(--text-dim); }

.faq { max-width: 780px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--font-display); font-size: 1.06rem; letter-spacing: -.02em;
}
.faq__q::after { content: "+"; font-family: var(--font-mono); color: var(--lime); font-size: 1.2rem; flex: none; transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq__a p { color: var(--text-dim); font-size: .95rem; margin: 0 0 1.4rem; padding-right: 2rem; }

/* ===== SECTION 11 — CONTACT + FOOTER ===================================== */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { display: grid; gap: 1.4rem; }
.contact__row { display: grid; gap: .2rem; }
.contact__row span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); }
.contact__row a, .contact__row p { font-size: 1.02rem; margin: 0; }
.contact__row a:hover { color: var(--lime); }

.form { padding: clamp(1.5rem, 3.4vw, 2.4rem); display: grid; gap: 1.05rem; }
.field { display: grid; gap: .42rem; }
.field label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(0,0,0,.32);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--text);
  padding: .82rem .95rem;
  font: inherit; font-size: .95rem;
  transition: border-color .22s, background .22s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); background: rgba(0,0,0,.5); outline: none; }
.field.two { grid-template-columns: 1fr 1fr; gap: 1rem; display: grid; }
.form__note { font-size: .76rem; color: var(--text-dim); margin: 0; }
.form__status { font-family: var(--font-mono); font-size: .82rem; padding: .8rem 1rem; border-radius: var(--radius-s); display: none; }
.form__status.is-ok { display: block; background: rgba(204,255,0,.1); border: 1px solid rgba(204,255,0,.35); color: var(--lime); }
.form__status.is-error { display: block; background: rgba(255,20,147,.1); border: 1px solid rgba(255,20,147,.4); color: #ff7ec0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.footer { border-top: 1px solid var(--line); padding-block: 2.6rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: center; }
.footer__note { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.footer__social { display: flex; gap: .55rem; }
.footer__social a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-content: center; transition: all .22s; }
.footer__social a:hover { background: var(--pink); border-color: var(--pink); }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }

.wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 55;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; display: grid; place-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 26px; height: 26px; fill: #fff; }

/* ===== SECTION 12 — LIGHTBOX ============================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3,3,6,.93);
  backdrop-filter: blur(10px);
  display: none;
  place-content: center;
  padding: var(--gutter);
}
.lightbox.is-open { display: grid; }
.lightbox__inner { width: min(940px, 100%); max-height: 88vh; display: grid; gap: 1rem; }
.lightbox__frame { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.lightbox__frame.is-vertical { aspect-ratio: 9/16; max-height: 70vh; margin-inline: auto; width: auto; }
.lightbox__frame video, .lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__meta h3 { font-size: 1.3rem; }
.lightbox__meta p { color: var(--text-dim); font-size: .92rem; margin: .5rem 0 0; }
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line); color: var(--text);
  font-size: 1.2rem; line-height: 1;
}
.lightbox__close:hover { background: var(--pink); }

/* ===== SECTION 13 — RESPONSIVE =========================================== */

/* Tablet */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero--wall .hero__grid { grid-template-columns: 1fr; }
  .reel { max-width: 380px; aspect-ratio: 16/10; animation: none; }
  /* the wall spans the whole hero on tablet and drops back behind the words */
  .wall { width: 100%; right: 0; opacity: .3; transform: rotate(-3deg) scale(1.12); }
  .wall__fade {
    background:
      linear-gradient(90deg, var(--ink) 2%, rgba(7,7,11,.6) 45%, rgba(7,7,11,.35) 100%),
      linear-gradient(180deg, var(--ink), transparent 18%, transparent 78%, var(--ink));
  }
  .contact__grid { grid-template-columns: 1fr; }
  .work.is-featured { grid-column: span 1; aspect-ratio: 9/13; }
}

/* Phone */
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9,9,14,.98);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.2rem;
    max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav.is-open .nav__links { max-height: 420px; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; padding-top: .8rem; }
  .nav__links a { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav__links .btn { width: 100%; justify-content: center; }
  .brand__tag { display: none; }
  .brand__logo { height: 28px; }
  .wall { opacity: .2; }

  .hero__cta .btn { width: 100%; justify-content: center; }
  .work__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .work__body { padding: .8rem; }
  .work__title { font-size: .9rem; }
  .work__metrics { gap: .8rem; }
  .field.two { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .lightbox__frame.is-vertical { max-height: 62vh; }
}

@media (max-width: 400px) {
  .work__grid { grid-template-columns: 1fr; }
}

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

/* Reveal on scroll (disabled under reduced motion by the rule above) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
