:root {
  --black: #030303;
  --ink: #0b0b0b;
  --charcoal: #161616;
  --line: #2c2c2c;
  --soft: #a9a9a9;
  --white: #f7f7f3;
  --pure: #ffffff;
  --panel: #101010;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.locked {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 1px solid var(--pure);
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 180px 1fr 280px;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.64), rgb(0 0 0 / 0));
  transition: background 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgb(0 0 0 / 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 128px;
  height: 42px;
  object-fit: cover;
  object-position: center 72%;
  filter: grayscale(1) contrast(1.1);
}

.desktop-nav,
.header-actions,
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav {
  justify-content: center;
}

.desktop-nav a,
.header-actions button,
.mobile-actions button {
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0;
  cursor: pointer;
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.header-actions span,
.mobile-actions span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  border: 1px solid var(--white);
  font-size: 10px;
}

.mobile-actions {
  display: none;
  justify-content: flex-end;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu img {
  width: 180px;
  height: 80px;
  object-fit: cover;
  object-position: center 68%;
}

.mobile-menu a,
.mobile-menu button {
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 9vw, 64px);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  padding: 116px clamp(18px, 5vw, 76px) 60px;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.48) 52%, rgb(0 0 0 / 0.84)),
    var(--black);
}

.hero-text {
  max-width: 620px;
}

.hero-text p,
.editorial > p,
.section-heading p,
.page-hero p,
.purchase-panel > p,
.split-story p,
.search-overlay p {
  margin-bottom: 20px;
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: clamp(56px, 9vw, 136px);
  line-height: 0.88;
  max-width: 760px;
}

.hero-text span {
  display: block;
  max-width: 420px;
  margin-top: 28px;
  color: #d4d4d0;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-btn,
.secondary-btn,
.compact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--white);
  padding: 0 24px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.secondary-btn,
.compact-btn {
  background: transparent;
  color: var(--white);
}

.primary-btn:hover,
.secondary-btn:hover,
.compact-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn:hover,
.compact-btn:hover {
  background: var(--white);
  color: var(--black);
}

.full {
  width: 100%;
}

.hero-image {
  min-width: 0;
}

.hero-image img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  animation: slowFloat 8s ease-in-out infinite alternate;
}

@keyframes slowFloat {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-10px) scale(1.015);
  }
}

.section-pad {
  padding: clamp(72px, 10vw, 150px) clamp(18px, 5vw, 76px);
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.editorial h2,
.section-heading h2,
.split-story h2,
.about-grid h2 {
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.98;
}

.editorial div p,
.about-grid p,
.split-story p + h2 {
  color: #d7d7d2;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.45;
}

.collection-band {
  background: var(--black);
}

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

.section-heading a,
.text-link {
  color: var(--pure);
  border-bottom: 1px solid var(--pure);
  font-size: 12px;
}

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

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

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.product-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f0f0f;
}

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

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

.product-copy {
  padding: 22px;
}

.product-copy > p:first-child {
  color: var(--soft);
  font-size: 11px;
  text-transform: uppercase;
}

.product-copy h3 {
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
}

.product-row,
.summary-total,
.drawer-foot div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  color: var(--pure);
}

.muted {
  margin-top: 16px;
  color: #c7c7c2;
  line-height: 1.55;
}

.split-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
  background: #f2f2ef;
  color: var(--black);
}

.split-story p {
  color: #575757;
}

.split-story img,
.full-image img {
  width: 100%;
  height: min(72vh, 700px);
  object-fit: cover;
  border-radius: var(--radius);
}

.page {
  padding-top: 88px;
}

.page-hero {
  padding: clamp(80px, 14vw, 190px) clamp(18px, 5vw, 76px) clamp(44px, 7vw, 96px);
  background: var(--black);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.95;
}

.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  min-height: 86svh;
}

.collection-hero h1 {
  max-width: 900px;
}

.collection-hero-media {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.collection-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.38), rgb(0 0 0 / 0.04));
  pointer-events: none;
}

.collection-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 0 clamp(18px, 5vw, 76px) clamp(80px, 10vw, 140px);
}

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

label,
fieldset {
  display: grid;
  gap: 10px;
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
}

select,
input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: var(--black);
  color: var(--white);
}

.filter-note {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 12px;
}

.filter-note strong {
  color: var(--white);
  font-weight: 400;
}

.product-page {
  padding: 116px clamp(18px, 5vw, 76px) clamp(80px, 10vw, 140px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.gallery {
  background: var(--panel);
  border: 1px solid var(--line);
}

.gallery img {
  width: 100%;
  min-height: 620px;
  max-height: 760px;
  object-fit: cover;
}

.purchase-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 20px;
}

.purchase-panel h1 {
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.98;
}

.purchase-panel p:not(:first-child) {
  color: #d2d2ce;
  line-height: 1.6;
}

.price {
  font-size: 22px;
  font-weight: 400;
}

.delivery-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--white);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.spec-list {
  display: grid;
  gap: 0;
  padding: 20px 0 0;
  margin: 10px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spec-list li,
.order-summary li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list span,
.order-summary span {
  color: var(--soft);
}

.spec-list strong,
.order-summary strong {
  font-weight: 400;
  text-align: right;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 90px);
  border-top: 1px solid var(--line);
}

.about-grid div {
  display: grid;
  gap: 24px;
}

.full-image {
  padding: 0 clamp(18px, 5vw, 76px) clamp(80px, 10vw, 140px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  padding: 0 clamp(18px, 5vw, 76px) clamp(80px, 10vw, 140px);
}

.checkout-forms,
.order-summary {
  display: grid;
  gap: 18px;
  align-content: start;
}

fieldset,
.order-summary {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

legend {
  padding: 0 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  text-transform: none;
}

.two-fields {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 12px;
}

.payment-placeholder {
  display: grid;
  place-items: center;
  min-height: 90px;
  border: 1px dashed #4a4a4a;
  color: var(--soft);
  text-transform: none;
  text-align: center;
  line-height: 1.5;
}

.stripe-link {
  width: 100%;
  color: var(--pure);
  border-bottom: 1px solid var(--pure);
  font-size: 12px;
  text-align: right;
  text-transform: uppercase;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.order-summary h2 {
  font-size: 28px;
}

.order-summary ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.7fr));
  gap: 34px;
  padding: 64px clamp(18px, 5vw, 76px) 28px;
  border-top: 1px solid var(--line);
  background: #000;
}

.footer img {
  width: 150px;
  height: 70px;
  object-fit: cover;
  object-position: center 68%;
}

.footer p {
  max-width: 320px;
  margin-top: 16px;
  color: var(--soft);
  line-height: 1.5;
}

.footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer h2 {
  margin-bottom: 8px;
  font-family: inherit;
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
}

.footer a {
  font-size: 14px;
}

.footer small {
  grid-column: 1 / -1;
  padding-top: 34px;
  color: var(--soft);
  font-size: 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(0 0 0 / 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 45;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 100vw);
  background: var(--black);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

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

.drawer-head,
.drawer-foot {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-head h2 {
  font-size: 30px;
}

.drawer-head button,
.search-close {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.cart-list {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 0;
  margin: 0;
  overflow: auto;
  list-style: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 112px;
  height: 92px;
  object-fit: cover;
}

.cart-line h3 {
  font-size: 17px;
  font-weight: 400;
}

.cart-line span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.qty-controls button {
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.drawer-foot {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: start center;
  padding: 100px clamp(18px, 5vw, 76px);
  background: rgb(0 0 0 / 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay > div {
  width: min(820px, 100%);
}

.search-close {
  position: absolute;
  top: 28px;
  right: clamp(18px, 5vw, 76px);
}

.search-overlay input {
  height: 68px;
  border-width: 0 0 1px;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 6vw, 64px);
}

.search-overlay ul {
  display: grid;
  gap: 0;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}

.search-overlay a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.search-overlay img {
  width: 92px;
  height: 70px;
  object-fit: cover;
}

.search-overlay small {
  display: block;
  margin-top: 6px;
  color: var(--soft);
}

.empty {
  color: var(--soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 150px 1fr;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .hero,
  .editorial,
  .split-story,
  .collection-hero,
  .product-detail,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .collection-hero {
    min-height: auto;
  }

  .collection-hero-media {
    min-height: 420px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-image img {
    height: min(54vh, 560px);
  }

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

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

  .filters,
  .purchase-panel {
    position: static;
  }

  .gallery img {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img {
    width: 106px;
    height: 36px;
  }

  .mobile-actions {
    gap: 14px;
  }

  .mobile-actions button {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 104px 18px 38px;
  }

  .hero-text h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .compact-btn {
    width: 100%;
  }

  .hero-image img {
    height: 360px;
  }

  .section-pad,
  .page-hero,
  .product-page,
  .shop-layout,
  .checkout-grid,
  .full-image {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

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

  .product-copy {
    padding: 18px;
  }

  .gallery img,
  .collection-hero-media,
  .split-story img,
  .full-image img {
    min-height: 0;
    height: 360px;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

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

  .cart-line {
    grid-template-columns: 88px 1fr;
  }

  .cart-line img {
    width: 88px;
    height: 78px;
  }

  .search-overlay {
    padding-top: 84px;
  }

  .search-overlay a {
    grid-template-columns: 74px 1fr;
  }

  .search-overlay strong {
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .mobile-actions {
    gap: 10px;
  }

  .mobile-actions button {
    font-size: 10px;
  }

  .hero-text h1,
  .page-hero h1 {
    overflow-wrap: anywhere;
  }

  .spec-list li,
  .order-summary li {
    display: grid;
  }

  .spec-list strong,
  .order-summary strong {
    text-align: left;
  }
}
