:root {
  --cream: #f4e9de;
  --logo-cream: #efe3d7;
  --line: #ddcfc2;
}

.site-header {
  background: rgba(239, 227, 215, 0.96);
  border-bottom-color: rgba(117, 80, 47, 0.16);
}

.brand {
  height: 76px;
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: 51px 17px;
  align-content: center;
  overflow: visible;
  color: #8b6036;
}

.brand-mark {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 18px;
  color: #c58c58;
}

.brand-name {
  align-self: end;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 45px;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  align-self: end;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.46em;
  color: #75502f;
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 18px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 8px;
  }

  .brand {
    width: 145px;
    height: 62px;
    grid-template-columns: 16px 1fr;
    grid-template-rows: 41px 15px;
  }

  .brand-name {
    font-size: 37px;
  }

  .brand-subtitle {
    font-size: 7px;
    letter-spacing: 0.34em;
  }

  .menu-button,
  .cart-link {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cart-link b {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: 0;
  }
}

.search-panel {
  background: var(--logo-cream);
}

@media (max-width: 900px) {
  .site-header nav {
    background: var(--logo-cream);
    padding: 8px 18px 14px;
    gap: 0;
    box-shadow: 0 18px 32px rgba(80, 57, 39, 0.12);
  }

  .site-header nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(117, 80, 47, 0.1);
  }

  .site-header nav a:last-child {
    border-bottom: 0;
  }

  .hero-copy {
    padding: 52px 24px 68px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 48px;
  }

  .promise-bar article {
    padding: 22px 24px;
  }

  .collection-card {
    min-height: 320px;
  }

  .checkout-form input,
  .checkout-form textarea,
  .add-form input,
  .cart-items input,
  .search-panel input {
    font-size: 16px;
  }

  .btn,
  .price-row button {
    min-height: 44px;
  }

  .payment-frame iframe {
    height: 640px;
  }
}

@media (max-width: 560px) {
  .announcement {
    height: 30px;
    padding-inline: 10px;
    line-height: 1.35;
    text-align: center;
  }

  .site-header {
    height: 78px;
    padding-inline: 14px;
  }

  .brand {
    width: 132px;
    height: 58px;
    grid-template-columns: 14px 1fr;
    grid-template-rows: 39px 14px;
  }

  .brand-mark {
    font-size: 14px;
  }

  .brand-name {
    font-size: 34px;
  }

  .brand-subtitle {
    font-size: 6px;
    letter-spacing: 0.32em;
  }

  .menu-button {
    padding-inline: 5px;
  }

  .site-header nav {
    top: 78px;
  }

  .hero-art {
    min-height: 310px;
  }

  .hero-copy {
    padding: 46px 20px 60px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 52px);
    line-height: 0.96;
  }

  .hero-copy > p:not(.eyebrow) {
    line-height: 1.75;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 30px;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    text-align: center;
    padding: 12px 8px;
  }

  .signature {
    margin-top: 38px;
  }

  .section-wrap {
    padding-block: 64px;
  }

  .collection-card {
    min-height: 280px;
    padding: 28px;
  }

  .empty-luxury {
    padding: 58px 20px;
  }

  .empty-luxury h3 {
    font-size: 32px;
  }

  .story {
    padding-block: 72px;
  }

  .story h2 {
    font-size: 44px;
  }

  .page-hero,
  .page-hero.compact {
    padding: 62px 18px 46px;
  }

  .cart-items article {
    grid-template-columns: 72px minmax(0, 1fr) 56px;
    gap: 12px;
  }

  .cart-items img {
    width: 72px;
    height: 92px;
  }

  .summary,
  .checkout-form,
  .setup-card {
    padding: 24px 20px;
  }

  .payment-frame iframe {
    height: 560px;
  }

  footer {
    padding-top: 58px;
    gap: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
