/* Phone layout. Desktop rules stay in styles.css and live.css.
   Each story is one screen. Motion is transform/opacity and slow. */

@media (max-width: 820px) {
  :root { --header: 56px; }
  html { scroll-behavior: auto; }
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    touch-action: manipulation;
  }

  .grain,
  .site-thread,
  .vignette,
  .paw-field,
  .home-room,
  .asteroid-field,
  .scroll-cue,
  .hero-rail,
  .lens-caption,
  .studio-meter,
  .chrono-gears { display: none !important; }

  .mote:nth-child(5) { display: none; }
  .atmo-a, .atmo-b {
    animation-duration: 42s;
    opacity: 0.85;
  }
  .mote { animation-duration: 40s; opacity: 0.7; }

  .site-header,
  .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.is-scrolled { background: rgba(7, 6, 5, 0.94); }

  a:hover, button:hover, .btn:hover, .nav-cta:hover, .nav-links a:hover,
  .folio:hover, .service-card:hover, .process-step:hover, .team-card:hover,
  .pets-card:hover, .folio-filters button:hover, .team-card:hover .team-photo img,
  .folio:hover img, #gcw-chat-bubble:hover, #gcw-send-btn:hover, .gcw-suggestion:hover {
    transform: none !important;
    letter-spacing: 0.04em;
    box-shadow: none;
    filter: none;
  }
  .nav-links a:hover::after { transform: scaleX(0); }
  .folio::after { display: none; }

  /* Default: keep reveals flat for performance — process re-enabled below */
  .reveal, .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
    filter: none;
  }

  main > section + section { margin-top: 0 !important; }
  main > section::before,
  main > section::after { display: none; }

  .container {
    width: min(100% - 1.5rem, 640px);
    max-width: 100%;
    box-sizing: border-box;
  }

  /* —— Buttons: larger tap targets —— */
  .btn, .nav-cta {
    width: auto;
    max-width: 100%;
    min-height: 44px;
    padding: 0.72rem 1.15rem !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border-radius: 999px;
  }
  .btn svg { width: 14px; height: 14px; }

  /* —— Hero: fill the screen, larger aperture, chat safe area —— */
  .hero[data-hero-bayonet] {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
  }
  .hero[data-hero-bayonet] .hero-bayonet-sticky {
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: calc(var(--header) + 0.55rem) 1.1rem max(5.75rem, calc(env(safe-area-inset-bottom, 0px) + 5.1rem)) !important;
    align-items: center !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero[data-hero-bayonet] .hero-bayonet {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    gap: 0.85rem !important;
    width: 100%;
    height: 100%;
    text-align: center;
  }
  .hero[data-hero-bayonet] .hero-lens-wrap {
    order: -1;
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 0.45rem;
  }
  .hero[data-hero-bayonet] .hero-lens-wrap::after {
    content: "";
    width: 1px;
    height: 22px;
    background: linear-gradient(180deg, var(--gold), transparent);
  }
  .hero[data-hero-bayonet] .hero-lens {
    width: min(58vw, 250px) !important;
    transform: none !important;
  }
  .hero[data-hero-bayonet] .hero-copy {
    order: 0;
    justify-items: center;
    text-align: center;
    gap: 0.48rem !important;
    max-width: 22rem;
  }
  .hero[data-hero-bayonet] .hero-copy h1 {
    font-size: clamp(1.75rem, 7.4vw, 2.15rem) !important;
    line-height: 1.12 !important;
    margin: 0 !important;
  }
  .hero[data-hero-bayonet] .hero-copy .lede {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 28ch !important;
    font-size: 0.94rem !important;
    margin: 0 !important;
  }
  .hero[data-hero-bayonet] .hero-actions {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.55rem 0 0;
    padding-top: 0.35rem;
  }
  .hero[data-hero-bayonet] .hero-actions .btn:nth-child(3) { display: none; }
  .hero[data-hero-bayonet] .hero-dial,
  .hero[data-hero-bayonet] .hero-rail,
  .hero[data-hero-bayonet] .hero-price,
  .hero[data-hero-bayonet] .lens-caption,
  .hero[data-hero-bayonet] .lens-engrave {
    display: none !important;
  }
  .hero[data-hero-bayonet] .hero-service-nav {
    display: inline-flex;
    gap: 0.55rem;
    margin-top: 0.25rem;
  }
  .hero[data-hero-bayonet] .hero-service-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0;
    line-height: 0;
    border-radius: 999px;
    border: 1px solid rgba(232,165,75,0.35);
    background: rgba(18,16,20,0.7);
    color: var(--paper);
    font-size: 0;
  }
  .hero[data-hero-bayonet] .hero-service-nav button svg {
    width: 16px;
    height: 16px;
    display: block;
  }
  .marquee {
    margin: 0 !important;
    border-block-width: 1px;
  }
  .marquee-track {
    padding: 0.42rem 0;
    font-size: 10px;
    letter-spacing: 0.26em;
  }

  /* —— 01 studio: pull up, breathe, still one screen —— */
  .studio-set {
    height: 100svh !important;
    min-height: 0 !important;
    max-height: 100svh !important;
    margin-top: 0 !important;
    padding: calc(var(--header) + 0.55rem) 0 0.85rem !important;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
  }
  .studio-layout {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    width: min(100% - 1.5rem, 640px);
    max-width: 100%;
    gap: 0.75rem !important;
    margin-inline: auto;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .studio-stage {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 22px;
    box-shadow: 0 0 0 1px rgba(232, 165, 75, 0.14), 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .studio-room { animation: none !important; transform: none !important; }
  .softbox, .beam, .catchlight { animation: none !important; }
  .studio-copy {
    text-align: center;
    justify-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    padding: 0.15rem 0.2rem 0.25rem;
    position: relative;
  }
  .studio-copy::before,
  .studio-copy::after,
  .studio-copy .eyebrow::before,
  .studio-copy .eyebrow::after,
  .stand-pole,
  .studio-boom,
  .studio-meter,
  .light-stand,
  .beam,
  .focus-box { display: none !important; }
  .studio-copy .eyebrow {
    margin: 0 0 0.25rem !important;
    padding: 0 !important;
  }
  .studio-copy h2 { font-size: 1.5rem !important; margin: 0 !important; line-height: 1.14 !important; }
  .studio-copy p:not(.eyebrow) {
    margin: 0;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .studio-copy .cta-row { margin-top: 0.45rem; justify-content: center; gap: 0.45rem; }

  /* —— 02 pets: use the screen —— */
  .pets-focus {
    height: 100svh !important;
    max-height: 100svh !important;
    min-height: 0 !important;
    padding: calc(var(--header) + 0.2rem) 0 0.55rem !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box;
  }
  .pets-preface {
    flex: 0 0 64px;
    height: 64px !important;
    margin: 0 !important;
    overflow: hidden;
  }
  .home-window { display: none !important; }
  .pet-lane {
    position: absolute !important;
    left: 0;
    right: 0;
    top: auto !important;
    bottom: 6px !important;
    height: 56px !important;
    overflow: hidden;
  }
  .dog-wrap {
    top: auto !important;
    bottom: 0;
    width: auto !important;
    height: 50px;
  }
  .dog { height: 50px; width: auto; }
  .pets-lock { flex: 1 1 auto; height: auto !important; min-height: 0; }
  .pets-sticky {
    position: relative !important;
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center;
    padding: 0.35rem 0 0.55rem !important;
  }
  .pets-sticky .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
  }
  .pets-focus .section-head { margin: 0 0 0.55rem !important; text-align: center; }
  .pets-focus .section-head h2 { font-size: 1.45rem !important; margin: 0.35rem 0 0 !important; line-height: 1.12 !important; }
  .pets-focus .section-lede {
    margin: 0.45rem auto 0;
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
  }
  .pets-stage {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1.05rem;
    margin: 0.35rem 0 0 !important;
  }
  .pet-lens {
    order: -1;
    width: min(48vw, 196px) !important;
    margin: 0.35rem 0 0.55rem !important;
    box-shadow: 0 0 0 8px rgba(232, 165, 75, 0.09), 0 18px 36px rgba(0, 0, 0, 0.42);
  }
  .pet-lens-ring { animation: none !important; }
  .pets-copy { width: 100%; }
  .pets-duo {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem !important;
    margin: 0.25rem 0 0 !important;
  }
  .pets-bridge { display: none !important; }
  .pets-card { padding: 0.65rem 0.7rem !important; border-radius: 16px !important; gap: 0.2rem !important; }
  .pets-card h3 { font-size: 1rem !important; }
  .pets-card > p:not(.pets-role),
  .pets-bullets { display: none !important; }
  .pets-cta { margin: 0.95rem 0 0 !important; display: flex; justify-content: center; gap: 0.45rem; padding-top: 0.25rem; }
  .pets-cta .btn-ghost { display: none; }

  /* —— 03 film reel: one overlay frame that fits the screen —— */
  .lens-pin {
    height: calc(100svh + 220vh) !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .lens-sticky {
    position: sticky !important;
    top: 0 !important;
    height: 100svh !important;
    max-height: 100svh !important;
    overflow: hidden !important;
    padding: calc(var(--header) + 0.55rem) 0.85rem max(0.9rem, env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box;
  }
  .lens-chrome {
    position: relative !important;
    width: 100%;
    max-width: 100%;
    height: 100% !important;
    display: block !important;
    grid-template-columns: none !important;
    min-width: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(232, 165, 75, 0.34);
    box-shadow:
      0 0 0 1px rgba(126, 184, 201, 0.1),
      0 22px 48px rgba(0, 0, 0, 0.48),
      inset 0 0 0 1px rgba(243, 221, 184, 0.08);
  }
  .reel-viewport {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
  }
  .reel-viewport .reel-frames {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-type: none !important;
  }
  .reel-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    flex: none !important;
    opacity: 0;
    filter: none !important;
    clip-path: none !important;
    transform: scale(1.02);
    transition:
      opacity 0.95s cubic-bezier(0.22, 0.7, 0.2, 1),
      transform 1.15s cubic-bezier(0.22, 0.7, 0.2, 1);
  }
  .reel-frame.is-active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
  }
  .reel-frame img {
    transform: none !important;
    transition: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .reel-vf {
    inset: 14px !important;
    opacity: 0.8;
    z-index: 3;
  }
  .lens-hud {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto !important;
    z-index: 4;
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 0.55rem;
    align-content: end;
    padding: 4.5rem 1rem 1rem !important;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 4, 3, 0.18) 28%, rgba(5, 4, 3, 0.78) 72%, rgba(5, 4, 3, 0.92) 100%);
    pointer-events: none;
  }
  .lens-hud .btn-gold,
  .lens-hud .btn-ghost,
  .lens-hud a { pointer-events: auto; }
  .lens-hud .eyebrow { margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
  .lens-counter {
    justify-self: end;
    align-self: center;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--gold);
  }
  .lens-hud h2 {
    grid-column: 1 / -1;
    font-size: clamp(1.55rem, 6.5vw, 1.9rem) !important;
    margin: 0.05rem 0 0 !important;
    line-height: 1.1 !important;
    color: #f7f2ea;
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
  }
  .lens-place {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(242, 240, 235, 0.78);
  }
  .lens-exif {
    margin: 0;
    justify-self: end;
    align-self: end;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgba(126, 184, 201, 0.92);
  }
  .lens-hud.is-reel-swap h2,
  .lens-hud.is-reel-swap .lens-place,
  .lens-hud.is-reel-swap .lens-exif,
  .lens-hud.is-reel-swap .lens-counter {
    animation: mobileLensLabel 0.95s cubic-bezier(0.22, 0.7, 0.2, 1) both;
  }
  .lens-hud.is-reel-swap .lens-place { animation-delay: 0.06s; }
  .lens-hud.is-reel-swap .lens-exif { animation-delay: 0.1s; }
  .lens-hud.is-reel-swap .lens-counter { animation-delay: 0.04s; }
  @keyframes mobileLensLabel {
    from {
      opacity: 0;
      transform: translateY(12px);
      filter: blur(5px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }
  .lens-hint, .lens-hud .btn-ghost, .lens-hud .btn-gold, .shutter-flash { display: none !important; }
  .film-advance {
    grid-column: 1 / -1;
    margin: 0.45rem 0 0;
    gap: 0.35rem;
  }
  .film-advance span {
    height: 3px;
    border-radius: 999px;
    transition: background 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.2, 1);
  }
  .film-advance span.is-on {
    transform: scaleY(1.55);
  }

  /* —— 04 film strip —— */
  .gallery {
    height: 100svh !important;
    max-height: 100svh !important;
    padding: calc(var(--header) + 0.45rem) 0 0.55rem !important;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
  }
  .gallery .container {
    width: 100%;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .gallery .section-head { margin: 0 0 0.4rem !important; padding: 0 0.9rem; }
  .gallery .section-head h2 { font-size: 1.4rem !important; margin: 0 !important; }
  .gallery .section-head p:not(.eyebrow) { display: none; }
  .gallery .section-head .btn { display: none; }
  .folio-filters {
    margin: 0 0 0.45rem !important;
    padding: 0 0.9rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.35rem;
  }
  .folio-filters button {
    padding: 0.42rem 0.72rem;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    min-height: 36px;
  }
  .folio-grid {
    columns: auto !important;
    display: flex !important;
    flex: 1 1 auto;
    min-height: 0;
    width: 100% !important;
    gap: 0.55rem;
    margin: 0 !important;
    padding: 0.35rem 0.9rem 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .folio {
    flex: 0 0 78%;
    height: 100%;
    margin: 0 !important;
    scroll-snap-align: center;
    border-radius: 16px;
  }
  .folio img { height: 100%; object-fit: cover; filter: none; transition: none; }
  .folio-meta { opacity: 1; padding: 1.55rem 0.8rem 0.75rem; }
  .folio-meta strong { font-size: 1.05rem; }

  /* —— 05 services: static frames, no hover/touch motion —— */
  .services {
    height: 100svh !important;
    max-height: 100svh;
    padding: calc(var(--header) + 0.45rem) 0 0.65rem !important;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
  }
  .services .container { height: 100%; display: flex; flex-direction: column; min-width: 0; }
  .services .section-head { margin: 0 0 0.5rem !important; }
  .services .section-head h2 { font-size: 1.4rem !important; margin: 0 !important; }
  .services .section-head .btn { display: none; }
  .service-grid, .service-grid-3 {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem !important;
    min-height: 0;
  }
  .service-card,
  .service-card:hover,
  .service-card:active,
  .service-card:focus,
  .service-card:focus-visible {
    flex: 1;
    min-height: 0 !important;
    padding: 0.75rem 0.85rem !important;
    grid-template-columns: 38px 1fr;
    align-content: center;
    gap: 0.15rem 0.65rem !important;
    border-radius: 18px !important;
    border-color: rgba(232, 165, 75, 0.22) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(243, 221, 184, 0.04) !important;
    transform: none !important;
    transition: none !important;
  }
  .service-card-featured,
  .service-card-featured:hover {
    border-color: rgba(232, 165, 75, 0.42) !important;
    box-shadow: 0 0 0 1px rgba(232, 165, 75, 0.14), 0 12px 30px rgba(0, 0, 0, 0.28) !important;
  }
  .service-card::before,
  .service-card:hover::before,
  .service-card:active::before {
    opacity: 0.18 !important;
    transform: none !important;
    transition: none !important;
  }
  .service-card::after,
  .service-card:hover::after,
  .service-card:active::after {
    inset: 10px !important;
    opacity: 0.35 !important;
    transition: none !important;
  }
  .service-icon,
  .service-card:hover .service-icon,
  .service-card:active .service-icon {
    transform: none !important;
    transition: none !important;
  }
  .service-tag { display: none; }
  .service-icon { width: 38px; height: 38px; grid-row: span 3; }
  .service-card h3 { font-size: 1.14rem !important; }
  .service-card p {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* —— 06 process: scroll reveals + lit steps —— */
  .process {
    height: 100svh !important;
    max-height: 100svh;
    padding: calc(var(--header) + 0.45rem) 0 0.65rem !important;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
  }
  .process .container { height: 100%; display: flex; flex-direction: column; min-width: 0; }
  .process .section-head { margin: 0 0 0.5rem !important; }
  .process .section-head h2 { font-size: 1.35rem !important; margin: 0 !important; }
  .process .section-head .btn { display: none; }
  .process-track {
    flex: 1;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem !important;
    min-height: 0;
  }
  .process-step {
    padding: 0.75rem 0.7rem !important;
    min-height: 0;
    border-radius: 16px;
    transition: border-color 0.7s ease, box-shadow 0.7s ease !important;
  }
  .process-step.is-lit {
    border-color: rgba(126, 184, 201, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(232, 165, 75, 0.12), 0 12px 28px rgba(0, 0, 0, 0.25);
  }
  .process-step.is-lit::before { transform: scaleY(1); }
  .process-step h3 { font-size: 1.12rem !important; }
  .process-step p {
    font-size: 0.76rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #process .reveal {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(2px);
    transition:
      opacity 1.05s cubic-bezier(0.22, 0.7, 0.2, 1),
      transform 1.05s cubic-bezier(0.22, 0.7, 0.2, 1),
      filter 1.05s cubic-bezier(0.22, 0.7, 0.2, 1) !important;
  }
  #process .reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* —— 07 team frames —— */
  .team {
    height: 100svh !important;
    max-height: 100svh;
    padding: calc(var(--header) + 0.45rem) 0 0.65rem !important;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
  }
  .team .container { height: 100%; display: flex; flex-direction: column; min-width: 0; }
  .team .section-head { margin: 0 0 0.5rem !important; }
  .team .section-head h2 { font-size: 1.3rem !important; margin: 0 !important; }
  .team .section-head p:not(.eyebrow) { display: none; }
  .team .section-head .btn { display: none; }
  .team-grid {
    flex: 1;
    min-height: 0;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
    align-items: stretch;
  }
  .team-card {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    border-color: rgba(232, 165, 75, 0.28);
    box-shadow: 0 0 0 1px rgba(232, 165, 75, 0.08), 0 14px 32px rgba(0, 0, 0, 0.28);
    padding: 0;
  }
  .team-photo { flex: 1 1 auto; height: auto !important; min-height: 0; }
  .team-photo img {
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover;
  }
  .team-card h3 { margin: 0.5rem 0.65rem 0 !important; font-size: 1.02rem !important; }
  .team-role { margin: 0 0.65rem !important; }
  .team-card > p:last-child {
    margin: 0.3rem 0.65rem 0.65rem !important;
    font-size: 0.72rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* —— Urar: larger watch UI, calmer type, bigger CTA —— */
  .urar {
    height: 100svh !important;
    max-height: 100svh;
    padding: calc(var(--header) + 0.55rem) 0 0.9rem !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  .urar-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1.25rem !important;
    text-align: center;
    width: min(100% - 1.5rem, 640px);
    margin-inline: auto;
    box-sizing: border-box;
  }
  .urar-visual {
    order: -1;
    width: min(68vw, 280px) !important;
    justify-self: center;
    margin: 0.15rem 0 0.35rem;
  }
  .chrono { width: 100% !important; }
  .chrono-date { display: none !important; }
  .urar-copy { justify-items: center; gap: 0.55rem; }
  .urar-copy h2 { font-size: 1.45rem !important; margin: 0 !important; }
  .urar-copy p { margin: 0.35rem auto 0; font-size: 0.86rem; max-width: 30ch; }
  .urar-note {
    margin: 0.45rem 0 0.25rem !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
    opacity: 0.78;
    max-width: 28ch;
    line-height: 1.45;
  }
  .urar-copy .cta-row { justify-content: center; margin-top: 0.65rem; }
  .urar-copy .btn-ghost { display: none; }
  .urar-copy .btn-gold {
    min-height: 48px;
    padding: 0.85rem 1.35rem !important;
    font-size: 0.82rem !important;
  }

  /* —— FAQ —— */
  .faq {
    height: 100svh !important;
    max-height: 100svh;
    padding: calc(var(--header) + 0.45rem) 0 0.65rem !important;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
  }
  .faq-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem !important;
    max-width: none;
    width: min(100% - 1.5rem, 640px);
    margin-inline: auto;
    box-sizing: border-box;
  }
  .faq .section-head { margin: 0 !important; }
  .faq .section-head h2 { font-size: 1.35rem !important; margin: 0 !important; }
  .faq-list {
    min-height: 0;
    overflow: auto;
    display: grid;
    gap: 0.45rem;
  }
  .faq-list details,
  .faq-item {
    padding: 0.75rem 0.85rem !important;
    border: 1px solid rgba(232, 165, 75, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(20, 17, 14, 0.9), rgba(10, 9, 8, 0.95));
  }
  .faq-list summary,
  .faq-item summary {
    font-size: 1.02rem !important;
    padding: 0.15rem 0.1rem !important;
    gap: 0.75rem;
  }
  .faq-list p,
  .faq-item p {
    font-size: 0.84rem;
    padding: 0.45rem 0.1rem 0.15rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .faq-cta {
    align-self: stretch;
    justify-content: center;
    min-height: 48px;
  }

  /* —— Contact / booking: no overflow, clean stack —— */
  .contact {
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding: calc(var(--header) + 0.55rem) 0 1rem !important;
    overflow-x: clip;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-studio {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
    width: min(100% - 1.5rem, 640px);
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    min-width: 0;
  }
  .contact-intro {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .book-frame {
    width: min(42vw, 132px) !important;
    height: min(42vw, 132px) !important;
    max-width: 132px;
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
    margin: 0.35rem auto 0.15rem !important;
    box-shadow: 0 0 0 8px rgba(232, 165, 75, 0.08), 0 16px 36px rgba(0, 0, 0, 0.35) !important;
    flex-shrink: 0;
  }
  .book-copy {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    width: 100%;
    min-width: 0;
  }
  .book-title { font-size: 1.4rem !important; line-height: 1.12 !important; }
  .book-lede {
    font-size: 0.86rem;
    max-width: 34ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .contact-meta {
    grid-column: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    margin: 0.35rem 0 0 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: left;
  }
  .contact-meta li {
    gap: 0.15rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(232, 165, 75, 0.14);
    border-radius: 12px;
    background: rgba(12, 11, 10, 0.65);
    min-width: 0;
  }
  .contact-meta a,
  .contact-meta strong {
    font-size: 0.86rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .demo-note { display: none; }
  .contact-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    padding: 0.95rem !important;
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .contact-title { font-size: 1.2rem !important; }
  .field { gap: 0.2rem; min-width: 0; }
  .field label { font-size: 10px; letter-spacing: 0.12em; }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    font-size: 16px;
  }
  .field textarea { min-height: 5rem; }
  .contact-form .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* —— Map: centered —— */
  .map-section {
    height: auto !important;
    min-height: 100svh;
    max-height: none;
    padding: calc(var(--header) + 0.55rem) 0 1rem !important;
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
  }
  .map-layout {
    width: min(100% - 1.5rem, 640px);
    max-width: 100%;
    margin-inline: auto;
    height: auto;
    min-height: calc(100svh - var(--header) - 1.6rem);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem !important;
    text-align: center;
    box-sizing: border-box;
  }
  .map-copy {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    width: 100%;
  }
  .map-copy h2 { font-size: 1.4rem !important; margin: 0 !important; }
  .map-copy > p:not(.eyebrow) {
    margin: 0;
    font-size: 0.88rem;
    max-width: 32ch;
  }
  .map-frame {
    width: 100%;
    flex: 0 0 auto;
    min-height: 240px !important;
    height: min(42svh, 280px);
    border-radius: 18px;
    overflow: hidden;
  }
  .map-frame iframe,
  #map iframe {
    height: 100% !important;
    min-height: 240px;
    width: 100%;
    filter: none;
  }

  /* —— Footer: show company name text —— */
  .site-footer { padding: 1.35rem 0 0.85rem !important; margin: 0; }
  .footer-credit { margin-top: 0.9rem !important; }
  .footer-inner { gap: 0.65rem !important; }
  .footer-brand {
    display: grid;
    gap: 0.35rem;
    justify-items: start;
  }
  .footer-brand .logo-word.visually-hidden {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0.15rem 0 0.1rem !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    border: 0 !important;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--paper);
  }
  .footer-brand .logo-word.visually-hidden em {
    font-style: normal;
    color: var(--gold);
  }

  #gcw-chat-bubble {
    bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
  }
  /* Touch: keep hover collapsed, but allow intro .show-text to expand */
  #gcw-chat-bubble:hover {
    width: 62px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  #gcw-chat-bubble:hover .gcw-bubble-text { max-width: 0 !important; margin-left: 0 !important; }
  #gcw-chat-bubble.show-text {
    width: min(232px, calc(100vw - 88px)) !important;
    border-radius: 32px !important;
    padding: 0 18px !important;
    justify-content: flex-start !important;
  }
  #gcw-chat-bubble.show-text .gcw-bubble-text {
    max-width: 180px !important;
    margin-left: 10px !important;
  }
  #gcw-chat-container {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    height: min(68dvh, calc(100dvh - 108px - env(safe-area-inset-top, 0px))) !important;
    max-height: calc(100dvh - 108px - env(safe-area-inset-top, 0px)) !important;
    bottom: max(84px, calc(env(safe-area-inset-bottom, 0px) + 76px)) !important;
    right: 12px !important;
    left: auto !important;
    top: auto !important;
  }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .mote,
  .atmo-a,
  .atmo-b,
  .marquee-track,
  .pet-run.is-go .dog-wrap,
  .reel-frame,
  .lens-hud.is-reel-swap h2,
  .lens-hud.is-reel-swap .lens-place,
  .lens-hud.is-reel-swap .lens-exif,
  .lens-hud.is-reel-swap .lens-counter,
  #process .reveal,
  #process .reveal.is-in {
    animation: none !important;
    transition: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* —— v7 vibecode pass —— */
@media (max-width: 820px) {
  /* Hero: compact, instant scroll, readable offer */
  .hero[data-hero-bayonet] {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
  }
  .hero[data-hero-bayonet] .hero-bayonet-sticky {
    position: relative !important;
    height: auto !important;
    min-height: calc(100svh - 0.25rem) !important;
    max-height: none !important;
    overflow: visible !important;
    padding: calc(var(--header) + 0.4rem) 1rem 1.1rem !important;
  }
  .hero[data-hero-bayonet] .hero-bayonet {
    height: auto !important;
    gap: 0.65rem !important;
    justify-content: flex-start !important;
  }
  .hero[data-hero-bayonet] .hero-lens {
    width: min(50vw, 210px) !important;
  }
  .hero[data-hero-bayonet] .hero-copy .lede {
    -webkit-line-clamp: 3 !important;
  }
  .hero[data-hero-bayonet] .hero-actions {
    margin-top: 0.95rem !important;
    padding-top: 0.15rem;
  }
  .hero[data-hero-bayonet] .hero-rail,
  .hero[data-hero-bayonet] .hero-dial,
  .hero[data-hero-bayonet] .lens-caption,
  .hero-price,
  .studio-meter,
  .step-exif,
  .chrono-gears,
  .reel-vf { display: none !important; }

  /* Service mosaics → horizontal photo strip */
  .svc-section {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: calc(var(--header) + 0.35rem) 0 1rem !important;
    overflow: visible;
  }
  .svc-bullets { display: none !important; }
  .svc-section .svc-lede {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem !important;
  }
  .svc-mosaic {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 0.55rem !important;
    min-height: 0 !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .svc-mosaic figure {
    flex: 0 0 min(78vw, 300px);
    aspect-ratio: 4 / 5;
    min-height: 210px;
    scroll-snap-align: center;
  }
  .svc-mosaic figure:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* Docs + pets clean */
  .docs-section,
  #dokumenti {
    height: auto !important;
    max-height: none !important;
    padding: calc(var(--header) + 0.35rem) 0 1rem !important;
  }
  .docs-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
    gap: 0.9rem !important;
  }
  .docs-copy { justify-items: center; }
  .docs-visual img,
  .docs-photo img {
    width: min(220px, 58vw) !important;
    max-height: none !important;
    aspect-ratio: 2 / 3;
    object-fit: cover !important;
  }
  #dokumenti .svc-bullets { display: none !important; }

  /* Gallery already snaps; tighten chrome */
  .gallery .section-head p:not(.eyebrow),
  .gallery .section-head .btn { display: none !important; }

  /* Products: one compact card stack */
  .products {
    height: auto !important;
    max-height: none !important;
    padding: calc(var(--header) + 0.3rem) 0 1rem !important;
  }
  .products-rows { gap: 0.75rem !important; margin-top: 0.7rem !important; }
  .product-row {
    padding: 0.8rem !important;
    gap: 0.65rem !important;
  }
  .product-visual { min-height: 140px !important; }
  .product-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem !important;
  }
  .size-tags { display: none !important; }

  /* FAQ / cenik / process tighter */
  .faq,
  .cenik,
  .process,
  .owner,
  .urar,
  .services {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .faq { padding: calc(var(--header) + 0.3rem) 0 0.9rem !important; }
  .faq-layout { gap: 0.45rem !important; }
  .faq .section-head p:not(.eyebrow) { display: none !important; }
  .cenik { padding: calc(var(--header) + 0.3rem) 0 0.9rem !important; }
  .cenik-table { min-width: 0 !important; font-size: 0.88rem !important; }
  .cenik-table th, .cenik-table td { padding: 0.5rem 0.6rem !important; }
  .process { padding: calc(var(--header) + 0.3rem) 0 0.9rem !important; }
  .process-track,
  .process-track--compact {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }
  .process-step p {
    -webkit-line-clamp: 2;
  }

  /* Contact: face circle priority */
  .book-frame,
  .book-frame--face {
    width: min(44vw, 168px) !important;
    height: min(44vw, 168px) !important;
    max-width: 168px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 !important;
  }
  .book-frame img,
  .book-frame--face img {
    object-position: center 20% !important;
  }
  .book-lede { -webkit-line-clamp: 2; }
  .contact-meta li:nth-child(n + 3) { display: none; }

  /* Orders quiet block */
  .orders-download {
    padding: 1rem 0 1.25rem !important;
  }
  .orders-download-inner {
    flex-direction: column;
    text-align: center;
    padding: 0.95rem 1rem !important;
  }

  /* Owner fade stays; hide strip clutter */
  .owner { padding: calc(var(--header) + 0.35rem) 0 1rem !important; }
  .owner-studio-strip { display: none !important; }
  .owner-photo { max-width: min(260px, 68vw); margin-inline: auto; }

  /* Lens: no tall spacer / sticky jack */
  .lens-pin {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .lens-sticky {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: calc(var(--header) + 0.35rem) 0.75rem 1rem !important;
    display: block !important;
  }
  .lens-chrome {
    display: grid !important;
    gap: 0.75rem !important;
    height: auto !important;
    border-radius: 18px;
    overflow: hidden;
  }
  .reel-viewport {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 220px !important;
    aspect-ratio: 4 / 3 !important;
  }
  .reel-viewport .reel-frames,
  .reel-frames {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
  }
  .reel-frame {
    position: relative !important;
    inset: auto !important;
    display: none !important;
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
  }
  .reel-frame.is-active { display: block !important; }
  .reel-frame img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .lens-hud {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    padding: 0.85rem 0.2rem 0.2rem !important;
    background: none !important;
    pointer-events: auto !important;
  }
  .lens-exif,
  .lens-hint,
  .film-advance { display: none !important; }
  .reel-controls { margin-top: 0.35rem; }
  .lens-hud .btn-ghost { display: none !important; }
  .lens-hud .btn-gold { display: inline-flex !important; }

  /* Hide leftover decorative chrome */
  .focus-box,
  .hero-rail,
  .studio-meter,
  .catchlight,
  .subject-shadow { display: none !important; }
}

@media (max-width: 480px) {
  .svc-section .cta-row .btn-ghost { display: none; }
  .hero[data-hero-bayonet] .hero-actions .btn:nth-child(2) {
    font-size: 0.72rem !important;
  }
  .services .service-card p { display: none !important; }
  .services .service-card {
    grid-template-columns: 34px 1fr !important;
  }
}

/* —— v11 mobile polish pass —— */
@media (max-width: 820px) {
  /* Hero: aperture ABOVE copy; clear chatbot */
  .hero[data-hero-bayonet] .hero-bayonet {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero[data-hero-bayonet] .hero-stage {
    order: -2 !important;
    width: 100%;
    display: grid;
    justify-items: center;
  }
  .hero[data-hero-bayonet] .hero-lens-wrap {
    order: 0 !important;
  }
  .hero[data-hero-bayonet] .hero-copy {
    order: 0 !important;
  }
  .hero[data-hero-bayonet] .hero-bayonet-sticky {
    padding-bottom: max(6.25rem, calc(env(safe-area-inset-bottom, 0px) + 5.5rem)) !important;
  }

  /* Hours + mobile menu: fit one screen */
  .hours-modal {
    padding: 0.55rem !important;
    align-items: center;
    overflow: auto;
  }
  .hours-modal-card {
    width: min(100%, 420px) !important;
    max-height: min(88svh, 640px) !important;
    overflow: auto;
    padding: 1rem 0.95rem 0.9rem !important;
    border-radius: 18px !important;
  }
  .hours-modal-card h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.2rem !important;
  }
  .hours-modal-card .hours-sub {
    font-size: 0.82rem !important;
    margin-bottom: 0.55rem !important;
  }
  .hours-table {
    font-size: 0.86rem !important;
  }
  .hours-table th,
  .hours-table td {
    padding: 0.42rem 0.35rem !important;
  }
  .hours-now {
    margin-top: 0.55rem !important;
    padding: 0.5rem 0.65rem !important;
    font-size: 0.82rem !important;
  }
  .hours-close {
    width: 36px !important;
    height: 36px !important;
    top: 0.55rem !important;
    right: 0.55rem !important;
  }
  .mobile-menu {
    padding: 0.65rem 1rem max(1rem, env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    max-height: calc(100svh - var(--header)) !important;
  }
  .mobile-menu a {
    font-size: 1.05rem !important;
    padding: 0.48rem 0 !important;
    letter-spacing: 0.04em !important;
  }

  /* Chatbot slightly taller on mobile */
  #gcw-chat-container {
    width: min(100vw - 1.1rem, 400px) !important;
    height: min(78svh, 640px) !important;
    bottom: 84px !important;
    right: 0.55rem !important;
    left: auto !important;
  }

  /* 01 studio: show real portrait (not a vertical line) */
  .studio-set {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .studio-layout {
    height: auto !important;
    min-height: calc(100svh - var(--header) - 1rem);
    justify-content: flex-start !important;
    gap: 0.85rem !important;
  }
  .studio-stage {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 52svh !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }
  .studio-room {
    position: absolute !important;
    inset: 0 !important;
    transform: none !important;
    animation: none !important;
  }
  .studio-cyc,
  .studio-floor,
  .studio-cove,
  .studio-flag,
  .studio-vflat,
  .studio-boom,
  .light-stand,
  .stand-pole,
  .softbox,
  .beam,
  .catchlight,
  .subject-shadow,
  .studio-meter,
  .focus-box { display: none !important; }
  .studio-subject {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background: #0c0a08;
  }
  .studio-subject::after { display: none !important; }
  .studio-subject img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    animation: none !important;
    transform: none !important;
  }
  .studio-copy {
    text-align: center;
    justify-items: center;
  }
  .studio-copy h2 { font-size: 1.45rem !important; }
  .studio-copy p:not(.eyebrow) {
    font-size: 0.9rem !important;
    -webkit-line-clamp: 3;
  }

  /* Shared horizontal snap rails (match gallery / section 04) */
  .svc-mosaic,
  .folio-grid,
  .subpage-gallery {
    display: flex !important;
    gap: 0.55rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: max(0.9rem, calc((100% - min(78vw, 300px)) / 2)) !important;
    -webkit-overflow-scrolling: touch;
    padding-inline: max(0.9rem, calc((100% - min(78vw, 300px)) / 2)) !important;
    padding-block: 0.2rem 0.35rem !important;
    margin-inline: 0 !important;
  }
  .svc-mosaic figure,
  .folio,
  .subpage-gallery figure {
    flex: 0 0 min(78vw, 300px) !important;
    width: min(78vw, 300px) !important;
    max-width: min(78vw, 300px) !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always;
    margin: 0 !important;
  }
  .svc-mosaic figure:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .svc-section {
    padding: calc(var(--header) + 0.3rem) 0 0.85rem !important;
  }
  .svc-section .svc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.7rem !important;
  }
  .svc-section .svc-visual { order: -1; }
  .svc-section h2 {
    font-size: clamp(1.35rem, 6vw, 1.65rem) !important;
  }
  .svc-section .svc-lede {
    font-size: 0.88rem !important;
    max-width: 34ch;
    margin-inline: auto;
  }
  .svc-section .cta-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  .svc-section .btn {
    font-size: 0.78rem !important;
    min-height: 42px !important;
    padding: 0.65rem 1rem !important;
  }

  /* Dokumenti: photo above title, compact */
  .docs-section,
  #dokumenti {
    padding: calc(var(--header) + 0.25rem) 0 0.85rem !important;
  }
  .docs-layout,
  #dokumenti .docs-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.7rem !important;
  }
  .docs-visual,
  .docs-photo {
    order: -1;
  }
  .docs-visual img,
  .docs-photo img {
    width: min(160px, 42vw) !important;
    max-height: 28svh !important;
    aspect-ratio: 2 / 3;
    object-fit: cover !important;
    border-radius: 12px;
  }
  .docs-copy h2 { font-size: 1.4rem !important; }
  .docs-lede { font-size: 0.88rem !important; }

  /* 03 lens: photo above controls, compact chrome */
  .lens-pin {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .lens-sticky {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: calc(var(--header) + 0.3rem) 0.75rem 0.9rem !important;
    display: block !important;
  }
  .lens-chrome {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    height: auto !important;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(232, 165, 75, 0.28);
  }
  .reel-viewport {
    position: relative !important;
    inset: auto !important;
    order: -1;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    max-height: 46svh;
  }
  .reel-frames {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
  }
  .reel-frame {
    position: absolute !important;
    inset: 0 !important;
    display: none !important;
    height: 100% !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reel-frame.is-active { display: block !important; }
  .reel-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
  }
  .lens-hud {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 0.2rem 0.45rem !important;
    padding: 0.55rem 0.7rem 0.7rem !important;
    background: transparent !important;
    pointer-events: auto !important;
  }
  .lens-hud h2 {
    grid-column: 1 / -1;
    font-size: 1.2rem !important;
    margin: 0 !important;
  }
  .lens-hud .eyebrow { font-size: 0.68rem !important; margin: 0; }
  .lens-place { font-size: 0.78rem !important; margin: 0; }
  .lens-counter { font-size: 0.7rem !important; }
  .lens-exif,
  .lens-hint,
  .film-advance { display: none !important; }
  .reel-controls {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.4rem;
    margin-top: 0.25rem;
  }
  .reel-controls button {
    flex: 1;
    min-height: 38px !important;
    font-size: 0.72rem !important;
    padding: 0.4rem 0.55rem !important;
  }
  .lens-hud .btn-ghost { display: none !important; }
  .lens-hud .btn-gold {
    display: inline-flex !important;
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 40px !important;
    padding: 0.55rem 0.95rem !important;
    font-size: 0.74rem !important;
    width: auto !important;
    max-width: 100%;
  }

  /* Storitve: compact 2-col, hide blue descriptors */
  .services {
    padding: calc(var(--header) + 0.3rem) 0 0.85rem !important;
  }
  .service-grid,
  .service-grid-3,
  .service-grid-4,
  .service-grid-5,
  .service-grid-6,
  .service-grid-7 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
    flex: none !important;
  }
  .service-card,
  .service-card:hover,
  .service-card:focus-visible {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.2rem !important;
    padding: 0.65rem 0.7rem !important;
    min-height: 0 !important;
    flex: none !important;
  }
  .service-card p,
  .service-card .service-desc,
  .service-tag { display: none !important; }
  .service-icon {
    width: 28px !important;
    height: 28px !important;
    grid-row: auto !important;
  }
  .service-card h3 {
    font-size: 0.92rem !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  /* Izdelki: photo above text */
  .products-rows {
    display: flex;
    flex-direction: column;
    gap: 0.7rem !important;
  }
  .product-row,
  .product-row.is-flip {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    padding: 0.75rem !important;
  }
  .product-visual {
    order: -1;
    min-height: 150px !important;
    height: 160px !important;
  }
  .products-rows .pv-batteries {
    width: min(96%, 320px) !important;
    aspect-ratio: 3 / 2 !important;
    max-height: 140px !important;
  }
  .products-rows .pv-batteries img {
    object-fit: contain !important;
    transform: none !important;
  }
  .product-copy {
    text-align: center;
  }
  .product-copy h3 { font-size: 1.05rem !important; }
  .product-copy p { font-size: 0.84rem !important; }
  .product-copy .cta-row { justify-content: center; }

  /* Urar: hide note chips on mobile */
  .urar-note { display: none !important; }
  .urar-copy p { font-size: 0.86rem !important; }

  /* Owner: studio wording handled in HTML; smaller photo + center */
  .owner-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.85rem !important;
  }
  .owner-photo {
    max-width: min(200px, 52vw) !important;
    margin-inline: auto !important;
  }
  .owner-copy {
    justify-items: center !important;
    text-align: center !important;
  }
  .owner-copy h2 { font-size: 1.35rem !important; }

  /* Contact: full-row clickable phone/email; smaller face */
  .book-frame,
  .book-frame--face {
    width: min(36vw, 128px) !important;
    height: min(36vw, 128px) !important;
    max-width: 128px !important;
  }
  .contact-meta {
    width: 100%;
  }
  .contact-meta li {
    padding: 0 !important;
  }
  .contact-meta li > a {
    display: flex !important;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    padding: 0.7rem 0.85rem !important;
    border-radius: 12px;
    box-sizing: border-box;
  }
  .contact-meta li > a:active {
    background: rgba(232, 165, 75, 0.1);
  }

  /* ePhotoLab visible on mobile — hide download CTAs (Windows only) */
  #narocila {
    display: block !important;
  }
  #narocila .orders-actions .btn-download,
  #narocila a[data-orders-download].btn,
  #narocila .orders-badge[data-orders-download],
  #narocila .orders-badge {
    pointer-events: none;
  }
  #narocila .orders-actions .btn-download,
  #narocila a.btn-download,
  #narocila a[data-orders-download].btn {
    display: none !important;
  }
  #narocila .orders-badge {
    cursor: default;
  }
  #narocila .orders-note {
    display: none !important;
  }
  #narocila .orders-mobile-note {
    display: block !important;
  }

  /* Map: more horizontal padding */
  .map-section {
    padding-inline: 1.1rem !important;
  }
  .map-section .container,
  .map-embed,
  .map-section iframe {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .map-section iframe,
  .map-embed {
    border-radius: 14px;
  }

  /* Subpages */
  .subpage-hero {
    padding-top: calc(var(--header) + 0.55rem) !important;
  }
  .subpage-hero p,
  .subpage-lede,
  [data-cms-page-lede] {
    margin-top: 0.35rem !important;
  }
  .subpage-filters,
  .folio-filters {
    margin-bottom: 0.35rem !important;
  }
  .subpage-hero + .subpage-gallery,
  .subpage-filters + .subpage-gallery,
  .folio-filters + .folio-grid {
    margin-top: 0.25rem !important;
  }
  .cenik-table-wrap,
  .cenik .cenik-table,
  .cenik-panel {
    margin-top: 0.35rem !important;
  }

  /* Lightbox: keep BMP side nav; redesign.css owns final metrics */
  .lb-figure img {
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1);
  }
}


/* —— v12 mobile fixes —— */
@media (max-width: 820px) {
  /* Soft section seams (desktop-like hint without heavy chrome) */
  main > section::before,
  main > section::after {
    display: block !important;
    left: 0 !important;
    right: 0 !important;
    opacity: 0.55 !important;
    transform: none !important;
  }
  main > section::before {
    top: -2.2rem !important;
    height: 3.4rem !important;
    background:
      radial-gradient(ellipse 42% 90% at 18% 80%, rgba(232, 165, 75, 0.16), transparent 70%),
      radial-gradient(ellipse 36% 80% at 82% 30%, rgba(126, 184, 201, 0.08), transparent 72%) !important;
    clip-path: polygon(0 55%, 12% 18%, 24% 62%, 38% 12%, 52% 58%, 68% 16%, 82% 64%, 100% 22%, 100% 100%, 0 100%) !important;
  }
  main > section::after {
    bottom: 0 !important;
    height: 2.6rem !important;
    background:
      radial-gradient(ellipse 48% 100% at 70% 0%, rgba(232, 165, 75, 0.12), transparent 68%),
      radial-gradient(ellipse 30% 90% at 20% 10%, rgba(126, 184, 201, 0.07), transparent 70%) !important;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 88% 100%, 72% 28%, 58% 92%, 42% 24%, 28% 88%, 12% 30%, 0 78%) !important;
  }
  main > section + section {
    margin-top: 0.35rem !important;
    padding-top: 0.55rem !important;
  }

  /* Hours slightly taller; menu slightly shorter */
  .hours-modal-card {
    max-height: min(92svh, 700px) !important;
    padding: 1.15rem 1rem 1.05rem !important;
  }
  .hours-table th,
  .hours-table td {
    padding: 0.5rem 0.4rem !important;
  }
  .mobile-menu {
    max-height: calc(100svh - var(--header) - 0.35rem) !important;
    padding: 0.45rem 1rem max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
  }
  .mobile-menu a {
    font-size: 0.98rem !important;
    padding: 0.4rem 0 !important;
  }

  /* Kill huge gap under 01 studio */
  .studio-set {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: calc(var(--header) + 0.35rem) 0 0.75rem !important;
  }
  .studio-layout {
    min-height: 0 !important;
    height: auto !important;
    gap: 0.7rem !important;
  }
  .studio-stage {
    max-height: 46svh !important;
    aspect-ratio: 4 / 5 !important;
  }

  /* Service mosaics: restore visible horizontal photo strip */
  .svc-section {
    padding: calc(var(--header) + 0.25rem) 0 0.8rem !important;
    overflow: visible !important;
  }
  .svc-section .container {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
  }
  .svc-section .svc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  .svc-section .svc-copy {
    padding-inline: 0.9rem;
    text-align: center;
  }
  .svc-section .svc-visual {
    order: -1 !important;
    width: 100% !important;
    min-height: 220px !important;
    display: block !important;
  }
  .svc-mosaic {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.55rem !important;
    min-height: 230px !important;
    height: auto !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    padding-inline: max(0.9rem, calc((100vw - min(78vw, 300px)) / 2)) !important;
    scroll-padding-inline: max(0.9rem, calc((100vw - min(78vw, 300px)) / 2)) !important;
    margin: 0 !important;
  }
  .svc-mosaic figure {
    position: relative !important;
    flex: 0 0 min(78vw, 300px) !important;
    width: min(78vw, 300px) !important;
    height: 230px !important;
    min-height: 230px !important;
    aspect-ratio: auto !important;
    scroll-snap-align: center !important;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 !important;
    background: #120f0c;
  }
  .svc-mosaic figure:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .svc-mosaic img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* 03 lens: taller photo stage + visible frames */
  .lens-pin {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .lens-sticky {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: calc(var(--header) + 0.3rem) 0.75rem 0.95rem !important;
    display: block !important;
  }
  .lens-chrome {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    height: auto !important;
    overflow: visible !important;
  }
  .reel-viewport {
    position: relative !important;
    inset: auto !important;
    order: -1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 280px !important;
    aspect-ratio: 3 / 4 !important;
    max-height: 58svh !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #0a0908;
  }
  .reel-frames {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  .reel-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    display: block !important;
    pointer-events: none;
    transform: none !important;
    z-index: 0;
  }
  .reel-frame.is-active {
    opacity: 1 !important;
    pointer-events: auto;
    z-index: 1;
  }
  .reel-frame img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .lens-hud {
    position: relative !important;
    inset: auto !important;
    padding: 0.35rem 0.15rem 0.15rem !important;
    background: none !important;
  }
  .lens-hud .lens-cta,
  .lens-hud .btn-gold {
    display: inline-flex !important;
    margin-top: 0.75rem !important;
    min-height: 42px !important;
    padding: 0.6rem 1.05rem !important;
    font-size: 0.76rem !important;
    width: auto !important;
  }
  .reel-controls {
    gap: 0.55rem;
    margin-top: 0.35rem;
  }
  .reel-controls button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .reel-controls button svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Izdelki product visuals */
  .product-visual {
    order: -1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 168px !important;
    height: 168px !important;
    overflow: hidden;
  }
  .products-rows .pv-prints {
    display: block !important;
    position: relative !important;
    width: min(92%, 300px) !important;
    height: 140px !important;
    margin: 0 auto;
  }
  .products-rows .pv-prints i {
    display: block !important;
    position: absolute !important;
    width: 42% !important;
    height: 78% !important;
    border-radius: 6px;
    background-size: cover !important;
    background-position: center !important;
    opacity: 1 !important;
  }
  .products-rows .pv-prints i:nth-child(1) { left: 4%; bottom: 8%; }
  .products-rows .pv-prints i:nth-child(2) { left: 28%; bottom: 2%; z-index: 2; }
  .products-rows .pv-prints i:nth-child(3) { right: 6%; bottom: 10%; }

  .products-rows .pv-album-realistic {
    width: min(96%, 320px) !important;
    height: 150px !important;
    max-height: 150px !important;
    margin: 0 auto;
    overflow: visible !important;
    transform: none !important;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.35));
  }
  .products-rows .pv-album-realistic .album-cover,
  .products-rows .pv-album-realistic .pv-album-cover {
    transform: none !important;
    width: 34% !important;
    height: 88% !important;
  }
  .products-rows .pv-album-realistic .album-page {
    height: 76% !important;
    top: 12% !important;
  }

  .products-rows .pv-batteries {
    width: min(96%, 340px) !important;
    height: 148px !important;
    max-height: 148px !important;
    aspect-ratio: auto !important;
  }
  .products-rows .pv-batteries img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }

  .urar-copy .cta-row,
  .urar-copy .urar-cta {
    margin-top: 0.95rem !important;
  }

  /* Subpages: tighter space under CAT / lede above gallery */
  .subpage-hero p,
  .subpage-lede,
  [data-cms-page-lede] {
    margin-top: 0.2rem !important;
    margin-bottom: 0.35rem !important;
  }
  .subpage-hero .cta-row {
    margin-top: 0.7rem !important;
  }
  .svc-section .svc-bullets + .cenik-note,
  .svc-section .cenik-note {
    margin: 0.35rem 0 0.25rem !important;
  }
  .subpage-gallery,
  .svc-section .subpage-gallery {
    margin-top: 0.15rem !important;
    padding-top: 0 !important;
  }
  .folio-filters,
  .subpage-filters {
    margin-bottom: 0.2rem !important;
  }
}


/* —— v13 mobile polish (2026-10-01) —— */
@media (max-width: 820px) {
  /* Slightly more bottom padding + more pronounced section end seams */
  main > section {
    padding-bottom: 1.35rem !important;
  }
  main > section::before,
  main > section::after {
    display: block !important;
    opacity: 0.78 !important;
  }
  main > section::before {
    top: -2.5rem !important;
    height: 3.8rem !important;
  }
  main > section::after {
    bottom: 0 !important;
    height: 3.1rem !important;
    opacity: 0.85 !important;
  }
  main > section + section {
    margin-top: 0.55rem !important;
    padding-top: 0.7rem !important;
  }

  /* Hide repeating Urarstvo eyebrow */
  .urar-eyebrow,
  #urar .eyebrow {
    display: none !important;
  }

  /* Location: more spacing + map button bottom padding */
  .map-section .map-copy > p:not(.eyebrow) {
    margin-top: 0.55rem !important;
    margin-bottom: 0.85rem !important;
  }
  .map-section .map-open-btn,
  .map-section .btn {
    margin-bottom: 0.85rem !important;
  }

  /* Dokumenti: photo above, natural photo aspect */
  .docs-visual,
  .docs-photo {
    order: -1 !important;
  }
  .docs-visual img,
  .docs-photo img {
    width: min(210px, 56vw) !important;
    max-height: none !important;
    height: auto !important;
    aspect-ratio: 1181 / 1772 !important;
    object-fit: contain !important;
    background: #111;
  }

  /* Services: text first, then horizontal photo rail (like gallery) */
  .svc-section {
    overflow-x: clip !important;
    padding: calc(var(--header) + 0.3rem) 0 1.35rem !important;
  }
  .svc-section .container {
    width: min(100% - 1.5rem, 640px) !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .svc-section .svc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .svc-section .svc-copy {
    order: 0 !important;
    padding-inline: 0.15rem !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .svc-section .svc-visual {
    order: 1 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    min-height: 0 !important;
    display: block !important;
  }
  .svc-section h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem) !important;
    line-height: 1.12 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .svc-section .svc-lede {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    max-width: 34ch !important;
    margin-inline: auto !important;
    overflow-wrap: anywhere;
  }
  .svc-section .cta-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }
  .svc-section .btn {
    white-space: normal !important;
    max-width: 100% !important;
  }
  .svc-mosaic {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.55rem !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    padding-inline: max(0.9rem, calc((100vw - min(78vw, 300px)) / 2)) !important;
    scroll-padding-inline: max(0.9rem, calc((100vw - min(78vw, 300px)) / 2)) !important;
    padding-block: 0.15rem 0.35rem !important;
    margin: 0 !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }
  .svc-mosaic figure {
    position: relative !important;
    flex: 0 0 min(78vw, 300px) !important;
    width: min(78vw, 300px) !important;
    max-width: min(78vw, 300px) !important;
    height: min(52vw, 240px) !important;
    min-height: 200px !important;
    aspect-ratio: 4 / 5 !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 !important;
    background: #120f0c;
  }
  .svc-mosaic figure:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .svc-mosaic img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* 03 lens: more inset padding; photos visible */
  .lens-sticky {
    padding: calc(var(--header) + 0.35rem) 1.05rem 1.25rem !important;
  }
  .lens-chrome {
    padding: 0.15rem !important;
    gap: 0.7rem !important;
  }
  .lens-hud {
    padding: 0.55rem 0.55rem 0.35rem !important;
  }
  .lens-hud h2 {
    padding-inline: 0.15rem;
  }
  .reel-controls {
    padding-inline: 0.15rem;
    margin-top: 0.45rem !important;
  }
  .lens-hud .lens-cta,
  .lens-hud .btn-gold {
    margin-inline: 0.15rem !important;
    margin-top: 0.85rem !important;
  }
  .reel-viewport {
    position: relative !important;
    inset: auto !important;
    order: -1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    aspect-ratio: 3 / 4 !important;
    max-height: 62svh !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #0a0908 !important;
  }
  .reel-frames {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  .reel-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    display: block !important;
    visibility: visible !important;
    pointer-events: none;
    transform: none !important;
    z-index: 0;
  }
  .reel-frame.is-active {
    opacity: 1 !important;
    pointer-events: auto;
    z-index: 2;
  }
  .reel-frame img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* Izdelki: roomy Tiski + Albumi */
  .product-visual {
    order: -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 210px !important;
    height: 220px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0.65rem 0.35rem !important;
  }
  .products-rows .pv-prints {
    display: block !important;
    position: relative !important;
    width: min(96%, 340px) !important;
    height: 180px !important;
    margin: 0 auto !important;
  }
  .products-rows .pv-prints i {
    display: block !important;
    position: absolute !important;
    width: 48% !important;
    height: 82% !important;
    border-radius: 8px !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 1 !important;
    box-shadow: 0 10px 22px rgba(0,0,0,0.4);
  }
  .products-rows .pv-prints i:nth-child(1) {
    left: 2% !important;
    bottom: 10% !important;
    rotate: -6deg !important;
  }
  .products-rows .pv-prints i:nth-child(2) {
    left: 26% !important;
    bottom: 4% !important;
    z-index: 2 !important;
    rotate: 1deg !important;
    width: 52% !important;
    height: 86% !important;
  }
  .products-rows .pv-prints i:nth-child(3) {
    right: 2% !important;
    bottom: 12% !important;
    rotate: 7deg !important;
  }

  .products-rows .pv-album-realistic {
    width: min(98%, 360px) !important;
    height: 190px !important;
    max-height: none !important;
    margin: 0 auto !important;
    overflow: visible !important;
    transform: none !important;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,0.38));
  }
  .products-rows .pv-album-realistic .album-cover,
  .products-rows .pv-album-realistic .pv-album-cover {
    transform: rotateY(-8deg) translateZ(6px) !important;
    width: 38% !important;
    height: 90% !important;
    top: 5% !important;
  }
  .products-rows .pv-album-realistic .album-page {
    height: 78% !important;
    top: 11% !important;
  }
  .products-rows .pv-album-realistic .album-page-left {
    left: 40% !important;
    width: 30% !important;
  }
  .products-rows .pv-album-realistic .album-page-right {
    left: 69% !important;
    width: 30% !important;
  }
  .products-rows .pv-batteries img {
    transform: none !important;
    object-fit: contain !important;
  }

  /* Cenik subpage: tighten space between lede and table */
  .subpage-hero + .cenik,
  body:has(.cenik-table) .subpage-hero {
    padding-bottom: 0.55rem !important;
  }
  .cenik {
    padding-top: 0.35rem !important;
  }
  .cenik .cenik-table-wrap {
    margin-top: 0.2rem !important;
  }
  .subpage-hero {
    padding: calc(var(--header) + 1.1rem) 0 0.65rem !important;
  }
  .subpage-hero .container {
    padding-inline: 0.15rem;
  }
  .subpage-hero p,
  .subpage-lede,
  [data-cms-page-lede] {
    margin-top: 0.25rem !important;
    margin-bottom: 0.35rem !important;
    padding-inline: 0.1rem;
  }
  .subpage-hero .cta-row {
    margin-top: 0.55rem !important;
    margin-bottom: 0 !important;
    padding-inline: 0.1rem;
    gap: 0.45rem !important;
  }
  .subpage-hero + .svc-section,
  .svc-section:has(.subpage-gallery) {
    padding-top: 0.35rem !important;
  }
  .svc-section .svc-bullets {
    padding-inline: 0.35rem !important;
  }
  .svc-section .svc-bullets + .cenik-note,
  .svc-section .cenik-note {
    margin: 0.25rem 0.35rem 0.35rem !important;
  }
  .subpage-gallery,
  .svc-section .subpage-gallery {
    margin-top: 0.25rem !important;
    padding-top: 0 !important;
    padding-inline: max(0.75rem, calc((100vw - min(78vw, 300px)) / 2)) !important;
  }
}


/* —— v15 mobile polish (2026-10-01) —— */
@media (max-width: 820px) {
  :root {
    --m-rail-h: min(52svh, 390px);
  }

  /* Kill hover animations / size shifts on touch UI */
  a:hover, button:hover, .btn:hover, .nav-cta:hover, .nav-links a:hover,
  .folio:hover, .service-card:hover, .process-step:hover, .team-card:hover,
  .pets-card:hover, .folio-filters button:hover, .team-card:hover .team-photo img,
  .folio:hover img, #gcw-chat-bubble:hover, #gcw-send-btn:hover, .gcw-suggestion:hover,
  .lb-close:hover, .lb-nav:hover, .lb-close:focus-visible, .lb-nav:focus-visible,
  .lb-nav:active, .cookie-notice__btn:hover, .open-status:hover,
  .hero-service-nav button:hover, .reel-controls button:hover,
  .cam-nav:hover, .cam-shutter:hover, .bk-btn:hover, .bk-close:hover,
  .product-row:hover, .product-row:hover .product-visual,
  .btn-gold:hover, .btn-ghost:hover {
    transform: none !important;
    scale: 1 !important;
    letter-spacing: 0.04em !important;
    filter: none !important;
    box-shadow: none !important;
  }
  /* Stronger: freeze button visuals to resting state on mobile */
  .btn:hover,
  .btn:focus-visible,
  .btn:active,
  .btn-gold:hover,
  .btn-ghost:hover,
  .nav-cta:hover,
  .lb-close:hover,
  .lb-nav:hover,
  .lb-nav:active,
  .cookie-notice__btn:hover,
  .folio-filters button:hover,
  .open-status:hover,
  .hero-service-nav button:hover,
  .reel-controls button:hover,
  #gcw-chat-bubble:hover,
  #gcw-send-btn:hover {
    transform: none !important;
    scale: 1 !important;
    filter: none !important;
  }
  .lb-close:hover,
  .lb-nav:hover {
    background: transparent !important;
    border-color: inherit !important;
    color: inherit !important;
  }
  .lb-nav:hover,
  .lb-nav:focus-visible,
  .lb-nav:active {
    transform: none !important;
  }
  .folio:hover img { transform: none !important; }
  .products-rows .pv-canvas,
  .products-rows .pv-frame,
  .pv-frame,
  .pv-canvas,
  .pv-prints i {
    animation: none !important;
  }

  /* Hide Galerija in hero (break + button) */
  .hero-actions-break { display: none !important; }
  .hero[data-hero-bayonet] .hero-actions .btn.hero-actions-gallery,
  .hero[data-hero-bayonet] .hero-actions .btn:nth-child(3),
  .hero[data-hero-bayonet] .hero-actions .btn:nth-child(4) {
    display: none !important;
  }
  .hero[data-hero-bayonet] .hero-actions .btn[data-hero-more] {
    display: inline-flex !important;
  }

  /* Shared rail height: gallery + service mosaics */
  .gallery {
    height: 100svh !important;
    max-height: 100svh !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .folio-grid {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    align-items: stretch !important;
  }
  .folio {
    flex: 0 0 min(78vw, 300px) !important;
    width: min(78vw, 300px) !important;
    height: var(--m-rail-h) !important;
    max-height: var(--m-rail-h) !important;
  }
  .folio img {
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Homepage service sections: one screen, photos match gallery height */
  .svc-section {
    min-height: 100svh !important;
    max-height: 100svh !important;
    height: 100svh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    padding: calc(var(--header) + 0.25rem) 0 1.1rem !important;
  }
  .svc-section > .container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: min(100% - 1.5rem, 640px) !important;
    margin-inline: auto !important;
  }
  .svc-section .svc-grid {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 0.65rem !important;
  }
  .svc-section .svc-copy {
    flex: 0 0 auto !important;
    order: 0 !important;
  }
  .svc-section .svc-visual {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    min-height: 0 !important;
  }
  .svc-mosaic {
    height: var(--m-rail-h) !important;
    min-height: var(--m-rail-h) !important;
    max-height: var(--m-rail-h) !important;
    align-items: stretch !important;
  }
  .svc-mosaic figure {
    flex: 0 0 min(78vw, 300px) !important;
    width: min(78vw, 300px) !important;
    max-width: min(78vw, 300px) !important;
    height: var(--m-rail-h) !important;
    min-height: var(--m-rail-h) !important;
    max-height: var(--m-rail-h) !important;
    aspect-ratio: auto !important;
  }
  .svc-mosaic img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* 03 lens: slightly shorter photo so whole frame fits; fix black frames */
  .lens-pin {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .lens-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    overflow: hidden !important;
    padding: calc(var(--header) + 0.2rem) 0.8rem max(1.15rem, calc(env(safe-area-inset-bottom, 0px) + 0.85rem)) !important;
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }
  .lens-chrome {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100svh - var(--header) - 1.35rem) !important;
    gap: 0.4rem !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    border: 1px solid rgba(232, 165, 75, 0.28) !important;
    padding: 0.2rem !important;
    box-sizing: border-box !important;
  }
  .reel-viewport,
  .lens-chrome .reel-viewport {
    position: relative !important;
    inset: auto !important;
    order: -1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 210px !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 46svh !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #0a0908 !important;
  }
  .reel-viewport .reel-frames,
  .reel-frames {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    transform: none !important;
  }
  .reel-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    flex: none !important;
    opacity: 0 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }
  .reel-frame.is-active {
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
  }
  .reel-frame img,
  .reel-frame.is-active img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }
  .lens-hud {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    background: none !important;
    padding: 0.35rem 0.45rem 0.95rem !important;
    pointer-events: none !important;
  }
  .lens-hud .btn,
  .lens-hud a,
  .lens-hud .reel-controls,
  .lens-hud .reel-controls button {
    pointer-events: auto !important;
  }
  .lens-hud .lens-cta,
  .lens-hud .btn-gold {
    margin-top: 0.65rem !important;
    margin-bottom: 0.35rem !important;
    display: inline-flex !important;
  }
  .lens-hud .btn-ghost { display: none !important; }

  /* Okvirji: slightly narrower so gold frame is less thick on sides */
  .products-rows .pv-frame {
    width: min(58%, 190px) !important;
    max-width: 190px !important;
    padding: 9px !important;
    margin: 0 auto !important;
  }
  .products-rows .pv-frame img {
    max-height: 150px !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Subpages with gallery: a bit more space under CTA buttons.
     Cenik spacing stays as-is. */
  .subpage-hero + .svc-section {
    padding-top: 0.85rem !important;
  }
  .subpage-hero:has(+ .svc-section) .cta-row {
    margin-bottom: 0.55rem !important;
  }
  .subpage-hero + .svc-section .cenik-note,
  .subpage-hero + .svc-section .svc-bullets {
    margin-top: 0.45rem !important;
  }
  .subpage-hero + .svc-section .subpage-gallery {
    margin-top: 0.7rem !important;
    padding-top: 0.15rem !important;
  }
}
