/* =========================================================
   Miguel Mendonça - Portfolio
   Original build. Cuberto-style techniques, original code.
   ========================================================= */

:root {
  --bg: #ffffff;          /* white */
  --bg-2: #f1f1f1;
  --ink: #0e0e0e;         /* near-black */
  --ink-soft: #6e6e6e;
  --line: rgba(0,0,0,.13);
  --accent: #0e0e0e;      /* black & white - no colour accent */
  --radius: 14px;
  --ease: cubic-bezier(.16,1,.3,1);
  --container: 88vw;
  --gutter: clamp(20px, 6vw, 120px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Prevent typographic widows and awkward single-word final lines. */
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li, figcaption) { text-wrap: pretty; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.text-link { text-decoration: underline; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

::selection { background: var(--accent); color: #fff; }

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
}
.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  width: min(80vw, 760px);
}
.preloader__count {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(60px, 14vw, 180px); font-weight: 600; line-height: 1;
  display: flex; align-items: baseline;
}
.preloader__count i { font-size: .35em; font-style: normal; opacity: .5; margin-left: .1em; }
.preloader__word {
  display: flex; gap: .25em; overflow: hidden;
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(14px, 2vw, 22px); text-transform: uppercase; letter-spacing: .2em;
}
.preloader__word span { transform: translateY(110%); display: inline-block; }
.preloader__curtain {
  position: absolute; inset: 0; background: var(--bg);
  transform: scaleY(0); transform-origin: bottom; z-index: -1;
}

/* ---------------- Header ---------------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 2.4vw, 34px) var(--gutter);
  mix-blend-mode: difference; color: #fff;
  transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: clamp(188px, 18vw, 270px);
}
.header__logo-text {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
}
.header__logo-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  fill: currentColor;
}
.header__nav { display: flex; gap: clamp(16px, 2vw, 38px); }
.header__nav a {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(16px, 1.3vw, 19px); position: relative; padding: 4px 0;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__menu-toggle { display: none; }
.header__quick-contact { display: none; }
.header__menu-socials { display: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(40px, 6vw, 90px);
  overflow: visible;
}
.hero__eyebrow {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .28em; font-size: clamp(11px, 1vw, 13px);
  color: var(--ink-soft); margin-bottom: clamp(14px, 2vw, 26px);
}
.hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(64px, 18vw, 320px); line-height: .86;
  letter-spacing: -.02em; text-transform: none;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(105%); }
.hero__meta {
  margin-top: clamp(20px, 3vw, 40px); max-width: 46ch;
  font-size: clamp(15px, 1.3vw, 20px); color: var(--ink-soft);
}
.hero__meta .reveal-line span { display: block; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 90px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: "Space Grotesk", sans-serif; font-size: 12px;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ink-soft);
}
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }
.hero__shape {
  position: absolute; top: 12%; right: 8%;
  width: clamp(220px, 30vw, 520px); aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, #3a3a3a, var(--accent) 60%, #000);
  border-radius: 50%; filter: blur(2px); opacity: .9; z-index: -1;
  mix-blend-mode: multiply;
}

/* ---------------- Marquee ---------------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(14px, 1.6vw, 22px) 0; overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--bg);
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(22px, 3.2vw, 46px); padding-right: .4em;
}

/* ---------------- Statement ---------------- */
.statement {
  padding: clamp(90px, 16vw, 220px) var(--gutter);
  max-width: 1500px;
}
.statement__text {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(28px, 5.6vw, 92px); line-height: 1.06; letter-spacing: -.02em;
}
.statement__text .word { display: inline-block; opacity: .14; transition: opacity .1s linear; }

/* ---------------- Section head ---------------- */
.section-head {
  display: flex; align-items: baseline; gap: 18px;
  padding: 0 var(--gutter); margin-bottom: clamp(36px, 5vw, 70px);
}
.section-head__index {
  font-family: "Space Grotesk", sans-serif; color: var(--accent);
  font-size: 14px; font-weight: 600; letter-spacing: .1em;
}
.section-head__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(28px, 5vw, 72px); letter-spacing: -.02em; line-height: 1;
}

/* ---------------- Reveal helpers ---------------- */
.reveal-line { overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); }
.reveal-block { opacity: 0; transform: translateY(28px); }

/* ---------------- Work / Projects ---------------- */
.work { padding-bottom: clamp(60px, 10vw, 140px); }
.projects {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 5vw, 90px) clamp(24px, 4vw, 60px);
  padding: 0 var(--gutter);
}
.project { display: block; position: relative; }
.project:nth-child(odd) { margin-top: 0; }
.project:nth-child(even) { margin-top: clamp(0px, 10vw, 130px); }
.project__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--bg-2);
}
.project__media img, .project__media video {
  position: absolute; inset: -8% 0; width: 100%; height: 116%;
  object-fit: cover; will-change: transform;
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.project:hover .project__media img,
.project:hover .project__media video { transform: scale(1.05); }
.project__media::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(1); transform-origin: top; z-index: 2;
}
.project.is-in .project__media::after { animation: wipe 1s var(--ease) forwards; }
@keyframes wipe { to { transform: scaleY(0); transform-origin: bottom; } }
.project__info {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(14px, 1.6vw, 22px);
}
.project__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.01em; line-height: 1;
}
.project__tags { color: var(--ink-soft); font-size: clamp(13px, 1vw, 15px); }
.project__year {
  margin-left: auto; font-family: "Space Grotesk", sans-serif;
  color: var(--ink-soft); font-size: 14px;
}

/* ---------------- About ---------------- */
.about { padding: clamp(80px, 12vw, 180px) 0; background: var(--bg); color: var(--ink); }
.about .section-head__index { color: var(--accent); }
.about__grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 5vw, 80px); padding: 0 var(--gutter);
  align-items: start; max-width: 1600px; margin-inline: auto;
}
.about .section-head { max-width: 1400px; margin-inline: auto; }
.about__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}
.about__media img {
  position: absolute; inset: -10% 0; width: 100%; height: 120%;
  object-fit: cover; will-change: transform;
}
.about__lead {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(21px, 2.45vw, 34px); line-height: 1.25; letter-spacing: -.01em;
  margin-bottom: 1.4em;
}
.about__body p { margin-bottom: 1.3em; color: var(--ink-soft); max-width: 60ch; }
.about__body .about__lead { color: var(--ink); }
.about__list { list-style: none; margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--line); }
.about__list li {
  display: flex; align-items: center; gap: 18px;
  font-family: "Space Grotesk", sans-serif; font-size: clamp(18px, 2vw, 28px);
  padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), color .4s var(--ease);
}
.about__list li span { color: var(--accent); font-size: 13px; }
.about__list li:hover { padding-left: 18px; color: var(--ink); }
.about__list li { padding: 0; }
.about__list li:hover { padding-left: 0; }
.about__list li a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: clamp(72px, 7vw, 96px);
  padding: 0 4px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0;
  transition: padding .45s var(--ease), background-size .7s var(--ease), color .3s ease;
}
.about__list li a strong { font: inherit; font-weight: 400; }
.about__list li a i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: normal 18px/1 "Inter", sans-serif;
  transition: transform .4s var(--ease), background-color .3s ease, color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .about__list li a:hover,
  .about__list li a:focus-visible {
    padding-inline: 18px;
    background-size: 100% 100%;
    color: #fff;
  }
  .about__list li a:hover span,
  .about__list li a:focus-visible span { color: #fff; }
  .about__list li a:hover i,
  .about__list li a:focus-visible i {
    background: #fff;
    color: var(--ink);
    transform: translateX(5px);
  }
}

.about__services-cta {
  position: relative; overflow: hidden; margin-top: clamp(42px, 6vw, 72px);
  grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.22fr);
  grid-template-rows: auto 1fr; column-gap: clamp(50px, 7vw, 110px);
  padding: clamp(34px, 4vw, 58px); border: 1px solid rgba(0,0,0,.1);
  border-radius: clamp(22px, 2.6vw, 36px);
  background: linear-gradient(145deg, #f5f4ef 0%, #e9e8e2 100%); color: var(--ink);
}
.about__services-cta::after {
  display: none;
}
.about__services-cta .about__services-eyebrow {
  margin: 0 0 22px; color: var(--ink-soft);
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
}
.about__services-cta h3 {
  position: relative; z-index: 1; max-width: 13ch; margin: 0;
  font: 500 clamp(34px, 3.8vw, 54px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}
.about__services-links {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr;
  grid-column: 2; grid-row: 1 / span 2; align-self: stretch;
  counter-reset: service; gap: 0;
  margin-top: 0; border-top: 1px solid rgba(0,0,0,.16);
}
.about__services-links a {
  position: relative; counter-increment: service;
  display: grid; grid-template-columns: 34px minmax(0,1fr) 36px;
  align-items: center; gap: 12px; min-width: 0;
  padding: 24px 22px 24px 0; border: 0; border-bottom: 1px solid rgba(0,0,0,.16);
  border-radius: 0; background: transparent;
  transition: padding-left .5s var(--ease), color .35s ease;
}
.about__services-links a::before {
  content: "0" counter(service); align-self: start;
  color: var(--ink-soft); font: 600 10px/1.4 "Space Grotesk", sans-serif;
  letter-spacing: .08em;
}
.about__services-links a::after {
  content: "\2197"; display: grid; place-items: center;
  width: 34px; height: 34px; border: 0; border-radius: 0;
  font: 400 18px/1 "Space Grotesk", sans-serif;
  transition: transform .5s var(--ease);
}
.about__services-links a:nth-child(odd),
.about__services-links a:nth-child(even) { border-right: 0; }
.about__services-links a:nth-child(odd) { padding-left: 0; padding-right: 28px; }
.about__services-links a:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(0,0,0,.16); }
.about__services-links a:hover,
.about__services-links a:focus-visible {
  background: transparent; border-color: rgba(0,0,0,.16); transform: none;
}
.about__services-links a:nth-child(even):hover,
.about__services-links a:nth-child(even):focus-visible { padding-left: 34px; }
.about__services-links a:nth-child(odd):hover,
.about__services-links a:nth-child(odd):focus-visible { padding-left: 6px; }
.about__services-links a:hover::after,
.about__services-links a:focus-visible::after {
  background: transparent; color: var(--ink); transform: translate(3px,-3px);
}
.about__services-links span {
  grid-column: 2; font: 600 clamp(16px, 1.45vw, 20px)/1.25 "Space Grotesk", sans-serif;
}
.about__services-links small { grid-column: 2; color: var(--ink-soft); font-size: 13px; }
.about__services-links a::after { grid-column: 3; grid-row: 1 / span 2; }

@media (max-width: 1000px) {
  .about__services-cta { display: block; }
  .about__services-links { margin-top: 42px; }
}

@media (max-width: 640px) {
  .header__logo {
    width: clamp(168px, 40vw, 220px);
  }
}

/* ---------------- Contact ---------------- */
.contact { padding: clamp(80px, 14vw, 200px) var(--gutter) clamp(30px, 4vw, 50px); }
.contact__eyebrow {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .2em; color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 24px;
}
.contact__cta {
  display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(52px, 13vw, 200px); line-height: .9; letter-spacing: -.03em;
}
.contact__cta-arrow {
  font-size: 1em; line-height: .7; transition: transform .5s var(--ease);
  color: var(--accent);
}
.contact__cta:hover .contact__cta-arrow { transform: translateX(.3em) rotate(-12deg); }
.contact__cta-text {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 3px;
  transition: background-size .55s var(--ease);
}
.contact__cta:hover .contact__cta-text,
.contact__cta:focus-visible .contact__cta-text { background-size: 100% 3px; }
.contact__sub { margin-top: clamp(24px, 3vw, 40px); max-width: 44ch; color: var(--ink-soft); font-size: clamp(15px, 1.3vw, 19px); }
.contact__engagement {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px); max-width: 980px;
  margin-top: clamp(34px, 5vw, 64px); padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact__engagement p { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.contact__engagement strong {
  flex-basis: 100%; margin-bottom: 5px;
  font: 600 11px/1.3 "Space Grotesk", sans-serif;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft);
}
.contact__engagement span {
  display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 13px/1.25 "Space Grotesk", sans-serif;
}
.contact__foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-top: clamp(70px, 12vw, 160px); padding-top: 24px; border-top: 1px solid var(--line);
}
.contact__socials { display: flex; gap: clamp(16px, 2vw, 34px); }
.contact__socials a { font-family: "Space Grotesk", sans-serif; font-weight: 500; position: relative; }
.contact__socials a::after {
  content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.contact__socials a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__copy { color: var(--ink-soft); font-size: 14px; }

/* ---------------- Filterable work index ---------------- */
.work-index {
  max-width: 1600px; margin: 0 auto;
  padding: clamp(104px, 13vh, 160px) var(--gutter) clamp(90px, 12vw, 170px);
}
.work-index__head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(34px, 7vw, 120px); align-items: end;
  padding-bottom: clamp(30px, 4vw, 56px);
}
.work-index h1 {
  max-width: 20ch; font: 500 clamp(44px, 6vw, 96px)/.98 "Space Grotesk", sans-serif;
  letter-spacing: -.055em; text-wrap: balance;
}
.work-index__intro { max-width: 37ch; color: var(--ink-soft); font-size: clamp(16px, 1.35vw, 20px); }
.work-filters {
  position: sticky; top: var(--work-filter-offset, 96px); z-index: 700;
  transition: top .5s var(--ease);
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
}
.work-filters::-webkit-scrollbar { display: none; }
.header.is-hidden + main .work-filters { top: 12px; }
.work-filters button {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  font: 500 16px/1 "Space Grotesk", sans-serif;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.work-filters button span { color: var(--ink-soft); font-size: 12px; }
.work-filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-filters button.is-active span { color: rgba(255,255,255,.6); }
.work-catalog {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 8vw, 120px) clamp(24px, 4vw, 64px);
  padding-top: clamp(36px, 5vw, 70px);
}
.work-card { display: block; min-width: 0; }
.work-card:nth-child(even) { margin-top: clamp(60px, 9vw, 140px); }
.work-card[hidden], .work-card.is-filtered-out { display: none !important; }
.work-filter-used .work-card:not(.is-filtered-out) { opacity: 1 !important; transform: none !important; visibility: visible !important; }
.work-card__media {
  aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: clamp(16px, 2vw, 28px);
  background: var(--bg-2);
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease); will-change: transform;
}
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__copy { padding-top: 20px; }
.work-card__copy p {
  display: flex; justify-content: space-between; gap: 20px;
  color: var(--ink-soft); font: 500 11px/1.4 "Space Grotesk", sans-serif;
  letter-spacing: .1em; text-transform: uppercase;
}
.work-card__copy h2 {
  margin-top: 12px; font: 500 clamp(30px, 3.4vw, 54px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}
.work-card__copy h3 {
  max-width: 34ch; margin-top: 10px; color: var(--ink-soft);
  font: 400 clamp(15px, 1.25vw, 18px)/1.45 "Inter", sans-serif;
}
.work-empty { padding: 80px 0; color: var(--ink-soft); }

/* ---------------- Motion graphics page ---------------- */
.motion-page {
  max-width: 1500px; margin: 0 auto; padding: clamp(120px, 18vw, 220px) var(--gutter) 0;
}

.motion-hero {
  max-width: 980px; margin: 0 auto clamp(42px, 6vw, 90px);
}

.motion-hero__eyebrow {
  font: 600 clamp(11px, 1vw, 13px)/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 18px;
}

.motion-hero h1 {
  font: 500 clamp(42px, 6vw, 96px)/.96 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
  max-width: 18ch;
}

.motion-hero__intro {
  margin-top: 22px; max-width: 56ch; color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 22px); line-height: 1.55;
}

.motion-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(80px, 12vw, 180px);
}

.motion-card {
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
}

.motion-card.is-featured { grid-column: 1 / -1; }

.motion-card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #111; border: 1px solid rgba(0,0,0,.08);
  aspect-ratio: 16 / 9; isolation: isolate;
}

.motion-card__thumbnail,
.motion-card__video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}

.motion-card__thumbnail {
  object-fit: cover; filter: saturate(0.95) contrast(1.04);
  transition: transform .7s var(--ease), opacity .25s ease;
}

.motion-card:hover .motion-card__thumbnail,
.motion-card:focus-within .motion-card__thumbnail {
  transform: scale(1.02);
}

.motion-card__play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; width: 100%; height: 100%;
  min-width: 0; border: 0; border-radius: inherit;
  background: transparent; color: #fff; font-size: 0; cursor: pointer;
}

.motion-card__play::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 0; height: 0; transform: translate(-35%, -50%);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.motion-card__play::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 58px; height: 58px; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  background: rgba(0,0,0,.64); backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease;
}

.motion-card__play:hover::after,
.motion-card__play:focus-visible::after {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255,255,255,.9);
}

.motion-card__play:hover::before,
.motion-card__play:focus-visible::before {
  border-left-color: #111;
}

.motion-card__play:focus-visible {
  outline: 2px solid #fff; outline-offset: -5px;
}

.motion-card__video {
  border: 0; opacity: 0; pointer-events: none; background: #000;
  transition: opacity .25s ease;
}

.motion-card.is-playing .motion-card__video {
  opacity: 1; pointer-events: auto;
}

.motion-card.is-playing .motion-card__thumbnail,
.motion-card.is-playing .motion-card__play {
  opacity: 0; visibility: hidden;
}

.motion-card__content {
  display: flex; flex-direction: column; gap: 12px;
}

.motion-card__meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  color: var(--ink-soft); font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .12em; text-transform: uppercase;
}

.motion-card__meta span {
  display: inline-flex; align-items: center; gap: 10px;
}

.motion-card__meta span + span::before {
  content: "\2022"; color: var(--ink-soft); margin-right: 2px;
}

.motion-card h2 {
  font: 500 clamp(30px, 3.4vw, 52px)/.98 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}

.motion-card p {
  color: var(--ink-soft); max-width: 52ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55;
}

.motion-card__links {
  display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 4px;
}

.motion-card__links a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font: 500 14px/1.2 "Space Grotesk", sans-serif; color: var(--ink);
}

.motion-card__links a::after {
  content: "\2192"; transition: transform .35s var(--ease);
}

.motion-card__links a:hover::after,
.motion-card__links a:focus-visible::after {
  transform: translateX(3px);
}

.motion-card__links a[href*="youtube.com"]::after,
.motion-card__links a[href*="youtu.be"]::after {
  content: ""; width: 0; height: 0;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.video-modal {
  position: fixed; inset: 0; width: min(92vw, 1120px); max-width: none;
  max-height: none; margin: auto; padding: 0; overflow: visible;
  border: 0; background: transparent; color: #fff;
}

.video-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }

.video-modal__close {
  position: absolute; right: 0; top: -52px; z-index: 1;
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff;
  font: 400 28px/1 "Inter", sans-serif; cursor: pointer;
}

.video-modal__close:hover,
.video-modal__close:focus-visible { background: #fff; color: #111; }

.video-modal__frame {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}

.video-modal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 880px) {
  .motion-grid { grid-template-columns: 1fr; }
  .motion-card.is-featured { grid-column: auto; }
}

@media (max-width: 640px) {
  .motion-page { padding-top: 110px; }
  .video-modal { width: calc(100vw - 32px); }
  .video-modal__close { top: -48px; }
  .motion-card__meta { letter-spacing: .08em; }
}

@media (hover: none), (pointer: coarse) {
  .work-card:hover .work-card__media img { transform: none; }
}

/* ---------------- Magnetic ---------------- */
[data-magnetic] { display: inline-flex; will-change: transform; }

/* =========================================================
   Homepage (landing) - centered hero, banner, intro, black work
   ========================================================= */

/* Centered hero */
.home-hero {
  text-align: center; max-width: 1100px; margin: 0 auto;
  padding: clamp(140px, 22vh, 250px) var(--gutter) clamp(34px, 5vw, 64px);
}
.home-hero__eyebrow {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .22em; font-size: clamp(11px, 1vw, 13px); color: var(--ink-soft);
  margin-bottom: clamp(22px, 3vw, 36px); opacity: 0; transform: translateY(14px);
}
.home-hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(32px, 5vw, 76px); line-height: 1.02; letter-spacing: -.025em;
}
.home-hero__title .line { display: block; overflow: hidden; }
.home-hero__title .line > span { display: block; transform: translateY(105%); }
.home-hero__sub {
  margin: clamp(22px, 3vw, 34px) auto 0; max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 20px); color: var(--ink-soft);
  opacity: 0; transform: translateY(14px);
}

#hero .home-hero__cta {
  width: auto;
  margin-top: clamp(20px, 2vw, 28px);
}

@media (min-width: 960px) {
  #hero.home-hero { max-width: 1440px; padding-inline: clamp(24px, 4vw, 72px); }
  #hero .home-hero__sub { max-width: 1120px; font-size: clamp(16px, 1.35vw, 20px); }
  #hero .home-hero__sub > span { display: block; }
}

/* Banner */
.home-banner { position: relative; max-width: 1500px; margin: 0 auto clamp(60px, 10vw, 140px); padding: 0 var(--gutter); }
.home-banner__img {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-2);
}
.home-banner__img img, .home-banner__img video { width: 100%; height: 118%; object-fit: cover; position: relative; top: -9%; will-change: transform; }
.home-banner__play {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: none; align-items: center; gap: 10px; padding: 15px 22px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  background: rgba(0,0,0,.72); color: #fff; backdrop-filter: blur(8px);
  font: 600 14px "Space Grotesk", sans-serif; cursor: pointer;
}
.home-banner__img.needs-play .home-banner__play { display: inline-flex; }
.home-banner__play:hover { background: #fff; color: #000; }
.home-banner__avatar {
  position: absolute; right: calc(var(--gutter) - 28px); top: 50%; transform: translateY(-50%);
  width: clamp(72px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 5px solid var(--bg); box-shadow: 0 14px 44px rgba(0,0,0,.18);
}
.home-banner__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Pill button */
.pill {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(10px, 1.6vw, 20px);
  padding: 16px 32px; border: 1px solid var(--ink); border-radius: 100px;
  font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 15px;
  overflow: hidden; background: transparent;
  transition: color .28s ease .08s, transform .45s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(110%);
  transition: transform .95s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.pill:hover, .pill:focus-visible { color: var(--bg); transform: translateY(-2px); }
.pill:hover::before, .pill:focus-visible::before { transform: translateY(0); }

/* Featured projects - black panel */
.home-work {
  background: var(--ink); color: var(--bg);
  border-radius: clamp(24px, 3vw, 46px) clamp(24px, 3vw, 46px) 0 0;
}
.home-work__inner { max-width: 1340px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(24px, 4vw, 56px); }
.home-work__title {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding-bottom: clamp(24px, 3vw, 38px); border-bottom: 1px solid rgba(255,255,255,.24);
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: clamp(48px, 7vw, 92px);
}
.home-work__title-main {
  max-width: 13ch; font-weight: 600; font-size: clamp(46px, 5.8vw, 88px);
  letter-spacing: -.035em; line-height: .95; text-wrap: balance;
}
.home-work__count {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
/* Filters for the existing featured project grid. */
.home-work__filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.home-work__filters[hidden], .fcard[hidden] { display: none; }
.home-work__filters button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: transparent; color: #fff;
  font: 500 15px/1.2 "Space Grotesk", sans-serif; cursor: pointer;
}
.home-work__filters button:hover { border-color: #fff; }
.home-work__filters button.is-active { background: #fff; color: var(--ink); }
.home-work__filters button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.home-work__filters button span { font-size: 12px; opacity: .75; }
.work-filter-used .fcard:not([hidden]) { opacity: 1 !important; transform: none !important; }
.home-work__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 88px) clamp(28px, 4vw, 56px); align-items: start;
}
.fcard { display: block; }
.fcard:nth-child(even of .fcard:not([hidden])) { margin-top: clamp(40px, 9vw, 130px); }
.fcard__media {
  border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden; aspect-ratio: 4 / 4.5; background: #1b1b1b;
}
.fcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform; transition: transform .8s var(--ease);
}
.fcard:hover .fcard__media img { transform: scale(1.07); }
.fcard__cap {
  margin-top: clamp(16px, 1.6vw, 22px); font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,.55); max-width: 36ch; transition: color .4s var(--ease);
}
.fcard:hover .fcard__cap { color: rgba(255,255,255,.85); }
.fcard__cap h3 {
  color: #fff; font: 600 clamp(25px, 2.7vw, 40px)/1.08 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}
.fcard__cap p { margin-top: 6px; }

/* "Explore" follower (does not hide the system cursor) */
.explore-cursor {
  position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none;
  width: clamp(80px, 7vw, 104px); height: clamp(80px, 7vw, 104px); border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  opacity: 0; transition: opacity .35s var(--ease);
  will-change: transform;
}
.explore-cursor.is-active { opacity: 1; }
@media (hover: none) { .explore-cursor { display: none; } }

/* =========================================================
   Services page
   ========================================================= */
.svc-hero { text-align: center; max-width: 1000px; margin: 0 auto; padding: clamp(140px, 22vh, 240px) var(--gutter) clamp(30px, 5vw, 56px); }
.svc-hero__eyebrow { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(11px, 1vw, 13px); color: var(--ink-soft); margin-bottom: clamp(20px, 3vw, 32px); }
.svc-hero__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(34px, 5.5vw, 84px); line-height: 1.02; letter-spacing: -.025em; }
.svc-hero__sub { margin: clamp(20px, 3vw, 30px) auto 0; max-width: 56ch; font-size: clamp(15px, 1.4vw, 20px); color: var(--ink-soft); }

.svc-wrap { max-width: 1340px; margin: 0 auto; padding: clamp(50px, 8vw, 110px) clamp(24px, 4vw, 56px); }
.svc-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(34px, 5vw, 60px); }
.svc-head__index { font-family: "Space Grotesk", sans-serif; color: var(--accent); font-size: 14px; font-weight: 600; }
.svc-head__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(26px, 4vw, 54px); letter-spacing: -.02em; line-height: 1; }
.svc-head__title span { min-height: 1em; }
/* Service section titles must remain readable even if scroll animation fails. */
.svc-head .reveal-line > span { transform: none; }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 56px) clamp(34px, 4vw, 72px); }
.svc__more { margin-top: 18px; font-family: "Space Grotesk", sans-serif; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }

/* Search-focused service landing pages */
.service-page { width: 100%; max-width: 1480px; margin: 0 auto; padding: clamp(130px, 18vh, 200px) var(--gutter) clamp(70px, 10vw, 140px); }
.breadcrumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: clamp(36px, 6vw, 72px); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.service-page__eyebrow { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--ink-soft); }
.service-page h1 { width: 100%; max-width: none; font-family: "Space Grotesk", sans-serif; font-size: clamp(44px, 8vw, 104px); line-height: .96; letter-spacing: -.035em; margin: 20px 0 28px; text-wrap: wrap; }
.service-page__lead { max-width: 63ch; font-size: clamp(19px, 2vw, 27px); line-height: 1.45; }
.service-page__section { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: clamp(30px, 6vw, 90px); padding-top: clamp(64px, 10vw, 120px); }
.service-page__section h2 { font-family: "Space Grotesk", sans-serif; font-size: clamp(25px, 3vw, 42px); line-height: 1.1; }
.service-page__copy { max-width: 72ch; }
.service-page__copy p + p, .service-page__copy ul + p { margin-top: 1.2em; }
.service-page__copy ul { padding-left: 1.2em; }
.service-page__copy li + li { margin-top: .7em; }
.service-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.service-links a {
  position: relative; isolation: isolate;
  border: 1px solid var(--line); border-radius: 999px; padding: 22px; font-weight: 600;
  overflow: hidden; background: transparent;
  transition: color .28s ease .08s, border-color .3s ease, transform .45s var(--ease);
}
.service-links a::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.service-links a:hover, .service-links a:focus-visible {
  color: var(--bg); border-color: var(--ink); transform: translateY(-2px);
}
.service-links a:hover::before,
.service-links a:focus-visible::before { transform: translateY(0); }
.motion-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: clamp(55px, 8vw, 100px); }
.motion-showcase__primary { grid-column: 1 / -1; }
.motion-showcase figure { background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
.motion-showcase video, .motion-showcase img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.motion-showcase figcaption { padding: 14px 18px 18px; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 760px) { .service-page__section { grid-template-columns: 1fr; } .service-links { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .motion-showcase { grid-template-columns: 1fr; } .motion-showcase__primary { grid-column: auto; } }
.svc { border-top: 1px solid var(--line); padding-top: clamp(20px, 2vw, 28px); }
.svc__num { font-family: "Space Grotesk", sans-serif; color: var(--accent); font-size: 13px; font-weight: 600; }
.svc__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); margin: 10px 0 14px; letter-spacing: -.01em; }
.svc__desc { color: var(--ink-soft); margin-bottom: 16px; max-width: 44ch; }
.svc__tags { font-family: "Space Grotesk", sans-serif; font-size: 13px; color: var(--ink); letter-spacing: .01em; }

/* Dark band (process) */
.svc-dark { background: var(--ink); color: var(--bg); --accent: #fff; border-radius: clamp(24px, 3vw, 46px); max-width: 1500px; margin: clamp(40px, 6vw, 80px) auto; }
.svc-dark .svc-head__title { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2vw, 32px); }
.step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.step__n { font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; color: #fff; }
.step h4 { font-family: "Space Grotesk", sans-serif; font-size: clamp(15px, 1.4vw, 19px); margin: 10px 0 8px; }
.step p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.5; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 2.6vw, 36px) clamp(40px, 5vw, 80px); }
.skill { border-top: 1px solid var(--line); padding-top: 16px; }
.skill h4 { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.skill p { font-family: "Space Grotesk", sans-serif; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; }

/* Timeline */
.timeline { border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 1.1fr 1fr .5fr; gap: 20px; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tl-row h4 { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(17px, 1.6vw, 23px); }
.tl-row .co { color: var(--ink-soft); }
.tl-row .yr { font-family: "Space Grotesk", sans-serif; color: var(--ink-soft); font-size: 14px; text-align: right; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 36px); max-width: 920px; margin: 0 auto; }
.dl-card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px;
  min-height: clamp(200px, 24vw, 260px);
  background: transparent; transition: color .35s ease, border-color .35s ease, transform .45s var(--ease);
}
.dl-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; background: var(--ink);
  transform: translateY(102%); transition: transform .85s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.dl-card:hover,
.dl-card:focus-visible { color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.dl-card:hover::before,
.dl-card:focus-visible::before { transform: translateY(0); }
.dl-card h3 { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(20px, 2vw, 28px); }
.dl-card > p { color: var(--ink-soft); font-size: 15px; max-width: 32ch; transition: color .3s ease; }
.dl-card:hover > p,
.dl-card:focus-visible > p { color: rgba(255,255,255,.72); }
.dl-meta {
  width: fit-content; margin-top: auto; padding: 11px 16px 10px 18px;
  border: 1px solid currentColor; border-radius: 999px;
  background-image: linear-gradient(#fff, #fff); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 100% 0%;
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  display: inline-flex; justify-content: flex-start; align-items: center; gap: 18px;
  transition: background-size .72s cubic-bezier(.16,1,.3,1), color .35s var(--ease), border-color .35s var(--ease);
}
.dl-meta .download-icon {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}
.dl-card:hover .dl-meta,
.dl-card:focus-visible .dl-meta { background-size: 100% 100%; color: #0e0e0e; border-color: #fff; }
.dl-card:hover .dl-meta .download-icon,
.dl-card:focus-visible .dl-meta .download-icon { transform: translateY(3px); }

#downloads .svc-head { justify-content: center; }
#downloads .svc-head__title { text-align: center; }

/* Contact downloads (all pages) */
.contact__downloads { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 38px); }

/* Download button with PDF + download icons */
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border: 1px solid var(--ink); border-radius: 100px;
  font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 15px;
  overflow: hidden; background-color: transparent;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0%;
  transition: background-size .85s cubic-bezier(.16,1,.3,1), color .28s ease, border-color .3s ease, transform .45s var(--ease);
}
.dl-btn:hover, .dl-btn:focus-visible {
  background-size: 100% 100%; color: var(--bg); border-color: var(--ink); transform: translateY(-2px);
}
.dl-btn::before, .dl-btn::after {
  content: ""; flex: none; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.dl-btn::before {
  width: 17px; height: 18px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8z'/%3E%3Cpath%20d='M14%203v5h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%203H7a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V8z'/%3E%3Cpath%20d='M14%203v5h5'/%3E%3C/svg%3E");
}
.dl-btn::after {
  width: 16px; height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203v12'/%3E%3Cpath%20d='M7%2011l5%205%205-5'/%3E%3Cpath%20d='M5%2021h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203v12'/%3E%3Cpath%20d='M7%2011l5%205%205-5'/%3E%3Cpath%20d='M5%2021h14'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .pill, .dl-btn, .dl-card, .dl-card::before, .dl-meta, .service-links a { transition-duration: .01ms; }
  .contact__cta-text, .contact__cta-arrow { transition-duration: .01ms; }
}

/* Service icons */
.svc__icon { width: clamp(38px, 4vw, 48px); height: clamp(38px, 4vw, 48px); margin-bottom: clamp(16px, 2vw, 24px); color: var(--ink); }
.svc__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc { transition: transform .45s var(--ease); }
.svc:hover .svc__icon { animation: nudge .5s var(--ease); }
@keyframes nudge { 50% { transform: translateY(-5px); } }

/* Benefits - "Why work with me" (dark, story-driven rows) */
.benefits {
  background: var(--ink); color: var(--bg); --accent: #fff;
  border-radius: clamp(24px, 3vw, 46px); max-width: 1500px; margin: clamp(40px, 6vw, 80px) auto;
}
.benefits__inner { max-width: 1340px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(24px, 4vw, 56px); }
.benefits__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(38px, 6.5vw, 92px); letter-spacing: -.02em; line-height: 1.0; margin-bottom: clamp(40px, 6vw, 76px); }
.benefit-row {
  display: grid; grid-template-columns: clamp(88px, 13vw, 200px) minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: clamp(30px, 4vw, 54px) 0; border-top: 1px solid rgba(255,255,255,.16);
}
.benefit-row:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.benefit-row__icon { width: clamp(44px, 5vw, 62px); height: clamp(44px, 5vw, 62px); transition: transform .5s var(--ease); }
.benefit-row:hover .benefit-row__icon { transform: rotate(-8deg) scale(1.06); }
.benefit-row__icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.benefit-row__kicker { font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); padding-top: 8px; }
.benefit-row__text { font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: clamp(18px, 1.9vw, 27px); line-height: 1.32; letter-spacing: -.01em; max-width: 32ch; }

/* My Work Process - light card with its own personality */
.process { background: var(--bg-2); border-radius: clamp(24px, 3vw, 46px); max-width: 1500px; margin: clamp(40px, 6vw, 80px) auto; }
.process .svc-head__title { font-size: clamp(40px, 7.5vw, 100px); }
.process .svc-head__index { color: var(--ink-soft); }
.process .step { position: relative; border-top: 1px solid var(--line); }
.process .step__n { color: var(--ink-soft); font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .04em; }
.process .step h4 { color: var(--ink); font-size: clamp(18px, 1.9vw, 26px); margin: 12px 0 8px; }
.process .step p { color: var(--ink-soft); }
.process .step:not(:last-child)::after {
  content: "\2192"; position: absolute; top: 11px; left: 100%;
  margin-left: calc(clamp(20px, 2vw, 32px) / 2); transform: translateX(-50%);
  color: var(--ink-soft); font-size: 20px; opacity: .5;
}
@media (max-width: 860px) { .process .step:not(:last-child)::after { display: none; } }

@media (max-width: 820px) {
  .benefit-row { grid-template-columns: 1fr; gap: 14px; }
  .benefit-row__kicker { padding-top: 0; }
}

@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
  .tl-row .yr { text-align: left; }
  .downloads { grid-template-columns: 1fr; }
}

/* =========================================================
   Project (interior) pages - contained, kzero-style
   ========================================================= */
:root { --cw: 1180px; }

/* Contained hero */
.cs-hero {
  max-width: var(--cw); margin: 0 auto;
  height: clamp(360px, 46vw, 600px);
  border-radius: clamp(16px, 2vw, 28px);
  padding: clamp(26px, 3.5vw, 46px);
}
.cs-hero__title { font-size: clamp(36px, 6.5vw, 88px); }

/* Scroll badge GIF (replaces the arrow) */
.cs-hero__scroll {
  right: clamp(20px, 3vw, 38px); bottom: clamp(20px, 3vw, 38px); gap: 0;
  width: clamp(74px, 8vw, 104px); height: clamp(74px, 8vw, 104px);
  background: url("../images/arrow.gif") center / contain no-repeat;
}
.cs-hero__scroll span, .cs-hero__scroll svg { display: none; }

/* Contain the rest of the page (no full-width) */
.cs-intro, .pj-section, .pj-fullbleed, .pj-gallery,
.pj-deliverables, .cs-stats, .cs-credits, .next-project, .pj-quote {
  max-width: var(--cw); margin-inline: auto;
}
.cs-intro, .pj-section, .pj-gallery,
.pj-deliverables, .cs-credits, .next-project, .pj-quote {
  padding-inline: clamp(22px, 3vw, 40px);
}
.cs-stat { padding-inline: clamp(20px, 2.4vw, 36px); }

/* Contained, rounded images (not edge-to-edge) */
.pj-fullbleed { border-radius: clamp(16px, 2vw, 28px); }

/* Featured sentence (was the testimonial) - no quote marks, no name */
.pj-quote { text-align: center; }
.pj-quote__mark, .pj-quote cite { display: none; }
.pj-quote blockquote {
  max-width: 24ch; margin: 0 auto;
  font-size: clamp(28px, 4.2vw, 58px); line-height: 1.14; letter-spacing: -.02em;
}

/* =========================================================
   Interior project pages
   ========================================================= */
.pj-line { overflow: hidden; }
.pj-line > span { display: block; transform: translateY(105%); }

.pj-hero {
  padding: clamp(120px, 18vh, 220px) var(--gutter) clamp(40px, 6vw, 80px);
}
.pj-hero__cat {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; font-size: clamp(11px, 1vw, 13px);
  color: var(--accent); margin-bottom: clamp(16px, 2vw, 26px);
}
.pj-hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(54px, 13vw, 200px); line-height: .9; letter-spacing: -.02em;
}
.pj-hero__lead {
  margin-top: clamp(22px, 3vw, 40px); max-width: 52ch;
  font-size: clamp(17px, 1.5vw, 23px); color: var(--ink-soft);
}

/* Meta strip */
.pj-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: clamp(28px, 4vw, 50px) var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pj-meta__item h4 {
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  margin-bottom: 8px;
}
.pj-meta__item p { font-family: "Space Grotesk", sans-serif; font-size: clamp(15px, 1.4vw, 19px); }

/* Cover */
.pj-cover {
  margin: clamp(30px, 5vw, 70px) var(--gutter);
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg-2);
}
.pj-cover img, .pj-cover video {
  width: 100%; height: 116%; object-fit: cover;
  position: relative; top: -8%; will-change: transform;
}

/* Text sections */
.pj-section {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 70px);
  padding: clamp(60px, 9vw, 130px) var(--gutter) 0;
  align-items: start;
}
.pj-section__label {
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
  position: sticky; top: clamp(90px, 12vh, 130px);
}
.pj-section__label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* ---- Full-bleed case-study hero ---- */
.cs-hero {
  position: relative; height: clamp(420px, 56vw, 720px); display: flex; align-items: flex-end;
  padding: var(--gutter); overflow: hidden; color: #fff;
}
.cs-hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.cs-hero__bg img, .cs-hero__bg video {
  width: 100%; height: 100%; object-fit: cover; opacity: .9;
}
.cs-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,10,10,.7), rgba(10,10,10,.15) 55%, rgba(10,10,10,.35));
}
.cs-hero__inner { width: 100%; max-width: 1500px; }
.cs-hero__cat {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; font-size: clamp(11px, 1vw, 13px);
  color: rgba(255,255,255,.8); margin-bottom: clamp(16px, 2vw, 24px);
}
.cs-hero__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(40px, 8vw, 110px); line-height: .92; letter-spacing: -.02em;
}
.cs-hero__sub {
  margin-top: clamp(18px, 2.4vw, 32px); max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 22px); color: rgba(255,255,255,.82);
}
.cs-hero__scroll {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.8);
}
.cs-hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }

/* ---- Intro: lead + sticky meta ---- */
.cs-intro {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 90px);
  padding: clamp(70px, 11vw, 150px) var(--gutter) clamp(40px, 6vw, 70px);
  align-items: start;
}
.cs-intro__lead p {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(24px, 3vw, 44px); line-height: 1.22; letter-spacing: -.015em;
}
.cs-intro__lead p .accent { color: var(--accent); }
.cs-intro__meta { position: sticky; top: clamp(90px, 12vh, 130px); }
.cs-intro__meta dl { display: grid; }
.cs-intro__meta .row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: clamp(12px, 1.4vw, 16px) 0; border-top: 1px solid var(--line);
}
.cs-intro__meta .row:last-child { border-bottom: 1px solid var(--line); }
.cs-intro__meta dt {
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft);
}
.cs-intro__meta dd {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(14px, 1.3vw, 17px);
  text-align: right;
}
.cs-contribution {
  margin-top: 22px; max-width: 52ch; color: var(--ink-soft);
  font-size: clamp(14px, 1.15vw, 16px); line-height: 1.55;
}
.cs-contribution strong {
  display: block; margin-bottom: 5px; color: var(--ink);
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ---- Full-bleed image ---- */
.pj-fullbleed { width: 100%; overflow: hidden; background: var(--bg-2); margin: clamp(40px, 6vw, 90px) 0; }
.pj-fullbleed.tall { aspect-ratio: 16 / 10; }
.pj-fullbleed img, .pj-fullbleed video {
  width: 100%; height: 112%; object-fit: cover; position: relative; top: -6%; will-change: transform;
}

/* ---- Stats band ---- */
.cs-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: clamp(60px, 9vw, 130px) 0;
}
.cs-stat { padding: clamp(40px, 6vw, 80px) var(--gutter); border-left: 1px solid var(--line); }
.cs-stat:first-child { border-left: none; }
.cs-stat__num {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(48px, 7vw, 110px); line-height: .9; letter-spacing: -.03em;
}
.cs-stat__unit-word {
  font-size: .32em; font-weight: 500; letter-spacing: 0; white-space: nowrap;
}
.cs-stat__num .unit { color: var(--accent); }
.cs-stat__num--word { font-size: clamp(30px, 3.8vw, 58px); line-height: 1; }
.cs-stat__label { margin-top: 14px; color: var(--ink-soft); font-size: clamp(14px, 1.2vw, 17px); max-width: 30ch; }

/* ---- Credits ---- */
.cs-credits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 90px);
  padding: clamp(50px, 8vw, 110px) var(--gutter);
}
.cs-credits__row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid var(--line);
}
.cs-credits__row dt {
  font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft);
}
.cs-credits__row dd { font-family: "Space Grotesk", sans-serif; font-size: clamp(15px, 1.4vw, 19px); text-align: right; }

/* ---- Next project - cinematic project teaser ---- */
.next-project { position: relative; overflow: hidden; isolation: isolate; }
.next-project__media {
  position: absolute; top: clamp(24px, 3vw, 46px); right: clamp(24px, 3vw, 46px);
  width: min(52%, 760px); height: calc(100% - clamp(48px, 6vw, 92px));
  border-radius: calc(var(--radius) * .72); overflow: hidden; opacity: .88; pointer-events: none; z-index: -1;
  transition: opacity .45s ease;
}
.next-project__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,12,12,.72) 0%, rgba(12,12,12,.08) 70%);
}
.next-project__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .85s var(--ease); will-change: transform;
}
.next-project:hover .next-project__media,
.next-project:focus-visible .next-project__media { opacity: 1; }
.next-project:hover .next-project__media img,
.next-project:focus-visible .next-project__media img { transform: scale(1.04); }
.next-project span, .next-project h2 { position: relative; z-index: 1; }
.pj-section__body p {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(20px, 2.3vw, 32px); line-height: 1.32; letter-spacing: -.01em;
  margin-bottom: .9em; max-width: 30ch;
}
.pj-section__body p + p, .pj-section__body .pj-body-sm { max-width: 56ch; }
.pj-section__body .pj-body-sm {
  font-family: "Inter", sans-serif; font-weight: 400;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--ink-soft);
}

/* Gallery */
.pj-gallery { padding: clamp(50px, 8vw, 120px) var(--gutter) clamp(20px, 3vw, 40px); display: grid; gap: clamp(24px, 4vw, 50px); }
.pj-gallery__full { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.pj-gallery__full img, .pj-gallery__full video { width: 100%; display: block; }
.pj-gallery__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 50px); }
.pj-gallery__pair figure { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 3/4; }
.pj-gallery__pair img { width: 100%; height: 116%; object-fit: cover; position: relative; top: -8%; }

/* Pull quote */
.pj-quote {
  padding: clamp(70px, 11vw, 150px) var(--gutter);
  max-width: 1400px;
}
.pj-quote blockquote {
  font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(28px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.02em;
}
.pj-quote blockquote .pj-quote__mark { color: var(--accent); }
.pj-quote cite {
  display: block; margin-top: clamp(20px, 3vw, 36px); font-style: normal;
  font-family: "Space Grotesk", sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft);
}

/* Deliverables / facts list */
.pj-deliverables {
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 70px);
  align-items: start;
}
.pj-deliverables__label {
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.pj-deliverables__label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.pj-deliverables ul { list-style: none; border-top: 1px solid var(--line); }
.pj-deliverables li {
  display: flex; align-items: baseline; gap: 18px;
  font-family: "Space Grotesk", sans-serif; font-size: clamp(17px, 1.8vw, 24px);
  padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}
.pj-deliverables li:hover { padding-left: 14px; }
.pj-deliverables li i {
  font-style: normal; color: var(--accent); font-size: 13px; min-width: 28px;
}

/* Next project */
.next-project {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  width: calc(100% - clamp(40px, 6vw, 140px)); max-width: none; margin-inline: auto;
  min-height: clamp(340px, 40vw, 520px); margin-top: clamp(70px, 10vw, 150px);
  padding: clamp(48px, 7vw, 100px) clamp(60px, 8vw, 140px);
  padding-left: clamp(60px, 5vw, 100px); border: 0; border-radius: clamp(18px, 2.2vw, 34px);
  background: #0d0d0d; color: #fff; text-align: left;
}
.next-project > span,
.next-project > h2,
.next-project > .next-project__meta { margin-left: clamp(50px, 5vw, 100px); }
.next-project span {
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .26em; font-size: 11px; color: rgba(255,255,255,.58);
}
.next-project h2 {
  position: relative; overflow: hidden;
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  color: transparent; font-size: clamp(48px, 6.3vw, 96px); line-height: .92; letter-spacing: -.045em;
  width: min(58%, 780px); margin-top: 22px; text-wrap: balance;
  isolation: isolate;
}
.next-project h2::before,
.next-project h2::after {
  content: attr(data-title) "  \2192";
  position: absolute; inset: 0; display: block; color: #fff;
  transition: transform .72s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.next-project h2::before { transform: translateY(0); }
.next-project h2::after { transform: translateY(115%); }
.next-project__meta {
  width: min(45%, 620px); margin-top: 20px;
  color: rgba(255,255,255,.5); font-size: clamp(13px, 1.1vw, 16px); line-height: 1.45;
  transition: color .4s ease, transform .65s cubic-bezier(.16,1,.3,1);
}
.next-project:hover h2::before,
.next-project:focus-visible h2::before { transform: translateY(-115%); }
.next-project:hover h2::after,
.next-project:focus-visible h2::after { transform: translateY(0); }
.next-project:hover .next-project__meta,
.next-project:focus-visible .next-project__meta {
  color: rgba(255,255,255,.88); transform: translateY(-7px);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .home-work__title { align-items: flex-start; flex-direction: column; gap: 24px; }
  .home-work__title-main { max-width: 12ch; }
  .home-work__filters { justify-content: flex-start; }
  .home-work__grid { grid-template-columns: 1fr; gap: 34px; }
  .fcard:nth-child(even of .fcard:not([hidden])) { margin-top: 0; }
  .fcard__media { aspect-ratio: 4 / 3.4; }
  .home-banner__img { aspect-ratio: 4 / 3; }
  .home-banner__avatar { right: var(--gutter); top: auto; bottom: -28px; transform: none; }
  .pj-meta { grid-template-columns: 1fr 1fr; }
  .pj-section { grid-template-columns: 1fr; }
  .pj-section__label { position: static; }
  .pj-deliverables { grid-template-columns: 1fr; }
  .cs-intro { grid-template-columns: 1fr; }
  .cs-intro__meta { position: static; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-stat { border-left: none; border-top: 1px solid var(--line); }
  .cs-stat:first-child { border-top: none; }
  .cs-credits { grid-template-columns: 1fr; }
  .pj-gallery__pair { grid-template-columns: 1fr; }
  .pj-cover { aspect-ratio: 4 / 3; }
  .projects { grid-template-columns: 1fr; }
  .project:nth-child(even) { margin-top: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .header__nav { gap: 18px; }
  .hero__scroll { display: none; }
  .next-project {
    min-height: clamp(360px, 82vw, 480px); justify-content: flex-end;
    padding: clamp(28px, 7vw, 54px); border-radius: 20px;
  }
  .next-project > span, .next-project > h2, .next-project > .next-project__meta { margin-left: 0; }
  .next-project__media { inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: .68; }
  .next-project__media::after { background: linear-gradient(0deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.08) 76%); }
  .next-project h2 { width: 100%; font-size: clamp(46px, 15vw, 86px); }
  .next-project__meta { width: 100%; max-width: 34ch; }
}

@media (max-width: 560px) {
}

/* =========================================================
   Project pages v2 - text-first hero + aligned sections
   ========================================================= */

/* Text-first hero: title on white, contained cover image below */
.cs-hero {
  position: relative; display: flex; flex-direction: column;
  height: auto; min-height: 0; overflow: visible;
  color: var(--ink); border-radius: 0; padding: 0;
  max-width: var(--cw); margin: 0 auto;
}
.cs-hero::after { display: none; }
.cs-hero__inner {
  order: 1; width: 100%;
  padding: clamp(118px, 17vh, 200px) clamp(22px, 3vw, 40px) clamp(32px, 4vw, 54px);
}
.cs-hero__cat { color: var(--ink-soft); }
.cs-hero__title { color: var(--ink); font-size: clamp(42px, 7.5vw, 104px); line-height: .94; }
.cs-hero__sub { color: var(--ink-soft); max-width: 50ch; }
.cs-hero__bg {
  order: 2; position: relative; inset: auto; z-index: 0;
  width: 100%; aspect-ratio: 16 / 10; border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden; background: var(--bg-2);
}
.cs-hero__bg img, .cs-hero__bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1;
}
.cs-hero__scroll {
  position: absolute; right: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 32px);
  z-index: 2;
}

/* Single-column sections, all aligned to one left margin */
.pj-section {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 72px);
  max-width: var(--cw); margin-inline: auto; align-items: start;
  padding: clamp(54px, 8vw, 118px) clamp(22px, 3vw, 40px) 0;
}
.pj-section__label { position: sticky; top: clamp(90px, 12vh, 130px); margin-bottom: 0; }
.pj-section__body { max-width: none; }
.pj-section__body p,
.pj-section__body .pj-body-sm { max-width: 36rem; }

.pj-deliverables {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 72px);
  max-width: var(--cw); margin-inline: auto; align-items: start;
  padding: clamp(54px, 8vw, 110px) clamp(22px, 3vw, 40px) 0;
}
.pj-deliverables__label { margin-bottom: 0; }
.pj-deliverables ul { max-width: 62ch; }

/* Stats / credits align to the same left margin */
.cs-stat:first-child { padding-left: 0; }

/* Vertical rhythm + centering for contained blocks (must win over earlier rules) */
.pj-fullbleed { margin-block: clamp(50px, 7vw, 96px); margin-inline: auto; }
.cs-stats { margin-inline: auto; }
.pj-gallery { padding-block: clamp(20px, 3vw, 40px); }

/* Uniform left margin - text and images align to the same column edge */
.cs-hero, .cs-hero__inner,
.cs-intro, .pj-section, .pj-gallery, .pj-deliverables,
.cs-credits, .next-project, .pj-quote, .cs-stat { padding-inline: 0; }
.cs-stat + .cs-stat { padding-left: clamp(24px, 3vw, 44px); }

/* Featured sentence: no quote marks, no name (must win over earlier rules) */
.pj-quote__mark, .pj-quote cite { display: none; }

/* Centered hero heading */
.cs-hero__inner { text-align: center; }
.cs-hero__sub { margin-inline: auto; }

/* Two-column sections stack on small screens */
@media (max-width: 820px) {
  .pj-section, .pj-deliverables { grid-template-columns: 1fr; gap: 18px; }
  .pj-section__label { position: static; top: auto; margin-bottom: 8px; }
}

@media (max-width: 900px) {
  .cs-hero, .cs-intro, .pj-section, .pj-deliverables,
  .cs-stats, .cs-credits, .next-project, .pj-quote,
  .pj-gallery, .pj-fullbleed { padding-inline: clamp(18px, 5vw, 28px); }
  .cs-stat + .cs-stat { padding-left: 0; }
  .pj-fullbleed { background: transparent; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { animation: none !important; transition: none !important; }
  .hero__title .line > span, .reveal-line > span { transform: none; }
  .reveal-block { opacity: 1; transform: none; }
  .statement__text .word { opacity: 1; }
  .project__media::after { display: none; }
}

/* =========================================================
   Mobile experience
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 22px; --radius: 14px; }

  body { font-size: 16px; line-height: 1.55; }

  /* Compact navigation that keeps every destination available. */
  .header {
    padding: 15px var(--gutter); gap: 14px; align-items: center;
    background: rgba(255,255,255,.88); color: var(--ink);
    mix-blend-mode: normal; backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.07);
  }
  .header.is-hidden { transform: none; }
  .header__logo { width: 154px; }
  .header__logo-svg { width: 100%; height: auto; }
  .header__logo { position: relative; z-index: 2; }
  .header__quick-contact {
    position: relative; z-index: 2; display: grid; place-items: center;
    width: 44px; height: 44px; margin-left: auto;
    border: 1px solid rgba(0,0,0,.18); border-radius: 50%;
    color: currentColor;
  }
  .header__quick-contact svg {
    width: 19px; height: 19px; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  }
  .header__menu-toggle {
    position: relative; z-index: 2; display: grid; place-content: center;
    width: 44px; height: 44px; margin-left: 0; padding: 0;
    border: 1px solid rgba(0,0,0,.18); border-radius: 50%;
    background: transparent; color: currentColor; cursor: pointer;
  }
  .header__menu-toggle span {
    display: block; width: 18px; height: 1.5px; margin: 3px 0;
    background: currentColor; transition: transform .45s var(--ease), color .25s ease;
  }
  .header__nav {
    position: fixed; inset: auto; top: 0; left: 0; z-index: 1;
    width: 100vw; height: 100dvh; min-height: 100svh;
    display: flex; flex-direction: column;
    justify-content: flex-start; align-items: flex-start; gap: 0; margin: 0;
    padding: clamp(126px, 17vh, 164px) 28px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--ink); color: #fff;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-18px);
    transition: opacity .35s ease, transform .55s var(--ease), visibility .35s;
  }
  .header__nav a {
    width: 100%; padding: 16px 0; overflow: hidden;
    font-size: clamp(38px, 12vw, 58px); line-height: 1; letter-spacing: -.04em;
    border-bottom: 1px solid rgba(255,255,255,.18);
    transform: translateY(22px); opacity: 0;
    transition: transform .55s var(--ease), opacity .35s ease;
  }
  .header__nav a::after { display: none; }
  .header__menu-socials {
    position: static; z-index: 2; flex: none; align-self: stretch;
    display: flex; align-items: center; justify-content: flex-start; gap: 14px;
    margin-top: 24px; padding: 0 0 4px;
    opacity: 0; transform: translateY(14px);
    transition: opacity .4s ease .18s, transform .55s var(--ease) .18s;
  }
  .header__menu-socials a {
    display: grid; place-items: center; flex: 0 0 48px;
    width: 48px; height: 48px; padding: 0;
    border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
    opacity: 1; transform: none;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--ease);
  }
  .header__menu-socials a:hover,
  .header__menu-socials a:focus-visible {
    background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-3px);
  }
  .header__menu-socials svg {
    width: 20px; height: 20px; fill: currentColor;
  }
  .header__menu-socials a:nth-child(3) svg,
  .header__menu-socials a:nth-child(4) svg {
    fill: none; stroke: currentColor; stroke-width: 1.7;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .menu-open { overflow: hidden; touch-action: none; }
  .menu-open .header {
    color: #fff; background: transparent; border-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    transform: none;
  }
  .menu-open .header__nav {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  .menu-open .header__nav a { opacity: 1; transform: translateY(0); }
  .menu-open .header__nav a:nth-child(2) { transition-delay: .04s; }
  .menu-open .header__nav a:nth-child(3) { transition-delay: .08s; }
  .menu-open .header__nav a:nth-child(4) { transition-delay: .12s; }
  .menu-open .header__menu-socials { opacity: 1; transform: translateY(0); }
  .menu-open .header__menu-toggle { border-color: rgba(255,255,255,.35); }
  .menu-open .header__quick-contact { border-color: rgba(255,255,255,.35); }
  .menu-open .header__menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .header__menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  /* Homepage hero and reel. */
  .home-hero {
    padding: 112px var(--gutter) 34px; text-align: left;
  }
  .home-hero__eyebrow {
    max-width: 30ch; margin-bottom: 18px; font-size: 10px;
    line-height: 1.5; letter-spacing: .17em;
  }
  .home-hero__title {
    font-size: clamp(42px, 12.5vw, 58px); line-height: .98;
    letter-spacing: -.038em;
  }
  .home-hero__title .line { display: inline; overflow: visible; }
  .home-hero__title .line + .line::before { content: " "; }
  .home-hero__title .line > span { display: inline; }
  .home-hero__sub {
    margin: 22px 0 0; max-width: 35ch; font-size: 16px; line-height: 1.55;
  }
  .home-banner { padding-inline: var(--gutter); margin-bottom: 76px; }
  .home-banner__img { aspect-ratio: 4 / 3.25; border-radius: 14px; }
  .home-banner__img img, .home-banner__img video {
    height: 100%; top: 0; object-fit: cover;
  }
  .home-banner__avatar {
    width: 72px; right: 30px; bottom: -28px; border-width: 4px;
  }

  /* Experience block: readable editorial hierarchy without oversized art. */
  .pill { width: 100%; justify-content: center; min-height: 52px; }

  /* Work grid and footer CTA. */
  .home-work { border-radius: 24px 24px 0 0; }
  .home-work__inner { padding: 58px var(--gutter) 76px; }
  .home-work__title { gap: 18px; margin-bottom: 38px; padding-bottom: 22px; }
  .home-work__title-main {
    max-width: 9ch; font-size: clamp(42px, 12vw, 58px); line-height: .96;
  }
  .home-work__grid { gap: 50px; }
  .fcard__media { aspect-ratio: 4 / 3; border-radius: 14px; }
  .fcard__cap { margin-top: 18px; font-size: 15px; line-height: 1.5; }
  .about { padding: 76px 0; }
  .about .section-head { margin-bottom: 34px; }
  .about__grid { gap: 50px; }
  .about__media { aspect-ratio: 4 / 4.6; }
  .about__lead { font-size: 24px; line-height: 1.3; }
  .about__body p { margin-bottom: 1.55em; }
  .about__services-cta { margin-top: 46px; padding: 32px 20px 22px; border-radius: 24px; }
  .about__services-cta h3 { max-width: 12ch; font-size: 34px; }
  .about__services-links { grid-template-columns: 1fr; gap: 0; margin-top: 38px; }
  .about__services-links a,
  .about__services-links a:nth-child(even) {
    grid-template-columns: 30px minmax(0,1fr) 34px;
    padding: 20px 0; border-left: 0; border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.16); border-radius: 0; background: transparent;
  }
  .about__services-links a:hover,
  .about__services-links a:focus-visible,
  .about__services-links a:nth-child(even):hover,
  .about__services-links a:nth-child(even):focus-visible { padding-left: 6px; }
  .contact { padding: 78px var(--gutter) 28px; }
  .contact__eyebrow { margin-bottom: 18px; font-size: 12px; letter-spacing: .16em; }
  .contact__cta {
    width: 100%; justify-content: space-between; gap: 12px;
    font-size: clamp(52px, 16vw, 72px); line-height: .95;
  }
  .contact__sub { font-size: 15px; }
  .contact__engagement { grid-template-columns: 1fr; gap: 26px; margin-top: 38px; }
  .contact__engagement span { font-size: 12px; }
  .contact__downloads { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .dl-btn { width: 100%; justify-content: center; min-height: 50px; }
  .contact__foot { align-items: flex-start; flex-direction: column; margin-top: 70px; }
  .contact__socials { width: 100%; justify-content: space-between; gap: 10px; }
  .contact__socials a { font-size: 14px; }

  /* Services: tighter rhythm and cards designed for touch. */
  .svc-hero {
    text-align: left; padding: 112px var(--gutter) 36px;
  }
  .svc-hero__eyebrow { margin-bottom: 18px; font-size: 10px; }
  .svc-hero__title { font-size: clamp(42px, 12vw, 56px); line-height: 1; }
  .svc-hero__sub { margin: 20px 0 0; font-size: 16px; }
  .svc-wrap { padding: 62px var(--gutter); }
  .svc-head { margin-bottom: 34px; }
  .svc-head__title { font-size: 36px; line-height: 1.05; }
  .svc { padding-top: 22px; }
  .svc__icon { width: 40px; height: 40px; }
  .svc__title { font-size: 25px; }
  .process, .benefits {
    margin: 18px var(--gutter); border-radius: 22px;
  }
  .process .svc-wrap, .benefits__inner { padding: 54px 22px; }
  .process .svc-head__title, .benefits__title { font-size: 40px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding-top: 16px; }
  .benefit-row { padding: 28px 0; }
  .benefit-row__icon { width: 42px; height: 42px; }
  .benefit-row__text { font-size: 19px; }
  .skills-grid { gap: 28px; }
  .skill p { font-size: 17px; }
  .tl-row { gap: 3px; padding: 22px 0; }
  .tl-row h4 { font-size: 20px; }
  .tl-row .co, .tl-row .yr { font-size: 14px; }
  .downloads { gap: 14px; }
  .dl-card { min-height: 220px; padding: 26px 22px; }
  .dl-meta { width: 100%; justify-content: space-between; }

  /* Service landing pages. */
  .service-page { padding: 108px var(--gutter) 80px; }
  .breadcrumbs { margin-bottom: 38px; font-size: 13px; }
  .service-page h1 { font-size: clamp(42px, 13vw, 58px); margin: 16px 0 22px; }
  .service-page__lead { font-size: 19px; }
  .service-page__section { padding-top: 64px; gap: 24px; }
  .service-links { gap: 10px; }
  .service-links a { padding: 18px; }
  .motion-showcase { margin-top: 62px; gap: 24px; }

  /* Case studies: reduce scale, preserve margins and make media usable. */
  .cs-hero, .cs-intro, .pj-section, .pj-deliverables,
  .cs-stats, .cs-credits, .next-project, .pj-quote,
  .pj-gallery, .pj-fullbleed { width: calc(100% - 36px); padding-inline: 0; }
  .cs-hero__inner { padding: 106px 0 30px; }
  .cs-hero__cat { font-size: 10px; letter-spacing: .18em; }
  .cs-hero__title { font-size: clamp(43px, 13vw, 62px); line-height: .96; }
  .cs-hero__sub { font-size: 16px; line-height: 1.5; }
  .cs-hero__bg { aspect-ratio: 4 / 3; border-radius: 14px; }
  .cs-hero__scroll { display: none; }
  .cs-intro { padding-top: 64px; padding-bottom: 32px; gap: 42px; }
  .pj-meta { grid-template-columns: 1fr; gap: 18px; }
  .pj-section, .pj-deliverables { padding-top: 64px; gap: 24px; }
  .pj-section__label, .pj-deliverables__label { font-size: 11px; }
  .pj-section__body p { max-width: none; font-size: 20px; line-height: 1.4; }
  .pj-section__body .pj-body-sm { max-width: none; font-size: 16px; }
  .pj-fullbleed { margin-block: 42px; border-radius: 14px; }
  .pj-gallery { gap: 14px; padding-block: 12px; }
  .pj-gallery img, .pj-gallery video, .pj-cover { border-radius: 12px; }
  .cs-stats { margin-top: 52px; }
  .cs-stat { padding: 24px 0; }
  .cs-credits { margin-top: 52px; }
  .cs-credits__row { gap: 16px; }
  .cs-credits__row dd { font-size: 15px; }
  .next-project {
    width: calc(100% - 36px); min-height: 390px; margin-top: 72px;
    padding: 26px 22px; border-radius: 20px;
  }
  .next-project > span, .next-project > h2,
  .next-project > .next-project__meta { margin-left: 0; }
  .next-project h2 {
    width: 100%; margin-top: 14px; font-size: clamp(42px, 13vw, 62px);
    line-height: .95;
  }
  .next-project__meta { width: 100%; margin-top: 14px; font-size: 13px; }

  /* Hover-only decoration should never obscure touch interaction. */
  .explore-cursor { display: none; }
}

@media (max-width: 640px) and (max-height: 700px) {
  .header__nav { padding-top: 96px; }
  .header__nav a { padding-block: 11px; font-size: clamp(34px, 10vw, 44px); }
  .header__menu-socials { margin-top: 18px; }
  .header__menu-socials a { width: 44px; height: 44px; flex-basis: 44px; }
}

@media (max-width: 760px) {
  .work-index { padding: 116px var(--gutter) 90px; }
  .work-index__head { grid-template-columns: 1fr; gap: 24px; padding-bottom: 44px; }
  .work-index__eyebrow { margin-bottom: 2px; }
  .work-index h1 { font-size: clamp(44px, 13.5vw, 64px); line-height: .97; }
  .work-index__intro { max-width: 33ch; font-size: 16px; }
  .work-filters {
    top: var(--work-filter-offset, 82px); margin-inline: calc(var(--gutter) * -1);
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    overflow: visible; padding: 12px var(--gutter);
  }
  .work-filters button[data-work-filter="all"] { display: none; }
  .work-filters button { justify-content: center; min-width: 0; padding: 13px 10px; }
  .work-catalog { grid-template-columns: 1fr; gap: 52px; padding-top: 52px; }
  .work-card:nth-child(even) { margin-top: 0; }
  .work-card__media { aspect-ratio: 4 / 3; border-radius: 16px; }
  .work-card__copy { padding-top: 16px; }
  .work-card__copy h2 { font-size: 36px; }
  .work-card__copy h3 { font-size: 15px; }
}

@media (max-width: 380px) {
  .header__logo { width: 142px; }
  .home-hero__title { font-size: 40px; }
}

@media (max-width: 640px), (hover: none), (pointer: coarse) {
  /* Touch layouts use a clear static state. Keyboard focus remains available. */
  .header__menu-socials a:hover {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,.3); transform: none;
  }

  .pill:hover {
    color: var(--ink); transform: none;
  }
  .pill:hover::before { transform: translateY(110%); }

  .service-links a:hover {
    color: var(--ink); border-color: var(--line); transform: none;
  }
  .service-links a:hover::before { transform: translateY(110%); }

  .dl-btn:hover {
    background: transparent; color: var(--ink); transform: none;
  }

  .dl-card:hover {
    background: transparent; color: var(--ink); border-color: var(--line);
  }
  .dl-card:hover > p { color: var(--ink-soft); }
  .dl-card:hover .dl-meta {
    background: transparent; color: currentColor; border-color: currentColor;
  }
  .dl-card:hover .dl-meta .download-icon { transform: none; }

  .fcard:hover .fcard__media img,
  .project:hover .project__media img,
  .project:hover .project__media video { transform: none; }
  .fcard:hover .fcard__cap { color: rgba(255,255,255,.55); }

  .about__list li:hover,
  .pj-deliverables li:hover { padding-left: 0; }
  .about__services-links a:hover,
  .about__services-links a:nth-child(even):hover {
    padding-left: 0; background: transparent; transform: none;
  }
  .about__services-links a:hover::after {
    background: transparent; color: var(--ink); transform: none;
  }
  .svc:hover .svc__icon { animation: none; }
  .benefit-row:hover .benefit-row__icon { transform: none; }

  .contact__cta:hover .contact__cta-arrow { transform: none; }
  .contact__cta:hover .contact__cta-text { background-size: 0 3px; }

  .next-project:hover h2::before { transform: translateY(0); }
  .next-project:hover h2::after { transform: translateY(115%); }
  .next-project:hover .next-project__meta {
    color: rgba(255,255,255,.5); transform: none;
  }
}

@media (max-width: 640px) {
  .home-hero__title,
  .work-index h1,
  .svc-hero__title,
  .service-page h1,
  .cs-hero__title,
  .motion-hero h1 {
    font-size: clamp(34px, 9.3vw, 42px);
    line-height: 1.05;
    letter-spacing: -.025em;
  }
}

@media (max-width: 360px) {
  .home-hero__title,
  .work-index h1,
  .svc-hero__title,
  .service-page h1,
  .cs-hero__title,
  .motion-hero h1 { font-size: 30px; }
}


/* Services page interaction and spacing refinement */
.services-page {
  --services-ink: #252A28;
  --services-muted: #A1978C;
  --services-line: #B5B5AD;
  --services-hover: #F2EFE6;
}

.services-page .svc-hero {
  padding-top: clamp(112px, 14vh, 150px);
  padding-bottom: clamp(18px, 2.5vw, 30px);
}

.services-page #services.svc-wrap {
  padding-top: clamp(20px, 3vw, 42px);
}

.services-page .svc-grid {
  gap: clamp(18px, 2.6vw, 36px) clamp(24px, 3vw, 44px);
}

.services-page .svc {
  position: relative;
  border-top-color: var(--services-line);
  border-radius: 24px;
  padding: clamp(24px, 2.6vw, 34px);
  overflow: visible;
  background-color: transparent;
  background-image: linear-gradient(var(--services-ink), var(--services-ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0;
  transition: background-size .85s cubic-bezier(.16,1,.3,1), color .3s ease, transform .45s var(--ease), border-color .45s var(--ease);
}

.services-page .svc__icon {
  display: grid;
  place-items: center;
  width: clamp(60px, 5vw, 72px);
  height: clamp(60px, 5vw, 72px);
  margin-bottom: clamp(20px, 2vw, 26px);
  color: var(--services-ink);
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .55s var(--ease);
}

.services-page .svc__icon svg { stroke-width: 1.55; }
.services-page .svc__title { margin-top: 0; }
.services-page .svc__more {
  color: var(--services-ink);
  text-decoration-color: var(--services-muted);
  transition: color .3s ease, text-decoration-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .services-page a.svc:hover,
  .services-page a.svc:focus-visible {
    background-color: transparent;
    background-size: 100% 100%;
    border-top-color: var(--services-ink);
    color: #fff;
    transform: translateY(-4px);
  }

  .services-page a.svc:hover .svc__icon,
  .services-page a.svc:focus-visible .svc__icon {
    animation: none;
    color: #fff;
    transform: translateY(-3px) rotate(-2deg);
  }

  .services-page a.svc:hover .svc__title,
  .services-page a.svc:focus-visible .svc__title,
  .services-page a.svc:hover .svc__tags,
  .services-page a.svc:focus-visible .svc__tags {
    color: #fff;
  }

  .services-page a.svc:hover .svc__desc,
  .services-page a.svc:focus-visible .svc__desc {
    color: rgba(255,255,255,.72);
  }

  .services-page a.svc:nth-child(even):hover .svc__icon,
  .services-page a.svc:nth-child(even):focus-visible .svc__icon {
    transform: translateY(-3px) rotate(2deg);
  }

  .services-page a.svc:hover .svc__more,
  .services-page a.svc:focus-visible .svc__more {
    color: #fff;
    text-decoration-color: rgba(255,255,255,.65);
  }

  .services-page .header__nav a:hover,
  .services-page .header__nav a:focus-visible,
  .services-page .contact__socials a:hover,
  .services-page .contact__socials a:focus-visible,
  .services-page .text-link:hover,
  .services-page .text-link:focus-visible {
    color: var(--services-muted);
    text-decoration-color: var(--services-muted);
  }
}

@media (max-width: 820px) {
  .services-page .svc-hero {
    padding-top: 104px;
    padding-bottom: 18px;
  }
  .services-page #services.svc-wrap { padding-top: 18px; }
  .services-page .svc { padding: 24px 20px; border-radius: 20px; }
  .services-page .svc__icon { width: 60px; height: 60px; border-radius: 18px; }
}

/* Case-study media presentation: natural proportions, no artificial frame */
.cs-hero__bg img,
.cs-hero__bg video {
  object-position: center top;
}

.pj-fullbleed,
.pj-fullbleed.tall {
  display: block;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pj-fullbleed img,
.pj-fullbleed video {
  position: static;
  top: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: center;
  border-radius: 0;
  will-change: auto;
}

.cs-hero__bg--artwork { aspect-ratio: 3 / 2; }

/* Scrollable frame for full-length website designs. */
.pj-fullbleed.pj-page-preview {
  width: min(980px, calc(100% - 36px));
  border: 1px solid var(--line);
  background: #f5f4f2;
}
.pj-page-preview__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
}
.pj-page-preview__caption strong,
.pj-page-preview__caption div > span { display: block; }
.pj-page-preview__caption strong {
  font: 600 clamp(16px, 1.8vw, 22px)/1.2 "Space Grotesk", sans-serif;
}
.pj-page-preview__caption div > span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
}
.pj-page-preview__caption a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.pj-page-preview__viewport {
  max-height: min(65vh, 680px);
  max-height: min(65svh, 680px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.pj-page-preview__viewport:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}

.pj-gallery {
  gap: clamp(18px, 2.5vw, 32px);
}

.pj-gallery__pair {
  align-items: start;
  gap: clamp(18px, 2.5vw, 32px);
}

.pj-gallery__pair figure,
.pj-gallery__full {
  display: block;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pj-gallery__pair img,
.pj-gallery__pair video,
.pj-gallery__full img,
.pj-gallery__full video {
  position: static;
  top: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: center;
  border-radius: 0;
  will-change: auto;
}

@media (max-width: 820px) {
  .pj-gallery__pair { grid-template-columns: 1fr; }
}
/* SEO service directory */
.service-directory { padding-top: clamp(30px, 5vw, 72px); padding-bottom: clamp(70px, 9vw, 130px); }
.service-directory__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-directory__grid a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 2.5vw, 34px) 0; border-bottom: 1px solid var(--line); background-color: transparent; background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(20px, 2.2vw, 32px); transition: padding .5s var(--ease), background-size .75s cubic-bezier(.16,1,.3,1), color .3s ease; }
.service-directory__grid a:nth-child(odd) { padding-right: clamp(20px, 3vw, 44px); }
.service-directory__grid a:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.service-directory__grid a span:last-child { display: grid; flex: 0 0 auto; place-items: center; width: clamp(42px, 4vw, 54px); height: clamp(42px, 4vw, 54px); border: 1px solid currentColor; border-radius: 50%; color: var(--ink-soft); transition: transform .45s var(--ease), color .3s ease, background-color .3s ease; }
@media (hover:hover) and (pointer:fine) {
  .service-directory__grid a:hover,
  .service-directory__grid a:focus-visible {
    background-color: transparent;
    background-size: 100% 100%;
    color: #fff;
    padding-inline: clamp(18px, 2vw, 28px);
  }
  .service-directory__grid a:hover span:last-child,
  .service-directory__grid a:focus-visible span:last-child {
    background: #fff;
    color: var(--ink);
    transform: translateX(6px);
  }
}
@media (max-width:760px) { .service-directory__grid { grid-template-columns: 1fr; } .service-directory__grid a, .service-directory__grid a:nth-child(odd), .service-directory__grid a:nth-child(even) { padding: 20px 0; border-left: 0; font-size: 22px; } }
/* Service page project visuals */
.service-page__visual {
  width: 100%;
  margin: clamp(44px, 6vw, 84px) 0 clamp(62px, 9vw, 120px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 28px);
}
.service-page__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s var(--ease);
}
.service-page__visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}
.service-proof {
  width: 100%;
  margin: clamp(64px, 9vw, 120px) 0;
}
.service-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.service-proof figure { margin: 0; }
.service-proof img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(10px, 1.4vw, 18px);
  transition: transform .75s var(--ease), filter .45s ease;
}
.service-proof figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
}
.service-proof figcaption span { color: var(--ink-soft); transition: transform .45s var(--ease); }
@media (hover:hover) and (pointer:fine) {
  .service-page__visual:hover img { transform: scale(1.018); }
  .service-proof a:hover img, .service-proof a:focus-visible img { transform: scale(1.025); filter: contrast(1.03); }
  .service-proof a:hover figcaption span, .service-proof a:focus-visible figcaption span { transform: translateX(5px); }
}
@media (max-width: 760px) {
  .service-page__visual { margin-block: 32px 64px; aspect-ratio: 4 / 3; border-radius: 14px; }
  .service-proof { margin-block: 58px; }
  .service-proof__grid { grid-template-columns: 1fr; gap: 30px; }
  .service-proof img { aspect-ratio: 4 / 3; border-radius: 12px; }
}
/* Editorial visual breaks inside service narratives */
.service-visual-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 34px);
  margin: clamp(68px, 10vw, 128px) 0 clamp(18px, 3vw, 42px);
}
.service-visual-story figure { margin: 0; min-width: 0; }
.service-visual-story img,
.service-visual-story video {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: clamp(12px, 1.6vw, 22px);
}
.service-visual-story figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .service-visual-story {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-block: 58px 8px;
  }
  .service-visual-story img,
  .service-visual-story video { height: auto; aspect-ratio: 4 / 3; border-radius: 12px; }
}
/* Presentation slides must always remain fully visible */
.service-page__visual--slide {
  aspect-ratio: 10 / 7;
  background: #f2efe6;
}
.service-page__visual--slide img {
  object-fit: contain;
  object-position: center;
}
.service-visual-story--slides {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.service-visual-story--slides img,
.service-proof--slides img {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: contain;
  object-position: center;
  background: #f2efe6;
}
@media (hover: hover) and (pointer: fine) {
  .service-page__visual--slide:hover img { transform: none; }
}
@media (max-width: 760px) {
  .service-page__visual--slide,
  .service-visual-story--slides img,
  .service-proof--slides img { aspect-ratio: 10 / 7; }
}
/* Slow vertical reveal for tall service-page screenshots */
.service-long-image {
  object-position: center top;
  will-change: object-position;
}
.service-long-image.is-panning {
  animation: service-long-image-pan var(--service-pan-duration, 28s) linear infinite alternate;
}
@keyframes service-long-image-pan {
  from { object-position: center top; }
  to { object-position: center bottom; }
}
@media (hover: hover) and (pointer: fine) {
  .service-page__visual:hover .service-long-image,
  .service-visual-story figure:hover .service-long-image,
  .service-proof figure:hover .service-long-image {
    animation-play-state: paused;
  }
  .service-page__visual:hover img.service-long-image {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-long-image,
  .service-long-image.is-panning {
    animation: none;
    object-position: center top;
    will-change: auto;
  }
}
/* ---------------- Contact form ---------------- */
.contact-form {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(40px, 8vw, 130px);
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(32px, 5vw, 62px);
  border-top: 1px solid var(--line);
}
.contact-form__head h2 {
  max-width: 10ch;
  font: 500 clamp(30px, 3.5vw, 54px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}
.contact-form__head p { max-width: 34ch; margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.contact-form label { display: grid; gap: 10px; min-width: 0; }
.contact-form label > span {
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .13em; text-transform: uppercase;
}
.contact-form label small { margin-left: 7px; color: var(--ink-soft); font: inherit; letter-spacing: .06em; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; min-width: 0; padding: 10px 0 14px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: inherit;
  font: 400 17px/1.45 "Inter", sans-serif;
  transition: border-color .25s ease;
}
.contact-form textarea { resize: vertical; min-height: 138px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 0; border-bottom-color: currentColor; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-soft); opacity: .72; }
.contact-form__message { grid-column: 1 / -1; }
.contact-form__actions {
  grid-column: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  margin-top: 28px;
}
.contact-form__actions button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-width: min(100%, 260px); padding: 17px 22px;
  border: 1px solid currentColor; border-radius: 999px;
  background: var(--ink); color: var(--bg); cursor: pointer;
  font: 600 14px/1 "Space Grotesk", sans-serif;
  transition: transform .4s var(--ease), opacity .25s ease;
}
.contact-form__actions button:hover,
.contact-form__actions button:focus-visible { transform: translateY(-2px); }
.contact-form__actions button:disabled { cursor: wait; opacity: .55; transform: none; }
.contact-form__actions p { color: var(--ink-soft); font-size: 13px; text-align: right; }
.contact-form__actions a { color: var(--ink); text-decoration: underline; text-underline-offset: .22em; }
.contact-form__status { grid-column: 2; min-height: 1.5em; margin-top: 16px; font-size: 14px; }
.contact-form__status.is-success { color: #2d6a42; }
.contact-form__status.is-error { color: #9b2c2c; }
.contact-form__trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 760px) {
  .contact-form { grid-template-columns: 1fr; row-gap: 38px; margin-top: 58px; }
  .contact-form__head h2 { max-width: 12ch; }
  .contact-form__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form__message { grid-column: auto; }
  .contact-form__actions,
  .contact-form__status { grid-column: 1; }
  .contact-form__actions { align-items: stretch; flex-direction: column; }
  .contact-form__actions button { width: 100%; }
  .contact-form__actions p { text-align: left; }
}
/* Formspree declarative states */
.contact-form__field-error,
.contact-form__feedback { display: none; }
.contact-form__field-error[data-fs-active] {
  display: block;
  margin-top: -4px;
  color: #9b2c2c;
  font-size: 12px;
  line-height: 1.35;
}
.contact-form [data-fs-field][aria-invalid="true"] { border-bottom-color: #9b2c2c; }
.contact-form__feedback {
  grid-column: 2;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
}
.contact-form__feedback[data-fs-active] { display: block; }
.contact-form__feedback--success { background: #e8f1e9; color: #285c39; }
.contact-form__feedback--error { background: #f5e8e5; color: #8a2d25; }
@media (max-width: 760px) {
  .contact-form__feedback { grid-column: 1; }
}
/* ---------------- Thank-you page ---------------- */
.thank-page { max-width: 1600px; margin: 0 auto; padding: clamp(140px, 18vh, 210px) var(--gutter) clamp(80px, 10vw, 140px); }
.thank-hero { max-width: 1220px; }
.thank-hero__eyebrow,
.thank-next > header > p,
.thank-explore > div > p {
  margin-bottom: 22px; color: var(--ink-soft);
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
}
.thank-hero h1 {
  max-width: 13ch;
  font: 500 clamp(54px, 8vw, 124px)/.93 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}
.thank-hero__lead { max-width: 53ch; margin-top: clamp(30px, 4vw, 50px); color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.5; }
.thank-hero__back {
  display: inline-flex; align-items: center; gap: 28px; margin-top: 34px;
  padding: 16px 22px; border: 1px solid var(--ink); border-radius: 999px;
  font: 600 14px/1 "Space Grotesk", sans-serif;
  transition: background-color .3s ease, color .3s ease, transform .4s var(--ease);
}
.thank-hero__back:hover,
.thank-hero__back:focus-visible { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.thank-next {
  display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 130px); margin-top: clamp(100px, 14vw, 190px);
  padding-top: clamp(34px, 5vw, 62px); border-top: 1px solid var(--line);
}
.thank-next header h2,
.thank-explore h2 { max-width: 13ch; font: 500 clamp(30px, 3.5vw, 52px)/1.03 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.thank-next ol { list-style: none; }
.thank-next li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.thank-next li:first-child { border-top: 0; padding-top: 0; }
.thank-next li > span { padding-top: 5px; color: var(--ink-soft); font: 600 11px "Space Grotesk", sans-serif; letter-spacing: .1em; }
.thank-next h3 { font: 500 clamp(21px, 2vw, 28px)/1.15 "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.thank-next li p { max-width: 52ch; margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.thank-explore {
  display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 130px); margin-top: clamp(90px, 12vw, 160px);
  padding: clamp(34px, 5vw, 62px); border-radius: clamp(18px, 2.5vw, 34px); background: #F2EFE6;
}
.thank-explore nav { border-top: 1px solid rgba(0,0,0,.18); }
.thank-explore nav a { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.18); font: 500 clamp(18px, 2vw, 26px)/1.2 "Space Grotesk", sans-serif; }
.thank-explore nav a span:last-child { transition: transform .4s var(--ease); }
.thank-explore nav a:hover span:last-child,
.thank-explore nav a:focus-visible span:last-child { transform: translateX(6px); }
.thank-footer { display: flex; justify-content: space-between; gap: 20px; margin: 0 var(--gutter); padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
@media (max-width: 760px) {
  .thank-page { padding-top: 118px; }
  .thank-hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .thank-next,
  .thank-explore { grid-template-columns: 1fr; gap: 40px; }
  .thank-explore { padding: 30px 22px; }
  .thank-footer { flex-direction: column; }
}
/* Two-tier interior-page H1 scale: long titles use a quieter display size. */
.service-page h1.is-long-title,
.cs-hero__title.is-long-title,
.motion-hero h1.is-long-title,
.work-index h1.is-long-title,
.thank-hero h1.is-long-title {
  width: 100%;
  max-width: none;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: wrap;
}

@media (max-width: 760px) {
  .service-page h1.is-long-title,
  .cs-hero__title.is-long-title,
  .motion-hero h1.is-long-title,
  .work-index h1.is-long-title,
  .thank-hero h1.is-long-title {
    max-width: none;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.03;
    letter-spacing: -.035em;
  }
}
/* Thank-you redesign 2026-10-25 */
.thank-page {
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(118px, 13vh, 170px) var(--gutter) clamp(90px, 10vw, 150px);
}
.thank-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
  gap: clamp(24px, 3vw, 46px);
  max-width: none;
  padding: clamp(34px, 5vw, 76px);
  border-radius: clamp(22px, 3vw, 42px);
  background: #F2EFE6;
}
.thank-hero__content { align-self: center; }
.thank-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 42px);
  color: #252A28;
}
.thank-hero__eyebrow > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #252A28;
}
.thank-hero h1,
.thank-hero h1.is-long-title {
  width: auto;
  max-width: 18ch;
  font: 500 clamp(44px, 5.4vw, 82px)/.98 "Space Grotesk", sans-serif;
  letter-spacing: -.052em;
  text-wrap: pretty;
}
.thank-hero__lead {
  max-width: 58ch;
  margin-top: clamp(28px, 3.5vw, 46px);
  color: #4f514d;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}
.thank-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}
.thank-hero__back { margin-top: 0; background: #252A28; color: #fff; }
.thank-hero__back:hover,
.thank-hero__back:focus-visible { background: #A1978C; color: #252A28; }
.thank-hero__email {
  padding: 8px 0 5px;
  border-bottom: 1px solid #A1978C;
  font: 500 14px/1.2 "Space Grotesk", sans-serif;
  transition: border-color .25s ease, color .25s ease;
}
.thank-hero__email:hover,
.thank-hero__email:focus-visible { color: #766e65; border-color: #252A28; }
.thank-status {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 3vw, 44px);
  border-radius: clamp(17px, 2vw, 28px);
  background: #252A28;
  color: #fff;
}
.thank-status__icon { width: clamp(54px, 5vw, 76px); margin-bottom: auto; }
.thank-status__icon svg { display: block; width: 100%; height: auto; }
.thank-status__icon circle { fill: none; stroke: #A1978C; stroke-width: 1.5; }
.thank-status__icon path { fill: none; stroke: #F2EFE6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thank-status > p {
  margin-top: clamp(70px, 10vw, 150px);
  color: #B5B5AD;
  font: 600 10px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.thank-status > strong {
  max-width: 16ch;
  margin-top: 14px;
  font: 500 clamp(24px, 2.4vw, 36px)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}
.thank-status > span { max-width: 31ch; margin-top: 22px; color: #B5B5AD; font-size: 14px; line-height: 1.55; }
.thank-next {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  margin-top: clamp(80px, 10vw, 145px);
}
.thank-next header h2 { max-width: 12ch; }
.thank-next li {
  grid-template-columns: 58px 1fr;
  padding: clamp(24px, 3vw, 38px) 0;
  transition: padding .35s var(--ease), background-color .35s ease;
}
.thank-next li:hover { padding-left: 18px; padding-right: 18px; background: #F2EFE6; }
.thank-next li > span { color: #A1978C; }
.thank-next h3 { font-size: clamp(23px, 2vw, 31px); }
.thank-next li p { font-size: clamp(15px, 1.1vw, 17px); }
.thank-work { margin-top: clamp(90px, 12vw, 175px); }
.thank-work__head {
  display: grid;
  grid-template-columns: .65fr 1.35fr auto;
  align-items: end;
  gap: 28px;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.thank-work__head > p {
  align-self: start;
  color: var(--ink-soft);
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.thank-work__head h2 { max-width: 12ch; font: 500 clamp(34px, 4.2vw, 62px)/1 "Space Grotesk", sans-serif; letter-spacing: -.045em; }
.thank-work__head > a { padding-bottom: 5px; border-bottom: 1px solid currentColor; font: 600 13px/1.2 "Space Grotesk", sans-serif; }
.thank-work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 30px); padding-top: clamp(28px, 4vw, 48px); }
.thank-work__card figure { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: #F2EFE6; }
.thank-work__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.thank-work__card:hover img,
.thank-work__card:focus-visible img { transform: scale(1.035); }
.thank-work__card > div { padding: 18px 2px 8px; }
.thank-work__card p { color: #A1978C; font: 600 10px/1.2 "Space Grotesk", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.thank-work__card h3 { margin-top: 10px; font: 500 clamp(24px, 2.3vw, 34px)/1 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.thank-work__card > div > span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 900px) {
  .thank-hero { grid-template-columns: 1fr; }
  .thank-status { min-height: 360px; }
  .thank-work__head { grid-template-columns: 1fr auto; }
  .thank-work__head > p { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .thank-page { padding-top: 104px; }
  .thank-hero { padding: 24px; border-radius: 22px; }
  .thank-hero h1,
  .thank-hero h1.is-long-title { max-width: none; font-size: clamp(36px, 10.5vw, 48px); line-height: 1; }
  .thank-status { min-height: 320px; }
  .thank-next { gap: 46px; }
  .thank-next li:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .thank-work__grid { grid-template-columns: 1fr; gap: 38px; }
  .thank-work__head { grid-template-columns: 1fr; }
  .thank-work__head > a { justify-self: start; }
}
/* Inline post-submit engagement */
.contact-success {
  padding-top: clamp(4px, 2vw, 24px);
  outline: 0;
}
.contact-success__intro {
  display: grid;
  grid-template-columns: minmax(72px, .32fr) minmax(0, 1.68fr);
  column-gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.contact-success__icon {
  grid-row: 1 / span 3;
  width: clamp(58px, 7vw, 100px);
}
.contact-success__icon svg { display: block; width: 100%; height: auto; }
.contact-success__icon circle { fill: #F2EFE6; stroke: #A1978C; stroke-width: 1; }
.contact-success__icon path { fill: none; stroke: #252A28; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-success__eyebrow {
  color: #A1978C;
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-success h2 {
  max-width: 17ch;
  margin-top: 22px;
  font: 500 clamp(40px, 6vw, 88px)/.98 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
}
.contact-success__intro > p:last-child {
  max-width: 59ch;
  margin-top: clamp(24px, 3vw, 40px);
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.contact-success__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(52px, 8vw, 110px);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2.5vw, 32px);
  overflow: hidden;
  background: var(--line);
}
.contact-success__actions > a {
  display: flex;
  min-height: clamp(130px, 14vw, 190px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 42px);
  background: #fff;
  font: 500 clamp(19px, 2vw, 28px)/1.15 "Space Grotesk", sans-serif;
  transition: background-color .35s ease, color .35s ease;
}
.contact-success__actions > a:hover,
.contact-success__actions > a:focus-visible { background: #F2EFE6; }
.contact-success__actions > a.contact-success__primary { background: #252A28; color: #fff; }
.contact-success__actions > a.contact-success__primary:hover,
.contact-success__actions > a.contact-success__primary:focus-visible { background: #A1978C; color: #252A28; }
.contact-success__actions small {
  display: block;
  margin-bottom: 12px;
  color: #A1978C;
  font: 600 10px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-success__primary small { color: #B5B5AD; }
.contact-success__actions > a > span:last-child {
  flex: none;
  font-size: 1.25em;
  transition: transform .4s var(--ease);
}
.contact-success__actions > a:hover > span:last-child,
.contact-success__actions > a:focus-visible > span:last-child { transform: translate(4px, -4px); }
.contact-success__actions > a.contact-success__primary:hover > span:last-child,
.contact-success__actions > a.contact-success__primary:focus-visible > span:last-child { transform: translateY(5px); }
.contact-success__footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(54px, 8vw, 100px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}
@media (max-width: 760px) {
  .contact-success__intro { grid-template-columns: 1fr; }
  .contact-success__icon { grid-row: auto; margin-bottom: 34px; }
  .contact-success h2 { max-width: none; font-size: clamp(36px, 10vw, 48px); }
  .contact-success__actions { grid-template-columns: 1fr; }
  .contact-success__actions > a { min-height: 122px; }
  .contact-success__footer { flex-direction: column; }
}

/* Static presentation closing slide; deck slides never animate or crop. */
.service-proof--slides .service-proof__closing{width:min(100%,900px);margin:clamp(32px,5vw,68px) auto 0}
.service-proof--slides .service-proof__closing img{display:block;width:100%;height:auto;aspect-ratio:10/7;object-fit:contain;object-position:center;background:#f2efe6}
.service-proof--slides .service-proof__closing figcaption{padding-top:12px;color:var(--ink-soft);font-size:14px}

/* Static deck-board presentation: featured slide plus contact sheet. */
.presentation-board{width:100%;margin-block:clamp(46px,7vw,100px);padding:clamp(18px,3vw,46px);border-radius:clamp(16px,2vw,28px);background:#ded9d1}
.presentation-board__label{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:clamp(18px,2vw,30px);color:var(--ink-soft);font:500 12px/1.3 "Space Grotesk",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.presentation-board__label strong{color:var(--ink);font-size:14px}
.presentation-board figure{margin:0;background:#f5f2eb}
.presentation-board img{display:block;width:100%;height:auto;object-fit:contain;object-position:center;transform:none}
.presentation-board__feature{width:min(78%,980px);margin-inline:auto;padding:clamp(10px,1.4vw,20px);background:#ebe7df}
.presentation-board__feature figure{box-shadow:0 18px 48px rgba(26,24,20,.13)}
.presentation-board__feature img{aspect-ratio:10/7}
.presentation-board__contact-sheet{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1.2vw,18px);margin-top:clamp(18px,2.5vw,36px)}
.presentation-board__contact-sheet figure{box-shadow:0 7px 20px rgba(26,24,20,.08)}
.presentation-board__contact-sheet img{aspect-ratio:10/7}
.presentation-board--image{padding-bottom:clamp(18px,3vw,46px)}
.presentation-board--image>figure{max-width:1100px;margin-inline:auto;background:transparent}
.presentation-board--image>figure>img{aspect-ratio:auto}
@media(max-width:760px){.presentation-board{padding:12px}.presentation-board__feature{width:100%;padding:7px}.presentation-board__contact-sheet{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.presentation-board__label{align-items:flex-start;flex-direction:column;gap:5px}}

/* Presentation hero: static three-column deck mosaic, matching the supplied reference. */
.presentation-board--hero{padding:clamp(8px,1vw,16px);overflow:hidden}
.presentation-board__hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1vw,16px)}
.presentation-board__hero-grid figure{min-width:0;box-shadow:none}
.presentation-board__hero-grid img{display:block;width:100%;height:auto;aspect-ratio:10/7;object-fit:contain;object-position:center;transform:none}
@media(max-width:760px){.presentation-board__hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}}

/* Hero mosaic has no beige outer frame. */
.presentation-board.presentation-board--hero{padding:0;background:transparent;border-radius:0}

/* Consistent breadcrumb treatment across every service page. */
.service-page>.breadcrumbs{display:block;visibility:visible;opacity:1;width:100%;min-height:20px;margin:0 0 clamp(36px,6vw,72px);color:var(--ink-soft);font:500 13px/1.5 "Inter",sans-serif}
.service-page>.breadcrumbs a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em}
@media(max-width:760px){.service-page>.breadcrumbs{margin-bottom:38px;font-size:12px}}

/* Digital art direction: project-led visual chapters. */
.service-project-visual{margin-block:clamp(56px,8vw,118px)}
.service-project-visual__heading{display:flex;justify-content:space-between;gap:24px;margin-bottom:18px;padding-top:16px;border-top:1px solid var(--ink)}
.service-project-visual__heading p{font:600 clamp(22px,2.4vw,32px)/1 "Space Grotesk",sans-serif}
.service-project-visual__heading span{color:var(--ink-soft);font-size:14px}
.service-project-visual>.service-page__visual{margin:0}
.service-proof__grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.service-project-visual__heading{display:block}.service-project-visual__heading span{display:block;margin-top:8px}.service-proof__grid--two{grid-template-columns:1fr}}

/* Related services: near-full-width editorial navigation. */
.service-page__section:has(.service-links) {
  display: block;
  position: relative;
  width: calc(100vw - clamp(32px, 5vw, 80px));
  max-width: 1800px;
  margin: clamp(90px, 13vw, 170px) 0 0 50%;
  padding: clamp(54px, 7vw, 96px) clamp(24px, 5vw, 88px) 0;
  transform: translateX(-50%);
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.service-page__section:has(.service-links)::before {
  content: "Continue exploring";
  display: block;
  margin-bottom: clamp(16px, 2vw, 26px);
  color: var(--ink-soft);
  font: 600 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.service-page__section:has(.service-links)::after,
.service-page__section:has(.service-links) h2::before { display: none; }
.service-page__section:has(.service-links) h2 {
  max-width: 10ch;
  margin-bottom: clamp(44px, 6vw, 76px);
  color: var(--ink);
  font-size: clamp(48px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.055em;
}
.service-page__section:has(.service-links) .service-page__copy { width: 100%; max-width: none; }
.service-page__section:has(.service-links) .service-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.service-page__section:has(.service-links) .service-links a,
.service-page__section:has(.service-links) .service-links a:last-child {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  grid-column: auto;
  align-items: center;
  width: 100%;
  min-height: clamp(104px, 10vw, 142px);
  margin: 0;
  padding: 0 clamp(2px, 1vw, 14px);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 clamp(25px, 3vw, 43px)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
  transition: padding .5s var(--ease), color .3s ease;
}
.service-page__section:has(.service-links) .service-links a::before,
.service-page__section:has(.service-links) .service-links a:last-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.service-page__section:has(.service-links) .service-links a::after,
.service-page__section:has(.service-links) .service-links a:last-child::after {
  content: "→";
  position: static;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  width: 52px;
  height: 52px;
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 400 22px/1 "Inter", sans-serif;
  letter-spacing: 0;
  opacity: 1;
  transition: transform .5s var(--ease), background .3s ease, color .3s ease;
}
.service-page__section:has(.service-links) .service-links a:hover,
.service-page__section:has(.service-links) .service-links a:focus-visible,
.service-page__section:has(.service-links) .service-links a:last-child:hover,
.service-page__section:has(.service-links) .service-links a:last-child:focus-visible {
  padding-inline: clamp(18px, 2vw, 30px);
  border-color: var(--line);
  background: transparent;
  color: var(--bg);
  transform: none;
}
.service-page__section:has(.service-links) .service-links a:hover::before,
.service-page__section:has(.service-links) .service-links a:focus-visible::before { transform: scaleY(1); }
.service-page__section:has(.service-links) .service-links a:hover::after,
.service-page__section:has(.service-links) .service-links a:focus-visible::after {
  background: var(--bg);
  color: var(--ink);
  transform: translateX(6px);
}
@media (max-width: 680px) {
  .service-page__section:has(.service-links) {
    width: calc(100vw - 24px);
    margin-top: 86px;
    padding: 42px 18px 0;
  }
  .service-page__section:has(.service-links) h2 { margin-bottom: 38px; font-size: clamp(43px, 14vw, 62px); }
  .service-page__section:has(.service-links) .service-links a,
  .service-page__section:has(.service-links) .service-links a:last-child {
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 96px;
    font-size: clamp(22px, 7vw, 31px);
  }
  .service-page__section:has(.service-links) .service-links a::after,
  .service-page__section:has(.service-links) .service-links a:last-child::after {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* Mobile experience refinement — shared across the portfolio. */
@media (max-width: 760px) {
  :root { --gutter: 18px; }

  html { scroll-padding-top: 88px; }
  body {
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .header {
    min-height: 74px;
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }

  .header__quick-contact,
  .header__menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .service-page {
    width: 100%;
    padding: 108px var(--gutter) 76px;
  }

  .breadcrumbs {
    display: block;
    margin-bottom: 34px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .breadcrumbs::-webkit-scrollbar { display: none; }

  .service-page h1 {
    margin-bottom: 20px;
    text-wrap: balance;
  }

  .service-page__lead {
    max-width: none;
    font-size: 18px;
    line-height: 1.5;
  }

  .service-page__section {
    padding-top: 58px;
    gap: 22px;
  }

  .service-page__section h2 {
    max-width: 13ch;
    font-size: clamp(28px, 9vw, 40px);
  }

  .service-page__copy,
  .service-page__copy p,
  .service-page__copy li {
    line-height: 1.58;
  }

  .service-page__copy ul { padding-left: 1.1em; }
  .service-page__copy li + li { margin-top: .85em; }

  .service-page__visual,
  .service-project-visual,
  .service-visual-story,
  .service-proof,
  .presentation-board {
    margin-top: 46px;
    margin-bottom: 68px;
  }

  .service-page__visual,
  .service-page__visual img,
  .service-page__visual video,
  .service-visual-story img,
  .service-visual-story video,
  .service-proof figure,
  .service-proof img {
    max-width: 100%;
    border-radius: 12px;
  }

  .service-page figcaption,
  .service-visual-story figcaption,
  .service-proof figcaption {
    padding-top: 11px;
    font-size: 13px;
    line-height: 1.45;
  }

  .service-directory__grid a,
  .about__list li a,
  .service-links a {
    min-height: 64px;
    -webkit-tap-highlight-color: transparent;
  }

  .service-directory__grid a,
  .service-directory__grid a:nth-child(odd),
  .service-directory__grid a:nth-child(even) {
    padding: 18px 0;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .contact-form textarea { min-height: 132px; }
  .contact-form__actions button { min-height: 52px; }

  .contact__cta,
  .pill,
  .dl-btn {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .service-page__lead { font-size: 17px; }
  .service-page__section h2 { font-size: 30px; }
}

/* Contextual service CTA */
.service-project-cta {
  position: fixed;
  z-index: 9000;
  left: auto;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: min(calc(100vw - 48px), 680px);
  margin: 0;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 26px;
  border-radius: 24px;
  background: rgba(10, 10, 10, .86);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  color: #fff;
  overflow: visible;
  transform: translateY(18px);
  box-shadow: 0 30px 100px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s;
}
.service-project-cta--floating {
  position: fixed;
}
.service-project-cta--floating.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.service-project-cta--floating.is-dismissed { display: none; }
.service-project-cta__close {
  position: absolute;
  z-index: 20;
  top: -26px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  font: 700 27px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.service-project-cta__close:hover,
.service-project-cta__close:focus-visible {
  background: var(--ink);
  color: #fff;
  border-color: #fff;
  transform: rotate(4deg);
}
@keyframes serviceCtaEnter {
  from { opacity: 0; transform: translate(-50%, 28px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.service-project-cta::after { content: none; }
.service-project-cta__copy { position: relative; z-index: 1; max-width: 850px; }
.service-project-cta__eyebrow {
  margin: 0 0 12px;
  color: rgba(255,255,255,.58);
  font: 600 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.service-project-cta h2 {
  margin: 0;
  max-width: 24ch;
  font: 600 clamp(26px, 2.2vw, 34px)/1.04 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.service-project-cta__copy > p:last-child {
  margin: 14px 0 0;
  max-width: 58ch;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.45;
}
.service-project-cta__actions { position: relative; z-index: 1; display: grid; }
.service-project-cta__actions a {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  color: #fff;
  font: 600 15px/1 "Space Grotesk", sans-serif;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.service-project-cta__actions a span { font-size: 20px; transition: transform .25s ease; }
.service-project-cta__primary { background: #fff; color: var(--ink) !important; border-color: #fff !important; }
.service-project-cta__secondary { display: none !important; }
.service-project-cta__actions a:hover,
.service-project-cta__actions a:focus-visible { transform: translateY(-3px); }
.service-project-cta__primary:hover,
.service-project-cta__primary:focus-visible { background: rgba(255,255,255,.86); }
.service-project-cta__secondary:hover,
.service-project-cta__secondary:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.service-project-cta__actions a:hover span,
.service-project-cta__actions a:focus-visible span { transform: translate(3px,-2px); }

/* Compact analytics consent */
.analytics-consent {
  display: none !important;
  position: fixed;
  z-index: 10000;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  width: min(560px, calc(100vw - 24px));
  padding: 16px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.26);
}
.analytics-consent[hidden],
.analytics-settings[hidden] { display: none; }
.analytics-consent__copy { max-width: 42ch; }
.analytics-consent__eyebrow {
  margin-bottom: 6px;
  color: rgba(255,255,255,.58);
  font: 600 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.analytics-consent h2 {
  margin-bottom: 5px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.analytics-consent__copy > p:last-child {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  line-height: 1.4;
}
.analytics-consent__actions { display: flex; gap: 10px; }
.analytics-consent button,
.analytics-settings {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 600 13px/1 "Space Grotesk", sans-serif;
  cursor: pointer;
}
.analytics-consent__accept {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--ink) !important;
}
.analytics-consent button:hover,
.analytics-consent button:focus-visible { border-color: #fff; transform: translateY(-2px); }
.analytics-settings {
  position: fixed;
  z-index: 790;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  min-height: 38px;
  padding-inline: 14px;
  border-color: var(--line);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 11px;
  backdrop-filter: blur(10px);
}
@media (max-width: 680px) {
  .service-project-cta {
    right: 12px;
    width: calc(100vw - 24px);
    margin: 0;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 22px 18px 18px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 20px;
  }
  .service-project-cta--floating {
    width: calc(100vw - 24px);
    bottom: max(12px, env(safe-area-inset-bottom));
    margin: 0;
  }
  .service-project-cta__close { top: -21px; right: 16px; width: 42px; height: 42px; border-width: 3px; font-size: 24px; }
  .service-project-cta::after { display: none; }
  .service-project-cta h2 { padding-right: 28px; font-size: clamp(27px, 8vw, 36px); }
  .service-project-cta__copy > p:last-child { margin-top: 10px; font-size: 14px; }
  .service-project-cta__actions { grid-template-columns: 1fr; gap: 8px; }
  .service-project-cta__actions a { min-height: 48px; padding: 0 14px; font-size: 13px; }
  .analytics-consent {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
    padding: 14px;
    border-radius: 14px;
  }
  .analytics-consent__actions { justify-content: flex-end; }
}

/* Sample UX audit deliverable */
.audit-report {
  --audit-line: #dce3ea;
  --audit-muted: #46566a;
  margin-block: clamp(38px, 6vw, 80px) 0;
  border: 1px solid var(--audit-line);
  border-radius: 18px;
  background: #fff;
  color: #192738;
}
.audit-report__head, .audit-report__finding { padding: clamp(18px, 3.4vw, 42px); }
.audit-report__head { background: #edf1f4; border-radius: 17px 17px 0 0; }
.audit-report__head h2 {
  margin-block: 8px 12px;
  font: 600 clamp(30px, 4.2vw, 58px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: -.035em;
}
.audit-report__head > p:last-of-type { max-width: 56ch; }
.audit-report__label, .audit-report dt {
  font: 600 12px/1.3 "Space Grotesk", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--audit-muted);
}
.audit-report__label span { margin-inline: .25em; }
.audit-report__scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #c6d0db;
}
.audit-report__scope dd { margin-top: 4px; font-size: 14px; }
.audit-report__finding { border-top: 1px solid var(--audit-line); }
.audit-report__finding-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
}
.audit-report__finding-head h3 {
  width: 100%;
  font: 600 clamp(22px, 2.6vw, 32px)/1.12 "Space Grotesk", sans-serif;
  letter-spacing: -.025em;
}
.audit-report__priority {
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.audit-report__priority--high { background: #f9e5e7; color: #8d2630; }
.audit-report__priority--medium { background: #fcf0d6; color: #674812; }
.audit-report__evidence { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px 24px; }
.audit-report__evidence img { display: block; width: 100%; height: auto; border: 1px solid var(--audit-line); border-radius: 8px; }
.audit-report__evidence figcaption { margin-top: 8px; font-size: 13px; color: var(--audit-muted); }
.audit-report__evidence figcaption a { text-decoration: underline; text-underline-offset: .2em; }
.audit-report__evidence dd { margin: 4px 0 13px; font-size: 14px; line-height: 1.55; }
.audit-report__evidence dd:last-child { margin-bottom: 0; }
.audit-report__criterion { margin-top: 8px; }
@media (max-width: 760px) {
  .audit-report__scope, .audit-report__evidence { grid-template-columns: 1fr; }
}

/* Full artwork and original campaign material on case studies */
.cs-hero__bg--square { aspect-ratio: 1; }
.pj-media-archive { padding: 16px clamp(12px, 2vw, 22px); border: 1px solid var(--line); border-radius: 12px; }
.pj-media-archive summary { cursor: pointer; font-weight: 600; }
.pj-media-archive[open] summary { margin-bottom: 18px; }

/* DoubleLine: original palette and type specimens in a Mondrian-inspired grid */
.pj-fullbleed.dl-style-guide {
  background: #f0f2f5;
  border: 1px solid #dbe0e6;
}
.dl-style-guide__head,
.dl-style-guide__body { padding: clamp(20px, 4.2vw, 56px); }
.dl-style-guide__head { background: #004474; color: #fff; }
.dl-style-guide__label {
  font: 700 12px/1.4 "Lato", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dl-style-guide__head h2 {
  margin: 10px 0 14px;
  font: 700 clamp(32px, 5.4vw, 76px)/1 "Montserrat", sans-serif;
  letter-spacing: -.055em;
}
.dl-style-guide__head > p:last-child { max-width: 56ch; font-family: "Lato", sans-serif; }
.dl-style-guide__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.dl-style-guide__body h3 { margin-bottom: 12px; }
.dl-style-guide__palette {
  list-style: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(95px, auto);
  gap: 4px;
  padding: 4px;
  background: #161616;
}
.dl-style-guide__palette li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(7px, 1.2vw, 16px);
  font: 700 clamp(12px, 1.2vw, 16px)/1.2 "Lato", sans-serif;
}
.dl-style-guide__palette code { font-size: 11px; }
.dl-style-guide__navy { grid-column: span 2; grid-row: span 2; background: #004474; color: #fff; }
.dl-style-guide__yellow { background: #ffd600; color: #161616; }
.dl-style-guide__red { background: #f5333f; color: #101010; }
.dl-style-guide__blue { background: #0075c9; color: #fff; }
.dl-style-guide__charcoal { background: #3f3f3f; color: #fff; }
.dl-style-guide__white { background: #fff; color: #161616; }
.dl-style-guide__type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dl-style-guide__type > div {
  padding: clamp(10px, 1.75vw, 22px);
  background: #fff;
  border-bottom: 4px solid #004474;
}
.dl-style-guide__type > div:nth-child(2) { border-color: #ffd600; }
.dl-style-guide__montserrat { font-family: "Montserrat", sans-serif; }
.dl-style-guide__lato { font-family: "Lato", sans-serif; }
.dl-style-guide__type span {
  display: block;
  margin-bottom: 12px;
  color: #004474;
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.09em;
}
.dl-style-guide__type strong { font-size: clamp(13px, 1.6vw, 21px); }
.dl-style-guide__type p { margin-top: 6px; font-size: 13px; line-height: 1.35; }
.dl-style-guide__archive { margin: 0 clamp(20px, 4.2vw, 56px) clamp(20px, 4.2vw, 56px); background: #fff; }
.dl-style-guide__archive figcaption { padding-top: 8px; font-size: 13px; }
.dl-style-guide__archive figcaption a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 820px) {
  .dl-style-guide__body { grid-template-columns: 1fr; }
}

/* Peterbilt project sequence. Scope the wider gallery to this case study. */
.peterbilt-story {
  --pb-edge: clamp(18px, 3vw, 48px);
  --pb-gallery-width: min(1520px, calc(100% - var(--pb-edge) - var(--pb-edge)));
}
.peterbilt-story > .pj-fullbleed:not(.pj-page-preview),
.peterbilt-story > .pj-gallery {
  width: var(--pb-gallery-width);
  max-width: none;
  margin-block: clamp(28px, 4.4vw, 72px);
  padding: 0;
  border-radius: 4px;
}
.peterbilt-story > .pj-gallery .pj-gallery__pair {
  gap: clamp(10px, 1.3vw, 18px);
}
.peterbilt-story > .pj-gallery figure { border-radius: 4px; }
.peterbilt-story > .pj-fullbleed.peterbilt-detail {
  width: min(1100px, calc(100% - var(--pb-edge) - var(--pb-edge)));
}
.peterbilt-story > .pj-section {
  padding-top: 0;
  margin-block: clamp(44px, 6vw, 96px);
}
.peterbilt-story > .pj-section .pj-section__label { position: static; }

/* Homepage experience and services introduction */
.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5.5fr);
  gap: clamp(32px, 7vw, 125px);
  align-items: start;
  width: min(88%, 1560px);
  margin-inline: auto;
  padding-block: clamp(72px, 10vw, 155px);
}
.home-intro .proof-primary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 3.2vw, 50px);
  padding: clamp(0px, 1.4vw, 22px) 0 clamp(24px, 3.1vw, 48px) clamp(0px, .8vw, 14px);
}
.home-intro .proof-primary strong {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 100;
  letter-spacing: -.09em;
  font-size: clamp(80px, 13vw, 196px);
  line-height: .8;
}
.home-intro .proof-primary p {
  grid-column: auto;
  align-self: center;
  max-width: none;
  margin: 0;
  font-size: clamp(16px, 1.9vw, 27px);
  line-height: 1.35;
}
.home-intro .proof-grid {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 48.5fr) minmax(0, 51.5fr);
  padding-top: clamp(18px, 2.4vw, 36px);
}
.home-intro .proof-grid > div {
  display: block;
  padding: 0 clamp(10px, 2vw, 28px) 0 clamp(0px, .8vw, 14px);
}
.home-intro .proof-grid > div + div {
  border: 0;
  border-left: 1px solid var(--line);
  padding-inline: clamp(14px, 3.6vw, 52px) 0;
}
.home-intro .proof-grid dt {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
  margin-block: 12px 6px;
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 600;
}
.home-intro .proof-grid dd { margin: 0; max-width: 18ch; color: var(--ink-soft); font-size: clamp(14px, 1.3vw, 18px); line-height: 1.4; }
.proof-icon { display: block; position: relative; width: 32px; height: 30px; color: var(--ink-soft); }
.proof-icon::before, .proof-icon::after { content: ""; position: absolute; }
.proof-icon--laptop::before {
  inset: 3px 3px 7px;
  border: 1.5px solid;
  border-radius: 2px 2px 0 0;
}
.proof-icon--laptop::after { inset: auto 0 3px; height: 5px; border: 1.5px solid; border-radius: 0 0 3px 3px; }
.proof-icon--layers::before, .proof-icon--layers::after, .proof-icon--layers i {
  position: absolute;
  left: 5px;
  width: 22px;
  height: 22px;
  border: 1.5px solid;
  transform: scaleY(.55) rotate(45deg);
}
.proof-icon--layers::before { top: -3px; }
.proof-icon--layers i { top: 4px; border-top: 0; border-left: 0; }
.proof-icon--layers::after { top: 11px; border-top: 0; border-left: 0; }
.home-intro__heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 3.95vw, 67px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 0 0 .55em;
}
.home-intro__heading span { color: var(--ink-soft); }
.home-intro .home-intro__text p {
  max-width: 100%;
  font-size: clamp(17px, 1.9vw, 27px);
  line-height: 1.28;
  margin-bottom: 1em;
}
.home-intro .home-intro__text p:last-of-type {
  font-size: clamp(15px, 1.4vw, 21px);
  line-height: 1.4;
}
@media (min-width: 901px) {
  .home-intro .proof-primary p span { display: block; }
}
@media (max-width: 900px) {
  .home-intro { grid-template-columns: 1fr; gap: clamp(72px, 13vw, 112px); width: 100%; padding-top: clamp(44px, 7vw, 70px); padding-inline: clamp(24px, 5vw, 40px); }
  .home-intro__text { order: -1; }
  .home-intro__text .pill { width: fit-content; max-width: 100%; min-height: 48px; padding: 12px 24px; }
  .home-intro .proof-primary {
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline: 0;
    padding-bottom: clamp(44px, 8vw, 72px);
  }
  .home-intro .proof-primary p { width: 100%; }
  .home-intro .proof-grid > div:first-child { padding-left: 0; }
  .home-intro .proof-grid dd { max-width: none; text-wrap: balance; }
  .home-intro__heading { max-width: 21ch; margin-bottom: clamp(28px, 5vw, 44px); }
}

/* Homepage background color transitions */
.home-page main {
  background:
    radial-gradient(ellipse at 72% 20%, #eeecea 0%, transparent 68%)
      top center / 110% clamp(620px, 85vw, 1280px) no-repeat,
    linear-gradient(155deg, #f4f3f2 0%, #faf9f8 42%, #fff 94%)
      top center / 100% clamp(760px, 115vw, 1560px) no-repeat,
    #fff;
}
.home-page .home-work { background-color: #101111; }
.home-page .about {
  background: linear-gradient(180deg, transparent, #f5f1ed 100%), linear-gradient(180deg, #fff, #eee7e0);
}
.home-page .contact {
  background: linear-gradient(180deg, #f5f1ed 0%, transparent 34%, #f3efeb 100%), linear-gradient(180deg, #f5f1ed 0%, #ddd4ca 42%, #e9e2da 72%, #f3efeb 100%);
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .home-page main {
      animation: home-scroll-light linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 105vh;
    }
    .home-page .about {
      animation: home-scroll-warmth linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    .home-page .contact {
      animation: home-scroll-warmth linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
  }
}
@keyframes home-scroll-light {
  from { background-position: 50% 0, top center; }
  to { background-position: 78% -18vh, top center; }
}
@keyframes home-scroll-warmth {
  from { background-size: 100% 100%, 100% 155%; }
  to { background-size: 100% 100%, 100% 100%; }
}
