/* ==========================================================================
   Transparent Media Company
   Dark, editorial layout: black + charcoal sections, bold uppercase type,
   TM brand blue as the single accent.
   ========================================================================== */

:root {
  --black: #000;
  --charcoal: #1c1c1c;
  --glow-1: #12414f;
  --glow-2: #0a2129;
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --text-soft: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.64);
  --blue: #67c6eb;          /* TM brand blue */
  --field: #dcdcdc;
  --field-text: #111;

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

img { height: auto; }

a { color: inherit; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #000;
  font: 600 0.85rem/1 var(--font-display);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.brand { flex: none; border-radius: 50%; }
.brand img { width: 36px; height: 36px; }

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

.nav__list {
  display: flex;
  gap: clamp(16px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  display: inline-block;
  padding: 6px 0;
  font: 500 0.82rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.25s var(--ease), color 0.2s;
}

.nav__list a:hover,
.nav__list a.is-active { background-size: 100% 1.5px; }

.social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--muted);
  transition: color 0.2s;
}

.social a:hover { color: var(--blue); }
.social svg { width: 19px; height: 19px; }

.nav__social { margin-left: auto; }

.header-cta {
  flex: none;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font: 600 0.75rem/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.header-cta.is-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.header-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #000;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }

.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 32px var(--gutter) 40px;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  body.menu-open .nav { opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; gap: 6px; }

  .nav__list a {
    font-size: clamp(2rem, 9vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    background-size: 0 3px;
  }

  .nav__list a:hover,
  .nav__list a.is-active { background-size: 100% 3px; }

  .nav__social { margin-left: 0; }
  .nav__social svg { width: 24px; height: 24px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: clamp(540px, 84vh, 880px);
  padding: var(--header-h) var(--gutter) 40px;
  overflow: hidden;
  background: #051318;
  text-align: center;
}

.hero__reel {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__track {
  display: flex;
  width: max-content;
  height: 100%;
}

.hero__track img {
  flex: none;
  width: auto;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.95);
}

.hero.is-animated .hero__track { animation: reel 140s linear infinite; }
.hero.is-paused .hero__track,
.hero.is-offscreen .hero__track { animation-play-state: paused; }

@keyframes reel {
  to { transform: translateX(-50%); }
}

/* Brand-blue duotone over the photo reel, then a vignette for legibility */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background: var(--blue);
  mix-blend-mode: multiply;
}

.hero::after {
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.6)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.75) 100%);
}

.hero__content { max-width: 760px; }

.hero__logo {
  margin: 0;
  line-height: 0;
}

.hero__logo img {
  width: min(500px, 78vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.35));
}

.hero__tagline {
  max-width: 38ch;
  text-wrap: balance;
  margin: 28px auto 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.hero__pause {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background-color 0.2s;
}

.hero__pause:hover { background: rgba(0, 0, 0, 0.8); }
.hero__pause svg { width: 14px; height: 14px; }
.hero__pause .icon-play,
.hero.is-paused .hero__pause .icon-pause { display: none; }
.hero.is-paused .hero__pause .icon-play { display: block; }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}

.section--black { background: var(--black); }
.section--charcoal { background: var(--charcoal); }

.section--glow {
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--glow-1) 0%, var(--glow-2) 40%, #040c0f 72%, #000 100%);
}

/* Fine film grain, echoing the textured backdrop of the reference */
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.section-title {
  margin: 0 0 0.35em;
  font: 700 clamp(2.4rem, 5.4vw, 3.6rem)/1 var(--font-display);
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
}

.section-title--left { text-align: left; }

.section-lede {
  max-width: 46ch;
  text-wrap: balance;
  margin: 0 auto clamp(40px, 6vw, 64px);
  color: var(--muted);
  text-align: center;
}

/* ---------- Clients grid ---------- */

/* Gallery of portrait tiles: brand-blue duotone photos at rest,
   full colour on hover. 15 clients fill a clean 5 x 3 grid. */
.client-grid {
  --cols: 5;
  --gap: clamp(6px, 0.9vw, 12px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: client;
}

.client-grid > li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  counter-increment: client;
}

@media (max-width: 1000px) { .client-grid { --cols: 3; } }
@media (max-width: 560px) { .client-grid { --cols: 2; } }

.client {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: clamp(12px, 1.4vw, 18px);
  overflow: hidden;
  background: #000;
  text-decoration: none;
}

.client__img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(1) contrast(1.15) brightness(1.18);
  transform: scale(1.02);
  transition: filter 0.6s ease, transform 1s var(--ease);
}

/* Duotone: multiply the greyscale photo with TM blue (same treatment as the hero) */
.client::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--blue);
  mix-blend-mode: multiply;
  transition: opacity 0.6s ease;
}

/* Bottom shade for the caption, plus a blue rule on hover */
.client::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.82) 100%);
  /* hairline frame keeps dark photos from melting into the black page */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 var(--blue);
  transition: box-shadow 0.35s ease;
}

.client__name {
  font: 800 clamp(0.9rem, 1.35vw, 1.12rem)/1.1 var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s var(--ease);
}

.client__name::before {
  content: counter(client, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.client:hover .client__img,
.client:focus-visible .client__img { filter: none; transform: scale(1.07); }

.client:hover::before,
.client:focus-visible::before { opacity: 0; }

.client:hover::after,
.client:focus-visible::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -3px 0 var(--blue); }

.client:hover .client__name,
.client:focus-visible .client__name { transform: translateY(-4px); }

/* Tiles whose image is the client's own logo: show the logo in white, colour on hover */
.client--logo::before { display: none; }
.client--logo .client__img {
  object-position: 50% 50%;
  filter: grayscale(1) brightness(1.7);
}

/* ---------- Services ---------- */

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(26px, 3.6vw, 40px);
  border-bottom: 1px solid var(--line);
}

.service__num {
  font: 600 0.85rem/1.9 var(--font-display);
  letter-spacing: 0.1em;
  color: var(--blue);
}

.service__title {
  margin: 0;
  font: 700 clamp(1.15rem, 2vw, 1.55rem)/1.2 var(--font-display);
  text-transform: uppercase;
}

.service__desc {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 760px) {
  .service { grid-template-columns: 40px minmax(0, 1fr); row-gap: 12px; }
  .service__desc { grid-column: 2; }
}

/* ---------- Team carousel ---------- */

.section--wave { padding-bottom: 0; }

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  margin-top: clamp(40px, 6vw, 64px);
}

.carousel__track {
  --per-view: 4;
  --gap: clamp(20px, 3vw, 40px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  margin: 0;
  padding: 4px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar { display: none; }

@media (max-width: 900px) { .carousel__track { --per-view: 2; } }
@media (max-width: 520px) { .carousel__track { --per-view: 1.35; } }

.carousel__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #e9e9e9;
  color: #111;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.carousel__btn:hover:not([disabled]) { background: var(--blue); }
.carousel__btn[disabled] { opacity: 0.25; cursor: default; }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel:not(.is-scrollable) .carousel__btn { visibility: hidden; }

@media (max-width: 520px) {
  .carousel { grid-template-columns: minmax(0, 1fr) auto auto; }
  .carousel__track { grid-column: 1 / -1; grid-row: 1; }
  .carousel__btn { grid-row: 2; margin-top: 12px; }
  .carousel__btn[data-dir="-1"] { grid-column: 2; }
  .carousel__btn[data-dir="1"] { grid-column: 3; }
}

.member {
  scroll-snap-align: start;
  text-align: center;
}

.member__photo {
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease, transform 0.5s var(--ease);
}

.member:hover .member__photo { filter: none; transform: scale(1.03); }

.member__name {
  margin: 0 0 6px;
  font: 700 1.05rem/1.25 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member__role {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.wave {
  margin-top: clamp(72px, 9vw, 120px);
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: clamp(60px, 9vw, 140px);
  fill: var(--charcoal);
}

/* ---------- About / Contact ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.split--center { align-items: center; }

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

.prose p {
  margin: 0 0 1.2em;
  color: var(--text-soft);
}

.quote {
  margin: 2.2em 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.quote p {
  margin: 0 0 22px;
  color: #fff;
  font: 500 clamp(1.08rem, 1.7vw, 1.3rem)/1.55 var(--font-display);
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.quote cite {
  font: 700 0.8rem/1.3 var(--font-display);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section--contact { padding-top: clamp(24px, 4vw, 48px); }

.contact-lede {
  max-width: 34ch;
  margin: 0 0 28px;
  color: var(--text-soft);
}

.contact-list {
  display: grid;
  gap: 22px;
  margin: 12px 0 0;
}

/* Each entry: round icon badge on the left, label + handle stacked beside it */
.contact-list > div {
  position: relative;
  padding-left: 56px;
}

.contact-list__icon {
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.contact-list__icon svg { width: 19px; height: 19px; }

.contact-list > div:hover .contact-list__icon {
  border-color: var(--blue);
  background: var(--blue);
  color: #000;
}

.contact-list dt {
  font: 700 0.78rem/1.4 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  font: 500 0.92rem/1.5 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.contact-list a {
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.contact-list a:hover { color: var(--blue); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  font: 600 0.82rem/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn--light { background: #ececec; color: #111; }
.btn--light:hover { background: var(--blue); color: #000; }

/* ---------- Form ---------- */

.form {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form__group legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.92rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 480px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

.field {
  display: grid;
  gap: 7px;
  font-size: 0.85rem;
}

.field em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--field);
  color: var(--field-text);
  font: 400 1rem/1.45 var(--font-body);
  transition: background-color 0.2s, border-color 0.2s;
}

.field textarea { resize: vertical; min-height: 140px; }

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  background: #fff;
}

.field.is-invalid input,
.field.is-invalid textarea { border-color: #ff7a7a; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.form__status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 44px;
  border-top: 1px solid var(--line);
  background: #000;
}

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

.footer__brand {
  display: block;
  line-height: 0;
}

.footer__brand img { width: auto; height: 44px; }

.footer__copy {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

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

  .hero.is-animated .hero__track { animation: none; }
  .hero__pause { display: none; }

  .js .reveal { opacity: 1; transform: none; transition: none; }

  .client__img,
  .member__photo { transition: opacity 0.2s ease; transform: none !important; }
}

/* Consistent client tiles, with full artwork visible above aligned captions. */
.client-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.client-grid > li { min-width: 0; }
.client { aspect-ratio: 1 / 1; height: 100%; box-sizing: border-box; }
.client__name { min-height: 3.6em; display: flex; flex-direction: column; justify-content: flex-end; }
.client__img { object-position: 50% 35%; }
.client--artwork .client__img { inset: 10px 10px 30%; width: calc(100% - 20px); height: calc(70% - 10px); object-fit: contain; object-position: center; filter: none; transform: none; }
.client--artwork::before { display: none; }
.client--artwork:hover .client__img { transform: none; }

@media (min-width: 901px) {
  #team .carousel__track { justify-content: center; }
}

.hero__cta { margin-top: 28px; }
#clients img[src*="powerline-management"] { object-fit: cover !important; transform: scale(1.2); }
#clients img[src*="atlaslight"] { object-position: 50% 65%; }
#clients img[src*="convictions"] { object-position: 50% 40%; }
#clients-served img[src*="scary-kids"] { object-position: 50% 65%; }
@media (max-width: 560px) { .hero__tagline { font-size: 18px; } .hero__cta { margin-top: 20px; } #contact button[type="submit"] { width: 100%; white-space: normal; } }

.testimonial-carousel .carousel__track { grid-auto-columns:calc((100% - var(--gap)) / 2); align-items:stretch; }
.testimonial-carousel .carousel__track > li { min-width:0; scroll-snap-align:start; }
.testimonial-card { margin:0; padding:28px; height:100%; box-sizing:border-box; background:#111; border:1px solid #333; border-radius:12px; }
.testimonial-photo { display:block; width:90px; height:90px; border-radius:50%; object-fit:cover; margin-bottom:24px; }
.testimonial-card p { font-size:17px; line-height:1.65; }
.testimonial-card footer { margin-top:24px; }
@media(max-width:700px) { .testimonial-carousel .carousel__track { grid-auto-columns:88%; } .testimonial-card { padding:22px; } }

.quote .testimonial-photo { width:90px; height:90px; max-width:none; }

.featured-project { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,80px); align-items:center; margin-top:48px; }
.featured-project__image { display:block; width:100%; max-width:520px; height:auto; margin:auto; }
.featured-project__copy h3 { font-size:clamp(30px,4vw,48px); line-height:1.1; margin:12px 0; }
.featured-project__eyebrow { text-transform:uppercase; letter-spacing:.12em; color:var(--blue); font-size:13px; }
.featured-project__subtitle { font-size:22px; margin:0 0 24px; }
.featured-project__result { display:inline-block; padding:8px 14px; background:#ff5028; color:white; text-transform:uppercase; font-weight:700; }
.featured-project__copy > p:not(.featured-project__eyebrow):not(.featured-project__result) { line-height:1.7; }
.featured-project__copy h4 { margin:28px 0 12px; text-transform:uppercase; letter-spacing:.08em; }
.featured-project__copy ul { padding-left:20px; line-height:1.9; margin-bottom:30px; }
@media(max-width:700px) { .featured-project { grid-template-columns:1fr; } .featured-project__copy .btn { white-space:normal; text-align:center; } }


/* A compact client history keeps featured campaigns at the center of the page. */
#clients-served { padding-block:clamp(56px,7vw,88px); }
#clients-served .client-grid { --cols:6; --gap:12px; }
#clients-served .client { aspect-ratio:1; padding:12px; }
#clients-served .client__name { font-size:13px; line-height:1.2; min-height:0; letter-spacing:.02em; overflow-wrap:normal; }
#clients-served .client__name::before { display:none; }
.hero__tagline { max-width:42ch; font-size:clamp(18px,2vw,24px); }
@media(max-width:1000px) { #clients-served .client-grid { --cols:4; } }
@media(max-width:600px) { #clients-served .client-grid { --cols:3; --gap:8px; } #clients-served .client { padding:8px; } #clients-served .client__name { font-size:11px; } }

.served-preview { text-align:center; border-top:1px solid var(--line); }
.served-preview .section-lede { margin-bottom:28px; }


/* Featured campaigns: aligned cards with horizontal browsing. */
.campaign-carousel { grid-template-columns:minmax(0,1fr) auto auto; align-items:stretch; }
.campaign-carousel .carousel__track { --gap:24px; grid-column:1 / -1; grid-row:1; grid-auto-columns:calc((100% - var(--gap)) / 2); align-items:stretch; padding:2px; }
.campaign-carousel .carousel__track > li { min-width:0; scroll-snap-align:start; }
.campaign-carousel .carousel__btn { grid-row:2; margin-top:12px; }
.campaign-carousel .carousel__btn[data-dir="-1"] { grid-column:2; }
.campaign-carousel .carousel__btn[data-dir="1"] { grid-column:3; }
.campaign-carousel .featured-project { display:flex; flex-direction:column; align-items:stretch; gap:0; margin:0; height:100%; background:#101010; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.campaign-carousel .featured-project__image { width:100%; max-width:none; height:360px; object-fit:contain; background:#080808; padding:20px; margin:0; }
.campaign-carousel .featured-project__copy { padding:28px; display:flex; flex-direction:column; flex:1; }
.campaign-carousel .featured-project__copy h3 { font-size:32px; margin:10px 0; }
.campaign-carousel .featured-project__eyebrow { font-size:12px; margin:0; }
.campaign-carousel .featured-project__subtitle { font-size:21px; margin:0 0 16px; }
.campaign-carousel .featured-project__result { align-self:flex-start; font-size:13px; margin:0 0 16px; }
.campaign-carousel .featured-project__copy p { font-size:15px; line-height:1.65; }
.campaign-carousel .featured-project__copy h4 { font-size:13px; margin:20px 0 10px; }
.campaign-carousel .featured-project__copy ul { margin:0 0 16px; font-size:15px; line-height:1.7; }
.campaign-carousel .featured-project__copy > div:last-child { margin-top:auto !important; padding-top:8px; }
.campaign-carousel .featured-project__copy > div:last-child p { margin-bottom:0; color:var(--muted); }
.campaign-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:24px; margin-top:40px; }
.campaign-actions__more { font-size:14px; font-weight:600; text-underline-offset:5px; }
@media(max-width:800px) { .campaign-carousel .carousel__track { grid-auto-columns:88%; --gap:16px; } .campaign-carousel .featured-project__image { height:280px; padding:16px; } .campaign-carousel .featured-project__copy { padding:22px; } .campaign-carousel .featured-project__copy h3 { font-size:28px; } }


@media(min-width:901px) and (max-width:1200px) {
  .site-header__inner { gap:20px; }
  .nav { gap:16px; }
  .nav__list { gap:14px; }
  .nav__list a { white-space:nowrap; font-size:12px; }
  .nav__social { gap:8px; }
}


/* Transparent blue highlights the words that lead each section. */
.section-title__accent { color:var(--blue); }
.nav__list a.is-active,
.nav__list a[aria-current="page"] { color:var(--blue); }
.campaign-actions__more { color:var(--blue); }
.campaign-actions__more:hover { color:#fff; }
