:root {
  --service-ink: #142018;
  --service-cream: #f7f1e8;
  --service-paper: #fffdf9;
  --service-orange: #e86f39;
  --service-orange-soft: #f3a274;
  --service-green: #245d49;
  --service-mint: #69d2ad;
  --service-line: rgba(20, 32, 24, 0.13);
  --service-radius: 28px;
}

body.service-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--service-cream);
  color: var(--service-ink);
  font-family: Manrope, system-ui, sans-serif;
}

.service-wrap {
  width: min(calc(100% - clamp(2rem, 8vw, 8rem)), 1280px);
  margin-inline: auto;
}

.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  padding: clamp(8.5rem, 13vw, 11.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 86% 18%, rgba(232, 111, 57, 0.27), transparent 0 25%),
    radial-gradient(circle at 64% 110%, rgba(105, 210, 173, 0.1), transparent 0 32%),
    linear-gradient(135deg, #08150f, #14251b 72%, #1b271d);
  color: #fff;
}

.service-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(115deg, #000, transparent 76%);
}

.service-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -8%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.012);
}

.service-hero > .service-wrap {
  position: relative;
  z-index: 1;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-breadcrumb a {
  color: inherit;
  text-decoration-color: transparent;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.service-breadcrumb a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: var(--service-orange-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.service-hero h1 {
  max-width: 11.5ch;
  margin: 0;
  color: #fff;
  font: 700 clamp(3.4rem, 7.2vw, 7.2rem)/0.9 Fraunces, serif;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.service-hero p {
  max-width: 720px;
  margin: 1.6rem 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.service-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0.85rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 14px;
  background: #fff;
  color: var(--service-ink);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.service-button--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.service-button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.service-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.service-section h2 {
  max-width: 14ch;
  margin: 0 0 2rem;
  color: var(--service-ink);
  font: 700 clamp(2.6rem, 5vw, 5rem)/0.96 Fraunces, serif;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.service-lead {
  max-width: 760px;
  margin-top: 2rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--service-line);
  border-radius: var(--service-radius);
  background: rgba(255, 253, 249, 0.8);
  box-shadow: 0 18px 55px rgba(28, 35, 29, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(232, 111, 57, 0.13);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 111, 57, 0.34);
  box-shadow: 0 24px 60px rgba(28, 35, 29, 0.09);
}

.service-card > span {
  color: var(--service-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  margin: 0.8rem 0;
  color: var(--service-ink);
  font: 700 clamp(1.4rem, 2.2vw, 1.75rem)/1.05 Fraunces, serif;
  letter-spacing: -0.025em;
}

.service-card p,
.service-card li {
  position: relative;
  z-index: 1;
  color: rgba(20, 32, 24, 0.69);
  line-height: 1.68;
}

.service-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(105, 210, 173, 0.07), transparent 0 28%),
    radial-gradient(circle at 88% 90%, rgba(232, 111, 57, 0.12), transparent 0 28%),
    #102018;
  color: #fff;
}

.service-dark h2,
.service-dark h3,
.service-dark strong {
  color: #fff;
}

.service-dark .service-kicker {
  color: var(--service-orange-soft);
}

.service-dark .service-card {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.service-dark .service-card:hover {
  border-color: rgba(243, 162, 116, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.service-dark .service-card p,
.service-dark .service-card li {
  color: rgba(255, 255, 255, 0.68);
}

.service-faq {
  display: grid;
  max-width: 920px;
  gap: 0.75rem;
}

.service-faq details {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--service-line);
  border-radius: 18px;
  background: var(--service-paper);
  box-shadow: 0 12px 36px rgba(20, 32, 24, 0.035);
}

.service-faq summary {
  cursor: pointer;
  font-weight: 850;
}

.service-faq p {
  color: rgba(20, 32, 24, 0.7);
  line-height: 1.65;
}

.service-cta {
  text-align: center;
}

.service-cta h2 {
  margin-right: auto;
  margin-left: auto;
}

.service-cta p {
  max-width: 620px;
  margin: -0.75rem auto 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.service-links a {
  display: inline-flex;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  align-items: center;
  border: 1px solid rgba(36, 93, 73, 0.08);
  border-radius: 999px;
  background: rgba(36, 93, 73, 0.1);
  color: var(--service-green);
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.service-links a:hover {
  transform: translateY(-2px);
  background: rgba(36, 93, 73, 0.16);
}

/* Page Studio */
.studio-hero__layout,
.services-hub-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
}

.studio-hero__panel,
.services-hub-hero__summary {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.studio-hero__panel > span,
.services-hub-hero__summary > span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-hero__panel > strong,
.services-hub-hero__summary > strong {
  display: block;
  max-width: 12ch;
  margin-top: 0.65rem;
  font: 700 clamp(2rem, 3.5vw, 3rem)/0.98 Fraunces, serif;
  letter-spacing: -0.04em;
}

.studio-hero__panel ol,
.services-hub-hero__summary ul {
  display: grid;
  gap: 0;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.studio-hero__panel li,
.services-hub-hero__summary li {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 0;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  font-weight: 700;
}

.studio-hero__panel li span {
  color: var(--service-orange-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.studio-section-heading,
.services-catalogue__heading,
.services-process__heading {
  display: flex;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.studio-section-heading h2,
.services-catalogue__heading h2,
.services-process__heading h2 {
  margin-bottom: 0;
}

.studio-section-heading .content-lead,
.services-catalogue__heading p,
.services-process__heading p {
  max-width: 520px;
  margin: 0;
  color: rgba(20, 32, 24, 0.66);
  font-size: 1rem;
  line-height: 1.75;
}

.studio-capabilities .service-card {
  min-height: 300px;
  padding-top: 2rem;
}

.service-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 2.8rem;
  place-items: center;
  border-radius: 16px;
  background: rgba(232, 111, 57, 0.11);
  color: var(--service-orange);
  font-size: 1.1rem;
}

.studio-profile-section h2 {
  max-width: 10ch;
}

.studio-profile-section .content-profile {
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.studio-profile-section .content-profile img {
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.studio-profile__role {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--service-orange-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-profile-section .content-profile h3 {
  margin: 0 0 1.2rem;
  color: #fff;
  font: 700 clamp(2.6rem, 5vw, 4.7rem)/0.95 Fraunces, serif;
  letter-spacing: -0.05em;
}

.studio-profile-section .content-profile p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
}

.studio-profile__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

.studio-profile__facts li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 750;
}

.studio-profile__link {
  display: inline-flex;
  min-height: 44px;
  padding: 0.7rem 1rem;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  background: var(--service-orange);
  color: #fff !important;
  font-weight: 850;
  text-decoration: none;
}

.studio-principles__layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.studio-principles__intro {
  position: sticky;
  top: 7rem;
}

.studio-principles__intro p {
  color: rgba(20, 32, 24, 0.66);
  line-height: 1.75;
}

.studio-principles__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: principles;
}

.studio-principles__list li {
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid var(--service-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--service-ink);
  font: 700 clamp(1.2rem, 2vw, 1.5rem)/1.28 Fraunces, serif;
  counter-increment: principles;
}

.studio-principles__list li::before {
  content: "0" counter(principles);
  display: block;
  margin-bottom: 3rem;
  color: var(--service-orange);
  font: 900 0.72rem/1 Manrope, sans-serif;
  letter-spacing: 0.1em;
}

/* Page Services */
.services-hub-hero__summary > strong em {
  display: block;
  color: var(--service-orange-soft);
  font: inherit;
  font-size: 1.85em;
}

.services-hub-hero__summary li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--service-mint);
}

.services-catalogue {
  background:
    radial-gradient(circle at 0 15%, rgba(232, 111, 57, 0.08), transparent 0 22%),
    var(--service-cream);
}

.service-offer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.service-offer {
  display: flex;
  grid-column: span 4;
  min-height: 370px;
  flex-direction: column;
}

.service-offer:nth-child(-n + 2) {
  grid-column: span 6;
}

.service-offer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.service-offer__top span {
  color: var(--service-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-offer__top i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: rgba(36, 93, 73, 0.09);
  color: var(--service-green);
}

.service-offer > small {
  color: var(--service-green);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-offer h3 {
  max-width: 20ch;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.service-offer p {
  max-width: 46ch;
}

.service-offer > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--service-ink);
  font-weight: 850;
  text-decoration: none;
}

.service-offer > a i {
  color: var(--service-orange);
  transition: transform 180ms ease;
}

.service-offer > a:hover i {
  transform: translateX(5px);
}

.services-process__heading p {
  color: rgba(255, 255, 255, 0.65);
}

.services-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

.services-process__steps li {
  min-height: 220px;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.services-process__steps li:last-child {
  border-right: 0;
}

.services-process__steps span {
  color: var(--service-orange-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.services-process__steps h3 {
  margin: 3.8rem 0 0.7rem;
  color: #fff;
  font: 700 1.45rem/1.1 Fraunces, serif;
}

.services-process__steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.65;
}

.services-process__action {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.services-process__action p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .studio-hero__layout,
  .services-hub-hero__layout,
  .studio-profile-section .content-profile,
  .studio-principles__layout {
    grid-template-columns: 1fr;
  }

  .studio-hero__panel,
  .services-hub-hero__summary {
    max-width: 620px;
  }

  .studio-section-heading,
  .services-catalogue__heading,
  .services-process__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-profile-section .content-profile img {
    min-height: 420px;
  }

  .studio-principles__intro {
    position: static;
  }

  .service-offer,
  .service-offer:nth-child(-n + 2) {
    grid-column: span 6;
  }

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

  .services-process__steps li:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .service-wrap {
    width: min(calc(100% - 2rem), 1280px);
  }

  .service-hero {
    min-height: auto;
    padding-top: 7.5rem;
  }

  .service-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .service-actions {
    flex-direction: column;
  }

  .service-button {
    width: 100%;
  }

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

  .studio-section-heading,
  .services-catalogue__heading,
  .services-process__heading {
    gap: 1rem;
  }

  .studio-capabilities .service-card,
  .studio-principles__list li {
    min-height: 0;
  }

  .service-card__icon,
  .studio-principles__list li::before {
    margin-bottom: 1.8rem;
  }

  .studio-profile-section .content-profile img {
    min-height: 340px;
  }

  .studio-profile__facts {
    grid-template-columns: 1fr;
  }

  .service-offer,
  .service-offer:nth-child(-n + 2) {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .services-process__steps {
    grid-template-columns: 1fr;
  }

  .services-process__steps li,
  .services-process__steps li:nth-child(2) {
    min-height: 0;
    border-right: 0;
  }

  .services-process__steps h3 {
    margin-top: 2rem;
  }

  .services-process__action {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-button,
  .service-card,
  .service-links a,
  .service-offer > a i {
    transition: none;
  }
}
