/* Responsive adaptation only. No rule applies to the locked desktop >=1122px. */
@media (max-width: 1121px) {
  :root { --page-padding: clamp(1.25rem, 4vw, 2.5rem); --header-height: 72px; }
  body { min-width: 320px; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: var(--page-padding); }
  .desktop-nav { display: none; }
  .brand { font-size: 1.35rem; }
  .menu-toggle { width: 3rem; height: 3rem; }
  body.menu-open .site-header { position: fixed; }
  .menu-panel { padding: calc(var(--header-height) + 1.5rem) var(--page-padding) max(2rem, env(safe-area-inset-bottom)); }
  .menu-panel-inner { min-height: calc(100dvh - var(--header-height) - 4rem); }
  .menu-panel nav { gap: 1rem; }
  .menu-panel nav a { font-size: clamp(3rem, 10vw, 5rem); line-height: 1.05; }
  .theme-toggle { min-height: 44px; }
  .site-header a, .work-link { min-height: 44px; align-items: center; }

  .hero { display: block; min-height: 0; height: auto; padding: calc(var(--header-height) + 3.5rem) var(--page-padding) 3.5rem; }
  .hero-copy { position: relative; inset: auto; width: min(100%, 40rem); margin-inline: auto; transform: none; animation-name: copy-arrive-mobile; }
  .hero-copy h1 { font-size: clamp(3.1rem, 8.5vw, 5rem); }
  .hero-copy > p { max-width: 31rem; margin-top: 1.35rem; font-size: 1.15rem; line-height: 1.5; }
  .hero.is-journey-departing .hero-copy { transform: translateY(-.35rem) scale(.99); }
  .work-link { margin-top: 1.25rem; font-size: 1rem; }
  .orbit { top: 5.5rem; width: min(86vw, 35rem); transform: translate(-50%, 0); opacity: .72; }
  .radar-arm { opacity: .62; }
  .media-stage { position: relative; inset: auto; width: min(100%, 30rem); height: 18rem; margin: 2.5rem auto 0; }
  .hero .character { top: 0; bottom: auto; right: auto; left: calc(50% - 7rem); width: 14rem; height: 14rem; }
  .hero .character-thinking, .hero .character-notes { margin-left: -1.1rem; }
  .hero .character-building, .hero .character-details { margin-left: 1.1rem; }
  .hero .character .hand-note { display: block; top: calc(100% + 1.1rem); bottom: auto; right: auto; left: 50%; width: 17rem; margin: 0; font-size: 1.045rem; line-height: 1.4; text-align: center; transform: translateX(-50%) rotate(-3deg); }
  .hero .character .hand-note::after { margin: .3rem auto 0; }

  .selected-work.selected-work-layout { min-width: 0; width: 100%; padding: 2rem var(--page-padding) 1.5rem; }
  .selected-work-layout .selected-work-canvas { width: min(100%, 64rem); height: auto; }
  .selected-work-layout .selected-work-intro { position: relative; inset: auto; width: 100%; padding: 0; margin: 0 0 4.5rem; text-align: center; }
  .selected-work-layout .selected-work-intro h2 { white-space: normal; font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.08; }
  .selected-work-layout .section-eyebrow { font-size: .72rem; }
  .selected-work-layout .work-project { position: relative; inset: auto; height: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: center; margin: 0 0 5.5rem; }
  .selected-work-layout .work-project-search { margin-bottom: 0; }
  .selected-work-layout .work-project .work-project-copy { position: relative; inset: auto; min-width: 0; width: auto; }
  .selected-work-layout .work-project-mutton { grid-template-columns: 1.2fr .8fr; }
  .selected-work-layout .work-project-mutton .work-project-copy { grid-column: 2; grid-row: 1; }
  .selected-work-layout .work-project-mutton .project-mock { grid-column: 1; grid-row: 1; }
  .selected-work-layout .work-project-copy h3 { font-size: clamp(2.1rem, 4.3vw, 3.1rem); line-height: 1.06; white-space: normal; }
  .selected-work-layout .work-project-copy > p { font-size: 1.08rem; line-height: 1.5; margin-top: 1rem; }
  .selected-work-layout .work-project-copy > p br { display: none; }
  .selected-work-layout .work-project-link { margin-top: 1.6rem; font-size: 1rem; }
  .selected-work-layout .work-project-dot { width: .6rem; height: .6rem; margin-left: .5rem; }
  .selected-work-layout :is(.fns-mock, .project-mock) { position: relative; inset: auto; width: 100%; height: clamp(28rem, 51vw, 35rem); margin: 0; }
  .selected-work-layout :is(.fns-phone-stage, .mutton-phone-stage, .search-phone-stage) { top: 0; left: 50%; width: 0; height: 90%; }
  .selected-work-layout :is(.fns-phone-shell, .mutton-phone-shell, .search-phone-shell) { top: 0; left: 0; height: 100%; }
  .selected-work-layout :is(.fns-mock-glow, .project-mock-glow) { top: 15%; left: 0; width: 100%; height: 70%; }
  .selected-work-layout :is(.fns-mock-shadow, .project-mock-shadow) { top: auto; bottom: 13%; left: 25%; width: 50%; }
  .selected-work-layout .fns-fish-stage { top: 36%; left: 0; width: 31%; }
  .selected-work-layout .fns-ice-stage { top: 66%; left: 8%; width: 13%; }
  .selected-work-layout .fns-herb-stage { top: 57%; left: auto; right: 2%; width: 21%; }
  .selected-work-layout .mutton-herb-stage { top: 39%; left: 2%; width: 21%; }
  .selected-work-layout .mutton-meat-stage { top: 43%; left: auto; right: 2%; width: 23%; }
  .selected-work-layout .mutton-garlic-stage { top: 66%; left: 1%; width: 24%; }
  .selected-work-layout .search-leaf-one { top: 61%; left: 6%; width: 14%; }
  .selected-work-layout .search-leaf-two { top: 51%; left: auto; right: 1%; width: 13%; }
  .selected-work-layout .search-tile-stage { top: 23%; left: 1%; width: 3.25rem; height: 3.25rem; }
  .selected-work-layout .search-tile i { top: .8rem; left: .75rem; }
  .selected-work-layout .search-pepper-dot { top: 79%; left: auto; right: 8%; }
  .selected-work-layout :is(.fns-accent-rays, .project-accent-rays) { top: 17%; left: 14%; }
  .selected-work-layout .mutton-accent-rays { left: auto; right: 7%; }
  .selected-work-layout :is(.fns-note, .project-note) { top: auto; bottom: 0; left: 0; right: 0; width: 100%; font-size: .95rem; line-height: 1.4; white-space: normal; transform: rotate(-3deg); }
  .selected-work-layout :is(.fns-note-arrow, .project-note-arrow) { display: none; }
}

@media (max-width: 700px) {
  :root { --header-height: 68px; --page-padding: 1.25rem; }
  .hero { padding-top: calc(var(--header-height) + 3rem); padding-bottom: 2.5rem; }
  .hero-copy h1 { font-size: clamp(2.8rem, 12.3vw, 4.2rem); }
  .hero-copy > p { max-width: 24rem; font-size: 1.0625rem; }
  .media-stage { height: 16.5rem; margin-top: 2.25rem; }
  .hero .character { width: 12.5rem; height: 12.5rem; left: calc(50% - 6.25rem); }
  .hero .character .hand-note { font-size: 1.03125rem; width: 16rem; }
  .selected-work.selected-work-layout { padding-top: 2.5rem; }
  .selected-work-layout .selected-work-intro { margin-bottom: 3.5rem; }
  .selected-work-layout .selected-work-intro h2 { margin-top: 1.1rem; font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .selected-work-layout .selected-work-rule { width: 3.5rem; height: 3px; }
  .selected-work-layout .work-project, .selected-work-layout .work-project-mutton { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-bottom: 4.5rem; }
  .selected-work-layout .work-project-search { margin-bottom: 0; }
  .selected-work-layout .work-project .work-project-copy, .selected-work-layout .work-project-mutton .project-mock { grid-column: auto; grid-row: auto; }
  .selected-work-layout .work-project-copy h3 { font-size: clamp(2.4rem, 9.6vw, 3rem); }
  .selected-work-layout .work-project-copy > p { max-width: 28rem; font-size: 1.0625rem; }
  .selected-work-layout .work-project-link { margin-top: 1.2rem; }
  .selected-work-layout :is(.fns-mock, .project-mock) { width: min(100%, 29rem); justify-self: center; height: clamp(26rem, 126vw, 35rem); }
  .selected-work-layout .fns-fish-stage { width: 29%; }
  .selected-work-layout :is(.fns-note, .project-note) { font-size: .9375rem; }
}

@media (max-width: 360px) {
  :root { --page-padding: 1rem; }
  .hero-copy h1 { font-size: 2.65rem; }
  .hero .character .hand-note { width: 14.5rem; }
  .selected-work-layout :is(.fns-mock, .project-mock) { height: 25rem; }
}
