/* Mobile navigation is a disclosure; desktop keeps the approved layout. */
.menu-toggle, .header nav .mobile-nav-contact { display: none; }
.header { position: relative; z-index: 20; }
@media (max-width: 64rem) {
  .header { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 12px 5%; min-height: 80px; }
  .header .brand { grid-area: 1 / 1; }
  .header .brand img { width: 52px; height: 52px; }
  .header .cart-toggle { grid-area: 1 / 2; justify-self: end; margin: 0; padding: 10px; font-size: 1rem; }
  .header > .nav-contact { display: none; }
  .menu-toggle { grid-area: 1 / 3; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 86px; min-height: 46px; padding: 10px; border: 1px solid #716052; border-radius: 0; background: transparent; color: #ece6da; font: 600 1rem/1.4 DM, Arial, sans-serif; touch-action: manipulation; }
  .menu-toggle:hover, .menu-toggle[aria-expanded=true] { background: #342a22; color: #fff4df; }
  .menu-icon { position: relative; display: block; width: 20px; height: 16px; }
  .menu-icon::before, .menu-icon::after, .menu-icon > span { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
  .menu-icon::before { top: 0; }
  .menu-icon > span { top: 7px; }
  .menu-icon::after { top: 14px; }
  .menu-toggle[aria-expanded=true] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle[aria-expanded=true] .menu-icon > span { opacity: 0; }
  .header nav { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 0; min-width: 0; }
  .header.menu-ready nav { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 5% 20px; max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; background: #151412; border-bottom: 1px solid #65513f; box-shadow: 0 16px 24px #0005; }
  .header nav a { justify-content: space-between; min-height: 52px; padding: 12px 14px; font-size: 1.25rem; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  .header nav a::after { content: none; }
  .header nav a[aria-current] { background: #342a22; color: #f0d6bb; }
  .header nav a:hover { background: #2c2721; color: #fff7ec; }
  .header nav a:focus-visible { outline-offset: -3px; }
  .header nav .mobile-nav-contact { display: inline-flex; color: #dfbd9b; border-top: 1px solid #494138; margin-top: 8px; padding-top: 18px; }
  .motion-on .header.menu-open nav { animation: menu-arrive 180ms ease-out; }
  .motion-on .menu-icon::before, .motion-on .menu-icon::after { transition: transform 180ms ease-out; }
  @keyframes menu-arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
}

/* Readable copy and complete words at phone sizes. */
@media (max-width: 850px) {
  .studio-intro p, .culture-copy p { font-size: 1rem; }
  .product-form select { font-size: 1rem; }
}
@media (max-width: 700px) {
  .studio-hero-copy > p:not(.studio-location), .section-head p,
  .detail-study-copy p, .product-copy > p:not(.product-index):not(.product-price) { font-size: 1rem; }
  .studio-link, .text-link, .build-card p, .journal-card .read,
  .gallery-heading .text-link, .shop-note { font-size: .875rem; }
  .studio-location, .hero-build-note > span:first-child { font-size: .75rem; }
  .hero-build-note strong { font-size: .875rem; }
  .detail-study figcaption, .photo-grid figcaption { font-size: .75rem; }
  .filters button { font-size: .875rem; min-height: 44px; }
  .motion-ribbon { padding: 24px 6%; }
  .ribbon-track { display: block; width: auto; }
  .motion-on .ribbon-track { animation: none; transform: none; }
  .ribbon-group { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; gap: 8px 18px; padding: 0; }
  .ribbon-group > span { font-size: clamp(2rem, 9vw, 3.5rem); }
  .ribbon-group + .ribbon-group, .ribbon-group > span:nth-child(n+5) { display: none; }
  .footer-main h2 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .quantity-button { width: 44px; }
  .cart-heading .close { min-height: 44px; }
  #lightbox { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  #lightbox-image { height: auto; max-height: 65dvh; }
}
body:has(#lightbox[open]) { overflow: hidden; }
/* Client photographs retain their original framing and workshop character. */
.client-detail-study { grid-template-columns: .8fr 1.6fr; align-items: center; }
.client-detail-study figure:last-child { margin-top: 0; }
.client-detail-study figure:last-child img { aspect-ratio: 16 / 9; height: auto; }
.client-detail-study .detail-study-copy p { max-width: 34ch; }
.workshop-company { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: 12%; padding: 100px 10%; background: #201b16; }
.workshop-company figure { margin: 0; min-width: 0; }
.workshop-company img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; object-position: left center; }
.workshop-company figcaption { font-size: .75rem; color: #b5a796; padding-top: 14px; }
.workshop-company h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.08; margin: 20px 0 24px; }
.workshop-company p { color: #c7b9a9; line-height: 1.8; max-width: 38ch; }
.workshop-company .text-link { display: inline-flex; margin-top: 16px; }
.gallery-source { color: #b5a796; font-size: .875rem; }
#chopper .photo-grid figure:first-child img { aspect-ratio: 1600 / 974; height: auto; }
@media (max-width: 1000px) {
  .client-detail-study { grid-template-columns: 1fr; }
  .client-detail-study .detail-study-copy p { max-width: none; }
  .workshop-company { gap: 8%; padding: 70px 6%; }
}
@media (max-width: 700px) {
  .workshop-company { grid-template-columns: 1fr; gap: 36px; padding: 50px 6%; }
  .workshop-company figure { width: min(100%, 400px); }
  .workshop-company h2 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .workshop-company p { font-size: 1rem; }
  .client-detail-study figure:last-child img { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .article-layout aside nav { grid-template-columns: 1fr; gap: 4px; }
  .article-layout aside nav a { display: flex; align-items: center; min-height: 44px; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-actions { display: flex; align-items: center; justify-content: space-between; width: 100%; }
}
