/* Mechanical rhythm, warm print colour, real photography. */
.type-line { display: block; overflow: clip; padding-bottom: .09em; margin-bottom: -.09em; }
.type-line > span { display: block; }
.studio-hero h1 { letter-spacing: -.025em; }
.motion-on.motion-intro .type-line > span {
  animation: type-arrive 850ms cubic-bezier(.2,.7,.15,1) both;
}
.motion-on.motion-intro .type-line:nth-child(2) > span { animation-delay: 100ms; }
.motion-on.motion-intro .studio-link { animation: link-arrive 600ms 350ms both; }
@keyframes type-arrive { from {transform: translateY(112%);} to {transform: translateY(0);} }
@keyframes link-arrive { from {opacity: .35; transform: translateY(6px);} to {opacity: 1; transform: translateY(0);} }

.motion-ribbon { position: relative; padding: 27px 0; background: #bf9670; color: #201a15; }
.ribbon-window { overflow: hidden; }
.ribbon-track { width: max-content; display: flex; }
.ribbon-group { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; gap: 38px; min-width: 100vw; padding-right: 38px; }
.ribbon-group > span { font: 400 clamp(38px, 4.8vw, 76px)/1.15 Anton, Impact, sans-serif; letter-spacing: -.025em; white-space: nowrap; }
.ribbon-group .ribbon-outline { color: transparent; -webkit-text-stroke: 1px #33251b; }
.ribbon-group .ribbon-divider { font: 400 32px/1 DM, Arial, sans-serif; color: #59402c; }
.motion-on .ribbon-track { animation: workshop-roll 4500ms cubic-bezier(.2,.5,.3,1) both; animation-play-state: paused; }
.motion-on .motion-ribbon.motion-in-view .ribbon-track { animation-play-state: running; }
.motion-on.motion-away .ribbon-track,
.motion-on .motion-ribbon:hover .ribbon-track,
.motion-on .motion-ribbon:focus-within .ribbon-track { animation-play-state: paused; }
@keyframes workshop-roll { to {transform: translateX(-100px);} }
.footer-bottom { align-items: center; }

/* Crop only within the photograph. The layout never lifts or tilts. */
.motion-photo-frame { display: block; overflow: hidden; }
.motion-photo-frame > img { width: 100%; }
.journal-card .motion-photo-frame > img { height: auto; aspect-ratio: 1.45; object-fit: cover; }
.photo-open { overflow: hidden; }
.build-card:hover img { filter: none; }
.button, .nav-contact, .studio-link, .text-link, .cart-toggle, .filters button { position: relative; }
.button > span[aria-hidden], .nav-contact > span, .studio-link > span,
.text-link > span[aria-hidden], .hero-build-note > span:last-child { display: inline-block; }
.button > .button-copy { font-size: inherit; line-height: inherit; }
.button:active:not(:disabled), .cart-toggle:active, .filters button:active { background: #cab08b; color: #211b14; }
.add-product.product-added { background: #c0c6a1; border-color: #c0c6a1; color: #1c2117; }
.cart-count { font-variant-numeric: tabular-nums; }
.filters button[aria-pressed=true] { box-shadow: inset 0 -3px #a88058; }

@media (hover: hover) and (pointer: fine) {
  .motion-on .motion-photo-frame > img, .motion-on .photo-open > img,
  .motion-on .product-art { transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
  .motion-on .build-card:hover .motion-photo-frame > img,
  .motion-on .journal-card:hover .motion-photo-frame > img,
  .motion-on .photo-open:hover > img { transform: scale(1.035); }
  .motion-on .product-stage:hover .product-art { transform: translateY(-3px) scale(1.015); }
}
.motion-on .button > span[aria-hidden], .motion-on .nav-contact > span,
.motion-on .studio-link > span, .motion-on .text-link > span[aria-hidden],
.motion-on .hero-build-note > span:last-child { transition: transform 220ms cubic-bezier(.2,.7,.2,1); }
.motion-on .button:hover > span[aria-hidden], .motion-on .button:focus-visible > span[aria-hidden],
.motion-on .nav-contact:hover > span, .motion-on .nav-contact:focus-visible > span,
.motion-on .studio-link:hover > span, .motion-on .studio-link:focus-visible > span,
.motion-on .text-link:hover > span[aria-hidden], .motion-on .text-link:focus-visible > span[aria-hidden],
.motion-on .hero-build-note:hover > span:last-child { transform: translate(3px, -3px); }
.motion-on .add-product:hover > span[aria-hidden] { transform: rotate(90deg); }
.motion-on .add-product.product-added > span[aria-hidden] { transform: scale(1.1); }
.motion-on .header nav a::after { transition: transform 200ms; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
.motion-off { scroll-behavior: auto; }
.motion-off .motion-photo-frame > img, .motion-off .photo-open > img, .motion-off .product-art { transform: none; }

@media(max-width: 700px) {
  .motion-ribbon { padding: 22px 0; }
  .ribbon-group { gap: 25px; padding-right: 25px; }
  .ribbon-group > span { font-size: 44px; }
  .ribbon-group .ribbon-divider { font-size: 24px; }
  .journal-card .motion-photo-frame > img { aspect-ratio: 1.6; }
  .footer-bottom { align-items: start; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-off .ribbon-track, .motion-on .ribbon-track { animation: none !important; }
  .motion-photo-frame > img, .photo-open > img, .product-art { transform: none !important; }
}
@media(forced-colors: active) {
  .ribbon-group .ribbon-outline { color: CanvasText; -webkit-text-stroke: 0; }
}
/* Clip the finite hero-image settle without disturbing captions or layout. */
.about-story > div:first-child, .article-hero { overflow: hidden; }
.article-hero > img { transform-origin: center bottom; }
.studio-hero-image { transform-origin: 65% 55%; }
@media(max-width:700px) { .studio-hero { overflow: hidden; } }
