.official-wordmark {
  color: var(--costume-black);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 750;
  text-decoration: none;
}
.service-examples {
  margin: 1.25rem 0;
}
.service-examples > div {
  display: grid;
  grid-template-columns: 7.2em minmax(0, 1fr);
  gap: 1em;
  border-top: 1px solid var(--rule);
  padding: .65rem 0;
  line-height: 1.6;
}
.service-examples dt { font-weight: 700; }
.service-examples dd { margin: 0; }
@media (max-width: 440px) {
  .service-examples > div { grid-template-columns: 1fr; gap: .1rem; }
}

.brand-directory { border-top: 3px solid var(--costume-red); align-self: start; }
.work-home .brand-directory h2 { margin: calc(var(--section-space) - 3px) 0 1rem; font-size: 1.1rem; }
.brand-directory a { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; border-top: 1px solid var(--rule); padding: 1rem 0; }
.brand-directory a::after { content: "↗"; grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--costume-red); }
.brand-directory strong { font-size: clamp(1.25rem, 2.4vw, 1.85rem); }
.brand-directory span { grid-column: 1; color: var(--ink-secondary); }
.work-home .intro-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.service-intro h1 { color: var(--costume-black); }
.work-home .folio-actions a:first-child { background: var(--costume-red); color: var(--costume-white); }
.work-home .folio-actions a:last-child, .work-home .channel-links a, .work-home .folio-heading a { color: var(--costume-red); }
.work-home .hire { color: var(--costume-white); background: var(--costume-black); }
.work-home .hire a { color: var(--costume-black); background: var(--costume-white); }
@media (max-width: 760px) {
  .work-home .intro-grid { grid-template-columns: 1fr; }
}

.brand-directory .brand-video { display: block; border: 0; padding: 0 0 1.25rem; }
.brand-directory .brand-video::after { content: none; }
.brand-video img { display: block; width: 100%; height: auto; }
.brand-video span { display: block; margin-top: .4rem; font-size: .9rem; line-height: 1.55; }

.work-home .service-examples dt a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .2em; }
.work-home .service-examples dt a:hover { color: var(--costume-red); }

.work-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.work-example {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: var(--section-space);
  background: var(--costume-white);
  border: 1px solid var(--rule);
}

.work-example h3 {
  display: flex;
  align-items: baseline;
  gap: .4em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.work-example h3 .heading-icon { flex: none; width: 1em; height: 1em; margin: 0; align-self: flex-start; margin-top: .18em; }

.work-example img {
  display: block;
  width: 100%;
  height: auto;
}

.work-example figcaption {
  margin-top: .35rem;
  color: var(--ink-secondary);
  font-size: .85rem;
}

.work-home .work-example-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  margin-block-start: auto;
  min-height: 44px;
  color: var(--costume-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 760px) {
  .work-example-grid { grid-template-columns: minmax(0, 1fr); }
}

html.case-dialog-open, html.case-dialog-open body { overflow: hidden; }

.case-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  color: var(--costume-black);
  background: var(--surface-muted);
}

.case-dialog::backdrop { background: transparent; }

.case-toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: max(.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) .5rem;
  pointer-events: none;
}

.case-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: white;
  color: var(--costume-black);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.case-close:hover { border-color: currentColor; }

.case-sheet {
  box-sizing: border-box;
  width: min(65rem, calc(100% - 2 * var(--section-space)));
  margin: 0 auto max(2rem, env(safe-area-inset-bottom));
  padding: clamp(1rem, 4vw, 3.5rem);
  border: 1px solid var(--rule);
  background: white;
  overflow-wrap: anywhere;
}

.work-home .case-sheet > h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  line-height: 1.35;
}

.work-home .case-sheet p { line-height: 1.8; }
.work-home .case-summary { margin-top: .75rem; }

.work-home .case-photo {
  margin: var(--section-space) 0;
  padding: clamp(.75rem, 2.8vw, 2rem);
  border: 1px solid var(--rule);
  background: white;
}

.case-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.case-photo figcaption { margin-top: .65rem; font-size: .88rem; }
.case-details { margin: 1.25rem 0; }

.case-details div {
  display: grid;
  grid-template-columns: minmax(8em, 1fr) minmax(0, 4fr);
  gap: .3rem 1.25rem;
  padding-block: .8rem;
  border-top: 1px solid var(--rule);
}

.case-details dt { font-weight: 700; }
.case-details dd { margin: 0; line-height: 1.75; }

.work-home .case-source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--costume-red);
  text-decoration: underline;
  text-underline-offset: .2em;
  font-weight: 700;
}

@media (max-width: 600px) {
  .case-details div { grid-template-columns: minmax(0, 1fr); }
}
