/* Keep the desktop composition on phones. This file is loaded only below 768px. */
@media (max-width: 767px) {
  :root { --gutter: clamp(14px, 3.5vw, 24px); }

  .site-header { height: 72px; gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 42px; }
  .brand > span { font-size: 11px; }
  .brand small { display: block; font-size: 6px; }
  .nav-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 44px; font-size: 11px; }
  .site-nav { display: none; position: absolute; top: 71px; inset-inline: 0; padding: 24px var(--gutter) 30px; flex-direction: column; align-items: stretch; gap: 7px; font-size: 22px; background: var(--ink); border-bottom: 1px solid var(--line); max-height: calc(100svh - 72px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 8px 0; }
  .site-nav .nav-contact { margin-left: 0; justify-content: space-between; padding: 14px; font-size: 14px; }
  .site-nav > a[aria-current]:not(.nav-contact)::after { left: auto; right: 4px; top: 50%; width: 5px; height: 5px; }
  .services-toggle { width: 100%; justify-content: space-between; }
  .services-menu { position: static; width: 100%; padding: 4px 0 4px 14px; border: 0; border-left: 1px solid var(--line); box-shadow: none; }
  .services-menu a { font-size: 16px; }

  /* Text and sleeves stay alongside each other, as they do on desktop. */
  .hero { min-height: initial; }
  .hero-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 12px; padding-top: 36px; padding-bottom: 34px; }
  .hero-copy { min-width: 0; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: .04em; }
  .small-star { font-size: 17px; flex-shrink: 0; }
  .hero h1, html[lang="ro"] .hero h1 { font-size: clamp(30px, 9.2vw, 68px); margin: 20px 0 18px; }
  .hero-description { font-size: 12px; line-height: 1.65; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
  .hero-actions .btn, .hero-actions .text-link { font-size: 10px; line-height: 1.4; }
  .hero-actions .btn { min-height: 44px; padding: 10px 12px; gap: 8px; }
  .hero-actions .text-link { min-height: 44px; gap: 8px; }
  .hero-index { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: 8px; letter-spacing: .05em; }
  .cover-deck.hero-art { width: 100%; max-width: none; margin: 0; }
  .stack-stage { padding: 16px 6% 0; }
  .stack-card .sleeve-label { min-height: 30px; padding: 8px 5px; font-size: 7px; line-height: 1.4; }
  .sleeve-label > span { min-width: 0; overflow-wrap: anywhere; }
  .cover-deck .art-stamp { width: 44px; height: 44px; right: -3%; top: 36%; font-size: 12px; }
  .deck-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; width: 100%; margin-top: 22px; }
  .deck-controls > button { width: 44px; height: 44px; min-width: 44px; }
  .deck-controls > [data-deck-step="-1"] { grid-column: 1; grid-row: 1; }
  .deck-controls > [data-deck-step="1"] { grid-column: 3; grid-row: 1; }
  #deck-count { grid-column: 2; grid-row: 1; min-width: 0; text-align: center; font-size: 9px; }
  .deck-dots { grid-column: 1 / -1; grid-row: 2; width: 100%; flex-wrap: nowrap; }
  .deck-dots button { flex: 1; min-width: 0; max-width: 26px; width: auto; height: 44px; padding: 10px 7px; }
  .deck-caption { display: block; width: 100%; font-size: 10px; margin-top: 4px; }
  .deck-caption > a { display: block; max-width: none; overflow-wrap: anywhere; }
  .deck-caption > span { display: block; max-width: none; margin-top: 4px; text-align: left; }
  .hero-bottom { gap: 12px; font-size: 9px; line-height: 1.5; }
  .hero-motion-control > span { font-size: 9px; }

  .section { padding-block: 48px; }
  .section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 14px; margin-bottom: 28px; }
  .section-head > * { min-width: 0; }
  .section-head h2 { font-size: clamp(32px, 8.2vw, 60px); }
  .section-intro { display: block; margin-top: 0; max-width: none; }
  .section-intro p { font-size: 12px; line-height: 1.65; margin-bottom: 8px; }
  .section-intro .text-link { font-size: 11px; white-space: normal; line-height: 1.4; gap: 8px; }
  .eyebrow { font-size: 10px; }
  .page-hero { padding-top: 36px; }
  .page-hero h1 { font-size: clamp(48px, 13vw, 90px); }
  .page-title-row { gap: 12px; }
  .archive-total { display: block; font-size: 7px; }
  .archive-total strong { font-size: 28px; }
  .page-lede { font-size: 13px; line-height: 1.75; }
  .collection-switch { flex-wrap: wrap; gap: 0 18px; margin-top: 26px; }
  .collection-switch a { font-size: 11px; gap: 6px; min-height: 44px; }
  .archive-toolbar .search-field { min-width: 0; }
  .search-field input { font-size: 16px; min-height: 44px; }
  .results-toolbar { font-size: 11px; gap: 10px; }
  .results-toolbar label { gap: 5px; }
  .results-toolbar select { font-size: 14px; min-height: 44px; max-width: 150px; }

  /* Keep the same three-image rows and artwork order on every screen. */
  :is(.cover-grid, .artwork-grid, .motion-grid, .moving-section .motion-grid, .design-gallery--logos .artwork-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; }
  .artwork-card figcaption { font-size: 10px; line-height: 1.5; gap: 5px; overflow-wrap: anywhere; }
  .design-gallery--logos .artwork-card > a { padding: 10px; }
  .moving-section .motion-preview { aspect-ratio: 4 / 5; }
  .card-title { font-size: 11px; overflow-wrap: anywhere; }
  .card-artist { font-size: 10px; }
  .card-badge, .card-count, .duration { font-size: 8px; padding: 3px 4px; }
  .motion-preview .play-icon { width: 40px; height: 40px; font-size: 18px; }
  .poster-collection { margin-top: 30px; }
  .poster-wall-caption { font-size: 10px; letter-spacing: .02em; }

  .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { min-height: 230px; padding: 16px; }
  .service-card h3 { font-size: clamp(27px, 7vw, 40px); }
  .service-card p { font-size: 12px; }
  .service-card-link { font-size: 11px; }
  .instagram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer-top { gap: 18px; }
  .footer-top > img { display: block; width: 60px; flex-shrink: 0; }
  .footer-cta { font-size: clamp(34px, 9vw, 64px); padding-right: 38px; }
  .footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 11px; }
  .footer-bottom > span:first-child { flex-basis: 100%; }
  .footer-bottom > *:nth-child(even) { text-align: left; }
}
