:root {
  --bg-body: #f5f4f2;
  --bg-body-darken: #eeede9;
  --color-body: #333333;
  --color-heading: #333333;
  --color-border: #d3d3d3;
  --color-accent: #333333;
  --color-hover: #8c2d32;
  --color-header-icons: #263d2d;
  --color-announcement-text: #efecea;
  --color-announcement-bg: #2d2226;
  --color-footer-bg: #2e292b;
  --color-footer-text: #ccc9c8;
  --grid-width: 1280px;
  --section-spacing: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-body);
  background: var(--bg-body);
  font-family: Inter, AzoSans2-Regular, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

body.menu-open,
body.cart-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 18px;
  color: var(--color-announcement-text);
  background: var(--color-announcement-bg);
  text-align: center;
  font-size: 13px;
}

.announcement p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: normal;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 48px;
  border-bottom: 1px solid #e2e2e2;
  background: rgba(245, 244, 242, 0.96);
  backdrop-filter: blur(8px);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #101010;
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.logo {
  grid-column: 2;
  justify-self: center;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: none;
  justify-self: center;
  gap: 26px;
  font-size: 14px;
}

.desktop-nav a {
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--color-hover);
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-button {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 19px;
  height: 2px;
  background: currentColor;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  color: var(--color-header-icons);
  background: transparent;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon span {
  position: absolute;
  top: -9px;
  right: -11px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #333;
  font-size: 11px;
}

.discount-tab {
  position: fixed;
  left: 0;
  top: 390px;
  z-index: 12;
  display: flex;
  align-items: center;
  width: 44px;
  height: 118px;
  color: #fff;
  background: #2e2d2d;
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.discount-tab button {
  position: absolute;
  top: -13px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #333;
  line-height: 1;
}

.mobile-menu,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 0, 0, 0.28);
  transition: opacity 160ms ease;
}

.mobile-menu[aria-hidden="false"],
.cart-drawer[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-panel,
.cart-panel {
  width: min(400px, 92vw);
  height: 100%;
  padding: 28px;
  background: var(--bg-body);
  transform: translateX(-100%);
  transition: transform 180ms ease;
}

.cart-panel {
  margin-left: auto;
  transform: translateX(100%);
}

.mobile-menu[aria-hidden="false"] .mobile-menu-panel,
.cart-drawer[aria-hidden="false"] .cart-panel {
  transform: translateX(0);
}

.mobile-menu-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 22px;
}

.mobile-menu-panel button,
.cart-close {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0 0 20px;
  color: #333;
  text-decoration: underline;
}

.mobile-menu-panel a {
  text-decoration: none;
}

.hero-slider {
  position: relative;
  min-height: calc(100svh - 116px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #1f1c1d;
}

.hero-slider figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-slider figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.38));
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  width: min(var(--grid-width), calc(100vw - 96px));
  padding: 80px 0;
}

.hero-copy span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 560px;
  color: #fff;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 520px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.button.white {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.button.dark,
.product-card figure button,
.look-card button {
  color: #fff;
  background: #000;
  border-color: #000;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.promo-grid article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: #222;
}

.promo-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}

.promo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.promo-grid article:hover img {
  transform: scale(1.035);
}

.promo-grid div {
  position: absolute;
  z-index: 1;
  inset: auto 34px 36px;
}

.promo-grid p {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.promo-grid h2 {
  margin: 0 0 18px;
  max-width: 310px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.promo-grid a {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.benefits {
  max-width: var(--grid-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 34px 48px;
}

.benefits div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
}

.benefits span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 12px;
}

.benefits p {
  margin: 0;
  font-size: 15px;
}

.collection-section,
.journal {
  max-width: var(--grid-width);
  margin: 0 auto;
  padding: var(--section-spacing) 48px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.feature-story h2,
.occasions h2,
.brand-video-copy h2,
.journal h3,
.cart-panel h2,
.footer h2 {
  margin: 0;
  color: var(--color-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-heading h2 {
  font-size: clamp(30px, 3.3vw, 46px);
}

.section-heading a {
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 12px;
}

.product-card {
  min-width: 0;
}

.product-card figure {
  position: relative;
  margin: 0 0 18px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0efeb;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 260ms ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card figure button {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  font-size: 13px;
}

.product-card:hover figure button,
.product-card figure button:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-title {
  display: block;
  color: #252525;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.3;
}

.product-title:hover {
  color: var(--color-hover);
}

.product-card p {
  margin: 4px 0 0;
  color: #000;
  font-size: 15px;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 14px;
  color: #fff;
  background: #6d6b6b;
  font-size: 12px;
}

.feature-story {
  max-width: var(--grid-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 64px;
  align-items: center;
  padding: var(--section-spacing) 48px;
}

.feature-story figure {
  margin: 0;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  background: var(--bg-body-darken);
}

.feature-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-story h2 {
  margin-bottom: 24px;
  font-size: clamp(26px, 2.7vw, 38px);
}

.feature-story p {
  max-width: 500px;
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.55;
}

.text-link {
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.shop-look {
  position: relative;
  max-width: var(--grid-width);
  margin: 0 auto;
  padding: var(--section-spacing) 48px;
}

.shop-look figure {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  background: #e9e7e2;
}

.shop-look img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.look-card {
  position: absolute;
  right: 86px;
  bottom: 96px;
  width: min(330px, calc(100% - 96px));
  padding: 26px;
  background: var(--bg-body);
}

.look-card h2 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 400;
}

.look-card p {
  margin: 0 0 20px;
}

.look-card button {
  min-height: 46px;
  width: 100%;
  border: 0;
}

.occasions {
  max-width: var(--grid-width);
  margin: 0 auto;
  padding: var(--section-spacing) 48px;
  text-align: center;
}

.occasions h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.4vw, 46px);
}

.occasions div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.occasions a {
  min-width: 118px;
  padding: 13px 20px;
  border: 1px solid var(--color-border);
  text-decoration: none;
}

.occasions a:hover {
  color: #fff;
  background: #333;
  border-color: #333;
}

.brand-video-copy {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 80px 48px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.44)),
    url("assets/collection.png") center / cover;
  text-align: center;
}

.brand-video-copy h2 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(27px, 4vw, 52px);
  line-height: 1.08;
}

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

.journal article {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.journal span {
  display: block;
  margin-bottom: 10px;
  color: #777;
  font-size: 13px;
}

.journal h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.journal p {
  margin: 0;
  max-width: 52ch;
}

.cart-panel {
  display: flex;
  flex-direction: column;
}

.cart-panel h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

.cart-panel ul {
  min-height: 120px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.cart-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) 1fr 1fr;
  gap: 64px;
  padding: 74px 48px 40px;
  color: var(--color-footer-text);
  background: var(--color-footer-bg);
}

.footer-logo,
.footer h2 {
  color: #fff;
}

.footer-logo {
  margin-bottom: 28px;
  font-size: 29px;
}

.footer a {
  display: block;
  width: fit-content;
  margin-bottom: 13px;
  color: var(--color-footer-text);
}

.footer h2 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #9a9693;
}

.newsletter {
  margin-top: 42px;
  max-width: 360px;
}

.newsletter label {
  display: block;
  margin-bottom: 18px;
  color: #9a9693;
  font-size: 20px;
}

.newsletter p {
  margin: 0 0 22px;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr 46px;
  border: 1px solid #868d94;
}

.newsletter input {
  min-height: 50px;
  width: 100%;
  border: 0;
  padding: 0 16px;
  color: #fff;
  background: transparent;
}

.newsletter button {
  border: 0;
  border-left: 1px solid #868d94;
  color: #fff;
  background: transparent;
  font-size: 24px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 38px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(204, 201, 200, 0.32);
  color: #aaa;
}

@media (max-width: 1120px) {
  .store-header {
    padding: 0 32px;
  }

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

@media (max-width: 820px) {
  .announcement {
    min-height: 36px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 11px;
    line-height: 1.25;
  }

  .store-header {
    grid-template-columns: 44px 1fr 70px;
    min-height: 70px;
    padding: 0 18px;
  }

  .logo {
    justify-self: center;
    font-size: 25px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .header-actions {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    justify-self: end;
    gap: 10px;
  }

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

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

  .hero-slider {
    min-height: 640px;
  }

  .hero-copy {
    width: calc(100vw - 40px);
    padding: 70px 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.4vw, 40px);
    line-height: 1.04;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 17px;
  }

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

  .promo-grid article {
    min-height: 360px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px;
    gap: 18px;
  }

  .collection-section,
  .feature-story,
  .shop-look,
  .occasions,
  .journal {
    padding-left: 20px;
    padding-right: 20px;
  }

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

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

  .product-card figure button {
    opacity: 1;
    transform: none;
  }

  .feature-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-story p {
    font-size: 17px;
  }

  .shop-look figure,
  .shop-look img {
    min-height: 440px;
  }

  .look-card {
    position: static;
    width: 100%;
    margin-top: 0;
  }

  .journal-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 34px;
    padding: 54px 20px 34px;
  }
}

@media (max-width: 520px) {
  .discount-tab {
    top: 360px;
  }

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

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

  .brand-video-copy {
    min-height: 360px;
    padding: 56px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
