:root {
  --ink: #07101f;
  --ink-soft: #111d31;
  --paper: #ffffff;
  --mist: #eef2f8;
  --line: #dce3ee;
  --blue: #315efb;
  --blue-deep: #1839b8;
  --coral: #ff6747;
  --cyan: #9ee7ef;
  --text: #172238;
  --muted: #647087;
  --font-display: "Manrope", "DM Sans", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: white;
  color: var(--ink);
  border-radius: 4px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,16,31,.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 10px 2px 10px 2px;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .01em;
}

.brand-copy span {
  margin-top: 3px;
  color: #aab6c9;
  font-size: .72rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  color: #cad4e4;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: white;
}

.primary-nav .nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  color: white;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  transition: transform .2s ease;
}

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, var(--ink), transparent);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(7,16,31,.96) 25%, rgba(7,16,31,.45) 60%, rgba(7,16,31,.2) 100%),
    url("campaign-systems-hero.webp") center right / cover no-repeat;
  opacity: .96;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 800px;
  padding: 178px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  align-items: end;
  gap: 72px;
}

.hero-copy {
  align-self: center;
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--coral);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--blue);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 6.4vw, 6rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  font-weight: 750;
}

h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-lede {
  max-width: 670px;
  margin: 0;
  color: #c7d1e1;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--coral);
  color: var(--ink);
}

.button-primary:hover {
  background: #ff8066;
}

.button-secondary {
  border-color: rgba(255,255,255,.3);
  background: rgba(7,16,31,.45);
  color: white;
}

.button-secondary:hover {
  border-color: white;
}

.proof-card {
  position: relative;
  z-index: 2;
  margin-bottom: -52px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(7,16,31,.82);
  box-shadow: 0 24px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(16px);
}

.proof-label {
  margin: 0 0 20px;
  color: #aebbd0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.13);
  border-left: 1px solid rgba(255,255,255,.13);
}

.proof-grid > div {
  padding: 18px;
  display: grid;
  border-right: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.proof-grid strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
}

.proof-grid span {
  margin-top: 6px;
  color: #9daabe;
  font-size: .74rem;
}

.proof-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  color: white;
  font-size: .82rem;
  font-weight: 650;
}

.proof-footer a {
  margin-left: auto;
  color: #cbd6e7;
  font-weight: 600;
  text-decoration: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(158,231,239,.12);
}

.platform-band {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: white;
}

.platform-row {
  min-height: 104px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #59667b;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section {
  padding: 132px 0;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 68px;
}

.section-intro > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.services {
  background: #f7f9fc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 390px;
  padding: 46px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  background: white;
  box-shadow: 0 22px 60px rgba(31,47,78,.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  display: block;
  color: var(--blue);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon .icon-accent {
  stroke: var(--coral);
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  margin: 24px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  color: #3f4b60;
  font-size: .86rem;
}

.service-card li {
  margin: 5px 0;
}

.service-card li::before {
  content: "—";
  margin-right: 8px;
  color: var(--coral);
}

.agency-support {
  margin-top: 28px;
  padding: 42px 46px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 70px;
  border: 1px solid #cfd9e8;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  background: white;
  box-shadow: 0 18px 50px rgba(31,47,78,.06);
}

.agency-support .eyebrow {
  margin-bottom: 14px;
}

.agency-support h3 {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.agency-support > div:last-child > p {
  margin: 0;
  color: var(--muted);
}

.agency-support ul {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.agency-support li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #3f4b60;
  font-size: .74rem;
  font-weight: 650;
}

.work {
  background: var(--ink);
  color: white;
}

.work-intro {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 80px;
}

.work-intro h2 {
  margin-bottom: 0;
}

.work-intro > p {
  color: #aeb9ca !important;
}

.portfolio-summary {
  margin: -20px 0 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.portfolio-summary > div {
  min-height: 108px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.13);
}

.portfolio-summary > div:last-child {
  border-right: 0;
}

.portfolio-summary strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.1;
}

.portfolio-summary span {
  margin-top: 6px;
  color: #9facbf;
  font-size: .76rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: var(--ink-soft);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 22px 55px rgba(0,0,0,.24);
}

.portfolio-preview {
  position: relative;
  min-height: 280px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: end;
  gap: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(49,94,251,.08), transparent 48%),
    #e9edf4;
}

.portfolio-preview::after {
  content: "";
  position: absolute;
  inset: auto -44px -70px auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(49,94,251,.16);
  border-radius: 50%;
  pointer-events: none;
}

.email-shot {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7,16,31,.14);
  border-radius: 7px;
  background: white;
  box-shadow: 0 14px 30px rgba(7,16,31,.16);
}

.email-shot-desktop {
  height: 230px;
}

.email-shot-mobile {
  height: 252px;
  border-width: 8px 5px 10px;
  border-color: #101827;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(7,16,31,.28);
}

.email-shot-mobile::before,
.email-shot-mobile::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  pointer-events: none;
}

.email-shot-mobile::before {
  top: -6px;
  width: 34px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: #313a49;
}

.email-shot-mobile::after {
  bottom: -7px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #d4d9e2;
}

.email-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}

.portfolio-card:hover .email-shot img {
  transform: scale(1.025);
}

.portfolio-card:hover .email-shot {
  border-color: rgba(49,94,251,.4);
}

.portfolio-card:hover .email-shot-mobile {
  border-color: #101827;
}

.portfolio-body {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.portfolio-meta {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.portfolio-body h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.portfolio-body h4 {
  margin: 0 0 18px;
  color: #d5deeb;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.portfolio-body > p:not(.portfolio-meta):not(.portfolio-credit) {
  margin: 0 0 22px;
  color: #aeb9ca;
  font-size: .88rem;
  line-height: 1.65;
}

.portfolio-credit {
  margin: auto 0 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #d7e2ef;
  font-size: .73rem;
  font-weight: 650;
}

.portfolio-credit::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(158,231,239,.1);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: var(--ink-soft);
}

.case-visual {
  position: relative;
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.case-visual::before,
.case-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.case-visual::before {
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
}

.case-visual::after {
  width: 180px;
  height: 180px;
  right: 40px;
  top: 15px;
}

.visual-cobalt {
  background: linear-gradient(145deg, #234fee, #172c91);
}

.visual-coral {
  background: linear-gradient(145deg, #ff795f, #b82f2a);
}

.visual-ink {
  background: linear-gradient(145deg, #172743, #060b14);
}

.visual-light {
  background: linear-gradient(145deg, #eff5ff, #a5c1ef);
  color: var(--ink);
}

.visual-cyan {
  background: linear-gradient(145deg, #0d7d91, #074253);
}

.visual-violet {
  background: linear-gradient(145deg, #6d4df3, #342171);
}

.visual-light::before,
.visual-light::after {
  border-color: rgba(7,16,31,.2);
}

.case-index {
  position: relative;
  z-index: 1;
  font-size: .76rem;
  font-weight: 700;
}

.visual-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .88;
  text-transform: lowercase;
}

.visual-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 30px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-body {
  padding: 36px;
}

.case-type {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.case-body h3 {
  max-width: 500px;
  font-size: 1.75rem;
}

.case-body > p:not(.case-type) {
  color: #aeb9ca;
}

.tag-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  color: #c5cfdf;
  font-size: .7rem;
}

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 110px;
}

.about-lead {
  position: sticky;
  top: 120px;
  align-self: start;
}

.about-copy {
  padding-top: 56px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0 0 24px;
}

.about-copy .about-opening {
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.55;
}

.profile-links {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.profile-links a,
.text-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.profile-links a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: white;
}

.contact::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -300px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 100px;
}

.contact h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.contact .eyebrow {
  color: #ffd2c8;
}

.contact-copy {
  font-size: 1.12rem;
}

.contact-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.button-light {
  background: white;
  color: var(--ink);
}

.contact .text-link {
  color: white;
}

.site-footer {
  padding: 32px 0;
  background: #050b15;
  color: #8f9bb0;
  font-size: .78rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 34%, rgba(49,94,251,.18), transparent 28rem),
    var(--ink);
  color: white;
}

.error-header {
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.error-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.error-contact-link {
  color: #cad4e4;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.error-contact-link:hover {
  color: white;
}

.error-main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 88px 0;
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.error-copy {
  position: relative;
  z-index: 2;
}

.error-copy h1 {
  max-width: 720px;
  margin: 18px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.error-copy > p:last-of-type {
  max-width: 590px;
  margin: 0;
  color: #c7d1e1;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.error-art {
  position: relative;
  min-width: 0;
}

.error-code {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -51%);
  color: rgba(255,255,255,.035);
  font-family: var(--font-display);
  font-size: clamp(12rem, 25vw, 23rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.09em;
  user-select: none;
}

.error-illustration {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.error-route {
  fill: none;
  stroke: rgba(158,231,239,.36);
  stroke-width: 2;
  stroke-dasharray: 7 10;
}

.error-envelope rect,
.error-envelope path {
  fill: rgba(17,29,49,.94);
  stroke: #dce6f5;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.error-envelope path {
  fill: none;
}

.error-node {
  stroke: var(--ink);
  stroke-width: 4;
}

.error-node-coral {
  fill: var(--coral);
}

.error-node-blue {
  fill: var(--blue);
}

.error-alert circle {
  fill: var(--coral);
  stroke: var(--ink);
  stroke-width: 7;
}

.error-alert path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linecap: round;
}

.error-footer {
  border-top: 1px solid rgba(255,255,255,.08);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .error-main {
    padding: 72px 0 82px;
  }

  .error-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .error-art {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .hero-grid {
    min-height: 860px;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 150px;
  }

  .hero-copy {
    align-self: end;
  }

  .hero-art {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(7,16,31,.93) 40%, rgba(7,16,31,.42) 100%),
      url("campaign-systems-hero.webp") 64% center / cover no-repeat;
  }

  .proof-card {
    max-width: 560px;
    margin-bottom: 0;
  }

  .platform-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .work-intro,
  .about-grid,
  .contact-grid,
  .agency-support {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-lead {
    position: static;
  }

  .about-copy {
    max-width: 720px;
    padding-top: 0;
  }

  .work-intro > p {
    max-width: 700px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
  }

  .error-header-inner {
    min-height: 70px;
  }

  .error-contact-link {
    display: none;
  }

  .error-main {
    padding: 64px 0 72px;
  }

  .error-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .error-art {
    width: calc(100% + 20px);
    margin-left: -10px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    inset: 70px 0 auto;
    padding: 22px 16px 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    background: rgba(7,16,31,.98);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 11px 8px;
  }

  .primary-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: 0;
    padding: 132px 0 70px;
  }

  .hero-art {
    opacity: .62;
    background:
      linear-gradient(180deg, rgba(7,16,31,.4), var(--ink) 72%),
      url("campaign-systems-hero.webp") 64% top / auto 620px no-repeat;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .proof-card {
    padding: 20px;
  }

  .proof-grid > div {
    padding: 15px;
  }

  .proof-footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .proof-footer a {
    width: 100%;
    margin-left: 16px;
  }

  .platform-row {
    gap: 14px 24px;
  }

  .section {
    padding: 88px 0;
  }

  .section-intro {
    margin-bottom: 44px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-summary {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .portfolio-summary > div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .portfolio-summary > div:last-child {
    border-bottom: 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-preview {
    min-height: 254px;
    padding: 14px;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
  }

  .email-shot-desktop {
    height: 212px;
  }

  .email-shot-mobile {
    height: 232px;
  }

  .service-card {
    min-height: 0;
    padding: 32px;
  }

  .agency-support {
    padding: 32px 28px;
  }

  .service-icon {
    margin-bottom: 32px;
  }

  .case-visual {
    min-height: 240px;
  }

  .case-body {
    padding: 28px;
  }

  .contact-grid {
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
