@media (max-width: 1180px) {
  .main-nav {
    padding: 0 24px;
    gap: 14px;
  }

  .nav-links {
    gap: 18px;
  }

  .search-box {
    width: 220px;
  }

  .product-grid,
  .product-grid--home,
  .product-grid--best,
  .product-grid.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-tools {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .main-nav {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
  }

  .main-nav--home {
    min-height: 72px;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .nav-links a::after {
    bottom: 8px;
  }

  .brand {
    justify-self: center;
    font-size: 1.4rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand--logo img {
    width: 40px;
    height: 40px;
  }

  .brand--logo span {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .search-box {
    display: none;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-actions .icon-button[aria-label="Orders"] {
    display: none;
  }

  .home-hero {
    height: 58vh;
    min-height: 520px;
  }

  .home-hero__copy h1 {
    font-size: clamp(2rem, 6vw, 3.1rem);
  }

  .hero-script {
    font-size: clamp(4rem, 12vw, 6.5rem);
  }

  .feature-category-grid,
  .vibe-grid,
  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-strip,
  .collection-band,
  .about-story,
  .product-detail,
  .checkout-grid,
  .contact-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .collection-band__media {
    min-height: 420px;
  }

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

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .filters,
  .checkout-summary {
    position: static;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .filter-block {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .filter-block:first-child {
    padding-top: 20px;
  }

  .filters .button-wide {
    align-self: end;
  }

  .collection-top {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 0;
  }

  .collection-tools {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .value-grid,
  .team-list article {
    grid-template-columns: 1fr;
  }

  .value-grid article:nth-child(2n) {
    border-left: 0;
  }

  .value-grid article + article {
    border-top: 1px solid var(--line);
  }

  .team-list article {
    gap: 18px;
    text-align: center;
  }

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

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 62px;
  }

  body {
    font-size: 15px;
  }

  .announcement {
    padding: 6px 12px;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.25;
    gap: 6px;
    white-space: normal;
  }

  .main-nav {
    min-height: 62px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    padding: 0 12px;
  }

  .main-nav--home {
    min-height: 62px;
  }

  .brand {
    max-width: 100%;
    justify-self: center;
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand--logo {
    gap: 8px;
  }

  .brand--logo img {
    width: 34px;
    height: 34px;
  }

  .brand--logo span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .nav-actions {
    position: static;
    width: 36px;
    justify-self: end;
    transform: none;
  }

  .nav-actions > * {
    display: none;
  }

  .nav-actions [data-action="open-cart"] {
    display: grid;
  }

  .home-hero {
    height: 72vh;
    min-height: 500px;
    max-height: 620px;
  }

  .home-hero__shade {
    background:
      linear-gradient(0deg, rgba(43, 35, 24, 0.7), rgba(43, 35, 24, 0.08) 58%),
      linear-gradient(90deg, rgba(43, 35, 24, 0.48), transparent 70%);
  }

  .home-hero__copy {
    left: 18px;
    bottom: 64px;
    width: min(320px, calc(100% - 36px));
    text-align: center;
  }

  .home-hero__copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .hero-script {
    font-size: clamp(3.2rem, 16vw, 4.85rem);
  }

  .hero-season {
    margin-top: -0.35rem;
    font-size: clamp(1.1rem, 6vw, 1.7rem);
  }

  .hero-actions,
  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-width: 150px;
    min-height: 44px;
  }

  .button {
    min-height: 46px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 22px;
    gap: 11px;
  }

  .section-shell,
  .page-shell,
  .about-story,
  .about-values,
  .team-section,
  .about-cta,
  .contact-policy-strip,
  .footer-inner,
  .footer-owner-sign,
  .footer-bottom {
    width: min(100% - 32px, 1180px);
  }

  .floating-contact-links {
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .floating-contact-link {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .section-shell {
    padding: 44px 0;
  }

  .home-section-title {
    margin-bottom: 24px;
  }

  .home-section-title h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 6vw, 1.72rem);
    overflow-wrap: anywhere;
  }

  .home-section-title p {
    font-size: 0.95rem;
  }

  .promo-marquee div {
    min-height: 48px;
    gap: 24px;
  }

  .promo-marquee span {
    font-size: 0.78rem;
  }

  .intro-strip {
    display: none;
  }

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

  .product-grid,
  .product-grid--home,
  .product-grid--best,
  .product-grid.is-compact,
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .product-card__body {
    padding-top: 12px;
  }

  .product-card h3 {
    min-height: 56px;
    font-size: 0.9rem;
  }

  .product-card__top {
    align-items: flex-start;
  }

  .card-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .home-products .card-controls {
    align-items: center;
  }

  .category-grid,
  .service-strip,
  .filters,
  .form-grid,
  .contact-policy-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .feature-category-card {
    gap: 10px;
    font-size: 0.82rem;
  }

  .feature-category-card img {
    aspect-ratio: 3 / 4;
  }

  .feature-category-card:last-child {
    grid-column: 1 / -1;
  }

  .vibe-section {
    width: 100%;
    overflow: hidden;
  }

  .vibe-section .home-section-title {
    width: min(100% - 32px, 1180px);
    margin-left: auto;
    margin-right: auto;
  }

  .vibe-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .story-card {
    min-width: min(74vw, 310px);
    min-height: 430px;
    scroll-snap-align: start;
  }

  .story-card span {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 54px;
    padding: 12px;
    font-size: 0.88rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-section {
    padding-top: 34px;
  }

  .category-section .section-heading {
    margin-bottom: 18px;
    text-align: center;
  }

  .category-section .section-heading h2 {
    font-size: 1.9rem;
  }

  .category-section .eyebrow {
    color: var(--gold);
  }

  .contact-policy-strip {
    margin: 48px auto;
  }

  .contact-policy-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-strip div {
    min-height: 154px;
    padding: 24px 18px;
  }

  .service-strip p {
    font-size: 0.95rem;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 42px 0 36px;
  }

  .footer-newsletter {
    grid-column: auto;
  }

  .category-tile {
    min-height: 210px;
  }

  .collection-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-label {
    width: 100%;
    justify-content: space-between;
  }

  .sort-label select {
    min-width: 0;
    max-width: 190px;
  }

  .about-story__image,
  .about-story__image img {
    min-height: 360px;
  }

  .value-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 24px;
  }

  .team-list article {
    padding: 28px;
  }

  .order-card__head,
  .order-card__foot {
    flex-direction: column;
  }

  .summary-item {
    grid-template-columns: 62px 1fr;
  }

  .summary-item strong {
    grid-column: 2;
  }

  .modal {
    border-radius: 16px;
  }

  .contact-details article,
  .policy-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .contact-details i,
  .policy-list i {
    width: 38px;
    height: 38px;
  }

  #toast-root {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .purchase-pop {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .product-grid,
  .product-grid--home,
  .product-grid--best,
  .product-grid.is-compact,
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-actions [data-action="show-wishlist"] {
    display: none;
  }

  .nav-actions [data-action="open-login"],
  .nav-actions [data-action="open-account"] {
    display: none;
  }

  .nav-actions {
    gap: 0;
  }

  .product-card__media {
    aspect-ratio: 3 / 4;
  }

  .discount-pill,
  .stock-pill {
    min-height: 25px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .discount-pill {
    top: 10px;
    left: 10px;
  }

  .stock-pill {
    right: 10px;
    bottom: 10px;
  }

  .swatches span {
    width: 20px;
    height: 20px;
  }

  .button-compact {
    min-height: 34px;
    padding: 0 13px;
  }
}

@media (max-width: 350px) {
  .product-grid,
  .product-grid--home,
  .product-grid--best,
  .product-grid.is-compact,
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}
