:root {
  --ink: #101010;
  --near-black: #171615;
  --charcoal: #232222;
  --steel: #6c7478;
  --ivory: #f6f0e6;
  --paper: #fbf8f1;
  --brass: #c8a15a;
  --red: #9f211c;
  --teal: #2c6c69;
  --line: rgba(246, 240, 230, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.announcement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--near-black);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement span {
  padding: 0.7rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0 4vw;
  background: rgba(251, 248, 241, 0.86);
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid rgba(200, 161, 90, 0.55);
  font-size: 0.73rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  color: rgba(16, 16, 16, 0.74);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  padding: 0.8rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-button,
.cart-button,
.text-button,
.primary-button,
.primary-link,
.secondary-link,
.filter-pill {
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(16, 16, 16, 0.16);
}

.icon-button span {
  font-size: 1.35rem;
  line-height: 1;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 42px;
  padding: 0 0.85rem;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  background: var(--brass);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.46) 39%, rgba(0, 0, 0, 0.1) 68%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 42%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  padding: 0 0 13vh 4vw;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.filters h2,
.lookbook h2,
.modal-details h2,
.cart-header h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4rem, 12vw, 9.2rem);
}

.hero p:not(.eyebrow) {
  max-width: 570px;
  margin: 1.3rem 0 0;
  color: rgba(246, 240, 230, 0.86);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-link,
.secondary-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-link,
.primary-button {
  background: var(--brass);
  color: var(--ink);
}

.secondary-link {
  background: rgba(246, 240, 230, 0.08);
  color: var(--ivory);
  border: 1px solid rgba(246, 240, 230, 0.22);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid var(--line);
}

.trust-strip div {
  min-height: 106px;
  padding: 1.3rem 4vw;
  border-right: 1px solid var(--line);
}

.trust-strip strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brass);
  font-size: 1.25rem;
}

.trust-strip span {
  color: rgba(246, 240, 230, 0.75);
  font-size: 0.9rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 4vw;
}

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

.section-heading h2,
.filters h2,
.lookbook h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.collection-card {
  position: relative;
  min-height: 320px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--near-black);
  color: var(--ivory);
  border: 1px solid rgba(16, 16, 16, 0.12);
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(200, 161, 90, 0.18), transparent 42%);
}

.collection-card:nth-child(2)::before {
  background: linear-gradient(145deg, rgba(44, 108, 105, 0.2), transparent 42%);
}

.collection-card:nth-child(3)::before {
  background: linear-gradient(145deg, rgba(159, 33, 28, 0.18), transparent 42%);
}

.collection-card:nth-child(4)::before {
  background: linear-gradient(145deg, rgba(108, 116, 120, 0.22), transparent 42%);
}

.collection-card > * {
  position: relative;
}

.collection-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.02;
}

.collection-card p {
  max-width: 28ch;
  margin: 0.8rem 0 0;
  color: rgba(246, 240, 230, 0.72);
}

.collection-card button {
  align-self: flex-start;
  min-height: 40px;
  padding: 0.7rem 0.85rem;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1px;
  padding: 0 4vw 5rem;
  background: rgba(16, 16, 16, 0.13);
}

.filters,
.products-panel {
  background: var(--paper);
}

.filters {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 1.4rem;
  min-height: 620px;
  padding: 1.4rem;
}

.filters h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.search-field,
.select-field,
.filter-group {
  display: grid;
  gap: 0.6rem;
}

.search-field span,
.select-field span,
.filter-group > span,
.choice-block > span {
  color: rgba(16, 16, 16, 0.65);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 16, 16, 0.16);
  border-radius: 0;
  color: var(--ink);
}

.segmented {
  display: grid;
  gap: 0.5rem;
}

.segmented.small {
  grid-template-columns: repeat(2, 1fr);
}

.filter-pill {
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: 1px solid rgba(16, 16, 16, 0.16);
  color: rgba(16, 16, 16, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.filter-pill.active {
  background: var(--ink);
  color: var(--ivory);
}

.products-panel {
  min-width: 0;
  padding: 1.4rem;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 52px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
}

.products-toolbar span {
  color: rgba(16, 16, 16, 0.58);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.text-button {
  background: transparent;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.4rem;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: #fffdf7;
  border: 1px solid rgba(16, 16, 16, 0.12);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--near-black);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

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

.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.5rem;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.product-info h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.1;
}

.quote {
  min-height: 38px;
  margin: 0;
  color: rgba(16, 16, 16, 0.58);
  font-size: 0.9rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-meta strong {
  font-size: 1.05rem;
}

.swatches {
  display: flex;
  gap: 0.35rem;
}

.swatch,
.color-choice {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(16, 16, 16, 0.24);
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.quick-actions button {
  min-height: 42px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(16, 16, 16, 0.14);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-actions button:first-child {
  background: var(--ink);
  color: var(--ivory);
}

.lookbook {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1px;
  margin-top: 2rem;
  background: rgba(246, 240, 230, 0.18);
  color: var(--ivory);
}

.lookbook-copy,
.lookbook-stats {
  background: var(--near-black);
}

.lookbook-copy {
  padding: clamp(4rem, 8vw, 7rem) 4vw;
}

.lookbook-copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(246, 240, 230, 0.7);
  font-size: 1.06rem;
}

.lookbook-stats {
  display: grid;
  align-content: center;
}

.lookbook-stats div {
  padding: 2rem;
  border-bottom: 1px solid var(--line);
}

.lookbook-stats strong,
.lookbook-stats span {
  display: block;
}

.lookbook-stats strong {
  color: var(--brass);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 0.9;
}

.lookbook-stats span {
  margin-top: 0.4rem;
  color: rgba(246, 240, 230, 0.68);
  font-weight: 800;
  text-transform: uppercase;
}

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

details {
  padding: 1.2rem;
  background: #fffdf7;
  border: 1px solid rgba(16, 16, 16, 0.12);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
  color: rgba(16, 16, 16, 0.65);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.64);
}

.modal-backdrop.open {
  display: grid;
}

.product-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 0.8fr);
  width: min(1080px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 1;
  background: rgba(251, 248, 241, 0.88);
}

.modal-media {
  background: var(--near-black);
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-details {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.modal-details h2 {
  font-size: clamp(2.1rem, 5vw, 4.3rem);
}

.modal-details p:not(.eyebrow) {
  color: rgba(16, 16, 16, 0.68);
}

.modal-price {
  font-size: 1.45rem;
}

.choice-block {
  display: grid;
  gap: 0.65rem;
}

.size-options,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-choice {
  min-width: 48px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(16, 16, 16, 0.18);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.size-choice.active,
.color-choice.active {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.color-choice {
  cursor: pointer;
}

.purchase-row {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  min-height: 48px;
  border: 1px solid rgba(16, 16, 16, 0.18);
}

.quantity-stepper button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
}

.quantity-stepper output {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 100vw);
  height: 100vh;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: transform 260ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(0, 0, 0, 0.42);
}

.cart-scrim.open {
  display: block;
}

.cart-header,
.cart-summary {
  padding: 1.2rem;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
}

.cart-header h2 {
  font-size: 2.4rem;
}

.cart-items {
  overflow: auto;
  padding: 1rem;
}

.empty-cart {
  margin: 0;
  color: rgba(16, 16, 16, 0.6);
}

.cart-line {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
}

.cart-line img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  background: var(--near-black);
}

.cart-line h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
}

.cart-line p {
  margin: 0;
  color: rgba(16, 16, 16, 0.58);
  font-size: 0.82rem;
}

.cart-line button {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-size: 1.25rem;
}

.cart-summary {
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid rgba(16, 16, 16, 0.12);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.primary-button.full {
  width: 100%;
}

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

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .shop-shell {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .announcement {
    grid-template-columns: 1fr;
  }

  .announcement span:nth-child(n + 2) {
    display: none;
  }

  .site-header {
    min-height: 68px;
    gap: 0.8rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  .cart-button {
    height: 38px;
    padding: 0 0.65rem;
  }

  .hero {
    min-height: 82vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.25)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.05));
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    padding: 0 4vw 8vh;
  }

  .hero-actions,
  .products-toolbar,
  .purchase-row {
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link,
  .primary-button {
    width: 100%;
  }

  .trust-strip,
  .collections-grid,
  .product-grid,
  .lookbook,
  .faq-grid,
  .product-modal {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .shop-shell {
    padding: 0 0 4rem;
  }

  .filters,
  .products-panel {
    padding: 1rem;
  }

  .segmented.small {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal-media img {
    min-height: 320px;
  }

  .purchase-row {
    display: grid;
  }
}

@media (max-width: 460px) {
  .brand strong {
    font-size: 1rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .product-info {
    padding: 0.85rem;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }
}
