/* =========================================================
   DHIRA CREATIVE — Responsive
========================================================= */

@media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .work-large .work-image {
    min-height: 26rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-button {
    display: none;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .nav-container {
    grid-template-columns: 1fr auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
    min-height: auto;
    padding-bottom: 5rem;
  }

  .hero-visual {
    order: -1;
    min-height: 340px;
  }

  .scroll-indicator {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-label {
    position: static;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 1.7rem;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(214, 173, 85, 0.35) 10%,
      rgba(214, 173, 85, 0.35) 90%,
      transparent
    );
  }

  .process-item {
    padding: 0 0 2.5rem 3.5rem;
  }

  .process-dot {
    position: absolute;
    left: 1.45rem;
    top: 0.15rem;
    margin-bottom: 0;
  }

  .process-item p {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-visual {
    grid-template-columns: 1fr;
  }

  .work-large .work-image,
  .work-image {
    min-height: 18rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 5.5rem 0;
  }

  :root {
    --nav-height: 72px;
  }

  .brand-text {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.75rem);
    max-width: none;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-logo {
    width: 200px;
  }

  .dc-logo {
    font-size: 3.25rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .service-number {
    font-size: 2.25rem;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-meta {
    text-align: left;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 375px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .work-heading h2,
  .about-content h2,
  .cta-box h2 {
    font-size: 2.15rem;
  }
}

/* Desktop-only custom cursor */
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .process-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .loader {
    display: none !important;
  }

  body.is-loading {
    overflow: auto;
  }

  .cursor {
    display: none !important;
  }

  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: auto;
  }
}
