/* Service pages (Digital ads, Brand development, Creative content, Websites):
   postcard paper edge to edge, a title like "Services.", and a rippling
   carpet of lines along the bottom */

html.page body {
  background:
    radial-gradient(circle, rgba(0, 0, 0, .06) .7px, transparent 1px) 0 0 / 8px 8px,
    var(--paper);
}

/* On the paper the white pills need an edge to stand out */
.chrome .pill, .chrome .cta, .chrome .theme-toggle { box-shadow: 0 0 0 1px rgba(16, 40, 76, .14); }

/* Scrolls in its own area below the menu row, so text never slides under the buttons */
.svc-page {
  position: fixed;
  inset: var(--chrome-h) 0 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--navy);
  outline: none;
}

.svc-head {
  margin: 14px 4vw 0;
  border-bottom: 1px solid var(--navy);
}
.page-title {
  margin: 0 0 clamp(14px, 3vh, 40px) 84px;
  font-size: clamp(32px, min(5.4vw, 8.6vh), 78px);
  line-height: .91;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

/* Market expansion, until its page is written */
.svc-soon {
  display: grid;
  place-items: center;
}
.svc-soon p {
  margin: 0;
  font-size: clamp(32px, min(5.4vw, 8.6vh), 78px);
  font-weight: 700;
  line-height: .91;
  letter-spacing: -.055em;
}

/* Text and images go here later */
.svc-body {
  flex: 1 0 auto;
  min-height: 18vh;
  padding: clamp(24px, 5vh, 56px) 4vw;
}

.carpet-wave {
  flex: none;
  display: block;
  width: 100%;
  height: clamp(170px, 34vh, 360px);
}

/* Explore other services: the title on the left, a leaning white button for each of the
   other services on the right (the same buttons as on the partner page) */
.more-services {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  padding: clamp(56px, 11vh, 120px) 4vw;
}
.more-title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
}
/* Two by two, all the same width */
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; max-width: 600px; }
.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font: 700 16px / 1 var(--grotesk);
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(16, 40, 76, .16), 0 6px 18px rgba(16, 40, 76, .1);
  transform: skewX(var(--lean));
  transition: box-shadow .3s;
}
.more-btn:hover, .more-btn:focus-visible { box-shadow: 0 0 0 1px rgba(16, 40, 76, .4), 0 8px 22px rgba(16, 40, 76, .16); }
.more-btn > * { transform: skewX(calc(-1 * var(--lean))); }
/* The arrow nudges towards the corner on hover */
.more-btn svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate .3s var(--ease);
}
.more-btn:hover svg, .more-btn:focus-visible svg { translate: 2px -2px; }

@media (max-width: 1180px) {
  .page-title { margin-left: 72px; }
}
@media (max-width: 760px) {
  .svc-head { margin: 10px var(--gutter) 0; }
  .more-services { grid-template-columns: 1fr; padding: 48px var(--gutter); }
  .more-list { grid-template-columns: 1fr; max-width: none; }
  .page-title { margin-left: 0; font-size: 40px; }
  .svc-body { padding: 24px var(--gutter); }
}
