.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
* { box-sizing: border-box; }
:root {
  --ink: #080808;
  --paper: #fbfaf7;
  --muted: #6b665e;
  --line: rgba(8, 8, 8, .14);
  --gold: #ffc21a;
  --orange: #f59b22;
  --purple: #7145a4;
  --green: #1a332f;
  --white: #fff;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.site {
  min-height: 100vh;
  overflow-x: clip;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 247, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav img { width: 184px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3c3934;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--purple);
}
.nav-links a.is-active {
  font-weight: 800;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

/* ── Buttons ── */
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.pill-button:hover { transform: translateY(-1px); }
.pill-button.secondary {
  background: transparent;
  color: var(--ink);
}
.pill-button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.pill-button.hero-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: var(--white);
}
.pill-button.hero-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .65);
}
.pill-button.cta-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: var(--white);
}
.pill-button.cta-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
}

/* ── Hero (dark with background image) ── */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) clamp(18px, 4vw, 54px) 18px;
  background: var(--ink);
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg.is-active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .68) 0%, rgba(8, 8, 8, .82) 55%, rgba(8, 8, 8, .95) 100%),
    radial-gradient(circle at 82% 16%, rgba(255, 194, 26, .14), transparent 30%),
    radial-gradient(circle at 8% 84%, rgba(113, 69, 164, .1), transparent 30%);
}
.hero-grid {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
h1 {
  margin: 20px auto 0;
  max-width: 1040px;
  font-size: clamp(44px, 6.4vw, 94px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 800;
  color: var(--white);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin: 34px auto 0;
  max-width: 560px;
}
.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 1.4vw, 22px);
  text-align: center;
}
.hero-copy strong {
  color: var(--white);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Ticker ── */
.ticker {
  max-width: 1440px;
  width: 100%;
  margin: 38px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  animation: ticker-scroll 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .55);
  font-size: clamp(15px, 1.45vw, 21px);
  font-weight: 650;
}
.ticker .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .72;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(7px, 1.2vw, 15px))); }
}

/* ── Sections ── */
.section {
  padding: clamp(64px, 9vw, 128px) clamp(18px, 4vw, 54px);
}
.alt {
  background: #f2efe8;
}

/* ── Scroll animations ── */
.section,
.metric,
.case,
.service-card,
.process-card,
.testimonial-card,
.cta {
  animation: rise-in .72s cubic-bezier(.2, .8, .2, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}
.metric:nth-child(2),
.case:nth-child(2),
.service-card:nth-child(2),
.process-card:nth-child(2),
.testimonial-card:nth-child(2) { animation-delay: .08s; }
.metric:nth-child(3),
.case:nth-child(3),
.service-card:nth-child(3),
.process-card:nth-child(3),
.testimonial-card:nth-child(3) { animation-delay: .16s; }
.metric:nth-child(4),
.case:nth-child(4),
.service-card:nth-child(4),
.process-card:nth-child(4) { animation-delay: .24s; }
.service-card:nth-child(5) { animation-delay: .32s; }
.service-card:nth-child(6) { animation-delay: .4s; }
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Layout ── */
.inner {
  max-width: 1440px;
  margin: 0 auto;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-image img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 16px 60px rgba(8, 8, 8, .12);
}

/* ── Typography ── */
.section-label {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.lead {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 82px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}
.lead mark {
  background: transparent;
  color: var(--gold);
}
.intro-note {
  margin: 28px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}
.section-title {
  margin: 8px 0 0;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .95;
  letter-spacing: 0;
}

/* ── Metrics ── */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 86px);
}
.metric {
  padding: 28px clamp(16px, 3vw, 36px);
  border-right: 1px solid var(--line);
  text-align: center;
}
.metric:last-child { border-right: 0; }
.metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: .9;
}
.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

/* ── Service cards ── */
.services {
  background: #f2efe8;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  color: inherit;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.service-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.service-card:hover .service-card-media img {
  transform: scale(1.06);
}
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: clamp(22px, 2.5vw, 32px);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 194, 26, .14), rgba(113, 69, 164, .1));
  opacity: 0;
  transition: opacity .22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(113, 69, 164, .32);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(8, 8, 8, .08);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-card-num {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}
.service-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}
.service-card:hover .service-card-cta,
.service-card:focus-visible .service-card-cta {
  background: var(--gold);
  color: var(--ink);
}
.service-card-arrow {
  font-size: 16px;
  transition: transform .2s ease;
}
.service-card:hover .service-card-arrow {
  transform: translateX(4px);
}

/* ── Clients ticker ── */
.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 46px;
  overflow: hidden;
  white-space: nowrap;
  color: #4b4740;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 800;
}
.clients-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  animation: logo-scroll 28s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.clients b { color: var(--gold); }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 14px)); }
}

/* ── Work section ── */
.dark {
  background: var(--ink);
  color: var(--white);
}
.dark .section-label { color: var(--gold); }
.work-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.work-head h2 {
  margin: 8px 0 0;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .95;
}
.work-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

/* ── Case cards ── */
.case {
  min-height: 440px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, .12);
}
.case.large { min-height: 620px; }
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .18) 58%),
    rgba(0, 0, 0, .18);
  z-index: 1;
}
.case-link {
  display: block;
  min-height: inherit;
  color: inherit;
}
.case-link::after {
  content: "\2197";
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .44);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.case:hover .case-link::after {
  transform: translate(2px, -2px);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.case-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 34px);
}
.case-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease;
}
.case:hover .case-image {
  transform: scale(1.07);
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.case h3 {
  margin: 18px 0 8px;
  max-width: 580px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 58px);
  line-height: .98;
}
.case p {
  margin: 0;
  max-width: 470px;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
}

/* ── Photo showcase ── */
.photo-showcase {
  overflow: hidden;
  padding: 6px 0;
  background: var(--ink);
}
.photo-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: photo-scroll 50s linear infinite;
}
.photo-track:hover {
  animation-play-state: paused;
}
.photo-track img {
  height: clamp(200px, 24vw, 300px);
  width: auto;
  max-width: none;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  transition: filter .3s ease;
}
.photo-track img:hover {
  filter: brightness(1.1);
}
@keyframes photo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 4px)); }
}

/* ── Process grid ── */
.process-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-card {
  min-height: 320px;
  background: var(--paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process-card span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.process-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.testimonial-card {
  margin: 0;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(8, 8, 8, .08);
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: .3;
  font-family: Georgia, "Times New Roman", serif;
}
.testimonial-card p {
  margin: 0;
  padding-top: 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}
.testimonial-card footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial-card footer strong {
  display: block;
  font-size: 15px;
}
.testimonial-card footer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* ── CTA ── */
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: clamp(46px, 7vw, 86px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(113, 69, 164, .92), rgba(8, 8, 8, .96)),
    var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.cta::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .75;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(46px, 7vw, 102px);
  line-height: .92;
}
.cta p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: end;
}
.cta-doodle {
  position: absolute;
  bottom: 24px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 194, 26, .35);
  z-index: 0;
  animation: gentle-spin 22s linear infinite;
}
@keyframes gentle-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Footer ── */
.footer {
  padding: 54px clamp(18px, 4vw, 54px) 30px;
  background: var(--ink);
  color: var(--white);
}
.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr .8fr;
  gap: 34px;
}
.footer img { width: 210px; }
.footer p,
.footer a {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}
.footer p { max-width: 340px; margin: 18px 0 0; }
.footer h4 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer a { display: block; margin-top: 9px; }
.footer-social-spaced {
  margin-top: 18px;
}
.social-list {
  display: grid;
  gap: 10px;
}
.footer .social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}
.social-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .72);
  flex: 0 0 auto;
}
.social-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  display: block;
}
.social-icon.instagram::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-3.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-3.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.social-icon.x::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.7 10.4 22.2 2h-1.8l-6.5 7.3L8.7 2h-6l7.9 11.2L2.7 22h1.8l6.9-7.7 5.5 7.7h6l-8.2-11.6Zm-2.4 2.7-.8-1.1L5.1 3.3h2.7l5.1 7 .8 1.1 6.8 9.3h-2.7l-5.5-7.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.7 10.4 22.2 2h-1.8l-6.5 7.3L8.7 2h-6l7.9 11.2L2.7 22h1.8l6.9-7.7 5.5 7.7h6l-8.2-11.6Zm-2.4 2.7-.8-1.1L5.1 3.3h2.7l5.1 7 .8 1.1 6.8 9.3h-2.7l-5.5-7.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.social-icon.facebook::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v3H6v4h3v6h4v-6h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v3H6v4h3v6h4v-6h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.social-link:hover .social-icon {
  color: var(--gold);
  border-color: rgba(255, 194, 26, .45);
}
.footer-bottom {
  max-width: 1440px;
  margin: 44px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
}

/* ── Nav toggle (mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 980px) {
  .nav { align-items: center; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px clamp(18px, 4vw, 54px) 18px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a.is-active::after { display: none; }
  .hero { min-height: auto; }
  .hero-grid,
  .split,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split-image { order: -1; }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .metrics,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: row;
  }
}
@media (max-width: 640px) {
  .nav img { width: 150px; }
  .pill-button { min-height: 40px; padding: 0 14px; font-size: 13px; }
  h1 { font-size: 42px; }
  .metrics,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metric:last-child { border-bottom: 0; }
  .case,
  .case.large {
    min-height: 430px;
  }
  .work-head {
    align-items: start;
    flex-direction: column;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .clients-track,
  .ticker-track,
  .photo-track {
    animation: none !important;
  }
}

/* ── Footer: newsletter + IPN ── */
.footer-cta {
  max-width: 1440px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}
.footer-cta-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-cta-card:last-child {
  background: linear-gradient(135deg, rgba(113, 69, 164, .45), rgba(113, 69, 164, .12));
  border-color: rgba(113, 69, 164, .5);
}
.footer-cta-card h4 {
  color: var(--gold);
}
.footer .footer-cta-title {
  max-width: 460px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.35;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin-top: auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font: inherit;
  font-size: 14px;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, .5);
}
.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.footer .footer-cta-button {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
.footer .footer-cta-button:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 980px) {
  .footer-cta {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ── Announcement bar (IPN) — sticks above the nav, dismissible ── */
:root { --announce-h: 0px; }
body:has(.announce-bar) { --announce-h: 41px; }
.ipn-bar-closed body { --announce-h: 0px; }
.ipn-bar-closed .announce-bar { display: none; }
.announce-bar {
  position: sticky;
  top: 0;
  z-index: 21;
  display: flex;
  align-items: center;
  background: #1e1033;
  color: var(--white);
}
.nav {
  top: var(--announce-h);
}
.announce-bar-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 10px 48px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.announce-bar-spark {
  color: var(--gold);
}
.announce-bar-link {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.announce-bar-text:hover .announce-bar-link,
.announce-bar-text:focus-visible .announce-bar-link {
  color: var(--white);
}
.announce-bar-close {
  position: absolute;
  right: clamp(8px, 2vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.announce-bar-close:hover,
.announce-bar-close:focus-visible {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}
@media (max-width: 640px) {
  .announce-bar-text { font-size: 13px; padding: 8px 44px 8px 16px; }
  .announce-bar-spark { display: none; }
}
