/* Continue the opening's paper, ink and staggered typography through the ending. */
.closing,
.faq,
.updates,
.signup-dialog {
  background: var(--editorial-paper-finish);
}

/* Use the space above the light content for the ink-to-paper transition. */
#services,
.studio + .closing,
.brief-start + .updates {
  --ink-fade-depth: clamp(100px, 14vw, 210px);
  position: relative;
}

#services::before,
.studio + .closing::before,
.brief-start + .updates::before {
  position: absolute;
  inset: 0 0 auto;
  height: var(--ink-fade-depth);
  pointer-events: none;
  content: "";
  mask-image: linear-gradient(#000 62%, transparent);
  background:
    var(--dozzen-ink-grain) left top / var(--dozzen-ink-grain-size),
    linear-gradient(to bottom, var(--dozzen-ink-edge), transparent 34%, transparent 58%, var(--editorial-paper) 100%),
    linear-gradient(209deg, var(--dozzen-ink-edge) 18%, #706f6d 49%, var(--editorial-paper) 81%) left top / 25% 100% repeat-x;
}

.selected-work .work-heading h2 { letter-spacing: -.042em; }

.selected-work .work-keyword-hint,
.brief-start .section-label,
.updates .section-label,
.closing-bands {
  font-family: "DM Mono", monospace;
  font-weight: 400;
  letter-spacing: .025em;
}

.work-keyword[aria-pressed="false"] {
  border-color: transparent transparent #747471;
}

.work-keyword[aria-pressed="false"]:hover {
  border-color: transparent transparent var(--paper);
}

.closing {
  padding-top: clamp(64px, 11vw, 168px);
}
.studio + .closing { padding-block-start: var(--ink-fade-depth); }

.closing-top { display: block; }

.closing-cta {
  margin-inline-start: clamp(0px, 8vw, 134px);
  font-size: clamp(58px, 10.2vw, 160px);
  line-height: .96;
  letter-spacing: -.04em;
}

.closing-cta::after {
  content: "";
  display: inline-block;
  width: .42em;
  height: .42em;
  margin-inline-start: .27em;
  background: currentColor;
  clip-path: polygon(0 22%, 78% 22%, 78% 100%, 68% 100%, 68% 40%, 7% 101%, 0 94%, 62% 32%, 0 32%);
  vertical-align: .05em;
}

.closing-bands {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px 24px;
  height: auto;
  margin: clamp(38px, 7vw, 98px) 5vw 0;
  padding-block: 14px;
  border-block: 1px solid #16161638;
}

.closing-bands > div,
.closing-bands > div:last-child {
  position: static;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 clamp(10px, 1.13vw, 14px)/1.3 "DM Mono", monospace;
  white-space: normal;
  transform: none;
}

.closing-bands > div:last-child { text-align: end; }

.faq.section-wrap {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 0 clamp(28px, 7vw, 112px);
  border-top: 0;
  padding-top: clamp(55px, 8vw, 130px);
  padding-bottom: clamp(64px, 9vw, 140px);
}

.faq > h2 {
  align-self: start;
  font-size: clamp(68px, 12vw, 178px);
  line-height: .9;
  letter-spacing: -.05em;
}

.faq-entry { border-color: #16161645; }
.faq-entry:last-child { border-bottom-color: #16161645; }
.faq-entry summary { gap: 16px; }
.faq-entry summary:hover { color: var(--blue); }
.faq-entry > div { max-width: 66ch; }

.brief-start.section-wrap,
.updates.section-wrap {
  gap: clamp(30px, 9vw, 140px);
  align-items: end;
  padding-block: clamp(64px, 8.5vw, 136px);
  border-top: 0;
}

.brief-start.section-wrap {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  background-color: var(--ink);
  background-image: var(--dozzen-ink-texture);
  background-size: var(--dozzen-ink-texture-size);
  color: var(--paper);
}

.brief-start h2,
.updates h2 {
  font-size: clamp(56px, 8.4vw, 142px);
  line-height: .96;
  letter-spacing: -.042em;
}

.brief-start h2 { color: inherit; }

.brief-start .section-label,
.updates .section-label {
  margin-bottom: clamp(15px, 2.4vw, 34px);
  font-size: 14px;
}

.brief-start-copy,
.updates-copy {
  max-width: 44ch;
}

.brief-start-copy > p:first-child,
.updates-copy > p:first-child {
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.33;
}

.brief-start .brief-start-cta { border: 1px solid #ffffff50; }
.brief-start .brief-start-cta:focus-visible { outline-color: var(--paper); }
.brief-start .brief-promise { font-size: 16px; }

.updates.section-wrap {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.brief-start + .updates.section-wrap { padding-block-start: var(--ink-fade-depth); }

.updates h2 { color: var(--blue); }
.updates-small { max-width: 44ch; }

.footer {
  padding-block: clamp(34px, 6vw, 100px) clamp(24px, 3vw, 48px);
}

.footer-brand {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.footer-bottom {
  gap: clamp(12px, 4vw, 64px);
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: clamp(22px, 5vw, 84px);
  padding-top: clamp(16px, 2vw, 28px);
  border-color: #ffffff60;
}

@media (min-width: 701px) {
  .faq-entry:first-of-type { margin-top: clamp(10px, 3vw, 54px); }
  .updates > div:first-child { padding-inline-start: clamp(8px, 6.5vw, 104px); }
}

@media (min-width: 1100px) {
  .selected-work .work-heading { justify-content: space-between; }
  .selected-work .work-topic-panel { max-width: min(53%, 740px); }
}

@media (max-width: 700px) {
  #services,
  .studio + .closing,
  .brief-start + .updates { --ink-fade-depth: clamp(78px, 20vw, 120px); }
  #services::before,
  .studio + .closing::before,
  .brief-start + .updates::before { background-size: var(--dozzen-ink-grain-size), 100% 100%, 50% 100%; }
  .closing-cta { margin-inline-start: 0; font-size: clamp(45px, 11.6vw, 80px); }
  .closing-bands { margin-inline: 20px; }
  .faq.section-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq > h2 { margin-bottom: 24px; }
  .brief-start.section-wrap,
  .updates.section-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .brief-start h2,
  .updates h2 {
    font-size: clamp(51px, 11.8vw, 82px);
  }
}

@media (forced-colors: active) {
  #services::before,
  .studio + .closing::before,
  .brief-start + .updates::before { content: none; }
  .closing,
  .faq,
  .brief-start,
  .updates,
  .signup-dialog {
    background-image: none;
  }
  .closing-cta::after { background: LinkText; }
}
