/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 5Ws of Fashion
   Breakpoints: 1200px, 1024px, 768px, 480px
   ═══════════════════════════════════════════════════════════ */

/* ── Large Tablet / Small Desktop ─────────────────────── */
@media (max-width: 1200px) {
  :root {
    --section-pad-x: 2rem;
  }

  nav { padding: 1.2rem 2rem; }
  nav.scrolled { padding: 0.8rem 2rem; }

  .nav-links { gap: 2rem; }

  .hero-left { padding: 5rem 3rem 4rem; }

  .about-grid { gap: 4rem; }

  .second-about-section { padding: 5rem 3rem 4rem; gap: 3rem; }

  .craft-pillars { gap: 1rem; }

  .footer-grid { gap: 2rem; }
}

/* ── Tablet Landscape ─────────────────────────────────── */
@media (max-width: 1024px) {
  /* Hero stacks vertically */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 8rem 2.5rem 4rem;
    justify-content: center;
    min-height: 70svh;
  }

  .hero-right {
    min-height: 50svh;
  }

  .hero-scroll-hint { left: 2.5rem; }

  /* Services 3-col → 2-col */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About grid → stacked */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Events header stacks */
  .events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Footer 4-col → 2-col */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA section reduce padding */
  .cta-section { padding: 5rem 2rem; }

  .cta-section::after { font-size: 14rem; }
}

/* ── Tablet Portrait ──────────────────────────────────── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: rgba(247, 243, 238, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  }

  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-overlay .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
  }

  .mobile-menu-overlay .mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
    cursor: none;
  }

  .mobile-menu-overlay .mobile-nav-links a:hover {
    color: var(--pink);
  }

  .mobile-menu-overlay .mobile-nav-cta {
    margin-top: 1rem;
  }

  /* Hero adjustments */
  .hero-left { padding: 7rem 2rem 3rem; }
  .hero-headline { font-size: clamp(2.6rem, 8vw, 3.8rem); }
  .hero-desc { font-size: 0.84rem; max-width: none; }
  .hero-scroll-hint { left: 2rem; }

  .hero-stats-strip {
    padding: 0.8rem 1rem;
    gap: 0.5rem;
  }

  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 0.5rem; }
  .hero-photo-heading { font-size: 1.8rem; }

  /* Hero photo overlay text */
  .hero-photo-overlay {
    width: 90%;
  }

  .hero-photo-quote {
    font-size: 0.9rem;
    padding: 0.5rem;
    line-height: 1.3;
  }

  .hero-photo-tag-two {
    bottom: 3rem;
    left: 0.8rem;
    font-size: 0.5rem;
    padding: 0.25rem 0.6rem;
  }

  .hero-photo-tag {
    font-size: 0.5rem;
    padding: 0.25rem 0.6rem;
    bottom: 0.8rem;
    left: 0.8rem;
  }

  /* Services single-column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Craft pillars single-column */
  .craft-pillars {
    grid-template-columns: 1fr;
  }

  /* Events section */
  .events-section { padding: 5rem 2rem; }
  .events-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
    white-space: normal;
  }

  .event-card {
    display: block;
    width: 100%;
  }

  .event-card:first-child .event-card-img { height: 260px; }
  .event-card:first-child .event-title { font-size: 1.4rem; }

  /* Quote section */
  .quote-section { padding: 4rem 2rem; }
  .quote-section::before { font-size: 10rem; top: -2rem; left: 1rem; }

  /* Personas */
  .personas-section { padding: 3rem 0; }

  /* Dark section */
  .dark-section { padding: 5rem 2rem; }
  .dark-section .cta-btns-inline { margin-bottom: 0; }

  /* Second about section */
  .second-about-section {
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2.5rem;
  }

  /* CTA */
  .cta-section { padding: 4rem 2rem; }
  .cta-section::after { font-size: 10rem; }

  .cta-btns { flex-direction: column; align-items: center; }

  /* Calendly */
  .calendly-inline-widget { height: 500px; }

  /* Blog */
  .blog-iframe { height: 400px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer { padding: 3rem 2rem 1.5rem; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  /* Contact modal */
  .contact-modal-content { padding: 2rem; }
  .contact-form-row { grid-template-columns: 1fr; }

  /* Section padding */
  .section { padding: 5rem 2rem; }
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Disable custom cursor on touch devices */
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }

  /* Reset cursor on all interactive elements */
  a, button, .nav-cta, .nav-links a, .btn-primary, .btn-ghost,
  .about-link, .event-link, .event-card, .persona-card, .craft-pill,
  .service-card, .footer-col a, .nav-logo, .nav-hamburger {
    cursor: auto;
  }

  nav { padding: 1rem 1.2rem; }
  nav.scrolled { padding: 0.8rem 1.2rem; }

  .nav-logo { width: 80px; }

  .hero-left { padding: 6rem 1.2rem 2.5rem; }

  .hero-headline {
    font-size: clamp(2.2rem, 10vw, 3rem);
    margin-bottom: 1.5rem;
  }

  .hero-desc {
    font-size: 0.82rem;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-ghost {
    text-align: center;
    width: 100%;
  }

  .hero-scroll-hint { display: none; }

  .hero-right {
    min-height: 40svh;
  }

  .hero-stats-strip {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem;
  }

  /* Hero photo overlay text - mobile */
  .hero-photo-overlay {
    width: 95%;
  }

  .hero-photo-quote {
    font-size: 0.7rem;
    padding: 0.3rem;
    line-height: 1.2;
  }

  .hero-photo-tag-two {
    bottom: 4rem;
    left: 0.6rem;
    font-size: 0.45rem;
    padding: 0.2rem 0.5rem;
  }

  .hero-photo-tag {
    font-size: 0.45rem;
    padding: 0.2rem 0.5rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }

  /* Dark section */
  .dark-section { padding: 3.5rem 1.2rem; }
  .dark-section h2 { margin-bottom: 2.5rem; }

  .service-card { padding: 1.8rem 1.2rem; }
  .service-num { font-size: 2.5rem; }

  /* About section */
  .section { padding: 3.5rem 1.2rem; }
  .team-heading { font-size: 2rem; }

  .second-about-section { padding: 3rem 1.2rem; gap: 2rem; }

  .craft-pill { padding: 1.4rem; }
  .craft-image-container { width: 80px; height: 80px; }
  .craft-letter { font-size: 1.8rem; }

  /* Events */
  .events-section { padding: 3.5rem 1.2rem; }
  .event-card-img { height: 180px; }
  .event-card:first-child .event-card-img { height: 220px; }

  /* Quote */
  .quote-section { padding: 3rem 1.2rem; }
  .quote-section::before { font-size: 6rem; }

  /* CTA */
  .cta-section { padding: 3rem 1.2rem; }
  .cta-section::after { font-size: 6rem; }

  .calendly-inline-widget { height: 400px; min-width: 280px; }

  /* Blog */
  .blog-section { padding: 1.5rem 1.2rem 3.5rem; }
  .blog-iframe { height: 350px; }

  /* Contact modal */
  .contact-modal-content { padding: 1.5rem; }

  /* Footer */
  footer { padding: 2.5rem 1.2rem 1rem; }
  .footer-tagline { max-width: none; }
}

/* ── Touch device cursor override ─────────────────────── */
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }

  a, button, .nav-cta, .nav-links a, .btn-primary, .btn-ghost,
  .about-link, .event-link, .event-card, .persona-card, .craft-pill,
  .service-card, .footer-col a, .nav-logo, .nav-hamburger,
  .contact-modal-close, .contact-form-submit {
    cursor: pointer;
  }
}
