/* ==========================================================================
   (-) NUM — Responsive Styles
   Mobile-first approach with breakpoints at 480, 768, 1024, 1280.
   ========================================================================== */

/* ── Max 1280px ───────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .hero__image-area {
    width: 40%;
    right: -2%;
  }
}

/* ── Max 1024px (Tablet Landscape) ────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: var(--space-24) 0;
  }

  .section--spacious {
    padding: var(--space-32) 0;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-16));
    padding-bottom: var(--space-16);
  }

  .hero__image-area {
    display: none;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Idea */
  .idea__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .idea__visual {
    order: -1;
  }

  .idea__flow {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

  .idea__flow-arrow {
    transform: rotate(-90deg);
  }

  /* Flavors */
  .flavors__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  /* Ingredients */
  .ingredients__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ── Max 768px (Tablet Portrait) ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-5);
  }

  .section {
    padding: var(--space-20) 0;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  /* Navigation */
  .nav__links {
    display: none;
  }

  .nav__cta-desktop {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile-menu {
    display: flex;
  }

  /* Story */
  .story__words {
    gap: var(--space-1) var(--space-3);
  }

  .story__word {
    font-size: var(--text-base);
  }

  .story__highlight {
    font-size: var(--text-xl);
  }

  /* Drinks */
  .drinks__grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
  }

  .category-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-8);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .category-filter {
    flex-shrink: 0;
  }

  /* Community */
  .community__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Find Us */
  .findus__content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  /* Pause */
  .pause {
    min-height: 60vh;
  }

  .pause__title {
    font-size: var(--text-3xl);
  }
}

/* ── Max 480px (Mobile) ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --nav-height: 56px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-16) 0;
  }

  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }
  h3 { font-size: var(--text-lg); }

  .btn--lg {
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-sm);
  }

  /* Hero */
  .hero__headline {
    font-size: var(--text-3xl);
  }

  .hero__description {
    font-size: var(--text-base);
  }

  .hero__cta-group {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  /* Idea */
  .idea__flow {
    flex-direction: column;
  }

  .idea__flow-arrow {
    transform: rotate(0deg);
  }

  .idea__flow-symbol {
    font-size: var(--text-3xl);
  }

  .idea__text blockquote {
    font-size: var(--text-lg);
  }

  /* Drinks */
  .drinks__grid {
    grid-template-columns: 1fr;
  }

  /* Product Card */
  .product-card__image-wrap {
    aspect-ratio: 4 / 5;
  }

  /* Ingredients */
  .ingredients__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Flavor Map */
  .flavor-map {
    width: 240px;
    height: 240px;
  }

  .flavors__list {
    gap: var(--space-3);
  }

  /* Community */
  .community__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  /* Pause */
  .pause__line {
    font-size: var(--text-base);
  }

  .pause__line--emphasis {
    font-size: var(--text-lg);
  }

  /* Mobile Nav Links */
  .nav__mobile-link {
    font-size: var(--text-2xl);
  }

  /* Liquid background - reduce for performance */
  .liquid-bg__blob {
    filter: blur(60px);
    opacity: 0.1;
  }

  .liquid-bg__blob--green { width: 250px; height: 250px; }
  .liquid-bg__blob--brown { width: 200px; height: 200px; }
  .liquid-bg__blob--cream { display: none; }
}

/* ── Dark mode preference (already dark, but explicit) ────────────────────── */
@media (prefers-color-scheme: light) {
  /* Website is dark-themed by design, no light mode needed */
}
