/* Responsive refinements — tablet and mobile only */
@media (max-width: 1024px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.menu-open {
    overflow: hidden;
  }

  .home-nav {
    height: 78px;
    padding: 0 5vw;
  }

  .brand {
    width: 108px;
    height: 52px;
  }

  .brand img {
    width: 104px;
    height: 48px;
  }

  .home-links,
  .nav-cta {
    display: none;
  }

  .menu {
    position: relative;
    z-index: 62;
    display: flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .menu span {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    transition: transform .25s ease;
  }

  .menu[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .home-links.open {
    position: fixed;
    z-index: 60;
    top: 78px;
    right: 0;
    left: 0;
    display: flex;
    max-height: calc(100dvh - 78px);
    margin: 0;
    padding: 10px 6vw 24px;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: rgba(3, 15, 35, .98);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 45px rgba(2, 10, 24, .3);
    backdrop-filter: blur(18px);
  }

  .home-links.open a {
    width: 100%;
    padding: 14px 0;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .home-links.open a.active {
    color: var(--yellow);
  }

  .showcase,
  .agency-hero,
  .journal-hero {
    height: min(820px, 100svh);
    min-height: 700px;
  }

  .inner-hero,
  .contact-hero {
    min-height: 700px;
  }

  .slide-content h1,
  .slide-content h2,
  .agency-hero h1,
  .inner-hero h1,
  .journal-hero h1 {
    font-size: clamp(48px, 7vw, 68px);
  }

  .contact-hero h1 {
    font-size: clamp(58px, 9vw, 82px);
  }

  .home-slide:nth-child(1) > img { object-position: 56% center; }
  .home-slide:nth-child(2) > img { object-position: 50% center; }
  .home-slide:nth-child(3) > img { object-position: 52% center; }
  .agency-hero > img { object-position: 48% center; }
  .expertise-hero .inner-hero-image { object-position: 67% center; }
  .portfolio-hero .inner-hero-image { object-position: 50% center; }
  .journal-hero > img { object-position: 67% center; }
  .contact-hero-image { object-position: 68% center; }

  .method-steps,
  .inside-video-grid,
  .video-reportages-list,
  .journal-inside-grid {
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .method-steps::-webkit-scrollbar,
  .inside-video-grid::-webkit-scrollbar,
  .video-reportages-list::-webkit-scrollbar,
  .journal-inside-grid::-webkit-scrollbar {
    display: none;
  }

  .inside-video-card,
  .journal-inside-card,
  .video-reportage-choice,
  .method-steps li {
    scroll-snap-stop: always;
  }

  .video-player-frame iframe,
  .contact-map-frame iframe {
    max-width: 100%;
  }

  .project-form {
    width: 100%;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .home-nav {
    height: 72px;
    padding: 0 6vw;
  }

  .brand {
    width: 96px;
    height: 46px;
  }

  .brand img {
    width: 94px;
    height: 44px;
  }

  .home-links.open {
    top: 72px;
    max-height: calc(100dvh - 72px);
  }

  .showcase,
  .agency-hero,
  .journal-hero,
  .inner-hero,
  .contact-hero {
    height: max(640px, 100svh);
    min-height: 640px;
  }

  .slide-content,
  .agency-hero-copy,
  .journal-hero-copy {
    left: 6vw;
    right: 6vw;
  }

  .slide-content h1,
  .slide-content h2,
  .agency-hero h1,
  .inner-hero h1,
  .journal-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: .96;
    letter-spacing: -.055em;
  }

  .contact-hero h1 {
    font-size: clamp(44px, 13vw, 54px);
    line-height: .88;
  }

  .slide-content p,
  .agency-hero p,
  .inner-hero > p,
  .journal-hero p,
  .contact-hero-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .slide-content p {
    margin-bottom: 24px;
  }

  .outline-btn,
  .contact-hero-copy a {
    min-height: 48px;
    align-items: center;
  }

  .slider-nav {
    bottom: 20px;
    gap: 2px;
  }

  .slider-dot {
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
  }

  .slider-dot::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 4px;
    left: 4px;
    height: 3px;
    background: rgba(255, 255, 255, .34);
  }

  .slider-dot.active {
    background: transparent;
  }

  .slider-dot.active::after {
    background: var(--yellow);
  }

  .home-slide:nth-child(1) > img { object-position: 59% center; }
  .home-slide:nth-child(2) > img { object-position: 51% center; }
  .home-slide:nth-child(3) > img { object-position: 52% center; }
  .agency-hero > img { object-position: 50% center; }
  .expertise-hero .inner-hero-image { object-position: 70% center; }
  .portfolio-hero .inner-hero-image {
    top: 72px;
    bottom: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  .portfolio-hero {
    justify-content: flex-end;
    padding-top: clamp(350px, 78vw, 500px);
  }
  .journal-hero > img { object-position: 70% center; }
  .contact-hero-image { object-position: 72% center; }

  .inner-hero,
  .contact-hero {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .campaign-grid {
    columns: 2 135px;
    column-gap: 10px;
  }

  .campaign-card {
    margin-bottom: 10px;
  }

  .inside-video-card,
  .journal-inside-card {
    flex: 0 0 min(66vw, 260px);
    width: min(66vw, 260px);
    max-width: none;
  }

  .video-reportage-choice {
    flex: 0 0 min(68vw, 280px);
  }

  .video-player-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .video-player-meta a {
    white-space: normal;
  }

  .photo-grid {
    gap: 10px;
  }

  .journal-story-gallery {
    gap: 10px;
  }

  .contact-main {
    gap: 42px;
  }

  .project-form {
    padding: 26px 20px;
  }

  .field input,
  .field select {
    min-height: 52px;
  }

  .field textarea {
    min-height: 140px;
  }

  .form-bottom button {
    min-height: 52px;
  }

  .contact-map-frame {
    height: 300px;
  }

  .home-footer,
  .final-cta,
  .journal-coming,
  .contact-options {
    overflow: hidden;
  }
}

@media (max-width: 380px) {
  .slide-content h1,
  .slide-content h2,
  .agency-hero h1,
  .inner-hero h1,
  .journal-hero h1 {
    font-size: 37px;
  }

  .contact-hero h1 {
    font-size: 43px;
  }

  .campaign-grid {
    columns: 1;
  }
}
