.service-showcase {
  background: #edf3e9;
  border-bottom: 1px solid #d4dfd3;
}

.service-showcase .section-heading { max-width: 51rem; }
.service-showcase .section-heading h2 { max-width: 18ch; text-wrap: balance; }
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.15rem;
}

.service-tab {
  padding: .64rem 1rem;
  border: 1px solid #8ba69a;
  border-radius: 99px;
  color: #1c4637;
  font-size: .89rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s;
}

.service-tab:hover { background: #d9e9d8; }
.service-tab[aria-selected="true"] {
  border-color: #173a31;
  background: #173a31;
  color: #fffdf7;
}

.service-panel {
  --stage-bg: #cfeacb;
  --stage-ink: #153b32;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3.2rem);
  background: #fbfaf5;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid #c0d0c1;
  border-radius: 1.2rem;
}

.service-panel + .service-panel { margin-top: 1rem; }
.services-ready .service-panel { margin-top: 0; }
.service-panel--marketing { --stage-bg: #ffdfbc; --stage-ink: #662b20; }
.service-panel--ai { --stage-bg: #dcd6f4; --stage-ink: #392d55; }
.service-panel--vision { --stage-bg: #dbeafe; --stage-ink: #1e3a8a; }
.service-panel:focus-visible { outline-offset: .25rem; }
.service-copy { padding: clamp(.15rem, 2vw, 1.25rem); }
.service-copy h3 {
  margin-block: .4rem .85rem;
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.1vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.service-copy > p:last-child { max-width: 41ch; color: var(--muted); }
.service-visual {
  display: grid;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  position: relative;
  min-height: clamp(20rem, 33vw, 27rem);
  padding: clamp(.85rem, 3.2vw, 2.5rem);
  border-radius: .8rem;
  overflow: hidden;
  background-color: var(--stage-bg);
  background-image: radial-gradient(circle at 18% 10%, #ffffff94, transparent 53%),
    linear-gradient(135deg, #fff6 1px, transparent 1px), linear-gradient(45deg, #fff5 1px, transparent 1px);
  background-size: 100%, 25px 25px, 25px 25px;
  color: var(--stage-ink);
}

.service-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18% -12% -60% 32%;
  border: 1px solid #fff9;
  border-radius: 45%;
  box-shadow: 0 0 0 1.2rem #ffffff48, 0 0 0 2.4rem #ffffff33, 0 0 0 3.8rem #ffffff23;
  transform: rotate(-20deg);
}

.service-art {
  width: min(100%, 25rem);
  padding: 1rem;
  border: 1px solid #ffffffc9;
  border-radius: .8rem;
  background: #fffdf8;
  box-shadow: 0 1.5rem 2.8rem #20332833;
}

.service-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .74rem;
  font-size: .76rem;
  font-weight: 800;
}

.service-browser-top::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 14px;
  border-radius: 50%;
  background: #689083;
  box-shadow: 7px 0 #689083, 14px 0 #689083;
}

.service-menu-photo {
  aspect-ratio: 2.6;
  object-fit: cover;
  object-position: 50% 61%;
  border-radius: .45rem;
}

.service-menu-item {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding-block: .6rem .05rem;
  font-weight: 800;
}

.service-menu-item + .service-menu-item { border-top: 1px solid #d7e5d6; margin-top: .55rem; }
.service-menu-item span { font-size: .85rem; }
.service-menu-action, .service-status {
  width: fit-content;
  margin-top: .7rem;
  padding: .27rem .62rem;
  border-radius: 99px;
  background: #dcedc3;
  font-size: .76rem;
  font-weight: 900;
}

.service-campaign {
  width: min(88%, 19rem);
  position: relative;
  background: #fff9ef;
  box-shadow: .6rem .8rem 0 #dd936345, 0 1.1rem 2.25rem #793e2541;
}

.service-campaign-image {
  position: relative;
  aspect-ratio: 2.4;
  overflow: hidden;
  border-radius: .45rem;
  background: linear-gradient(130deg, #f7926c, #fcb786 47%, #f3d6a0);
}

.service-campaign-image::before {
  content: "";
  position: absolute;
  left: 49%;
  top: 30%;
  width: 42%;
  aspect-ratio: 1;
  background: linear-gradient(#fff6c6, #ffcf97);
  border-radius: 50%;
  box-shadow: 0 0 0 .7rem #fff4ca60, 0 0 0 1.45rem #fff3ca39;
}

.service-campaign-image::after {
  content: "";
  position: absolute;
  inset: 66% -10% -50% -12%;
  background: #75372a;
  border-radius: 50%;
  box-shadow: 1.1rem -.6rem 0 #b45941;
  transform: rotate(-13deg);
}
.service-campaign-title {
  margin-top: .7rem;
  font: italic clamp(1.75rem, 3vw, 2.85rem)/.95 "Instrument Serif", Georgia, serif;
  letter-spacing: -.035em;
}

.service-campaign .service-status { color: #662b20; background: #ffdec2; }
.service-workflow {
  list-style: none;
  display: grid;
  gap: .5rem;
  padding: 0;
  margin: 0;
}

.service-workflow li {
  display: grid;
  grid-template-columns: .65rem 1fr;
  align-items: center;
  gap: .55rem;
  padding: .65rem;
  border: 1px solid #ded5ec;
  border-radius: .42rem;
  background: #f7f1fb;
  font-size: .83rem;
  font-weight: 800;
}

.service-workflow li::before {
  content: "";
  width: .56rem;
  height: .56rem;
  border-radius: 50%;
  background: #8673ac;
}

.service-workflow li:first-child { background: #fff2d9; border-color: #e6d3ad; }
.service-workflow li:first-child::before { background: #a8681e; }
.service-panel--ai .service-status { color: #392d55; background: #e8def4; }

.services-ready .service-panel .service-copy { animation: service-enter .47s cubic-bezier(.16, 1, .3, 1) both; }
.services-ready .service-panel .service-art { animation: service-card-enter .62s cubic-bezier(.16, 1, .3, 1) both; }
.services-ready .service-panel .service-status { animation: service-enter .42s .18s ease-out both; }

@keyframes service-enter {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes service-card-enter {
  from { opacity: .25; transform: translateY(22px) rotate(-4deg) scale(.95); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@media (max-width: 710px) {
  .service-panel { grid-template-columns: minmax(0, 1fr); }
  .service-visual { min-height: 17rem; }
  .service-copy h3 { max-width: 22ch; }
}

@media (max-width: 370px) {
  .service-panel { padding: .65rem; }
  .service-visual { padding: .7rem; }
  .service-art { padding: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .services-ready .service-panel :is(.service-copy, .service-art, .service-status) { animation: none; }
}
