/* Responsive refinements of the approved design; desktop rules stay intact. */
@media (max-width: 980px) {
  .masthead { height: auto; min-height: 184px; padding-block: 1rem 4.7rem; align-items: flex-start; }
  .badge { width: clamp(80px, 12vw, 120px); }
  .anniversary { width: 100%; padding-inline: clamp(75px, 14vw, 130px) 0; }
  .anniversary > p { font-size: clamp(1.4rem, 4.4vw, 2.3rem); white-space: normal; }
  .subline { height: auto; white-space: normal; flex-wrap: wrap; font-size: 1rem; line-height: 1.35; }
  .subline img { width: 70px; height: 48px; }
  .seal-anchor { width: 66px; height: 66px; bottom: 8px; padding: 4px; }

  .nav-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-right: 0; }
  .menu-toggle { display: block; order: 0; min-width: 64px; min-height: 48px; padding: .65rem 0; border: 0; background: none; color: var(--cream); font-size: 1.1rem; text-align: left; }
  .mobile-jobs { display: inline-flex; align-items: center; order: 1; min-height: 48px; max-width: calc(100% - 76px); padding-block: .65rem; font-size: 1rem; }
  #main-navigation { display: block; order: 2; flex-basis: 100%; min-height: 0; padding-bottom: .6rem; }
  #main-navigation a { display: block; min-height: 48px; padding: .65rem 0; font-size: 1.1rem; }
  html.menu-ready #main-navigation { display: none; }
  html.menu-ready #main-navigation.open { display: block; }
  .nav-wrap:has(#main-navigation.open) { max-height: calc(100svh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-band:has(#main-navigation.open) .shop-status-strip { display: none; }

  .opening { width: 90%; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; min-height: 0; padding-block: 2rem 3rem; }
  .opening > div { min-width: 0; }
  .opening h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .opening .lead { font-size: 1.15rem; }
  .opening > img { max-height: none; height: auto; }

  /* Standalone actions get a full touch area; links inside prose keep their flow. */
  .opening > div > a, .section-link a, .craft-copy > a, .directory a,
  .breadcrumb a, .story-jumps a, .location-phone a, .direct a,
  .privacy-link a, .site-footer a:not(:has(img)), .visit-grid a[href^="tel:"] {
    display: inline-flex; align-items: center; min-height: 44px; padding-block: .4rem;
  }
  .directory a, .site-footer li a { width: 100%; }
  .branch-list li { padding-block: .1rem; }
  .footer-columns li { margin-block: .15rem; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-columns > :first-child { grid-column: 1 / -1; }
  .footer-brand { display: flex; align-items: center; }
  .footer-brand img { width: 100px; }
  .footer-base { flex-wrap: wrap; gap: .5rem 1.5rem; }
  .footer-base span { flex-basis: 100%; }

  main h1, main h2, main h3, .site-footer, .direct, .legal { overflow-wrap: break-word; }
  .form-grid, .form-layout, .field, .footer-columns > *, .visit-grid > * { min-width: 0; }
  input, textarea, select { max-width: 100%; }
  .file-upload { flex-wrap: wrap; }
  .file-upload #document-name { flex: 1 1 8rem; }
  #assortment-dialog { width: min(94vw, 760px); max-height: 94svh; }
  #assortment-dialog .assortment-dialog-close { min-height: 44px; min-width: 44px; }
  .product-carousel .carousel-item { flex-basis: calc((100% - var(--carousel-gap)) / 2); }
}

@media (max-width: 760px) {
  :root { font-size: 106.25%; }
  .masthead { min-height: 190px; }
  .anniversary > p { font-size: clamp(1.4rem, 5vw, 2.3rem); }
  .subline { font-size: .95rem; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .footer-columns > :first-child { grid-column: auto; }
  .footer-base span { margin-right: 0; }
  .history-events { min-width: 0; }
  .history-event { grid-template-columns: 52px minmax(0, 1fr); }
  .history-endpoint { grid-template-columns: 74px minmax(0, 1fr); }
  .history-event-text { overflow-wrap: break-word; }
  .art-mix-1 .photo-f { right: 3%; width: 63%; }
  .art-mix-1 .photo-d { left: 4%; width: 76%; }
  .art-mix-1 .study-c { right: 4%; }
  .shop-status-strip, .shop-status-strip .shop-status-inner { height: 72px; }
  .shop-status-strip .shop-status-list { height: 68px; }
  .shop-status-strip .shop-status-card { height: 64px; grid-template-rows: 22px minmax(0, 1fr); }
  .shop-status-strip .shop-countdown { width: 100%; flex-wrap: wrap; gap: 0 3px; line-height: 17px; }
  .shop-status-strip .shop-status-copy { white-space: normal; line-height: 17px; }
}

@media (max-width: 480px) {
  .product-carousel { width: 86%; }
  .product-carousel .carousel-item { flex-basis: 100%; }
  .product-carousel .carousel-controls { gap: .5rem; }
  .product-carousel .carousel-controls button { min-width: 44px; min-height: 44px; }
  .assortment-page .spotlight-title h2 { font-size: clamp(1.65rem, 7.6vw, 1.95rem); }
  .assortment-page .spotlight-main { width: 86%; }
  .assortment-page .portraits { gap: .7rem; }
  .assortment-page .spotlight-group:has(.portraits > .portrait:only-child) .spotlight-pictures { gap: .8rem; }
}

@media (max-width: 980px) and (max-height: 500px) {
  /* Leave usable reading space when a phone rotates or its keyboard is open. */
  .nav-band { position: relative; }
  .nav-wrap:has(#main-navigation.open) { max-height: none; overflow: visible; }
}
