/* DYBREZ service pages share the campaign palette and a two-frame composition. */
.services-index-hero,
.service-detail-hero {
  --service-light: #5668ff;
  --service-edge: #ff9e83;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(134px, 14vw, 182px) clamp(44px, 7vw, 95px);
  color: var(--paper);
  background:
    radial-gradient(ellipse at 90% 18%, #ff785a92 0%, #ce4d5524 28%, transparent 52%),
    radial-gradient(ellipse at 69% 40%, var(--service-light) 0%, transparent 61%),
    linear-gradient(125deg, #11174b 2%, #1928b1 60%, #181542 100%);
}
.services-index-hero::before,
.service-detail-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background:
    repeating-linear-gradient(0deg, #ffffff26 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, #ffffff26 0 1px, transparent 1px 52px);
  mask-image: radial-gradient(ellipse at 90% 37%, #000a, transparent 64%);
  pointer-events: none;
}
[data-service-theme="video-editing"] { --service-light: #5668ff; --service-edge: #aebaff; }
[data-service-theme="strategy"] { --service-light: #5265e2; --service-edge: #ffae89; }
[data-service-theme="graphic-design"] { --service-light: #6858d1; --service-edge: #ffb078; }
[data-service-theme="ad-creatives"] { --service-light: #5d4cb8; --service-edge: #ff997c; }
[data-service-theme="ai-production"] { --service-light: #405aff; --service-edge: #acb8ff; }
[data-service-theme="ai-clipping"] { --service-light: #515cf0; --service-edge: #ffb096; }
.service-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: baseline;
  margin-bottom: clamp(15px, 3vw, 33px);
  color: #f4f0e8df;
  font: 11px/1.35 'IBM Plex Mono', monospace;
}
.service-page-breadcrumb a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.services-index-inner h1,
.service-detail-copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.08em;
}
.service-detail-copy h1 { font-size: clamp(41px, 6.5vw, 100px); }
.services-index-inner h1 em,
.service-detail-copy h1 em { color: #ffc2af; font-style: normal; }
.services-index-inner p,
.service-detail-copy > p {
  max-width: 400px;
  margin: clamp(15px, 3vw, 32px) 0 0;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.65;
  color: #f4f0e8ed;
}
.service-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: clamp(14px, 4vw, 60px);
  align-items: center;
}
.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 25px;
  align-items: center;
  margin-top: 24px;
}
.service-detail-actions a { min-height: 48px; }

.service-art {
  aspect-ratio: 1.12;
  position: relative;
  isolation: isolate;
  width: min(100%, 565px);
  margin: 0;
  justify-self: center;
  perspective: 850px;
}
.service-art-field {
  position: absolute;
  inset: 6% 4% 7% 5%;
  transform: rotateX(6deg) rotateY(-9deg) rotateZ(-3deg);
}
.service-art-plane {
  position: absolute;
  inset: 17% 5% 0 11%;
  transform: translate(8%, 8%) skewX(-9deg);
  border: 1px solid #f4f0e87a;
  border-radius: 10px;
  background:
    linear-gradient(110deg, #a7b8ff63 0%, #4354ef13 52%, #fb936e62 100%),
    repeating-linear-gradient(0deg, #ffffff28 0 1px, transparent 1px 16px);
  box-shadow: 0 14px 0 #151d6ecc, 0 27px 50px #0a0b36b4, inset 0 0 30px #8b9bff6b;
}
.service-art-frame {
  position: absolute;
  display: block;
  overflow: hidden;
  aspect-ratio: .83;
  border: 1px solid var(--service-edge);
  border-radius: 8px;
  box-shadow: 0 0 18px #ff996c30, 0 19px 25px #080d42aa;
  background: #141947;
}
.service-art-frame::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(140deg, #c4cbff38 0%, transparent 28%, transparent 70%, #ff8e6838 100%);
  box-shadow: inset 0 0 8px #f4f0e856;
}
.service-art-frame-main {
  z-index: 1;
  top: 3%;
  left: 5%;
  width: 51%;
  transform: rotate(-8deg);
}
.service-art-frame-secondary {
  top: 12%;
  right: 8%;
  width: 44%;
  transform: rotate(10deg);
}
.service-art-frame img { width: 100%; height: 100%; object-fit: cover; }
.service-art-edit {
  position: absolute;
  z-index: 2;
  width: min(62%, 288px);
  right: 4%;
  bottom: 6%;
  padding: clamp(9px, 1.5vw, 18px);
  transform: rotate(4deg);
  border: 1px solid #bfc7ffaa;
  border-radius: 7px;
  background: #151a51ed;
  color: var(--paper);
  box-shadow: 0 9px 24px #07092f8f, inset 0 1px 1px #f4f0e826;
  font: clamp(8px, 1vw, 12px)/1.35 'IBM Plex Mono', monospace;
}
.service-art-edit strong { font-weight: 600; color: #f4f0e8ec; }
.service-art-edit > div { display: flex; align-items: stretch; gap: 4px; margin-top: 7px; }
.service-art-edit > div span {
  display: grid;
  min-width: 0;
  flex: auto;
  align-items: center;
  min-height: 23px;
  padding: 4px;
  border-radius: 2px;
  background: #384ce2;
  color: #fff;
  overflow-wrap: anywhere;
}
.service-art-edit > div span:first-child { background: #ffc2af; color: #171715; }
.service-art-edit > div span:last-child { background: #4e419e; }

[data-service-theme="ai-production"] .service-art-frame { aspect-ratio: .8; }
[data-service-theme="ai-clipping"] .service-art-frame-main {
  width: 59%;
  top: 16%;
  aspect-ratio: 1.35;
}
[data-service-theme="ai-clipping"] .service-art-frame-secondary { z-index: 1; width: 35%; aspect-ratio: .61; right: 11%; top: 2%; }
[data-service-theme="ai-clipping"] .service-art-frame-main img { object-position: 66% 50%; }
[data-service-theme="graphic-design"] .service-art-frame-main { aspect-ratio: 1; top: 13%; }
[data-service-theme="video-editing"] .service-art-frame-secondary { width: 38%; aspect-ratio: .66; top: 5%; }
[data-service-theme="ad-creatives"] .service-art-frame-main { width: 60%; aspect-ratio: 1.1; top: 7%; }
[data-service-theme="ad-creatives"] .service-art-frame-secondary { width: 37%; top: 21%; }
[data-service-theme="strategy"] .service-art-frame-main { aspect-ratio: 1; top: 9%; }
[data-service-theme="strategy"] .service-art-frame-secondary { aspect-ratio: 1; top: 24%; }

.services-overview { color: var(--ink); background: var(--paper); }
.service-section-heading { margin-bottom: clamp(22px, 4vw, 53px); }
.service-section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 83px);
  font-weight: 770;
  line-height: .99;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.service-section-heading p { max-width: 460px; margin-top: 14px; }
.service-section-heading .eyebrow { margin-bottom: 12px; }
.service-section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px 25px;
}
.service-section-heading-split > a { flex: none; }

.service-directory,
.service-deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
}
.service-directory-item { color: var(--paper); }
.service-directory-link {
  position: relative;
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #5966a4;
  border-radius: 7px;
  background: #141943;
  color: var(--paper);
  text-decoration: none;
  box-shadow: 0 7px 22px #14194c22;
  transition: border-color .2s, box-shadow .2s;
}
.service-directory-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.service-directory-photo {
  position: relative;
  display: block;
  height: clamp(105px, 15vw, 187px);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 84% 28%, #ff77595e 0%, transparent 53%),
    linear-gradient(133deg, #141a4a, var(--service-light) 73%, #4054d3);
}
.service-directory-photo::before {
  z-index: -1;
  position: absolute;
  inset: 0;
  content: '';
  background: repeating-linear-gradient(110deg, #a4b4ff38 0 1px, transparent 1px 16px);
  mask-image: linear-gradient(110deg, #000 3%, transparent 83%);
}
.service-directory-photo img {
  position: absolute;
  width: 58%;
  height: 143%;
  right: 12%;
  top: -16%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: rotate(-11deg);
  box-shadow: 0 2px 25px #101659a7;
  border: 1px solid var(--service-edge);
  border-radius: 4px;
  transition: transform .36s var(--campaign-ease);
}
.service-directory-glint {
  position: absolute;
  width: 54%;
  height: 116%;
  top: 9%;
  right: 14%;
  transform: rotate(-11deg) translate(-14%, 15%);
  border: 1px solid #d5deff88;
  border-radius: 4px;
  pointer-events: none;
}
[data-service-theme="strategy"] .service-directory-photo img { object-position: center 54%; }
[data-service-theme="graphic-design"] .service-directory-photo img { object-position: center 43%; }
[data-service-theme="ai-clipping"] .service-directory-photo img { object-position: 75% 50%; }
.service-directory-content {
  display: grid;
  align-content: start;
  padding: clamp(12px, 1.9vw, 24px) clamp(33px, 4vw, 62px) clamp(15px, 2.5vw, 28px) clamp(13px, 2vw, 25px);
  gap: 7px;
}
.service-directory-content strong {
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.service-directory-content > span { color: #f4f0e8d1; font-size: clamp(12px, 1.15vw, 15px); line-height: 1.52; }
.service-directory-arrow {
  position: absolute;
  right: clamp(12px, 2vw, 23px);
  top: calc(clamp(105px, 15vw, 187px) + clamp(9px, 1.6vw, 18px));
  color: #ffbda9;
  font-size: clamp(17px, 2.1vw, 25px);
  transition: transform .22s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .service-directory-link:hover img { transform: rotate(-7deg) scale(1.045); }
  body:not(.motion-paused) .service-directory-link:hover .service-directory-arrow { transform: translate(2px, -2px); }
}
.service-directory-link:hover { border-color: #ff9e83; box-shadow: 0 10px 24px #10143c4a; }
.service-overview-more { display: flex; gap: 7px 26px; flex-wrap: wrap; margin-top: 25px; }
.service-overview-more a { min-height: 44px; }

.service-deliverables {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-deliverables li {
  min-width: 0;
  padding: clamp(15px, 2.2vw, 31px);
  background: #fffaf2;
  border: 1px solid #17171529;
  border-top: 2px solid var(--blue);
  border-radius: 5px;
}
.service-deliverable-number { color: #2638ad; font: 12px/1.3 'IBM Plex Mono', monospace; }
.service-deliverables h3 { margin: 15px 0 7px; font-size: clamp(18px, 2vw, 29px); letter-spacing: -.045em; line-height: 1.12; }
.service-deliverables p { color: #37384a; font-size: clamp(13px, 1.15vw, 15px); line-height: 1.58; }

.service-work .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-related {
  color: var(--paper);
  background: radial-gradient(ellipse at 76% -7%, #3347cb, transparent 70%), #171d59;
}
.service-questions { background: #dedff0; }
.service-questions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(16px, 5vw, 64px);
}
.service-questions-grid h2 { text-wrap: initial; }
.service-questions-grid .section-heading, .service-questions-grid .service-section-heading { margin-bottom: 0; }
.service-questions-grid .button { margin-top: 22px; }
.service-questions details { border-bottom: 1px solid #1c267d60; }
.service-questions details:first-of-type { border-top: 1px solid #1c267d60; }
.service-questions details summary {
  display: flex;
  min-height: 61px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: clamp(15px, 1.65vw, 20px);
  font-weight: 750;
  letter-spacing: -.025em;
  list-style: none;
}
.service-questions details summary::-webkit-details-marker { display: none; }
.service-questions details summary > span { color: var(--blue); font-size: 24px; font-weight: 600; }
.service-questions details[open] summary > span { transform: rotate(45deg); }
.service-questions details > p { padding: 0 25px 17px 0; max-width: 550px; color: #25243a; font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
  .service-deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-work .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .services-index-hero, .service-detail-hero { padding-top: 106px; }
  .service-detail-intro, .service-questions-grid { grid-template-columns: minmax(0, 1fr); }
  .service-detail-intro { gap: 25px; }
  .service-detail-copy h1 { font-size: clamp(39px, 9.6vw, 65px); }
  .services-index-inner h1 { font-size: clamp(44px, 10vw, 72px); }
  .service-art { width: min(82%, 362px); }
  .service-art-edit { width: min(72%, 265px); font-size: 9px; }
  .service-section-heading-split { flex-wrap: wrap; align-items: start; }
  .service-section-heading h2 { font-size: clamp(35px, 9vw, 57px); }
  .service-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 419px) {
  .service-directory, .service-deliverables, .service-work .project-grid { grid-template-columns: minmax(0, 1fr); }
  .service-directory-link { grid-template: auto / 106px minmax(0, 1fr); }
  .service-directory-photo { height: auto; min-height: 103px; }
  .service-directory-photo img { right: 9%; width: 78%; height: 115%; top: -7%; }
  .service-directory-glint { right: 9%; width: 70%; height: 101%; top: 1%; }
  .service-directory-content { align-content: center; padding: 12px 36px 12px 13px; gap: 4px; }
  .service-directory-arrow { top: 12px; }
  .service-deliverables li { padding: 17px; }
  .service-deliverables h3 { margin-top: 8px; }
  .service-detail-actions { gap: 4px 12px; }
  .service-detail-actions .button { min-height: 50px; padding-inline: 13px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-directory-link, .service-directory-photo img, .service-directory-arrow { transition: none; }
}
