/* ============================================================
   Flux & Flow - brand system
   Colour lives in one place only: the gradient (dot-field / hero
   gradient surface). Everything else is monochrome ink on paper.
   ============================================================ */

:root {
  /* Monochrome core */
  --ink: #0d0d10;
  --ink-strong: #000000;
  --ink-secondary: #4a4a50;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: rgba(13, 13, 16, 0.12);
  --line-strong: rgba(13, 13, 16, 0.24);

  /* Flux Spectrum - the only colour in the system */
  --flux-lime: #d9ed5c;
  --flux-green: #5fdd8c;
  --flux-teal: #52c7d6;
  --flux-pink: #ec6fa3;
  --flux-purple: #8e6ef0;

  --gradient-flux-linear: linear-gradient(
    115deg,
    var(--flux-lime) 0%,
    var(--flux-green) 25%,
    var(--flux-teal) 50%,
    var(--flux-pink) 75%,
    var(--flux-purple) 100%
  );
  --gradient-flux-radial: radial-gradient(
    120% 120% at 30% 25%,
    var(--flux-lime) 0%,
    var(--flux-teal) 45%,
    var(--flux-pink) 70%,
    var(--flux-purple) 100%
  );

  --grain-opacity: 0.08;

  /* Type */
  --font-display: "Google Sans Flex", system-ui, sans-serif;
  --font-body: "Google Sans Flex", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;

  /* Spacing */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
  --radius: 0.4rem;

  /* Motion */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-crisp: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: var(--ease-crisp);
  --dur-slow: 1200ms;
  --dur-med: 600ms;
  --dur-fast: 240ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* Custom cursor: an ampersand replaces the pointer on fine-pointer devices */
@media (pointer: fine) {
  html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--ink);
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.custom-cursor.is-hidden { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.025em;
}

h1, h2, h3,
.header__logo, .btn-pill, .work-filter__btn {
  font-family: var(--font-display);
}

::selection { background-color: var(--flux-purple); color: #fff; }

a { color: currentColor; text-decoration: none; }
img { max-width: 100%; display: block; }
.ttu { text-transform: uppercase; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.6rem;
  z-index: 999;
  border-radius: var(--radius);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ============ Header ============ */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 2rem 0;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.header__cta.btn-pill {
  padding: 0.9rem 2.2rem;
}

.header__cta.btn-pill:hover {
  background: linear-gradient(115deg, var(--flux-lime), var(--flux-green));
  color: var(--ink);
}

.header.is-scrolled { border-bottom-color: var(--line); }

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__logo-mark {
  width: 1.4rem;
  height: 1.4rem;
  background: var(--gradient-flux-linear);
  display: inline-block;
}

.header__nav { display: none; }

.header__nav a {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.header__nav a:hover,
.header__nav a[aria-current="page"] { opacity: 0.45; }

.btn-pill {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.btn-pill--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.btn-pill--ghost:hover { background: var(--ink); color: var(--paper); }

.header__menu-toggle {
  display: none;
}

@media (min-width: 900px) {
  .header { padding: 1.8rem 3rem 0; }
  .header__nav { display: flex; gap: 4.5rem; }
}

/* mobile nav */
@media (max-width: 899px) {
  .header__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    cursor: pointer;
  }
  .header__menu-toggle span {
    position: relative;
    width: 1.6rem;
    height: 1px;
    background: var(--ink);
  }
  .header__menu-toggle span::before,
  .header__menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 1.6rem;
    height: 1px;
    background: var(--ink);
  }
  .header__menu-toggle span::before { top: -0.5rem; }
  .header__menu-toggle span::after { top: 0.5rem; }
  .header__cta { display: none; }

  .mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--paper);
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    padding: 3rem;
    transform: translateY(-100%);
    transition: transform var(--dur-slow) var(--ease-cinematic);
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a { font-family: var(--font-display); font-size: 4rem; font-weight: 500; letter-spacing: -0.02em; }
  .mobile-nav__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background: none;
    border: 1px solid rgba(242,242,240,0.3);
    border-radius: 50%;
    color: var(--paper);
    font-size: 2rem;
    cursor: pointer;
  }
  .mobile-nav__footer {
    margin-top: 3rem;
    font-size: 1.5rem;
    opacity: 0.6;
  }
}

@media (min-width: 900px) {
  .mobile-nav, .header__menu-toggle { display: none; }
}

/* ============ Layout wrapper ============ */

main { display: block; }

/* ============ Grain overlay (gradient / dot-field surfaces only) ============ */

.grain { position: relative; }

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='128' height='128'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 128px 128px;
}

/* ============ Highlight (one per view, maximum) ============ */

.highlight {
  background: var(--flux-lime);
  padding: 0.05em 0.2em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ============ Scroll-linked ampersand ============
   "&" glyphs that shift from ink toward a flux colour as the
   element scrolls up through the viewport. JS drives --amp-t
   (0-1) per element on scroll; the modifier class sets which
   flux colour it mixes toward. */

.amp-scroll {
  color: color-mix(in srgb, var(--amp-color, var(--flux-lime)) calc(var(--amp-t, 0) * 100%), var(--ink));
}

.amp-scroll--lime { --amp-color: var(--flux-lime); }
.amp-scroll--green { --amp-color: var(--flux-green); }

/* ============ Hero (home page - the signature dot-field) ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 11rem 2rem 3rem;
  overflow: hidden;
  background: var(--surface);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem 6rem;
  margin-bottom: auto;
  padding-top: 2.1rem;
  text-align: center;
}

.hero__meta-item {
  font-size: 1.95rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-secondary);
}

.hero__cycle {
  position: relative;
  display: inline-block;
  vertical-align: top;
  font-weight: 700;
  color: var(--ink);
}

.hero__cycle-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.hero__cycle-word:not(.is-active) { position: absolute; left: 0; top: 0; }
.hero__cycle-word.is-active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero__cycle-word { transition: none; }
}

.hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 12.5vw;
  line-height: 0.94;
  margin: 4rem 0 4rem;
  text-align: center;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__tagline {
  font-size: 1.8rem;
  line-height: 1.45;
  flex: 1 1 auto;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--ink-secondary);
}

.hero__scroll-arrow {
  display: inline-block;
  animation: bob 1.8s var(--ease-out) infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-arrow { animation: none; }
}

@media (min-width: 900px) {
  .hero { padding: 13rem 3rem 4rem; }
  .hero__title { font-size: 10.5vw; }
}

/* small hero used on inner pages - gradient surface, no dots */
.page-hero {
  position: relative;
  padding: 14rem 2rem 6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 55% at 80% 10%, var(--flux-purple) 0%, transparent 70%),
    radial-gradient(32% 46% at 96% 42%, var(--flux-pink) 0%, transparent 70%),
    radial-gradient(26% 36% at 58% 4%, var(--flux-lime) 0%, transparent 70%),
    radial-gradient(24% 34% at 88% 72%, var(--flux-teal) 0%, transparent 70%),
    radial-gradient(20% 28% at 68% 55%, var(--flux-green) 0%, transparent 75%);
  filter: blur(70px);
  opacity: 0.6;
}

.page-hero__kicker {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  margin-bottom: 2.4rem;
}

.page-hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 8rem);
  line-height: 1.02;
  max-width: 20ch;
}

.page-hero__lede {
  position: relative;
  z-index: 2;
  font-size: 1.9rem;
  line-height: 1.5;
  margin-top: 2.6rem;
  color: var(--ink);
}

@media (min-width: 900px) {
  .page-hero { padding: 16rem 3rem 7rem; }
}

/* ============ Shared section rhythm ============ */

.section { padding: var(--space-2xl) 2rem; }
.section--tight { padding: 6rem 2rem; }

@media (min-width: 900px) {
  .section { padding: var(--space-3xl) 3rem; }
  .section--tight { padding: 8rem 3rem; }
}

.section__kicker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  margin-bottom: 2.8rem;
  text-align: center;
}

.kicker--green { color: var(--flux-green); }
.kicker--teal { color: var(--flux-teal); }
.kicker--pink { color: var(--flux-pink); }
.kicker--purple { color: var(--flux-purple); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 6rem);
  line-height: 1.06;
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
}

.section__intro {
  font-size: 1.9rem;
  line-height: 1.55;
  margin: 2.6rem auto 0;
  color: var(--ink);
  text-align: center;
}

.divider-top { border-top: 1px solid var(--line); }
.divider-bottom { border-bottom: 1px solid var(--line); }

/* ============ Statement (masked large type) ============ */

.statement {
  padding: 8rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement__title {
  font-family: var(--font-display);
  font-size: 6.4vw;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.statement__title .muted { color: var(--ink-secondary); }

@media (min-width: 900px) {
  .statement { padding: 10rem 3rem; }
  .statement__title { font-size: 4.6vw; max-width: 90%; }
}

/* ============ Services ============ */

.services__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6rem;
}

.service {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0;
  text-align: center;
}

.service__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  margin-bottom: 1.6rem;
}

.service__desc {
  font-size: 1.7rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  color: var(--ink);
}

.service__tags {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
}

/* monochrome tone placeholders - used where a project image isn't in yet */
.tone--1 { background: var(--ink); }
.tone--2 { background: var(--ink-secondary); }
.tone--3 { background: var(--line-strong); }

/* ============ Who it's for strip ============ */

.audience {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.audience__item {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
}

@media (min-width: 900px) {
  .audience { grid-template-columns: repeat(2, 1fr); }
  .audience__item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 3rem; }
  .audience__item:nth-child(even) { padding-left: 3rem; }
}

/* ============ Work grid ============ */

.work-grid {
  display: grid;
  gap: 2rem;
  margin-top: 6rem;
  grid-template-columns: 1fr;
}

.work-card {
  position: relative;
  display: block;
  border-top: 0;
  padding-top: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.work-card:hover { opacity: 0.82; }

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background-size: cover;
  background-position: center;
}

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
}

.work-card__tag {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.work-card__body { padding: 2rem 0; }

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 2.6vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.work-card__client {
  font-size: 1.4rem;
  color: var(--ink-secondary);
}

@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .work-grid--featured { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Films (video embeds) ============ */

.films {
  display: grid;
  gap: 4rem;
  margin-top: 6rem;
}

.film {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.film__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.film__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film__caption {
  margin-top: 1.8rem;
  font-size: 1.6rem;
  line-height: 1.5;
}

.film__caption .placeholder {
  color: var(--ink-secondary);
  font-style: italic;
}

@media (min-width: 900px) {
  .films { grid-template-columns: repeat(2, 1fr); }
}

/* ============ CTA band ============ */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 2rem;
  text-align: left;
}

.cta-band__kicker { color: rgba(242,242,240,0.5); margin-bottom: 2rem; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.06em; }

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 3rem;
  max-width: 18ch;
}

.cta-band__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  border-bottom: 2px solid var(--paper);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.cta-band__email:hover { opacity: 0.7; }

@media (min-width: 900px) {
  .cta-band { padding: 11rem 3rem; }
}

/* ============ About page ============ */

.about-grid {
  margin-top: 6rem;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
  width: 100%;
  max-width: 200px;
  object-fit: cover;
  float: left;
  margin: 0 2.4rem 1.6rem 0;
}

.about-body p {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}


/* ============ Contact page ============ */

.contact-grid {
  display: grid;
  gap: 5rem;
  margin-top: 6rem;
}

.contact-direct {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.contact-direct__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 2.4rem;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: background var(--dur-fast) var(--ease-out);
}

.contact-direct__email:hover {
  background: var(--flux-lime);
  border-bottom-color: transparent;
}

.contact-direct p { font-size: 1.6rem; line-height: 1.55; color: var(--ink-secondary); }

.form {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  display: grid;
  gap: 2.2rem;
}

.form__field { display: grid; gap: 0.8rem; }

.form__field label {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
}

.form__field input,
.form__field textarea {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  font: inherit;
  font-size: 1.6rem;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form__field textarea { resize: vertical; min-height: 12rem; }

.form__submit {
  justify-self: start;
  border: none;
  cursor: pointer;
  font: inherit;
}

.form__note {
  font-size: 1.4rem;
  color: var(--ink-secondary);
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
}

/* ============ Case study page ============ */

.case-meta {
  display: grid;
  gap: 2.4rem;
  margin-top: 0;
  padding-top: 3rem;
  border-top: 0;
}

.case-meta__item dt {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
  margin-bottom: 0.6rem;
}

.case-meta__item dd { font-size: 1.6rem; font-weight: 600; }

.case-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin: 6rem 0;
  overflow: hidden;
  position: relative;
}

.case-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin: 6rem 0;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-gallery--wide { grid-template-columns: 1fr; }
.case-gallery--wide img { aspect-ratio: 16 / 9; }

@media (min-width: 700px) {
  .case-gallery--tri { grid-template-columns: repeat(3, 1fr); }
}

.case-body {
  display: grid;
  gap: 2.4rem;
}

.case-body p { font-size: 1.8rem; line-height: 1.65; }

.case-placeholder {
  border: 1px dashed var(--line-strong);
  padding: 2rem;
  font-size: 1.5rem;
  color: var(--ink-secondary);
  border-radius: var(--radius);
}

.case-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 8rem;
  padding-top: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.case-nav a { font-size: 1.6rem; font-weight: 600; }
.case-nav .label { display: block; font-size: 1.2rem; text-transform: uppercase; color: var(--ink-secondary); margin-bottom: 0.6rem; font-weight: 500; }

@media (min-width: 700px) {
  .case-meta { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Footer ============ */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 2rem 4rem;
}

.footer__top {
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(242,242,240,0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__kicker { color: rgba(242, 242, 240, 0.5); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2rem; }

.footer__title { font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 6.6rem); margin-bottom: 3rem; }

.footer__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  border-bottom: 2px solid var(--paper);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.footer__email:hover {
  background: var(--flux-lime);
  color: var(--ink);
  border-bottom-color: transparent;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 4rem;
}

.footer__nav, .footer__socials {
  display: flex;
  gap: 2.4rem;
  font-size: 1.4rem;
  flex-wrap: wrap;
}

.footer__nav a, .footer__socials a { transition: opacity var(--dur-fast) var(--ease-out); }
.footer__nav a:hover, .footer__socials a:hover { opacity: 0.5; }

.footer__legal { font-size: 1.3rem; color: rgba(242,242,240,0.45); margin-top: 3rem; }

@media (min-width: 900px) {
  .footer { padding: 11rem 3rem 4rem; }
}

/* ============ Utility ============ */

.container { max-width: 132rem; margin: 0 auto; }

.bg-paper { background: var(--surface); }

/* ============ Work filter ============ */

.work-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 5rem;
}

.work-filter__btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-secondary);
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.9rem 1.8rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.work-filter__btn:hover { border-color: var(--ink); color: var(--ink); }

.work-filter__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.work-card.is-filtered-out { display: none; }

/* ============ Brands list ============ */

.brands {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
}

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

.brands__item {
  padding: 2.4rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
}

.brands__logo {
  max-width: 12rem;
  max-height: 4rem;
  width: auto;
  height: auto;
  filter: brightness(0);
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.brands__item:hover .brands__logo { opacity: 1; }

.brands__item:nth-child(odd) { border-right: 1px solid var(--line); }

@media (min-width: 700px) {
  .brands__grid { grid-template-columns: repeat(4, 1fr); }
  .brands__item:nth-child(odd) { border-right: none; }
  .brands__item:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity var(--dur-slow) var(--ease-cinematic), transform var(--dur-slow) var(--ease-cinematic);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
