:root {
  --bg: #000;
  --panel: #080808;
  --panel-soft: #101010;
  --line: #1f1f1f;
  --line-soft: #141414;
  --text: #fff;
  --muted: #a3a3a3;
  --faint: #676767;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, .72);
  border-bottom: 1px solid rgba(38, 38, 38, .85);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100%, 1280px);
  height: 56px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.monogram {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(118px, 12vw, 156px);
  max-height: 38px;
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: clamp(132px, 14vw, 176px);
  max-height: 44px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a:hover,
.ghost-link:hover {
  color: #fff;
}

.ghost-link {
  color: #000;
  background: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  color: #000;
  background: #f2f2f2;
}

.bag-button {
  color: #000;
  background: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 72px 24px 96px;
  text-align: center;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  opacity: .42;
  filter: saturate(.12) blur(1px);
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at center, rgba(35, 35, 35, .32), transparent 45%),
    linear-gradient(to top, #000 0%, transparent 36%, #000 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
}

.eyebrow {
  display: block;
  color: var(--faint);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  letter-spacing: .4em;
  text-transform: uppercase;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .3em;
}

.hero h1 {
  max-width: 980px;
  margin: 24px auto 22px;
  font-size: clamp(52px, 9vw, 104px);
  line-height: .94;
  font-weight: 300;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.product-actions a,
.placeholder-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.primary-button {
  background: #fff;
  color: #000;
}

.secondary-button {
  border: 1px solid #404040;
  background: rgba(10, 10, 10, .56);
  color: #fff;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  color: #555;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 96px 72px;
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 300;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 250px;
  gap: 24px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--panel);
  padding: 32px;
}

.feature-card.large {
  grid-column: span 8;
  grid-row: span 2;
}

.feature-card.tall {
  grid-column: span 4;
  grid-row: span 2;
}

.feature-card:not(.large):not(.tall) {
  grid-column: span 4;
}

.image-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.image-card img,
.image-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.image-card img {
  object-fit: cover;
  opacity: .58;
  transition: transform .7s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-shade {
  z-index: 1;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, .42), transparent);
}

.image-card > div:last-child,
.text-card > div {
  position: relative;
  z-index: 2;
}

.feature-card span:not(.monogram),
.image-card span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 8px 0;
  font-size: 26px;
  font-weight: 300;
}

.feature-card p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}

.text-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.monogram {
  color: #474747;
  font-size: 32px;
}

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.catalog-head .section-heading {
  margin-bottom: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #070707;
  color: var(--muted);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.filter.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.search-bar {
  display: flex;
  width: min(100%, 580px);
  gap: 8px;
  margin-bottom: 48px;
}

.search-bar input,
.placeholder-form input,
.placeholder-form select,
.placeholder-form textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  background: rgba(10, 10, 10, .88);
  color: #fff;
  outline: none;
}

.search-bar input {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
}

.search-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151515;
  color: #fff;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(38, 38, 38, .65);
  border-radius: 16px;
  background: #070707;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform .5s ease, filter .5s ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.045);
  filter: saturate(1);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 15, 15, .84);
  color: #d4d4d4;
  padding: 5px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-meta {
  padding: 0 4px;
}

.product-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
}

.product-meta span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.product-meta small {
  font-size: 10px;
  font-weight: 300;
  text-transform: capitalize;
}

.product-meta h3 {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta p,
.detail-panel strong {
  margin: 0;
  color: #d8d8d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: 8px;
  padding: 0 4px;
}

.product-actions a:first-child {
  flex: 1;
  border: 1px solid var(--line-soft);
  background: #070707;
  color: #d4d4d4;
}

.product-actions a:last-child {
  background: #fff;
  color: #000;
}

.trust-band {
  border-top: 1px solid var(--line-soft);
  background: rgba(16, 16, 16, .45);
}

.trust-grid {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 96px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111;
  color: #d4d4d4;
  font-size: 24px;
}

.trust-grid h3 {
  margin: 20px 0 12px;
  font-size: 22px;
  font-weight: 300;
}

.trust-grid p,
.site-footer p,
.modal-panel p,
.form-note,
.empty-cart {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 300;
}

.site-footer {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 48px 72px 72px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 24px;
}

.modal:target {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(14px);
}

.modal-panel,
.cart-panel {
  position: relative;
  width: min(100%, 720px);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid rgba(64, 64, 64, .62);
  border-radius: 24px;
  background: rgba(8, 8, 8, .94);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .65);
  padding: 42px;
}

.modal-panel.narrow {
  width: min(100%, 420px);
}

.modal-panel h2,
.cart-panel h2 {
  margin: 12px 0 18px;
  font-size: 32px;
  font-weight: 300;
}

.modal-panel h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111;
  color: var(--muted);
  font-size: 20px;
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.stats span {
  display: block;
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
}

.stats strong {
  display: block;
  margin-top: 6px;
}

.placeholder-form {
  display: grid;
  gap: 16px;
}

.placeholder-form label {
  display: grid;
  gap: 7px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.placeholder-form input,
.placeholder-form select,
.placeholder-form textarea {
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.placeholder-form button {
  border: 0;
  background: #fff;
  color: #000;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: default;
}

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

.cart-panel {
  margin-left: auto;
  align-self: stretch;
  width: min(100%, 430px);
  border-radius: 0;
}

.empty-cart {
  display: grid;
  place-items: center;
  min-height: 230px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(10, 10, 10, .62);
  margin-bottom: 20px;
}

.wide {
  width: 100%;
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 32px;
  align-items: center;
}

.detail-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav-shell,
  .section-shell,
  .trust-grid,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-links {
    display: none;
  }

  .feature-grid,
  .product-grid,
  .trust-grid,
  .catalog-head,
  .detail-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    display: grid;
    grid-auto-rows: auto;
  }

  .feature-card,
  .feature-card.large,
  .feature-card.tall,
  .feature-card:not(.large):not(.tall) {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .catalog-head {
    display: grid;
    align-items: start;
  }

  .product-grid {
    gap: 36px;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    padding: 0 16px;
  }

  .nav-actions {
    gap: 12px;
  }

  .ghost-link {
    display: none;
  }

  .hero h1 {
    font-size: 52px;
  }

  .search-bar,
  .two-col,
  .stats {
    grid-template-columns: 1fr;
    display: grid;
  }

  .search-bar button {
    min-height: 44px;
  }

  .modal {
    padding: 14px;
  }

  .modal-panel,
  .cart-panel {
    padding: 28px;
  }
}
