/* ==========================================================================
   SECTIONS — page-level composition. Everything here is layout only; the
   parts being laid out live in components.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO — the film leads and the headline sits above it. The board composited
   the two with mix-blend-mode: difference; that was obscuring the work, so
   the overlap is gone and the picture is given the full width instead.
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(1.5rem, .5rem + 2.6vw, 2.75rem);
  padding-bottom: clamp(3rem, 1rem + 6vw, 6rem);
}
.hero__copy {
  display: grid;
  justify-items: start;
  gap: clamp(.75rem, .3rem + 1.2vw, 1.25rem);
  margin-bottom: clamp(2rem, 3.6vw, 3.5rem);
}
.hero__title { max-width: 18ch; }
.hero__sub {
  max-width: 34ch;
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--c-text-muted);
}
.hero__media { margin: 0; }
.hero__video { display: block; }

/* --------------------------------------------------------------------------
   CLIENT STRIP
   -------------------------------------------------------------------------- */

.clients {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
  border-top: 1px solid var(--c-rule-soft);
  border-bottom: 1px solid var(--c-rule-soft);
}
.clients__label {
  font-size: var(--t-micro); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--c-text-faint);
}
.clients__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.25rem, 4vw, 3.5rem); margin-left: auto;
}
.clients__item {
  font-family: var(--font-display);
  font-size: clamp(1rem, .85rem + .6vw, 1.35rem);
  letter-spacing: -.01em;
  color: var(--c-text-faint);
  transition: color var(--d-base) var(--e-soft);
}
.clients__item:hover { color: var(--c-text); }


/* --------------------------------------------------------------------------
   SECTION HEADER — shared opening for every section below the hero.
   -------------------------------------------------------------------------- */

.s-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  align-items: end;
  gap: var(--s-6) clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}
.s-head__title { margin-top: var(--s-5); max-width: 18ch; }
.s-head__aside { padding-bottom: .4em; }


/* --------------------------------------------------------------------------
   PRICING / FAQ
   -------------------------------------------------------------------------- */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: var(--s-8) clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq__aside {
  position: sticky; top: var(--s-12);
  display: grid; justify-items: start;
  gap: var(--s-5);
}


/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta { position: relative; text-align: center; overflow: hidden; }
.cta > * { position: relative; z-index: 1; }
.cta__title { max-width: 16ch; margin-inline: auto; }
.cta__lead { margin: var(--s-6) auto 0; }
.cta__actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-4);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

/* A slow lilac bloom behind the call to action. */
.cta::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: min(130%, 62rem); aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(215, 190, 218, .62), transparent 64%);
  animation: bloom 15s var(--e-inout) infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes bloom {
  0%, 100% { transform: scale(.86); opacity: .7; }
  50%      { transform: scale(1.1); opacity: 1; }
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.footer { position: relative; overflow: hidden; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-10) clamp(1.5rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.footer__blurb {
  max-width: 32ch; margin-top: var(--s-6);
  font-size: var(--t-small); color: var(--c-text-invert-muted);
}
.footer__col h5 {
  margin-bottom: var(--s-5);
  font-family: var(--font-sans);
  font-size: var(--t-micro); font-weight: 500;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--c-text-invert-muted);
}
.footer__col li + li { margin-top: var(--s-3); }
.footer__col a {
  font-size: var(--t-small); opacity: .85;
  transition: opacity var(--d-fast) var(--e-soft);
}
.footer__col a:hover { opacity: 1; }

/* The footer content floats above the oversized brand device — which must
   keep its own absolute positioning, hence the :not(). */
.footer > *:not(.footer__device) { position: relative; z-index: 1; }
.footer__base {
  border-top: 1px solid var(--c-rule-invert);
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--s-4);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--t-micro);
  color: var(--c-text-invert-muted);
}


/* --------------------------------------------------------------------------
   WORK — four films at full width, stacked with air between them so the
   section scrolls cleanly. The remaining two live behind a disclosure.
   -------------------------------------------------------------------------- */

.work { padding-top: clamp(2.5rem, 5vw, 5rem); }
.work__title {
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.75rem);
  max-width: 15ch;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.work__reel {
  display: grid;
  gap: clamp(3rem, 6vw, 6.5rem);
}
.work__reel--rest {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.work__more { margin-top: clamp(2.5rem, 5vw, 5rem); }
.work__toggle {
  width: 100%;
  justify-content: space-between;
  padding-block: 1.1em;
  font-size: var(--t-body);
}
.work__toggle .acc__icon { color: currentColor; }
.work__toggle[aria-expanded="true"] .work__toggle-label { opacity: .55; }

/* --------------------------------------------------------------------------
   PROCESS — the one authored motion moment. The order is the content, so the
   rail fills with the scroll and each rule draws as its stage arrives.
   -------------------------------------------------------------------------- */

.process { position: relative; overflow: hidden; }
.process > * { position: relative; z-index: 1; }
.process__device {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  width: min(150%, 74rem); aspect-ratio: 1;
  fill: rgba(255, 255, 255, .035);
  stroke: none;
  pointer-events: none; z-index: 0;
}

.process__title { font-size: var(--t-h2); }
.process__lede {
  margin-top: var(--s-6);
  max-width: 46ch;
  color: var(--c-text-invert-muted);
}

.process__list {
  position: relative;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-left: clamp(2rem, 4vw, 4rem);
}
.process__rail {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(255, 255, 255, .13);
}
.process__rail i {
  position: absolute; inset: 0 auto 0 0;
  width: 1px;
  background: var(--c-lilac);
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 20rem);
  gap: var(--s-5) clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.25rem);
}
.stage__text { display: grid; gap: var(--s-4); }
.stage__shot { margin: 0; }

/* Photo slot. The client supplies the pictures; until then the slot names the
   photograph it is holding rather than standing in with an icon. */
.shot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--r-card);
  background:
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, .028) 0 10px,
      transparent 10px 20px);
}
.shot::after {
  content: attr(data-shot);
  padding: 0 1.4em;
  font-size: var(--t-micro);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}
.stage::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: rgba(255, 255, 255, .16);
  transform-origin: left;
}
.stage__no {
  padding-top: .55em;
  font-size: var(--t-micro);
  letter-spacing: var(--ls-wide);
  color: var(--c-lilac);
}
.stage__name {
  font-size: clamp(1.875rem, 1.1rem + 3.1vw, 3.25rem);
  line-height: 1;
}
.stage__body { font-size: var(--t-small); color: var(--c-text-invert-muted); }


/* Storyboard strip — six real consecutive frames, not a drawing of some. */
.strip { margin: clamp(3rem, 6vw, 5.5rem) 0 0; }
.strip__frames {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.5rem, 1.2vw, 1rem);
}
.strip__cell img {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: 2px;
}
.strip__cell span {
  display: block; margin-top: .65rem;
  font-size: var(--t-micro); letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, .42);
}
.strip__cap {
  margin-top: var(--s-6);
  font-size: var(--t-small);
  color: var(--c-text-invert-muted);
}
.strip__cap em { font-family: var(--font-display); font-style: italic; }


/* --------------------------------------------------------------------------
   STUDIO — a single signed statement on the dark panel.
   -------------------------------------------------------------------------- */

.voice { margin: 0; }
.voice blockquote {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: var(--ls-tight);
}
.voice--lead blockquote {
  font-size: clamp(1.5rem, .95rem + 2.2vw, 2.625rem);
  line-height: 1.24;
  max-width: 40ch;
}
.voice figcaption { display: grid; gap: .1rem; margin-top: var(--s-6); }
.voice__who  { font-size: var(--t-small); }
.voice__role { font-size: var(--t-micro); color: var(--c-text-invert-muted); }


/* --------------------------------------------------------------------------
   PRICING — the ask, then what a project can be. No figures and, now, no
   explanation of why there are none: it read as defensive.
   -------------------------------------------------------------------------- */

.terms__title {
  font-size: var(--t-h2);
  max-width: 18ch;
}
.terms__cta { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }

.terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.terms__col { padding-top: var(--s-6); border-top: 1px solid var(--c-rule); }
.terms__name { font-size: var(--t-h4); }
.terms__list {
  display: grid; gap: var(--s-3);
  margin-top: var(--s-5);
  font-size: var(--t-small);
  color: var(--c-text-muted);
}
.terms__list li { position: relative; padding-left: 1.1rem; }
.terms__list li::before {
  content: ""; position: absolute; left: 0; top: .66em;
  width: 6px; height: 1px; background: var(--c-indigo);
}




/* ==========================================================================
   RESPONSIVE — ease the columns, then stack.
   ========================================================================== */

@media (max-width: 1080px) {
  .stage { grid-template-columns: auto minmax(0, 1fr); }
  .stage__shot { grid-column: 2; max-width: 26rem; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__links {
    position: absolute; inset: 100% 0 auto;
    z-index: var(--z-nav);
    flex-direction: column; align-items: flex-start;
    gap: var(--s-2);
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--s-6) var(--gutter) var(--s-8);
    background: var(--c-paper);
    border-bottom: 1px solid var(--c-rule);
    font-family: var(--font-display);
    font-size: var(--t-h4);
    letter-spacing: var(--ls-tight);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--d-base) var(--e-out),
                transform var(--d-base) var(--e-out),
                visibility 0s linear var(--d-base);
  }
  .nav[data-open="true"] .nav__links {
    opacity: 1; visibility: visible; transform: none;
    transition-delay: 0s;
  }
  .nav { position: relative; }
  .nav__toggle { display: grid; }
  .nav > .btn { margin-left: auto; }

  .hero__title { max-width: none; }
  .s-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }

  .work__reel--rest { grid-template-columns: minmax(0, 1fr); }

  .process__list { padding-left: clamp(1.25rem, 4vw, 2rem); }
  .stage { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .stage__shot { grid-column: 1; max-width: none; }
  .shot { aspect-ratio: 16 / 10; }
  .strip__frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .terms { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
}

@media (max-width: 560px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .work__title, .s-head__title, .terms__title { max-width: none; }
}
