/* Compact moving service menu, using the same colors and illustrations as the grid. */
.service-ribbon {
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
}
.ribbon-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}
.ribbon-viewport::-webkit-scrollbar { display: none; }
.ribbon-track { display: flex; width: max-content; position: relative; }
.ribbon-group { display: flex; gap: 10px; padding-right: 10px; flex-shrink: 0; }
.ribbon-link {
  width: 292px;
  height: 102px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  flex-shrink: 0;
  user-select: none;
  transition: filter .2s ease;
}
.ribbon-link:hover { filter: brightness(1.06); }
.ribbon-link:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.ribbon-link > .sticker { width: 65px; flex: 0 0 65px; pointer-events: none; transition: transform .25s ease; }
.ribbon-link:hover > .sticker, .ribbon-link:focus-visible > .sticker { transform: rotate(-8deg) scale(1.08); }
.ribbon-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-right: 10px; }
.ribbon-category { font-size: .75rem; font-weight: 800; letter-spacing: .015em; line-height: 1.15; }
.ribbon-title { font-size: 1rem; font-weight: 800; line-height: 1.45; letter-spacing: -.035em; }
.ribbon-plus { position: absolute; right: 12px; top: 9px; font-size: 21px; line-height: 1; }

/* Keep the inquiry action clear and the email address secondary. */
.blue-orbit {
  width: auto;
  height: calc(100% + 250px);
  left: 50%;
  top: -135px;
  opacity: .93;
  transform: translateX(-50%) translateY(calc(var(--scene-y, 0px) * .12)) rotate(-9deg);
}
.contact-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.contact-button { min-width: 270px; }
.contact-address { font-size: .875rem; font-weight: 500; letter-spacing: .015em; line-height: 1.4; padding-right: 6px; }
.company-title h2 { text-wrap: balance; }
@media (min-width: 801px) {
  .card-10, .card-11 { grid-column: span 3; min-height: 410px; }
  .card-10 .card-art, .card-11 .card-art { width: 185px; margin: 16px 0; }
}
.branch-coming { display: inline-block; font-weight: 800; font-style: italic; color: var(--ink); background: var(--lemon); border: 1.5px solid var(--ink); border-radius: 99px; padding: 2px 14px; transform: rotate(-3deg); }
@media (max-width: 480px) {
  .company-title h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
}

@media (max-width: 800px) {
  .blue-orbit { height: calc(100% + 155px); top: -90px; }
  .service-ribbon { margin-bottom: 8px; border-radius: 11px; }
  .ribbon-group { gap: 8px; padding-right: 8px; }
  .ribbon-link { width: 261px; height: 88px; padding: 8px 12px; gap: 10px; border-radius: 14px; }
  .ribbon-link > .sticker { width: 55px; flex-basis: 55px; }
  .ribbon-copy { gap: 4px; }
  .ribbon-category { font-size: .75rem; }
  .ribbon-title { font-size: 1rem; }
  .ribbon-plus { font-size: 18px; right: 10px; top: 8px; }
  .contact-actions { align-items: flex-start; gap: 14px; }
  .contact-button { min-width: 250px; }
  .contact-address { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-link > .sticker { transition: none; }
}

/* Use vector decoration so iOS cannot substitute a colored emoji glyph. */
.asterisk-svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: butt;
}
.display-title .heading-spark {
  position: absolute;
  right: -90px;
  top: -5px;
  color: var(--orange);
  font-size: 7rem;
  line-height: 1;
  animation: spin 22s linear infinite;
}
@media (max-width: 1100px) {
  .display-title .heading-spark { right: -65px; font-size: 5rem; }
}
@media (max-width: 800px) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero-scene {
    flex: 0 0 auto;
    height: clamp(330px, 100vw, 490px);
    min-height: 0;
    max-height: none;
  }
  .hero-kicker, .hero-bottom, .hero-edge { flex-shrink: 0; }
  .hero-bottom { padding-bottom: 28px; }
  .hero-edge { padding: 16px 0 20px; line-height: 1.3; }
  .services .section-heading > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .services .section-heading .section-label { margin-bottom: 24px; }
  .services .display-title {
    display: block;
    width: max-content;
    max-width: 100%;
    font-size: clamp(2.75rem, 15vw, 4.1rem);
    line-height: .95;
  }
  .services .display-title .heading-spark {
    right: 2px;
    top: 1px;
    font-size: .7em;
  }
}
