/* Scoped preview: existing page design is unchanged outside the app gallery. */
#app .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
#app .gallery-truck { width: min(36%, 400px); height: auto; flex-shrink: 0; }
#app .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 40px; max-width: 1440px; margin-inline: auto; padding: 0 48px 64px; }
#app .gallery-card, #app .gallery-card:first-child, #app .gallery-card:last-child { position: relative; top: auto; min-height: 0; margin: 0; padding: 0; background: none; box-shadow: none; grid-row: auto; grid-column: auto; align-self: center; }
#app .gallery-card:first-child, #app .gallery-card:last-child { grid-column: span 2; }
#app .gallery-image { overflow: visible; }
#app .gallery-image img, #app .gallery-card:first-child .gallery-image img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
#app .gallery-caption { margin: 16px 0 0; gap: 16px; align-items: baseline; }
#app .gallery-caption h3 { font: 500 var(--lg)/1.5 Syne, sans-serif; }
#app .gallery-caption > span { font-size: var(--base); }
#app .expand { opacity: 1; transform: none; width: 48px; height: 48px; right: 8px; bottom: 8px; }
#app .gallery-image:hover .expand { background: var(--accent); }
#app .gallery-note { background: none; }
@media (max-width: 960px) {
  #app .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; padding-inline: 32px; }
  #app .gallery-card:first-child, #app .gallery-card:last-child { grid-column: auto; }
  #app .gallery-caption { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 600px) {
  #app .section-heading { flex-direction: column; align-items: flex-start; gap: 24px; }
  #app .gallery-truck { width: min(100%, 320px); align-self: flex-end; }
  #app .gallery-grid { grid-template-columns: 1fr; padding: 0 16px 40px; gap: 48px; }
  #app .gallery-caption { flex-wrap: nowrap; }
  #app .gallery-caption h3 { font-size: var(--base); }
}
@media (prefers-reduced-motion: reduce) { #app * { transition: none !important; animation: none !important; } }

/* Owner-requested copy cleanup and homepage-style circular film control. */
.hero .eyebrow::before { content: none; }
.pilot-status { margin-top: 24px; max-width: 48ch; color: var(--paper-muted); }
.film-frame .film-play { width: 144px; height: 144px; min-width: 0; min-height: 0; padding: 0; gap: 0; display: grid; place-items: center; border-radius: 50%; isolation: isolate; overflow: hidden; background: #171b18; color: #ff947a; border: 1px solid #b9a182; box-shadow: inset 0 1px 0 #d2b48c,inset 0 -6px 12px #0009,0 8px 20px #0009; }
.film-frame .film-play::before { content: ''; position: absolute; inset: 5px; z-index: 2; pointer-events: none; border: 1px solid #806b50; border-top: 2px solid #edcf9a; border-bottom: 2px solid #a98b62; border-radius: 50%; transform: rotate(-35deg); transition: transform 480ms cubic-bezier(.2,.7,.2,1); }
.film-logo-reveal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; clip-path: circle(0% at 50% 50%); transition: clip-path 420ms cubic-bezier(.2,.7,.2,1); }
.film-play-icon { position: relative; width: 48px; height: 48px; transition: opacity 320ms ease; }
.film-play:focus-visible .film-logo-reveal { clip-path: circle(50% at 50% 50%); }
.film-play:focus-visible .film-play-icon { opacity: 0; }
.film-play:focus-visible::before { transform: rotate(145deg); }
@media (hover: hover) and (pointer: fine) {
  .film-play:hover .film-logo-reveal { clip-path: circle(50% at 50% 50%); }
  .film-play:hover .film-play-icon { opacity: 0; }
  .film-play:hover::before { transform: rotate(145deg); }
}
@media (max-width: 600px) { .film-frame .film-play { width: 96px; height: 96px; } .film-play-icon { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .film-logo-reveal, .film-play-icon, .film-play::before { transition: none !important; } }

/* Keep the route back to the Oilfield workshop visible at every width. */
.nav-inner { flex-wrap: wrap; gap: 8px 24px; padding-block: 12px; }
.workshop-back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.workshop-back:hover { border-color: var(--accent); color: var(--accent); }
