.service-page {
  --service-accent: #0f62fe;
  --service-highlight: #78a9ff;
  --service-soft: #edf5ff;
  --service-deep: #001d6c;
  --service-on-accent: #ffffff;
  --blue: var(--service-accent);
  background: #ffffff;
}

.service-events {
  --service-accent: #198038;
  --service-highlight: #d9fb3f;
  --service-soft: #f3ffd1;
  --service-deep: #173b1f;
  --service-on-accent: #ffffff;
}

.service-advertising {
  --service-accent: #e84318;
  --service-highlight: #ff7eb6;
  --service-soft: #fff1f1;
  --service-deep: #5c1a08;
  --service-on-accent: #ffffff;
}

.service-technology {
  --service-accent: #8a3ffc;
  --service-highlight: #33b1ff;
  --service-soft: #f6f2ff;
  --service-deep: #19064a;
  --service-on-accent: #ffffff;
}

.service-page .brand-mark span {
  background: var(--service-accent);
}

.service-page .nav-contact,
.service-page .menu-toggle {
  background: var(--service-accent);
  color: var(--service-on-accent);
}

.service-page .nav-contact:hover {
  background: var(--service-deep);
}

.service-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  max-width: var(--max);
  min-height: clamp(500px, 62svh, 570px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--service-soft);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.75rem, 4vw, 4.25rem) var(--pad) 1.25rem;
}

.service-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--service-accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-eyebrow::before {
  display: inline-block;
  width: 2.6rem;
  height: 3px;
  background: currentColor;
  content: "";
}

.service-hero h1 {
  max-width: 850px;
  margin: 0 0 1.1rem;
  font-size: clamp(3.35rem, 5.25vw, 5.1rem);
  font-weight: 350;
  letter-spacing: -0.074em;
  line-height: 0.9;
}

.service-hero h1 em {
  display: block;
  color: var(--service-accent);
  font-style: normal;
}

.service-hero-lede {
  max-width: 690px;
  margin-bottom: 1.45rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.58;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.service-page .button-primary {
  background: var(--service-accent);
  color: var(--service-on-accent);
}

.service-page .button-primary:hover {
  background: var(--service-deep);
}

.service-hero-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--service-deep);
}

.service-hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.58));
  content: "";
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.service-hero-caption {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.4rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.identity-mark {
  position: absolute;
  z-index: 2;
  top: 2rem;
  right: 2rem;
  width: 116px;
  height: 116px;
  pointer-events: none;
  animation: identity-float 5s ease-in-out infinite;
}

.identity-mark span {
  position: absolute;
  background: var(--service-highlight);
}

.service-consulting .identity-mark span:nth-child(1) {
  inset: 0;
  background: transparent;
  border: 4px solid var(--service-highlight);
}

.service-consulting .identity-mark span:nth-child(2) {
  top: 28px;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.service-consulting .identity-mark span:nth-child(3) {
  right: 0;
  bottom: 0;
  width: 32px;
  height: 32px;
  background: #ffffff;
}

.service-events .service-hero {
  background: linear-gradient(135deg, var(--service-soft), #ffffff 68%);
}

.service-events .service-hero-media {
  margin: 1.5rem 1.5rem 1.5rem 0;
  min-height: 460px;
  border-radius: 50% 50% 0 0;
}

.service-events .service-hero-media img {
  object-position: center;
}

.service-events .identity-mark span {
  inset: 0;
  background: transparent;
  border: 4px solid var(--service-highlight);
  border-radius: 50%;
}

.service-events .identity-mark span:nth-child(2) {
  inset: 20px;
}

.service-events .identity-mark span:nth-child(3) {
  inset: 42px;
  background: var(--service-highlight);
  border: 0;
}

.service-advertising .service-hero {
  background: var(--service-deep);
  color: #ffffff;
}

.service-advertising .service-hero-copy {
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(255, 255, 255, 0.07) 32px);
}

.service-advertising .service-eyebrow,
.service-advertising .service-hero h1 em {
  color: var(--service-highlight);
}

.service-advertising .service-hero-lede {
  color: rgba(255, 255, 255, 0.76);
}

.service-advertising .text-link {
  color: #ffffff;
}

.service-advertising .identity-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.service-advertising .identity-mark span {
  position: static;
  height: 100%;
  background: var(--service-highlight);
}

.service-advertising .identity-mark span:nth-child(2) {
  animation: signal-shift 2.8s ease-in-out infinite alternate;
}

.service-advertising .identity-mark span:nth-child(3) {
  animation: signal-shift 2.8s ease-in-out 300ms infinite alternate;
}

.service-technology .service-hero {
  background: #090017;
  color: #ffffff;
}

.service-technology .service-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0 50% 0 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(51, 177, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 177, 255, 0.7) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  animation: tech-grid 16s linear infinite;
}

.service-technology .service-eyebrow,
.service-technology .service-hero h1 em {
  color: var(--service-highlight);
}

.service-technology .service-hero-lede {
  color: #c6c6c6;
}

.service-technology .text-link {
  color: #ffffff;
}

.service-technology .service-hero-media img {
  filter: saturate(1.2) contrast(1.1);
}

.service-technology .identity-mark span:nth-child(1) {
  top: 0;
  left: 0;
  width: 80px;
  height: 8px;
  box-shadow: 0 24px 0 var(--service-highlight), 0 48px 0 var(--service-highlight), 0 72px 0 var(--service-highlight);
}

.service-technology .identity-mark span:nth-child(2) {
  top: 0;
  right: 0;
  width: 8px;
  height: 80px;
  background: #ffffff;
}

.service-technology .identity-mark span:nth-child(3) {
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: var(--service-accent);
}

.service-intro {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: clamp(2rem, 5vw, 7rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 6vw, 6rem) var(--pad);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-intro-label,
.service-section-label,
.service-pull-label,
.method-label {
  color: var(--service-accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-intro h2 {
  max-width: 950px;
  margin-bottom: 1.65rem;
  font-size: clamp(2.75rem, 4.6vw, 4.75rem);
  font-weight: 380;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.service-intro-copy > p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
}

.service-offer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(4rem, 6vw, 6rem);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-offer-heading {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: clamp(2rem, 5vw, 7rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.service-offer-heading h2,
.method-heading h2,
.related-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
  font-weight: 390;
  letter-spacing: -0.06em;
  line-height: 1;
}

.offer-list {
  border-top: 1px solid var(--line);
}

.offer-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.35fr) minmax(180px, 0.6fr);
  gap: 2rem;
  align-items: start;
  padding: 1.45rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

.offer-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--service-accent);
  content: "";
  transform: scaleY(0);
  transition: transform 220ms ease;
}

.offer-row:hover {
  padding-right: 1.75rem;
  padding-left: 1.75rem;
  background: var(--service-soft);
}

.offer-row:hover::before {
  transform: scaleY(1);
}

.offer-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.25vw, 2.2rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.offer-row > p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.offer-tags span {
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.service-pull {
  position: relative;
  max-width: var(--max);
  min-height: 420px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--service-accent);
  color: var(--service-on-accent);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-pull::after {
  position: absolute;
  right: -9rem;
  bottom: -15rem;
  width: 560px;
  height: 560px;
  border: 120px solid var(--service-highlight);
  border-radius: 50%;
  opacity: 0.45;
  content: "";
}

.service-pull-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: clamp(2.75rem, 4.5vw, 4rem) var(--pad);
}

.service-pull-label {
  color: currentColor;
  opacity: 0.75;
}

.service-pull blockquote {
  max-width: 1120px;
  margin: 3rem 0 0;
  font-size: clamp(2.75rem, 4.7vw, 4.8rem);
  font-weight: 360;
  letter-spacing: -0.067em;
  line-height: 0.96;
}

.service-events .service-pull {
  background: var(--service-highlight);
  color: #173b1f;
}

.service-events .service-pull::after {
  border-color: var(--service-accent);
}

.service-advertising .service-pull {
  background: var(--service-highlight);
  color: #3c0f25;
}

.service-advertising .service-pull::after {
  width: 650px;
  height: 650px;
  border: 0;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, var(--service-accent) 0 28px, transparent 28px 56px);
  transform: rotate(-12deg);
}

.service-technology .service-pull {
  background: #090017;
  color: #ffffff;
}

.service-technology .service-pull::after {
  border-color: var(--service-highlight);
  border-radius: 0;
}

.service-method {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 6vw, 6rem) var(--pad);
  background: var(--ink);
  color: #ffffff;
  border-right: 1px solid #393939;
  border-left: 1px solid #393939;
}

.method-heading {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: clamp(2rem, 5vw, 7rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.method-label {
  color: var(--service-highlight);
}

.method-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #525252;
  border-left: 1px solid #525252;
}

.method-step {
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 1.5rem;
  border-right: 1px solid #525252;
  border-bottom: 1px solid #525252;
  transition: background 220ms ease, color 220ms ease;
}

.method-step::before {
  display: block;
  width: 3rem;
  height: 4px;
  margin-bottom: auto;
  background: var(--service-highlight);
  content: "";
}

.method-step:hover {
  background: var(--service-accent);
  color: var(--service-on-accent);
}

.method-step h3 {
  margin: 3.5rem 0 0.8rem;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1;
}

.method-step p {
  max-width: 390px;
  margin-bottom: 0;
  color: #c6c6c6;
  line-height: 1.55;
}

.method-step:hover p {
  color: currentColor;
}

.related-services {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 6vw, 6rem) var(--pad);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.related-heading {
  margin-bottom: 2.5rem;
}

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

.related-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 175px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease, color 200ms ease;
}

.related-link:hover {
  background: var(--service-soft);
}

.related-link span:first-child {
  color: var(--service-accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-link strong {
  max-width: 280px;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 480;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.related-link span:last-child {
  align-self: flex-end;
  font-size: 1.4rem;
}

.service-page .contact {
  background: var(--service-accent);
}

.service-events .contact {
  background: var(--service-deep);
}

.service-advertising .contact {
  background: var(--service-deep);
}

.service-technology .contact {
  background: #090017;
}

.service-page .contact-email:hover {
  color: var(--service-accent);
}

.service-page .contact,
.service-page .contact-content {
  min-height: 440px;
}

@keyframes identity-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(10px) rotate(2deg); }
}

@keyframes signal-shift {
  from { transform: translateY(8px); }
  to { transform: translateY(34px); }
}

@keyframes tech-grid {
  to { background-position: 48px 48px; }
}

@media (min-width: 961px) and (prefers-reduced-motion: reduce) {
  .service-advertising .identity-mark {
    animation: identity-float 5s ease-in-out infinite !important;
  }

  .service-advertising .identity-mark span:nth-child(2) {
    animation: signal-shift 2.8s ease-in-out infinite alternate !important;
  }

  .service-advertising .identity-mark span:nth-child(3) {
    animation: signal-shift 2.8s ease-in-out 300ms infinite alternate !important;
  }
}

@media (max-width: 1040px) {
  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-hero-copy {
    min-height: 480px;
  }

  .service-hero-media {
    min-height: 400px;
  }

  .service-events .service-hero-media {
    margin: 0 var(--pad) var(--pad);
  }

  .service-technology .service-hero::before {
    right: 0;
  }

  .offer-row {
    grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  }

  .offer-tags {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .service-hero-copy {
    min-height: auto;
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }

  .service-eyebrow {
    margin-bottom: 2rem;
  }

  .service-hero h1 {
    margin-top: 0;
    font-size: clamp(3rem, 12vw, 3.9rem);
  }

  .service-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.4rem;
  }

  .service-hero-media {
    min-height: 280px;
  }

  .service-events .service-hero-media {
    min-height: 280px;
    margin: 0 1.25rem 1.25rem;
  }

  .identity-mark {
    top: 1.25rem;
    right: 1.25rem;
    width: 80px;
    height: 80px;
  }

  .service-intro,
  .service-offer-heading,
  .method-heading {
    grid-template-columns: 1fr;
  }

  .service-intro h2,
  .service-offer-heading h2,
  .method-heading h2,
  .related-heading h2 {
    font-size: clamp(2.65rem, 11vw, 3.4rem);
  }

  .offer-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-right: 0;
    padding-left: 0;
  }

  .offer-row:hover {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .offer-tags {
    grid-column: auto;
  }

  .service-pull,
  .service-pull-inner {
    min-height: 400px;
  }

  .service-pull blockquote {
    font-size: clamp(2.75rem, 11vw, 3.8rem);
  }

  .service-pull::after {
    right: -12rem;
    width: 420px;
    height: 420px;
    border-width: 90px;
  }

  .method-track,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: 235px;
  }

  .related-link {
    min-height: 165px;
  }
}
