/* PTAH — Mobile refinements */
@media (max-width: 767px) {
  :root {
    --header-h: 4.5rem;
    --header-h-compact: 4rem;
    --gutter: 1rem;
    --section-y: 3.25rem;
  }

  body {
    overflow-x: hidden;
  }

  .logo img {
    height: 3.35rem !important;
    max-width: min(58vw, 11.5rem);
  }

  .site-header.is-scrolled .logo img {
    height: 2.9rem !important;
  }

  .home-hero {
    padding-block: var(--space-6) var(--space-8);
  }

  .home-hero__inner {
    gap: var(--space-5);
  }

  .home-hero__stage {
    aspect-ratio: 4 / 3;
    max-height: none;
    min-height: 180px;
  }

  .home-hero__video {
    /* Keep cover framing stable on mobile browsers */
    min-width: 100%;
    min-height: 100%;
  }

  .home-hero__content {
    max-width: none;
  }

  .home-hero__content h1,
  .home-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.25;
  }

  .home-hero p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.4rem);
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding-inline: 0.9rem;
  }

  .scroll-indicator {
    display: none;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero__content {
    padding-block: 4.5rem 2rem;
  }

  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.1rem);
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

  .section-header--center {
    text-align: right;
  }

  .section-label-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .split-stats,
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .stat__num {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .media-frame--tall {
    min-height: 260px;
  }

  .media-frame--offset {
    transform: none;
  }

  .category-card {
    min-height: 240px;
  }

  .category-hub-card {
    min-height: 240px !important;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .finishing-promo {
    min-height: auto;
    border-radius: var(--radius-md);
  }

  .finishing-promo__content {
    padding: var(--space-6);
  }

  .finishing-promo__media img {
    min-height: 220px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters .btn {
    width: 100%;
  }

  .contact-split,
  .detail-layout,
  .grid-2 {
    gap: var(--space-6);
  }

  .detail-aside {
    position: static;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    gap: var(--space-6);
  }

  .footer-brand .logo img {
    height: 4rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .mobile-nav {
    padding: 1.25rem 1.25rem 1.75rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-top .logo img {
    height: 3.25rem;
  }

  .mobile-links a {
    font-size: 1.125rem;
    padding: 0.85rem 0;
  }

  .cta-band h2 {
    max-width: none;
  }

  /* Space so float buttons don't cover content */
  .site-footer {
    padding-bottom: 5.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  :root {
    --header-h: 5.25rem;
    --header-h-compact: 4.5rem;
  }

  .logo img {
    height: 4rem;
  }

  .site-header.is-scrolled .logo img {
    height: 3.35rem;
  }

  .home-hero__content h1 {
    max-width: 14ch;
  }
}
