@charset "UTF-8";

:root {
  --black: #050505;
  --ink: #111;
  --soft: #f5f4f1;
  --paper: #fbfaf7;
  --line: rgba(0,0,0,.14);
  --muted: rgba(0,0,0,.54);
  --white: #fff;
  --header-h: 76px;
  --tracking: .24em;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

.site-header {
  height: var(--header-h);
  background: #000;
  color: var(--white);
  display: grid;
  grid-template-columns: 260px 1fr 80px;
  align-items: center;
  padding: 0 44px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  width: 190px;
  text-decoration: none;
  color: white;
}

.brand img {
  width: 190px;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

.brand-fallback,
.footer-logo span {
  display: none;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .28em;
  font-size: 24px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(42px, 6vw, 86px);
}

.desktop-nav button,
.mobile-menu button {
  color: var(--white);
  font-size: 12px;
  letter-spacing: var(--tracking);
  transition: opacity .2s ease;
}

.desktop-nav button:hover,
.mobile-menu button:hover,
.footer a:hover {
  opacity: .55;
}

.cart-button {
  justify-self: end;
  width: 28px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
}

.bag-icon {
  width: 14px;
  height: 16px;
  border: 1px solid currentColor;
  display: block;
  position: relative;
}

.bag-icon:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 5px;
  left: 2.5px;
  top: -6px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: -8px;
  width: 15px;
  height: 15px;
  background: #7a0707;
  border-radius: 999px;
  display: none;
  place-items: center;
  font-size: 8px;
  letter-spacing: 0;
}

.cart-count.visible { display: grid; }

.mobile-menu-button {
  display: none;
  width: 34px;
  height: 34px;
  justify-self: end;
}

.mobile-menu-button span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 9px 0;
}

.mobile-menu {
  display: none;
  background: #000;
  color: white;
  padding: 26px 32px 38px;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.mobile-menu.open { display: grid; }

.hero {
  height: min(52vw, 560px);
  min-height: 360px;
  background: #050505;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  opacity: .95;
}

.collection {
  padding: 46px clamp(22px, 5vw, 76px) 38px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 42px 26px;
}

.product-card {
  min-width: 0;
  text-align: left;
}

.product-card button {
  width: 100%;
  text-align: left;
  padding: 0;
}

.product-card-media {
  aspect-ratio: 1 / 1.15;
  background: #f0efed;
  overflow: hidden;
  position: relative;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7%;
  display: block;
  transition: transform .45s ease;
}

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

.product-card-meta {
  padding-top: 14px;
  line-height: 1.85;
}

.product-title {
  font-size: 11px;
  letter-spacing: .18em;
}

.product-price,
.product-color {
  font-size: 11px;
  letter-spacing: .1em;
}

.product-color {
  color: var(--muted);
}

.badge {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 8px;
  letter-spacing: .18em;
  padding: 6px 8px;
  background: rgba(255,255,255,.78);
  color: #111;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(380px, .72fr);
  gap: 60px;
  padding: 28px clamp(22px, 5vw, 76px) 54px;
  align-items: start;
}

.product-media {
  background: #f0efed;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  display: block;
}

.product-info {
  padding-top: 26px;
}

.product-kicker {
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 18px;
}

.product-info h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .26em;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.3;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.product-info .product-price {
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--ink);
}

.control-group {
  margin-bottom: 24px;
}

.control-group > span {
  display: block;
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--muted);
  margin-bottom: 12px;
}

.swatches,
.sizes {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.swatches button,
.sizes button {
  border: 1px solid var(--line);
  min-width: 44px;
  height: 38px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .14em;
}

.swatches button.active,
.sizes button.active {
  border-color: var(--ink);
}

.accordion {
  border-top: 1px solid var(--line);
  margin-top: 22px;
}

.accordion-button {
  width: 100%;
  border-bottom: 1px solid var(--line);
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .24em;
  text-align: left;
}

.accordion-content {
  display: none;
  padding: 20px 0 24px;
  color: rgba(0,0,0,.66);
  line-height: 1.8;
  letter-spacing: .05em;
  max-width: 560px;
}

.accordion-content.open {
  display: block;
}

.add-button,
.checkout-button,
.contact-block button {
  width: 100%;
  height: 48px;
  background: #000;
  color: #fff;
  letter-spacing: .25em;
  font-size: 11px;
  margin-top: 18px;
  transition: opacity .2s ease;
}

.add-button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.quiet-pages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 54px clamp(22px, 5vw, 76px);
  border-top: 1px solid rgba(0,0,0,.08);
}

.quiet-page h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .24em;
  font-size: 15px;
  margin: 0 0 14px;
}

.quiet-page p {
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: .04em;
  margin: 0;
}

.contact-block input,
.contact-block textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 13px 0;
  outline: 0;
  letter-spacing: .06em;
}

.contact-block textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-block button {
  margin-top: 18px;
  height: 42px;
}

.form-note,
.drawer-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  padding: 28px clamp(22px, 5vw, 76px) 34px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.site-footer nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: none;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .22em;
}

.footer-logo {
  justify-self: center;
}

.footer-logo img {
  width: 170px;
  max-height: 34px;
  object-fit: contain;
  display: block;
}

.site-footer > a:last-child {
  justify-self: end;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100svh;
  width: min(430px, 100%);
  background: #fff;
  z-index: 50;
  padding: 26px;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.12);
}

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

.cart-head,
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: .22em;
  font-size: 12px;
}

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

.cart-head button {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.cart-item img {
  width: 76px;
  height: 86px;
  object-fit: contain;
  background: #f1f0ee;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 400;
}

.cart-item p {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}

.cart-item button {
  font-size: 17px;
  padding: 8px;
}

.cart-total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.34);
  z-index: 40;
  display: none;
}

.overlay.open {
  display: block;
}

@media (max-width: 1040px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .site-header {
    grid-template-columns: 1fr 44px 44px;
    padding: 0 22px;
  }

  .brand,
  .brand img {
    width: 154px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .cart-button {
    grid-column: 2;
  }

  .hero {
    height: 60svh;
    min-height: 420px;
  }

  .hero img {
    object-position: center;
  }

  .collection {
    padding: 30px 16px;
  }

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

  .product-title,
  .product-price,
  .product-color {
    font-size: 10px;
  }

  .product-panel {
    padding: 10px 16px 42px;
    gap: 28px;
  }

  .product-media {
    min-height: 330px;
  }

  .product-info h1 {
    font-size: 21px;
    letter-spacing: .18em;
  }

  .quiet-pages {
    grid-template-columns: 1fr;
    padding: 42px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .site-footer nav,
  .site-footer > a:last-child {
    justify-self: center;
    justify-content: center;
  }

  .footer-logo {
    order: -1;
  }
}


.instagram-link {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
}

.instagram-link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-link:hover {
  opacity: .55;
}

