html[data-typography] .site-footer .footer-logo {
  font-family: UnifrakturCook, Georgia, serif;
  font-weight: 700;
  text-transform: lowercase !important;
}

.reasons .reason-mobile-controls .circle-button:hover { transform: none; }

.stage-cat-sleep,
.strategy-break-mobile { display: none; }

@media (max-width: 760px) and (max-aspect-ratio: 1/1) {
  .salon-stage {
    --phone-sticker-max-width: min(73vw, 41svh);
    --phone-sticker-ratio: 968.49 / 595.094;
    --phone-island-width: min(94vw, 49svh);
    --phone-island-bottom: 3.5svh;
    --phone-reader-width: .77;
    --phone-reader-bottom: .12;
    --phone-island-ratio: 1.05;
    --phone-reference-frame: min(27vw, 17svh);
    --phone-center-frame: calc(var(--phone-reference-frame) * 1.06);
    --phone-outer-frame: min(27vw, 16svh);
    --phone-frame-gap: clamp(7px, 1.2svh, 11px);
    /* The chair is square. Its top is one chair width above its own bottom edge. */
    --phone-reader-top: calc(100svh - var(--phone-island-bottom) - var(--phone-island-width) * (var(--phone-reader-width) + var(--phone-reader-bottom) / var(--phone-island-ratio)));
    --phone-portrait-min-top: calc(clamp(16px, 3.4svh, 30px) + var(--phone-sticker-max-width) * .81 + 10px);
    --phone-portraits-top: max(var(--phone-portrait-min-top), calc(var(--phone-reader-top) - var(--phone-reference-frame) * 1.25 - var(--phone-frame-gap)));
    --phone-center-top: min(
      max(var(--phone-portrait-min-top) - 8px, var(--phone-portraits-top) - (var(--phone-center-frame) - var(--phone-reference-frame)) * 1.25 - 2px)
        - clamp(6px, 1.15svh, 9px),
      var(--phone-reader-top) - var(--phone-center-frame) * 1.276 - 7px
    );
    /* The rotated frame starts slightly above its untransformed top edge. */
    --phone-sticker-space: calc(var(--phone-center-top) - var(--phone-center-frame) * .026);
    /* Leave room for the handwritten claim below the centered sticker. */
    --phone-sticker-width: min(var(--phone-sticker-max-width), (var(--phone-sticker-space) / 2 - 8px) / .48);
  }

  .salon-stage .manor-scroll,
  .salon-stage .portrait-1,
  .salon-stage .portrait-5 { display: none; }

  .salon-stage .sticker-anchor {
    top: calc((var(--phone-sticker-space) - var(--phone-sticker-width) / (var(--phone-sticker-ratio))) / 2);
    left: 5%;
    width: var(--phone-sticker-width);
  }

  .salon-stage .stage-claim { top: 108%; }

  .salon-stage .portrait-2 {
    left: 50%;
    top: var(--phone-center-top);
    width: var(--phone-center-frame);
    transform: translateX(-50%) rotate(3deg);
  }

  .salon-stage .portrait-3,
  .salon-stage .portrait-4 {
    display: block;
    top: calc(var(--phone-portraits-top) + clamp(10px, 1.9svh, 16px));
    width: var(--phone-outer-frame);
  }

  .salon-stage .portrait-4 {
    left: 2.4%;
    translate: 0 clamp(32px, 9.5vw, 44px);
    --angle: -5deg;
  }
  .salon-stage .portrait-3 { left: auto; right: 2.4%; --angle: 6deg; }

  .salon-stage .reader-island {
    left: 50%;
    bottom: var(--phone-island-bottom);
    width: var(--phone-island-width);
    aspect-ratio: var(--phone-island-ratio);
  }

  .salon-stage .salon-reader {
    width: calc(100% * var(--phone-reader-width));
    bottom: calc(100% * var(--phone-reader-bottom));
  }

  .stage-cat-sleep {
    display: block;
    position: absolute;
    z-index: 3;
    left: 17%;
    bottom: 8.5%;
    width: 23%;
    pointer-events: none;
    --bubble-x: 9%;
    --bubble-y: 61%;
    transform-origin: 55% 100%;
    animation: cat-breathe 2.7s ease-in-out infinite paused;
  }

  .stage-cat-sleep picture,
  .stage-cat-sleep img { display: block; width: 100%; height: auto; }

  .salon-stage[data-motion="active"] .stage-cat-sleep,
  .salon-stage[data-motion="active"] .stage-cat-sleep .cat-sleep-bubble {
    animation-play-state: running;
  }

  @media (prefers-reduced-motion: reduce) {
    .stage-cat-sleep { animation: none; }
  }

  #intro {
    min-height: 0;
    padding: clamp(120px, 34vw, 156px) var(--gutter) clamp(104px, 29vw, 134px);
    text-align: center;
  }

  #intro > .section-index {
    position: static;
    max-width: 100%;
    margin: 0 auto clamp(42px, 11vw, 52px);
  }

  html[data-typography] #intro blockquote {
    font-size: min(7.35vw, 52px);
    text-transform: none !important;
  }

  #intro .quote-line { white-space: nowrap; text-transform: none !important; }
  #intro .little-star { display: none; }

  #intro .intro-statement {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    margin-top: clamp(46px, 12.8vw, 62px);
    text-align: center;
  }

  .services .service-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  html[data-typography] .services .service-tab {
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 59px;
    gap: clamp(5px, 1.8vw, 12px);
    padding: 8px clamp(6px, 2vw, 14px);
    font-size: clamp(11px, 3.15vw, 15px);
  }

  html[data-typography] .services .service-tab span:first-child {
    flex: 0 0 1.7em;
    font-size: clamp(16px, 4.45vw, 25px);
    text-align: center;
    text-transform: uppercase !important;
  }

  .service-tab span:last-child { min-width: 0; overflow-wrap: anywhere; }

  .services .service-panel.is-current { animation-name: mobile-panel-in; }

  @keyframes mobile-panel-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .services .service-arrows {
    inset: var(--mobile-card-center, 0px) 0 auto;
    padding: 0;
    align-items: center;
    translate: 0 -50%;
    z-index: 3;
  }

  .services:not([data-mobile-arrows]) .service-arrows { visibility: hidden; }

  .strategy-break-desktop { display: none; }
  .strategy-break-mobile { display: inline; }
  html[data-typography] #service-3 h3 { font-size: clamp(25px, 7.85vw, 46px); }

  html[data-typography] #reasons-title {
    font-size: clamp(26px, 9.1vw, 60px);
    white-space: nowrap;
  }

  #gruende .reason-number { display: none; }
  #gruende .relic-gem { width: clamp(26px, 7.8vw, 42px); }

  #gruende .mobile-relic {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    justify-items: center;
    flex: none;
    width: min(68vw, 225px);
    height: min(86.4vw, 286px);
    padding: clamp(29px, 11vw, 43px) 0 15px;
    background: #f2ebdd;
    border-radius: 48% 48% 3px 3px / 34% 34% 3px 3px;
  }

  .mobile-relic picture { display: block; width: 84%; height: 100%; min-height: 0; }
  .mobile-relic img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center bottom; }

  #referenzen .scroll-banner .logo-track { animation-duration: var(--phone-logo-duration, 29s); }

  .contact-collage .cta-object--bulb { right: 7%; bottom: 24%; }

  .contact-collage:has(.contact-button:is(:hover,:focus-visible)) .cta-pigeon,
  .contact-collage.contact-pigeon-peek .cta-pigeon {
    transform: translateY(48%) scaleX(-1);
    transition-timing-function: cubic-bezier(.22,1,.36,1);
  }

  @media (hover: none) {
    .contact-collage:not(.contact-pigeon-peek):has(.contact-button:hover:not(:focus-visible)) .cta-pigeon {
      transform: translateY(101%) scaleX(-1);
    }
  }

  .workshop-layout { gap: 1.35rem; }
  .workshop-draw { padding-top: calc(var(--badge-size) + 1.7rem); }
  .workshop-badge { bottom: calc(100% + 1.15rem); }
  .workshop-deck,
  .workshop-pile { width: 91%; max-width: none; }
  .workshop-card-face .has-architecture { --long-word-fit: 10.45cqi; }
  .workshop-card-face p:has(.workshop-unbroken) { --long-word-fit: 11.85cqi; }

  #galerie .gallery-controls { margin-top: 2rem; }
  #galerie .gallery-track { padding-bottom: 1.75rem; }
  #galerie figcaption { min-height: 0; margin-top: 1.8rem; }
  #galerie .gallery-plaque-static {
    display: grid;
    align-content: center;
    width: 84%;
    min-height: 4.75rem;
    padding: .55rem .65rem;
    font-size: .8125rem;
    cursor: default;
    transform: none;
  }

  .curator-book-controls { margin-top: 46px; }
}


@media (max-width: 760px) and (max-height: 690px) and (max-aspect-ratio: 1/1) {
  .salon-stage {
    --phone-island-bottom: 2.5svh;
    --phone-island-width: min(89vw, 44svh);
  }
}

@media (max-width: 760px) and (max-height: 530px) and (max-aspect-ratio: 1/1) {
  .salon-stage { --phone-sticker-max-width: min(73vw, 37svh); }
}
