/* The homepage pairs large, framed media with contrasting section colors. */
.home .home-section-heading h2,
.home .home-solution-copy h2,
.home .home-final h2 {
  font-size: clamp(2.65rem, 5.1vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  font-weight: 750;
  text-wrap: balance;
}
.home .home-formats {
  background: radial-gradient(ellipse at 94% 0%, #e91e6373 0%, transparent 46%), #211b1e;
  color: #fffaf5;
  padding-block: clamp(48px, 6.3vw, 100px);
}
.home .home-formats .home-section-heading p,
.home .home-formats .home-section-bottom .small-note { color: #f4dee5; }
.home .home-formats .home-section-heading .eyebrow { color: #ffb2c8; }
.home .home-format-grid { gap: clamp(16px, 2vw, 32px); counter-reset: experience-card; }
.home .home-format {
  counter-increment: experience-card;
  background: #fffaf5;
  color: #211b1e;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  padding: 0 0 22px;
  box-shadow: 0 16px 30px #0003;
}
.home .home-format:nth-child(3n + 2) { background: #f8e7eb; }
.home .home-format > figure {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #171417;
}
.home .home-format > figure :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
}
.home .home-format > figure video { object-fit: contain; }
.home .home-format > figure img:is([src*="isketchbot-superhero-cover"],[src$="isketchbot-superhero-portrait-illustration.webp"]) { object-fit: contain; background: #fafafa; }
.home .home-format h3 {
  margin: 18px 20px 0;
  font-size: clamp(1.32rem, 2vw, 1.85rem);
  line-height: 1.18;
}
.home .home-format h3::before {
  content: '0' counter(experience-card) ' / EXPERIENCE';
  display: block;
  margin-bottom: 10px;
  font-size: .67rem;
  line-height: 1.1;
  letter-spacing: .12em;
  color: #c2185b;
}
.home .home-format h3 a { display: flex; align-items: center; gap: 12px; color: inherit; }
.home .home-format h3 a span {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 0;
  background: #ff5380;
  color: #211b1e;
}
.home .home-format > p { margin: 10px 20px 0; color: #51434a; max-width: none; }
.home .home-formats .home-section-bottom .wp-block-button__link {
  background: #ff5380;
  color: #211b1e;
  border-color: #ff5380;
}
.home .brand-proof { background: #fffaf5; padding-block: 34px; }
.home .home-solution-section { border-radius: 0; overflow: hidden; }
.home .home-solution-copy { background: radial-gradient(ellipse at top right, #e91e6359, transparent 66%); }
.home .home-solution-links a { transition: color .18s ease; }
.home .home-solution-links a:hover { color: #ff9bb7; }
.home .home-output-section { background: #f8e7eb; }
.home .home-output-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.home .home-output-grid > figure {
  background: #fffaf5;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px #57253912;
}
.home .home-output-grid .wp-element-caption { margin: 0; padding: 14px 18px; }
:is(.home, .about-page) .home-projects { background: #fffaf5; }
:is(.home, .about-page) .home-projects .work-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
:is(.home, .about-page) .home-projects .work-card {
  padding: 0 0 16px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f7eeea;
}
:is(.home, .about-page) .home-projects .work-card > :not(figure) { margin-inline: 18px; }
:is(.home, .about-page) .home-projects .work-card .wp-block-image img {
  width: 100%;
  height: clamp(190px, 18vw, 280px);
  min-height: 0;
  max-height: none;
  object-fit: contain;
  padding: 0;
  background: #211b1e;
}
.home .home-markets {
  background: #211b1e;
  color: #fffaf5;
  padding-block: clamp(48px, 6vw, 88px);
}
.home .home-markets .home-section-heading p { color: #f4dee5; }
.home .home-market {
  border-radius: 0;
  border: 0;
  background: #ffbdd0;
  color: #211b1e;
}
.home .home-market:nth-child(2) { background: #ff7399; }
.home .home-market:nth-child(3) { background: #f8e7eb; }
.home .home-market :is(p,a) { color: #211b1e; }
.home .home-process { background: #f8e7eb; }
.home .home-process-grid > div { border-radius: 0; background: #fffaf5; }
.home .home-faq { background: #fffaf5; }
.home .home-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #211b1e;
  border-top: 1px solid #211b1e;
  padding-block: clamp(44px, 5vw, 80px);
}
.home .home-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(circle at 85% 120%, transparent 0 40px, #ff90ae24 41px 42px, transparent 43px 50px);
  mask-image: linear-gradient(90deg, transparent 46%, #000);
  pointer-events: none;
}
.home .home-final .eyebrow { color: #ffb2c8; }
.home .home-final h2 { color: #fff; }
.home .home-final > div > p:last-child { color: #f6e8ef; }
.home .home-final .wp-block-button__link {
  border-radius: 0;
  background: #ff5380;
  color: #211b1e;
}
.home .home-final .wp-block-button__link:hover {
  background: #ff9ab6;
  color: #211b1e;
}
.home .home-final .wp-block-button__link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.home :is(.home-format,.home-projects,.home-markets) a:focus-visible {
  outline: 3px solid #c2185b;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .home .home-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.home, .about-page) .home-projects .work-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home .home-format-grid,
  .home .home-output-grid,
  :is(.home, .about-page) .home-projects .work-card-grid { grid-template-columns: minmax(0, 1fr); }
  .home .home-format h3 { font-size: 1.52rem; }
  .home .home-solution-section { border-radius: 0; }
}

/* Carry the homepage's framing into the shared landing templates. */
.service-landing > .landing-hero {
  background: radial-gradient(ellipse at 85% 8%, #e91e6373 0%, transparent 53%), #211b1e;
}
.service-landing .landing-hero-media > .wp-block-image {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 16px 36px #0004;
}
.service-landing > .landing-visuals {
  background-color: #f8e7eb;
}
.service-landing :is(.landing-image-grid, .case-image-grid) > .wp-block-image,
.service-landing .booth-video-grid > .wp-block-video {
  border-radius: 0;
  overflow: hidden;
}
.service-landing > .landing-next {
  background: radial-gradient(ellipse at 90% 90%, #e91e6373 0%, transparent 48%), #211b1e;
}

/* Experience directory: searchable controls and consistent, tappable cards. */
body main .experience-directory .experience-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.65fr) repeat(auto-fit, minmax(135px, 1fr));
  align-items: end;
  gap: 14px;
  background: #f8e7eb;
  border: 1px solid #dbc6cc;
  border-top: 3px solid #ff5380;
  border-radius: 0;
  padding: clamp(16px, 2vw, 24px);
}
.experience-directory .experience-filters label {
  display: grid;
  gap: 7px;
  font-size: .9rem;
  font-weight: 700;
  color: #33242b;
}
.experience-directory .experience-filters :is(input, select, button) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid #a98b95;
  border-radius: 0;
  background: #fffaf5;
  color: #211b1e;
  font: inherit;
  font-size: 1rem;
}
.experience-directory .experience-filters button { cursor: pointer; }
.experience-directory .experience-filters button:disabled { opacity: .55; cursor: default; }
.experience-directory :is(a,input,select,button):focus-visible {
  outline: 3px solid #c2185b;
  outline-offset: 3px;
}
.experience-directory .result-count { margin: 18px 0; font-weight: 650; }
body main .experience-directory .cards .card {
  min-width: 0;
  padding: 0 0 20px;
  border: 1px solid #e0d3ce;
  border-radius: 0;
  overflow: hidden;
  background: #fffaf5;
  box-shadow: 0 8px 24px #4326340d;
  color: #211b1e;
}
body main .experience-directory .cards .card > :is(img,.card-art) {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body main .experience-directory .cards .card > img:is([src*="isketchbot-superhero-cover"],[src$="isketchbot-superhero-portrait-illustration.webp"]) {
  object-fit: contain;
  background: #fafafa;
}
.experience-directory .card :is(h3,p) { margin-inline: 18px; }
.experience-directory .card h3 { text-wrap: balance; }
.experience-directory .card p { line-height: 1.6; }
.experience-directory #filter-empty {
  background: #fffaf5;
  border-color: #dbc6cc;
  border-radius: 0;
}
@media (max-width: 820px) {
  body main .experience-directory .experience-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience-directory .experience-search { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  body main .experience-directory .cards { grid-template-columns: minmax(0,1fr); }
  .experience-directory .experience-filters :is(input,select,button) { font-size: 16px; }
}

/* Let the proposal action read clearly alongside the homepage browse link. */
.home .immersive-actions .hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 16px;
  border: 1px solid #fff9;
  border-radius: 0;
  background: #171417b3;
  color: #fff;
}
.home .immersive-actions .hero-secondary:hover { background: #fffaf5; color: #211b1e; }
.home .immersive-actions a:focus-visible { outline: 3px solid #ff92b3; outline-offset: 4px; }

/* Give the hero image its own frame so the artwork and headline read separately. */
.home .editable-hero {
  --hero-gutter: clamp(28px, 4.2vw, 76px);
  position: relative;
  display: grid;
  align-items: center;
  min-height: 560px;
  height: auto;
  max-height: none;
  padding: 58px var(--hero-gutter) 76px;
  border-radius: 0;
  clip-path: none;
  background: radial-gradient(ellipse at 20% 100%, #e91e6340, transparent 64%), #171417;
}
.home .editable-hero .immersive-copy {
  position: relative;
  inset: auto;
  max-width: min(100%, 560px);
}
.home .editable-hero h1 {
  font-size: clamp(3.5rem, 6vw, 6.85rem);
  line-height: .97;
  letter-spacing: -.075em;
  font-weight: 750;
}
.home .editable-hero h1 em {
  display: inline-block;
  color: #ff90ae;
  font-size: .76em;
  font-style: normal;
  white-space: normal;
  line-height: 1.04;
}
.home .editable-hero .immersive-copy .eyebrow {
  color: #ffc2d3;
  margin-bottom: 20px;
}
.home .editable-hero .immersive-summary {
  max-width: 39ch;
  color: #f6e8ef;
}
.home .editable-hero .immersive-foot {
  left: var(--hero-gutter);
  right: var(--hero-gutter);
  bottom: 23px;
}
.home .editable-hero .hero-grid-mark { display: none; }
.home .immersive-actions .button {
  border-radius: 0;
  background: #ff5380;
  border-color: #ff5380;
  color: #211b1e;
}
.home .immersive-actions .button:hover { background: #ff9ab6; border-color: #ff9ab6; }

@media (min-width: 961px) {
  .home .editable-hero { grid-template-columns: minmax(0, 46%) 1fr; }
  .home .editable-hero :is(.immersive-picture,.hero-gallery) {
    inset: 16px 16px 55px 48%;
    border: 1px solid #ffffff26;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 18px 50px #0005;
  }
  .home .editable-hero .immersive-picture .immersive-photo {
    width: 100%;
    margin-left: 0;
    object-position: center;
  }
  .home .editable-hero .hero-gallery-track {
    left: -10%;
    top: -12%;
    width: 120%;
    transform-origin: center;
  }
  .home .editable-hero .hero-gallery figure { padding: 4px; }
  .home .editable-hero .hero-gallery:after {
    background: linear-gradient(0deg, #211b1e52, transparent 28%);
  }
  .home .editable-hero:has(.immersive-picture) .immersive-shade { background: none; }
  .home .editable-hero .hero-motion-toggle { top: 28px; right: 28px; }
}
@media (max-width: 960px) {
  .home .editable-hero { --hero-gutter: 6vw; }
  .home .editable-hero .immersive-copy { max-width: min(100%, 510px); }
  .home .editable-hero:has(.immersive-picture) .immersive-shade {
    background: linear-gradient(90deg, #171417f5 4%, #171417ba 55%, #17141755),
                linear-gradient(0deg, #171417c7, transparent 33%);
  }
}
@media (max-width: 600px) {
  .home .editable-hero {
    min-height: 510px;
    padding-block: 38px 66px;
    border-radius: 0;
  }
  .home .editable-hero h1 { font-size: clamp(2.9rem, 11vw, 4.05rem); }
  .home .editable-hero .immersive-actions {
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
  }
  .home .editable-hero .immersive-actions a { min-height: 46px; font-size: .88rem; }
}

/* Give the case-study section a darker backdrop. */
.home .home-formats {
  background: #f8e7eb;
  color: #211b1e;
}
.home .home-formats .home-section-heading p,
.home .home-formats .home-section-bottom .small-note { color: #58414c; }
.home .home-formats .home-section-heading .eyebrow,
.home .home-formats .home-section-heading .faq-emphasis { color: #c2185b; }
.home .home-format {
  border: 1px solid #e2cbd2;
  box-shadow: 0 10px 25px #50203913;
}
.home .home-format:nth-child(3n + 2) { background: #fffaf5; }
.home .home-format h3 a:hover span { background: #211b1e; color: #fffaf5; }
:is(.home, .about-page) .home-projects {
  background: #211b1e;
  color: #fffaf5;
  padding-block: clamp(36px, 4vw, 64px);
}
:is(.home, .about-page) .home-projects .home-section-heading h2 { font-size: clamp(2.25rem, 3.6vw, 3.85rem); }
:is(.home, .about-page) .home-projects .home-section-heading p { color: #f4dee5; }
:is(.home, .about-page) .home-projects .work-card {
  background: #30272e;
  color: #fffaf5;
  border: 1px solid #fff2;
}
:is(.home, .about-page) .home-projects .work-card :is(h3,a,p) { color: inherit; }
:is(.home, .about-page) .home-projects .work-card .eyebrow { color: #ffb2c8; }
:is(.home, .about-page) .home-projects .work-card .work-card-result { color: #fffaf5 !important; border-color: #fff3; }
:is(.home, .about-page) .home-projects .wp-block-button__link { background: #ff5380; color: #211b1e; border-color: #ff5380; }
:is(.home, .about-page) .home-projects a:focus-visible { outline-color: #ffb2c8; }
.home .home-markets { background: #fffaf5; color: #211b1e; }
.home .home-markets .home-section-heading p { color: #58414c; }

/* Match core block buttons to the site's square component edges. */
.wp-block-button .wp-block-button__link { border-radius: 0; }

/* Keep phone layouts compact, with one reading column and reachable actions. */
@media (max-width: 760px) {
  .site-header .menu-toggle { min-height: 46px; }
  .site-header #main-nav,
  .site-header #main-nav.open {
    padding-bottom: max(28px, calc(16px + env(safe-area-inset-bottom)));
  }
  .site-header #main-nav > .nav-dropdown .nav-parent > .dropdown-toggle,
  .site-header #main-nav > a:not(.button) {
    min-height: 56px;
    padding-block: 13px;
    font-size: 20px;
  }
  .site-header #main-nav .dropdown-group > a { padding-block: 10px !important; }

  .home .editable-hero {
    min-height: 0;
    padding-block: clamp(38px, 10vw, 58px) 62px;
  }
  .home .editable-hero .immersive-copy { max-width: 460px; }
  .home .editable-hero h1 { font-size: clamp(2.75rem, 10.2vw, 4.45rem); }
  .home .editable-hero .immersive-summary { max-width: 31ch; line-height: 1.55; }
  .home .editable-hero:has(.immersive-picture) .immersive-shade {
    background: linear-gradient(90deg, #171417ed 0%, #171417c9 42%, #17141735 100%),
                linear-gradient(0deg, #171417ed 2%, transparent 60%);
  }
  .home .editable-hero .immersive-foot { bottom: 20px; }
  #experience-intro,
  .service-landing [id] { scroll-margin-top: 96px; }
  .home .home-section-heading h2,
  .home .home-solution-copy h2,
  .home .home-final h2 { font-size: clamp(2.3rem, 8.4vw, 3.4rem); }
  .home .faq-emphasis { white-space: normal; }
  .home .home-section-heading > p { margin-top: 12px; }
  .home .home-format > figure { aspect-ratio: 4 / 3; }
  .home .home-output-grid > figure img,
  :is(.home, .about-page) .home-projects .work-card .wp-block-image img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .home .home-process-grid h3 { font-size: clamp(1.25rem, 5.4vw, 1.55rem); }

  .service-landing .landing-hero-media .wp-block-image img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .service-landing .landing-jump p { gap: 8px; }
  .service-landing .landing-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }
  .service-landing .contact-form-panel { padding-inline: clamp(10px, 3.4vw, 18px); }
  .contact-form-panel .contact-form-alternative { font-size: 1rem; }
}
@media (max-width: 480px) {
  .home .editable-hero .immersive-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 320px;
    gap: 8px;
  }
  .home .editable-hero .immersive-actions a { justify-content: space-between; }
  .home .home-process-grid { gap: 12px; }
  .home .home-process-grid > div { min-width: 0; padding-inline: 12px; }
  .home :is(.home-final,.home-section-bottom) .wp-block-button,
  .home :is(.home-final,.home-section-bottom) .wp-block-button__link { width: 100%; }
  body main .experience-directory .experience-filters { gap: 12px 8px; }
  .experience-directory .experience-reset { grid-column: 1 / -1; }
}

/* Bright surfaces, with the original full-width scrolling artwork behind the hero. */
@font-face {
  font-family: Questrial;
  src: url("questrial-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body, body .site-header, body:has(.immersive-hero) .site-header {
  background-color: #fff;
}
body .site-header { border-bottom-color: #e7e3e5; }
.home :is(.home-section-heading > p, .home-format > p, .home-solution-copy > p:not(.eyebrow), .home-solution-links a, .home-projects .work-card > p:not(.eyebrow), .home-faq details > p) {
  font-family: Questrial, Arial, sans-serif;
}
.home :is(.home-section-heading h2, .home-solution-copy h2) {
  letter-spacing: -.048em;
  font-weight: 800;
}
@media (min-width: 961px) {
  .home .editable-hero .hero-gallery {
    inset: 0;
    border: 0;
    box-shadow: none;
  }
  .home .editable-hero .hero-gallery-track {
    left: 50%;
    top: -24%;
    width: 70%;
  }
  .home .editable-hero .hero-gallery figure { padding: 7px; }
  .home .editable-hero .hero-gallery figure:has(img:is([src*="spotlight-landscape-cover"],[src$="spotlight-photo-booth-landscape-portrait.svg"])) {
    grid-column: auto;
    aspect-ratio: 3 / 4;
  }
  .home .editable-hero .hero-gallery:after {
    background: linear-gradient(90deg, #171417 0%, #171417fa 31%, #171417a8 47%, transparent 70%);
  }
}
.home :is(.home-formats,.brand-proof,.home-solution-section,.home-output-section,.home-markets,.home-process,.home-faq) {
  background: #fff;
}
.home :is(.home-solution-section,.home-output-section,.home-markets,.home-faq) {
  border-top: 1px solid #ede7e9;
}
.home .home-format,
.home .home-format:nth-child(3n + 2) {
  background: #fff;
  box-shadow: 0 6px 18px #211b1e0a;
  border-color: #e8e1e4;
}
.home .home-format > figure {
  aspect-ratio: 1;
}
.home .home-format > p { font-size: 1.03rem; line-height: 1.55; }
.home .home-solution-section { color: #211b1e; }
.home .home-solution-copy { background: none; }
.home .home-solution-copy > .eyebrow { color: #c2185b; }
.home .home-solution-links a { color: #211b1e; }
.home .home-solution-links a:hover { color: #c2185b; }
.home .home-solution-media {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: repeat(12,1fr);
  min-width: 0;
  aspect-ratio: 1.05;
  isolation: isolate;
}
.home .home-solution-media > figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid #e7dce0;
  box-shadow: 0 12px 28px #211b1e26;
}
.home .home-solution-media > figure:nth-child(1) {
  grid-area: 1 / 2 / 8 / 11;
  transform: rotate(-5deg);
}
.home .home-solution-media > figure:nth-child(2) {
  grid-area: 6 / 1 / 13 / 6;
  transform: rotate(-4deg);
  z-index: 1;
}
.home .home-solution-media > figure:nth-child(3) {
  grid-area: 6 / 6 / 13 / 13;
  transform: rotate(4deg);
  z-index: 2;
}
.home .home-solution-media > figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}
.home .home-solution-media > figure:nth-child(n + 2) img {
  object-fit: contain;
  background: #f6f1f3;
}
.home .home-solution-media figcaption {
  position: absolute;
  left: 4px;
  bottom: 4px;
  margin: 0;
  padding: 5px 8px;
  background: #211b1e;
  color: #fff;
}
@media (max-width: 760px) {
  .site-header #main-nav, .site-header #main-nav.open { background-color: #fff; }
  .home .home-solution-media { width: 94%; max-width: 530px; margin-inline: auto; }
  .home .home-format > figure { aspect-ratio: 4 / 3; }
}

/* The experience showcase uses one frame size for stills and playable clips. */
.home .home-format-grid { align-items: stretch; }
.home .home-format-grid > .home-format {
  border-color: #e9dce2;
  box-shadow: 0 9px 22px #2913210d;
}
.home .home-format-grid > .home-format > figure {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  border-bottom: 3px solid #ff5380;
  background: #fff;
}
.home .home-format-grid > .home-format > figure > :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.home .home-format-grid > .home-format > .wp-block-image > img { object-fit: cover; }
.home .home-format-grid > .home-format > .wp-block-image > img:is([src*="isketchbot-superhero-cover"],[src$="isketchbot-superhero-portrait-illustration.webp"]) {
  object-fit: contain;
  background: #fafafa;
}
.home .home-format-grid > .home-format > .wp-block-video { background: #211b1e; }
.home .home-format-grid > .home-format > .wp-block-video > video {
  object-fit: contain;
  background: transparent;
}
.home .home-format-grid .home-format h3 {
  margin-top: 17px;
  font-weight: 750;
}
.home .home-format-grid .home-format h3::before {
  width: fit-content;
  padding: 5px 7px;
  background: #fff0f5;
  color: #c2185b;
}
.home .home-format-grid .home-format h3 a { align-items: flex-start; }
.home .home-format-grid .home-format h3 a span { flex-basis: 40px; height: 40px; }
.home .home-format-grid .home-format:focus-within { outline: 2px solid #c2185b; outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .home-format-grid > .home-format { transition: transform .2s ease, box-shadow .2s ease; }
  .home .home-format-grid > .home-format:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px #2913211c;
  }
}

/* Keep the guest and Washington Monument in the square AI cover crop. */
.home .home-format-grid > .home-format > .wp-block-image > img[src*="washington-dc-ai-photo-booth-watercolor-portrait"],
body main .experience-directory .cards .card > img[src*="washington-dc-ai-photo-booth-watercolor-portrait"] {
  object-position: 82% center;
}

/* Shared inner pages use the same white surfaces and square media frames as home. */
.service-landing,
.service-landing > :is(.landing-visuals, .landing-production, .project-proof, .landing-faq, .contact-layout) {
  background: #fff;
}
.service-landing > :is(.landing-visuals, .landing-production, .project-proof, .landing-faq, .contact-layout) {
  border-top: 1px solid #ede7e9;
}
.service-landing > .landing-visuals::before { display: none; }
.service-landing > .landing-section { padding-block: clamp(36px, 4.4vw, 68px); }
.service-landing :is(.landing-hero h1, .landing-section h2),
main .work-index-heading h1,
main .experience-directory .intro h1 {
  font-weight: 800;
  letter-spacing: -.048em;
  line-height: 1.05;
}
.service-landing :is(.landing-section p:not(.eyebrow), .landing-section li, .landing-tagline, figcaption),
.service-landing .landing-hero-copy > p:not(.eyebrow,.breadcrumb),
main :is(.experience-directory, .work-index) :is(.intro > p:not(.eyebrow), .card > p, .work-card > p:not(.eyebrow), .work-intro) {
  font-family: Questrial, Arial, sans-serif;
}
.service-landing > .landing-hero:not(.information-hero) {
  min-height: 0;
  padding-block: clamp(32px, 4vw, 60px);
}
.service-landing .landing-hero-media { padding: 0; }
.service-landing .landing-hero-media::before { display: none; }
.service-landing .landing-hero-media > .wp-block-image {
  border: 1px solid #ffffff35;
  border-bottom: 3px solid #ff5380;
}
.service-landing .landing-hero-media .wp-block-image img {
  height: clamp(270px, 30vw, 420px);
  min-height: 0;
  max-height: none;
  object-fit: contain;
}
.service-landing :is(.landing-image-grid, .case-image-grid) > .wp-block-image {
  border: 1px solid #e9dce2;
  border-bottom: 3px solid #ff5380;
  background: #fff;
}
.service-landing :is(.landing-image-grid, .case-image-grid) > .wp-block-image img {
  padding: 0;
  height: clamp(210px, 22vw, 300px);
  min-height: 0;
  max-height: none;
  background: #faf7f9;
  object-fit: contain;
}
main :is(.work-index, .project-proof) .work-card {
  border: 1px solid #e9dce2;
  padding: 0 0 16px;
  background: #fff;
}
main :is(.work-index, .project-proof) .work-card > :not(figure) { margin-inline: 16px; }
main :is(.work-index, .project-proof) .work-card .wp-block-image img {
  height: clamp(190px, 18vw, 280px);
  min-height: 0;
  max-height: none;
  padding: 0;
  background: #faf7f9;
  object-fit: contain;
}
body main .experience-directory .experience-filters { background: #fff5f8; }
body main .experience-directory .cards .card {
  background: #fff;
  border-color: #e9dce2;
}
body main .experience-directory .cards .card > :is(img,.card-art) {
  border-bottom: 3px solid #ff5380;
}
.service-landing .contact-form-panel { background: #fff; }
.service-landing .landing-faq .wp-block-details[open] { background: #fff5f8; }
@media (max-width: 760px) {
  .service-landing .landing-hero-media .wp-block-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .service-landing :is(.landing-image-grid, .case-image-grid) > .wp-block-image img {
    height: clamp(190px, 49vw, 300px);
  }
}

/* Define the white inner-page sections with rules and high-contrast actions. */
.service-landing > .landing-hero,
.service-landing > :is(.landing-next, .case-video, .solution-formats, .case-stat-grid) {
  background: #fff;
  color: #211b1e;
}
.service-landing > .landing-hero {
  border-bottom: 1px solid #ded5d9;
}
.service-landing > .landing-hero::before { display: none; }
.service-landing .landing-hero-copy :is(.breadcrumb, .breadcrumb a, .landing-tagline),
.service-landing .landing-hero-copy > p:not(.eyebrow,.breadcrumb,.landing-tagline) {
  color: #51434a;
}
.service-landing .landing-hero-copy > .eyebrow,
.service-landing .landing-hero h1 .inner-hero-emphasis,
.service-landing > .case-video > .eyebrow,
.service-landing .solution-formats > .eyebrow,
.service-landing .landing-next :is(.eyebrow, div > .eyebrow) { color: #c2185b; }
.service-landing .landing-hero-media > .wp-block-image {
  border-color: #e9dce2;
  border-bottom-color: #ff5380;
  box-shadow: 0 10px 26px #211b1e12;
}
.service-landing .landing-hero-media .wp-block-image img,
.service-landing .landing-hero-media figcaption { background: #faf7f9; }
.service-landing .landing-hero-media figcaption { color: #51434a; }
.service-landing > .landing-section + .landing-section,
.service-landing > .case-stat-grid { border-top: 1px solid #ded5d9; }
.service-landing > .case-video > h2,
.service-landing .solution-formats li > a,
.service-landing .landing-next a:not(.wp-block-button__link) { color: #211b1e; }
.service-landing .solution-formats li {
  background: #fff;
  border-color: #e9dce2;
  border-top-color: #ff5380;
}
.service-landing > .landing-section.landing-next {
  margin: 0 var(--page-inset) clamp(28px, 5vw, 64px);
  padding: clamp(30px, 4vw, 56px) clamp(18px, 4vw, 56px);
  border: 1px solid #ded5d9;
  border-top: 4px solid #c2185b;
  box-shadow: 0 10px 28px #211b1e0c;
}
.service-landing :is(.landing-hero, .landing-next) .wp-block-button__link,
.service-landing a.wp-block-button__link[href*="/request-a-proposal/"],
main .work-index a.wp-block-button__link[href*="/request-a-proposal/"] {
  background: #211b1e;
  border: 1px solid #211b1e;
  color: #fff;
}
.service-landing :is(.landing-hero, .landing-next) .wp-block-button__link:hover,
.service-landing a.wp-block-button__link[href*="/request-a-proposal/"]:hover,
main .work-index a.wp-block-button__link[href*="/request-a-proposal/"]:hover {
  background: #c2185b;
  border-color: #c2185b;
  color: #fff;
}
.service-landing .wp-block-button__link:focus-visible,
main .work-index .wp-block-button__link:focus-visible {
  outline: 3px solid #c2185b;
  outline-offset: 4px;
}

/* Inner pages share the homepage's split compositions, accent rules and photo cards. */
.service-landing > .landing-hero:not(.information-hero) {
  gap: clamp(24px, 5vw, 78px);
  border-bottom: 0;
}
.service-landing .landing-hero h1 {
  font-size: clamp(2.65rem, 5vw, 5rem);
  letter-spacing: -.065em;
}
.service-landing .landing-hero-media {
  padding: 0 10px 10px 0;
}
.service-landing .landing-hero-media::before {
  display: block;
  inset: 11px 0 0 11px;
  background: #ff5380;
  opacity: 1;
}
.service-landing .landing-hero-media > .wp-block-image {
  border-bottom-width: 1px;
}
.service-landing .landing-jump > p {
  border-block: 1px solid #e9dce2;
  padding-block: 14px;
}
.service-landing .landing-jump a {
  border-color: #ead8df;
  background: #fff5f8;
}
.service-landing .landing-section h2 {
  font-size: clamp(2.25rem, 4.1vw, 3.65rem);
  letter-spacing: -.06em;
}
.service-landing > :is(.landing-story,.landing-production) > div + div {
  border: 1px solid #ead8df;
  border-top: 3px solid #ff5380;
  padding: clamp(18px, 3vw, 34px);
  background: #fff5f8;
}
.service-landing > .landing-visuals {
  background: linear-gradient(180deg, #fff5f8, #fff 58%);
}
.service-landing > .landing-visuals .landing-image-grid,
.service-landing > .landing-visuals .case-image-grid {
  gap: clamp(12px, 2vw, 24px);
}
.service-landing > .landing-visuals :is(.landing-image-grid,.case-image-grid) > figure {
  box-shadow: 0 9px 22px #2913210d;
}
.service-landing > .project-proof .work-card {
  background: #211b1e;
  color: #fffaf5;
}
.service-landing > .project-proof .work-card :is(h3,a,p) { color: inherit; }
.service-landing > .project-proof .work-card .eyebrow { color: #ffb2c8; }
.service-landing > .project-proof .work-card .work-card-result { color: #fffaf5 !important; border-color: #fff3; }
.service-landing > .landing-faq > .wp-block-details {
  background: #fff;
  border: 1px solid #ead8df;
  margin: 0 0 9px;
  padding: 15px 18px;
}
.service-landing > .landing-faq > .wp-block-details[open] {
  background: #fff5f8;
  border-top: 2px solid #ff5380;
}
.service-landing > .landing-section.landing-next {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.service-landing > .landing-section.landing-next::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 120%, transparent 0 28px, #c2185b18 29px 30px, transparent 31px 36px);
  mask-image: linear-gradient(90deg, transparent 54%, #000);
}
@media (min-width: 901px) {
  .service-landing > .landing-faq {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    column-gap: clamp(24px, 5vw, 72px);
    align-items: start;
  }
  .service-landing > .landing-faq > .eyebrow { grid-area: 1 / 1; margin-top: 4px; }
  .service-landing > .landing-faq > h2 { grid-area: 2 / 1 / span 3 / 2; margin-top: 0; }
  .service-landing > .landing-faq > .wp-block-details { grid-column: 2; }
}
@media (max-width: 760px) {
  .service-landing .landing-hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .service-landing .landing-hero-media { padding: 0 7px 7px 0; }
  .service-landing .landing-hero-media::before { inset: 7px 0 0 7px; }
}

/* Share the About page's opening, project showcase, and closing band. */
.service-landing > .landing-hero,
main .experience-directory > .intro,
body.post-type-archive-location main .section > .intro,
main .work-index > .work-index-heading,
.service-landing > .project-proof {
  background: radial-gradient(ellipse at 90% 8%, #e91e6340, transparent 58%), #211b1e;
  color: #fff;
}
.service-landing > .landing-hero {
  margin-bottom: 0;
}
.service-landing .landing-hero-copy > .eyebrow,
.service-landing .landing-hero h1 .inner-hero-emphasis,
.service-landing > .project-proof > .eyebrow,
main .experience-directory > .intro > .eyebrow,
body.post-type-archive-location main .section > .intro > .eyebrow,
main .work-index > .work-index-heading > .eyebrow { color: #ff9ab6; }
.service-landing .landing-hero-copy > p:not(.eyebrow),
.service-landing .landing-hero-copy .breadcrumb a,
main .work-index .work-intro { color: #f6e8ef; }
.service-landing .landing-hero a.wp-block-button__link {
  background: #ff5380;
  border-color: #ff5380;
  color: #211b1e;
}
.service-landing .landing-hero a.wp-block-button__link:hover {
  background: #ff9ab6;
  border-color: #ff9ab6;
  color: #211b1e;
}
.service-landing .landing-hero a.wp-block-button__link:focus-visible { outline-color: #fff; }
main .experience-directory > .intro,
body.post-type-archive-location main .section > .intro,
main .work-index > .work-index-heading {
  max-width: none;
  padding: clamp(24px, 4vw, 54px);
}
.service-landing > .project-proof .work-card {
  background: #30272e;
  border-color: #fff2;
}
.about-page .landing-hero-media .wp-block-image img {
  object-fit: cover;
  object-position: center 45%;
  background: #211b1e;
}
.about-page > .landing-visuals {
  background: #fff;
}
.about-page > .landing-visuals .landing-image-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.about-page > .landing-visuals .landing-image-grid img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #faf7f9;
}
.about-page .home-projects .home-section-heading h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -.048em;
  line-height: 1.05;
}
.service-landing > .landing-section.landing-next {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #ead8df;
  padding: clamp(44px, 5vw, 80px) var(--page-inset);
  background: #fff5f8;
  color: #211b1e;
  box-shadow: none;
}
.service-landing > .landing-next::before {
  background: repeating-radial-gradient(circle at 85% 120%, transparent 0 40px, #c2185b18 41px 42px, transparent 43px 50px);
}
@media (max-width: 600px) {
  .about-page > .landing-visuals .landing-image-grid { grid-template-columns: minmax(0,1fr); }
}

/* Homepage client review */
.home .brand-proof .brand-logo-grid {
  grid-template-columns: repeat(8, minmax(128px, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
  overflow-x: auto;
  padding-block: 10px 14px;
  scroll-snap-type: x proximity;
}
.home .brand-proof .brand-logo-grid figure { scroll-snap-align: start; }
.home .brand-proof .brand-logo-grid img { height: 44px; }
/* The original artwork has large blank bands above and below the wordmark. */
.home .brand-proof .brand-logo-grid img[alt="Bank of America"] {
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
}

.home .brand-proof .brand-logo-grid-animated {
  display: block;
  container-type: inline-size;
  overflow: hidden;
}
.brand-logo-track {
  display: flex;
  width: max-content;
  animation: brand-logo-scroll 38s linear infinite;
}
.brand-logo-set {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(128px, 1fr);
  align-items: center;
  min-width: 100cqi;
  gap: 22px;
  padding-inline: 11px;
}
.brand-logo-grid-animated:is(:hover, :focus-within, .brand-logo-grid-paused) .brand-logo-track {
  animation-play-state: paused;
}
.brand-logo-toggle {
  display: block;
  margin: 8px auto 0;
  padding: 6px 10px;
  background: transparent;
  color: inherit;
  border: 1px solid #ded7db;
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
}
@keyframes brand-logo-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .home .brand-proof .brand-logo-grid-animated { overflow-x: auto; }
  .brand-logo-track { animation: none; }
  .brand-logo-set[aria-hidden="true"], .brand-logo-toggle { display: none; }
}

.home .editable-hero .hero-gallery { background-color: #171417; }
.dropdown-intro .nav-feature img[src$="/ai-portrait-experience.png"] {
  object-position: center bottom;
}
.home .editable-hero .hero-gallery img[src$="/traditional-event-photo-booth-11.webp"] {
  object-fit: contain;
  background-color: #f8f3ed;
}

.home :is(.home-formats, .home-output-section, .home-process) .home-section-heading h2,
.home .home-solution-copy h2 {
  max-width: none;
  font-size: clamp(2.15rem, 4.2vw, 4.15rem);
}
.home .home-format-grid > .home-format > .wp-block-image > img:is([src*="isketchbot-live-drawing-cover"], [src*="isketchbot-coca-cola-superhero-cover"]) {
  object-fit: contain;
  background: #fff;
}
.home .home-output-section .home-output-grid > .wp-block-image > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: #f5f2f3;
}
.home .home-output-section .home-output-grid .wp-element-caption {
  margin: 0;
  padding: 14px 18px;
}

.home .home-markets .home-section-heading {
  display: block;
  container-type: inline-size;
}
.home .home-markets .home-section-heading h2 {
  max-width: none;
  font-size: 4cqi;
  letter-spacing: -.045em;
  text-wrap: wrap;
  text-transform: uppercase;
}
.home .home-markets h2 span { white-space: nowrap; }

@media (min-width: 761px) {
  .home :is(.home-formats, .home-output-section, .home-process) .home-section-heading {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 60px);
  }
}

.home .home-projects .work-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.home .home-projects .work-card-grid .work-card { grid-area: auto; }
.home .home-projects .work-card-grid .work-card .wp-block-image img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0;
  background: #191518;
}
.home .home-final { background: #000; color: #fff; border-color: #000; }
.home .home-final::before { content: none; }
.home .home-final > div > p:last-child { color: #fff; }
.home .home-final h2 .home-final-accent { color: #ff5380; }

.site-footer .footer-contact {
  display: grid;
  gap: 6px;
  min-width: 0;
  justify-items: end;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .home .home-projects .work-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .home-markets h2 span[aria-hidden] { display: none; }
  .home .home-markets .home-section-heading h2 { font-size: clamp(1.85rem, 10.5cqi, 3.25rem); }
  .home .home-markets h2 span { display: block; }
  .site-footer .footer-contact { justify-items: start; }
}
@media (max-width: 560px) {
  .home .home-projects .work-card-grid { grid-template-columns: minmax(0, 1fr); }
}

.editorial-blog .wp-block-post-date {
  color: #63575d;
  font-size: .9rem;
}
.editorial-blog .editorial-post-grid {
  margin-block: 28px;
  gap: 26px;
}
.editorial-blog .editorial-post-grid > li {
  padding: 18px;
  border: 1px solid #e7dfe3;
}
.editorial-blog .wp-block-post-featured-image { margin: 0 0 18px; }
.editorial-article { max-width: 1120px; margin-inline: auto; }
.editorial-article > .wp-block-post-content { margin-block: 36px; }
.editorial-article > .wp-block-post-date { margin-block: 12px 24px; }
@media (max-width: 760px) {
  .editorial-blog .editorial-post-grid { grid-template-columns: 1fr; }
}

.etc-blog-intro, .editorial-blog {
  width: min(100% - 2 * clamp(20px, 5vw, 48px), 1376px);
  margin-inline: auto;
}
.etc-blog-intro {
  padding-block: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 48px);
  border-bottom: 1px solid #e7dfe3;
}
.etc-blog-intro h1 {
  margin: .24em 0 .25em;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.etc-blog-intro h1 em { color: #c51051; font-style: normal; }
.etc-blog-intro > p:last-child { max-width: 54ch; margin-bottom: 0; }
.editorial-blog.section { padding-block: clamp(24px, 4vw, 50px) clamp(40px, 6vw, 76px); }
.editorial-blog > h2 { margin-block: 0 18px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.editorial-blog .etc-blog-empty {
  border-left: 3px solid #ff5380;
  padding: clamp(18px, 3vw, 36px);
  background: #faf6f8;
}
.etc-blog-empty p { margin-top: 0; }
.etc-blog-empty .wp-block-button__link { background: #201a1d; color: white; border-radius: 0; }
.editorial-blog .editorial-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .editorial-blog .editorial-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .editorial-blog .editorial-post-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The archive shares the intro rail. Keep global prose widths out of the card grid. */
main > .editorial-blog {
  max-width: 1376px;
  padding: clamp(26px, 4vw, 52px) 0 clamp(40px, 6vw, 76px);
}
main > .editorial-blog > :is(.wp-block-heading, .wp-block-query) {
  max-width: none;
  margin-inline: 0;
}
.editorial-blog .editorial-post-grid {
  padding: 0;
  margin: 0;
  gap: clamp(16px, 2vw, 28px);
}
.editorial-blog .editorial-post-grid > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 0 22px;
  border: 1px solid #e7dfe3;
  background: #fff;
}
.editorial-blog .editorial-post-grid > li > :not(figure) { margin-inline: clamp(14px, 2vw, 24px); }
.editorial-blog .editorial-post-grid .wp-block-post-featured-image {
  margin: 0 0 18px;
  border-bottom: 2px solid #ff5380;
  background: #f6f3f4;
}
.editorial-blog .editorial-post-grid .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.editorial-blog .editorial-post-grid .wp-block-post-title {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -.035em;
  margin-block: 8px 12px;
  text-wrap: pretty;
}
.editorial-blog .editorial-post-grid .wp-block-post-excerpt {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-block: 0;
}
.editorial-blog .wp-block-post-excerpt__excerpt { margin-bottom: 14px; }
.editorial-blog .wp-block-post-excerpt__more-text { margin-block: auto 0; }
.editorial-blog .wp-block-post-excerpt__more-link { font-weight: 650; text-underline-offset: 4px; }

.etc-post, .etc-post-next { width: min(100% - 2 * clamp(20px, 5vw, 48px), 1376px); margin-inline: auto; }
.etc-post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 64px);
  margin-block: clamp(22px, 4vw, 52px) 0;
  background: #201a1d;
  color: #fff;
  border-top: 4px solid #ff5380;
}
.etc-post-hero:not(:has(figure)) { grid-template-columns: minmax(0, 52rem); }
.etc-post-lead .eyebrow { color: #ff9bb8; margin-bottom: 22px; }
.etc-post-lead h1 { font-size: clamp(2.4rem, 4.45vw, 5rem); font-weight: 700; line-height: 1.05; margin: 0 0 24px; text-wrap: balance; }
.etc-post-lead .wp-block-post-date { color: #e9dbe2; }
.etc-post-hero .wp-block-post-featured-image { margin: 0; background: #32292e; }
.etc-post-hero img, .etc-post-next img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.etc-post .etc-post-body {
  width: min(100%, 740px);
  margin: clamp(36px, 6vw, 88px) auto;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.etc-post-body > p:first-child { border-left: 3px solid #ff5380; padding-left: 18px; font-size: 1.12em; }
.etc-post-body h2 { font-size: clamp(1.55rem, 3vw, 2.65rem); font-weight: 700; line-height: 1.12; margin: 1.5em 0 .5em; }
.etc-post-next { padding-block: clamp(24px, 4vw, 48px); border-top: 1px solid #e7dfe3; }
.etc-post-next h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); margin-bottom: 20px; }
.etc-post-next .wp-block-post-template { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2vw, 28px); margin: 0 0 22px; }
.etc-post-next .wp-block-post-template > li { margin: 0; border: 1px solid #e7dfe3; }
.etc-post-next figure { margin: 0; background: #f6f3f4; border-bottom: 2px solid #ff5380; }
.etc-post-next h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.15; margin: 0; padding: 16px; }
@media (max-width: 760px) {
  .etc-post-hero { grid-template-columns: minmax(0, 1fr); }
  .etc-post-next .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
}

.site-header .dashboard-dropdown {
  width: min(720px, calc(100vw - 48px));
  max-height: min(65vh, 640px);
  overflow-y: auto;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 28px;
}
.site-header .dashboard-dropdown[hidden] { display: none !important; }
.site-header .dashboard-dropdown > a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #dfd5d9;
  font-size: 17px;
  line-height: 1.4;
  text-decoration: none;
}
.dashboard-submenu { padding-left: 18px; }
@media (max-width: 760px) {
  .site-header #main-nav .dashboard-dropdown {
    position: static;
    width: 100%;
    max-height: none;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 12px 18px;
    box-shadow: none;
    border: 0;
    transform: none;
  }
}

.brand-logo-toggle:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Let square originals fill their gallery tile without cutting off the artwork. */
.service-landing :is(.landing-image-grid, .case-image-grid) {
  align-items: start;
}
.service-landing :is(.landing-image-grid, .case-image-grid) > .wp-block-image img.etc-square-media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0;
}

/* Give square and near-square service covers a matching frame. */
.service-landing .landing-hero-media .wp-block-image img.etc-square-media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0;
}

body.single-experience .landing-hero-media video[src*="ally-tipoff-scribble-video-booth.mp4"] {
  display: block;
  width: 100%;
  height: auto;
}

/* Use one shade over the moving collage at phone widths. */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .home .editable-hero.hero-motion-ready .hero-gallery:after {
    background: none;
  }
  .home .editable-hero.hero-motion-ready:has(.immersive-picture) .immersive-shade {
    background: linear-gradient(90deg, #171417ed 0%, #171417b8 48%, #17141755 78%, #17141710 100%),
                linear-gradient(0deg, #17141780, transparent 25%);
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .home .editable-hero.hero-motion-ready {
    padding-top: clamp(175px, 48vw, 290px);
  }
  .home .editable-hero.hero-motion-ready:has(.immersive-picture) .immersive-shade {
    background: linear-gradient(180deg, transparent 0 120px, #17141780 165px, #171417ee 285px, #171417 100%);
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .home .editable-hero .hero-gallery-track {
    left: -10%;
    width: 120%;
    animation-name: hero-gallery-flow-mobile;
  }
}
@keyframes hero-gallery-flow-mobile {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (max-width: 760px) {
  .home .editable-hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

/* Keep the proposal heading inside its column as the available width changes. */
.contact-layout .contact-aside h2 .faq-emphasis {
  display: inline;
  white-space: normal;
}
.contact-layout .contact-aside h2 .faq-emphasis::after {
  content: none;
}
