/* ==========================================================================
   AUREL — Responsive
   Breakpoints: 1440 / 1200 / 1024 / 820 / 600 / 420
   ========================================================================== */

/* The ray overlay is a hard-stop repeating gradient. Across a wide hero its
   bands read as hard diagonal stripes rather than light, so it is dropped on
   desktop. Below this width the hero is narrow enough that it stays soft. */
@media (min-width: 1024px) {
  .hero__rays {
    display: none;
  }
}

@media (max-width: 1200px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__aside {
    display: none;
  }

  .manifesto__grid,
  .craft__grid,
  .contact__grid {
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .card {
    grid-column: span 6;
  }

  .card--offset {
    grid-column: 7 / span 6;
  }

  .journal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

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

  .menu__side {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding-top: clamp(6rem, 14vw, 8rem);
    justify-content: center;
  }

  .menu__aside {
    padding-top: 2.5rem;
    justify-content: flex-start;
  }

  .menu__figure {
    max-width: 14rem;
    aspect-ratio: 3 / 2;
  }

  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .manifesto__grid,
  .craft__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .manifesto__figure img,
  .craft__media img {
    aspect-ratio: 16 / 11;
  }

  .manifesto__badge {
    right: 1rem;
    bottom: 1rem;
  }

  .craft__media::before {
    inset: -1rem 1rem 1rem -1rem;
  }

  .hero__ornament--swirl {
    right: -12%;
    opacity: 0.42;
  }
}

@media (max-width: 820px) {
  :root {
    --section-y: clamp(4rem, 10vw, 6.5rem);
  }

  .hero {
    min-height: 92svh;
    padding-top: 6.5rem;
  }

  .hero__media img {
    object-position: 68% 30%;
  }

  .hero__scrim {
    background:
      radial-gradient(120% 80% at 70% 26%, rgba(214, 148, 74, 0.26) 0%, transparent 60%),
      linear-gradient(to top, rgba(16, 10, 5, 0.95) 8%, rgba(16, 10, 5, 0.55) 52%, rgba(16, 10, 5, 0.8) 100%);
  }

  .hero__rays {
    opacity: 0.32;
  }

  .hero__ornament--swirl {
    display: none;
  }

  .hero__ornament--spark {
    left: 62%;
    top: 34%;
  }

  .hero__scroll {
    display: none;
  }

  .collection__grid {
    gap: 1.5rem;
  }

  .card,
  .card--tall,
  .card--wide,
  .card--offset {
    grid-column: span 12;
  }

  .card__media img,
  .card--wide .card__media img {
    aspect-ratio: 4 / 5;
  }

  .card__quick {
    opacity: 1;
    transform: none;
  }

  .journal__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .manifesto__row {
    grid-template-columns: 2.75rem 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .header__inner {
    height: 4.25rem;
  }

  .brand__word {
    font-size: 0.9375rem;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }

  .tools {
    gap: 0.35rem;
  }

  .icon-btn {
    width: 2.1rem;
    height: 2.1rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__title {
    line-height: 0.88;
  }

  .hero__actions {
    gap: 1rem;
  }

  .hero__actions .btn {
    padding: 0.85rem 1.4rem;
  }

  .menu__link {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    gap: 0.85rem;
  }

  .step {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .card__quick {
    position: static;
    margin-top: 1rem;
  }

  .bag {
    width: 100vw;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .bag__item {
    grid-template-columns: 3.75rem 1fr;
  }

  .bag__item .bag__remove {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .bag__item {
    grid-template-columns: 3.5rem 1fr;
  }
}

/* Pointer-coarse: no custom cursor, no hover reveals */
@media (hover: none) {
  .cursor {
    display: none;
  }

  .card__quick {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-img::after {
    display: none;
  }

  .hero__title .line > span {
    transform: none;
  }

  .menu__link {
    transform: none;
  }

  .grain,
  .hero__rays,
  .marquee__track {
    animation: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .header,
  .grain,
  .cursor,
  .scroll-progress,
  .loader,
  .curtain,
  .menu,
  .search,
  .bag,
  .hero__rays {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
