* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

/* Announcement */
.announcement {
  background: #000;
  color: #fff;
  height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.announcement-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  padding-left: 100%;
}
.announcement-track span { flex-shrink: 0; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 4%;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
  border-bottom: 1px solid #eee;
}
.nav-left, .nav-right {
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  align-items: center;
}
.nav-right {
  justify-content: flex-end;
  justify-self: end;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  padding: 4px;
}
.cart-svg { display: block; }
.bag-count {
  font-size: 12px;
  font-weight: 600;
  min-width: 14px;
}


/* Hero */
.hero {
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.hero-copy h1 {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}
.hero-cta {
  display: inline-block;
  border: 1px solid #fff;
  padding: 12px 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: background 0.2s, color 0.2s;
}
.hero-cta:hover { background: #fff; color: #000; }

/* Shop */
.shop {
  padding: 40px 5% 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.shop-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* Product grid — floating on white like scerene */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .nav-left { display: none; }
  .shop-title { font-size: 22px; }
}

.product-card { text-align: center; }

.product-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #fafafa;
  margin-bottom: 12px;
  padding: 0;
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.product-media .img-back { opacity: 0; }
.product-media:hover .img-front { opacity: 0; }
.product-media:hover .img-back { opacity: 1; }
.product-media:hover img { transform: scale(1.03); }

.product-meta { padding: 0 4px; }
.product-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.product-price {
  font-size: 12px;
  color: #555;
}

/* Footer */
.footer {
  text-align: center;
  padding: 56px 20px 40px;
  border-top: 1px solid #eee;
}
.footer-brand {
  font-size: 14px;
  letter-spacing: 0.3em;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-ig {
  display: inline-block;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}
.footer-ig:hover { color: #111; }
.footer-copy {
  font-size: 11px;
  color: #999;
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 80;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: #fff;
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.cart-empty { color: #888; font-size: 13px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-inner {
  background: #fff;
  max-width: 820px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 28px;
  position: relative;
}
@media (max-width: 700px) {
  .modal-inner { grid-template-columns: 1fr; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 18px;
}
.modal-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.modal-imgs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f7f7;
}
.modal-info h3 {
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.modal-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.add-btn {
  background: #111;
  color: #fff;
  padding: 14px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  width: 100%;
}
.add-btn:hover { background: #333; }

.size-row {
  margin: 0 0 20px;
}
.size-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 10px;
}
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 42px;
  height: 38px;
  border: 1px solid #ddd;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.size-btn:hover { border-color: #111; }
.size-btn.selected {
  background: #111;
  color: #fff;
  border-color: #111;
}

.product-ship {
  font-size: 11px;
  color: #c4a35a;
  margin-bottom: 4px;
  font-weight: 500;
}
.product-meta { text-align: center; }

/* Cart footer / checkout */
.cart-drawer {
  display: flex;
  flex-direction: column;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
}
.cart-footer {
  border-top: 1px solid #eee;
  padding-top: 16px;
  margin-top: 12px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cart-note {
  font-size: 11px;
  color: #888;
  margin-bottom: 14px;
}
.checkout-btn {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.checkout-btn:hover { background: #333; }
.continue-btn {
  width: 100%;
  padding: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #666;
  border: 1px solid #ddd;
}
.continue-btn:hover { border-color: #111; color: #111; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.cart-item-info { flex: 1; text-align: left; }
.cart-item-name { font-weight: 500; }
.cart-item-size { color: #888; font-size: 12px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1;
}
.qty-btn:hover { border-color: #111; }
.cart-remove {
  font-size: 11px;
  color: #999;
  text-decoration: underline;
  margin-top: 4px;
}


/* Sweatpants colorway selector */
.color-row {
  margin: 0 0 20px;
}
.color-row[hidden] { display: none; }
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.color-btn {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.color-btn:hover { border-color: #111; }
.color-btn.selected {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Mobile hamburger menu */
.menu-btn{display:none;width:30px;flex-direction:column;gap:5px;justify-self:start;padding:6px 0}
.menu-btn span{height:1.5px;background:#111;width:24px;transition:.25s}
.menu-btn.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.menu-btn.open span:nth-child(2){opacity:0}
.menu-btn.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
.mobile-nav{display:none;flex-direction:column;background:#fff;border-bottom:1px solid #eee;position:sticky;top:69px;z-index:49;max-height:0;overflow:hidden;transition:max-height .3s ease}
.mobile-nav.open{max-height:260px}
.mobile-nav a{padding:16px 6%;font-size:13px;letter-spacing:.1em;border-top:1px solid #f0f0f0}

/* Hero texture + copy */
.hero{position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;display:flex;align-items:center;font-family:Inter,sans-serif;font-weight:700;font-size:clamp(60px,18vw,220px);color:#ffffff08;letter-spacing:.05em;white-space:nowrap;animation:heroDrift 40s linear infinite;pointer-events:none}
@keyframes heroDrift{0%{transform:translateX(0)}100%{transform:translateX(-25%)}}
.hero-copy{position:relative;z-index:1;opacity:0;transform:translateY(16px);transition:opacity .7s ease,transform .7s ease}
.hero-copy.revealed{opacity:1;transform:translateY(0)}
.hero-kicker{font-size:10px;letter-spacing:.3em;color:#999;margin-bottom:14px}
.hero-sub{font-size:13px;color:#bbb;letter-spacing:.04em;margin:-16px 0 26px}

/* Reveal defaults for other sections */
[data-reveal]:not(.hero-copy){opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
[data-reveal]:not(.hero-copy).revealed{opacity:1;transform:translateY(0)}

/* Product card definition + quick add */
.product-media{background:#f3f3f1;border:1px solid #ededeb;transition:box-shadow .25s ease}
.product-media:hover{box-shadow:0 10px 26px rgba(0,0,0,.07)}
.product-card{position:relative}

/* Instagram grid */
.instagram{padding:70px 5% 60px;text-align:center;max-width:1100px;margin:0 auto}
.instagram-kicker{font-size:10px;letter-spacing:.24em;color:#999;margin-bottom:10px}
.instagram-handle{display:inline-block;font-size:22px;font-weight:600;letter-spacing:.04em;margin-bottom:26px}
.instagram-handle:hover{text-decoration:underline}
.instagram-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}
.ig-tile{display:block;aspect-ratio:1/1;overflow:hidden;background:#f3f3f1;position:relative}
.ig-tile img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease,filter .3s ease;filter:grayscale(.15)}
.ig-tile:hover img{transform:scale(1.06);filter:grayscale(0)}
.ig-tile:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .2s}
.ig-tile:hover:after{background:rgba(0,0,0,.04)}
@media(max-width:700px){
  .menu-btn{display:flex}
  .nav-left{display:none !important}
  .mobile-nav{display:flex}
  .instagram-grid{grid-template-columns:repeat(3,1fr);gap:3px}
  .instagram{padding:54px 4% 44px}
}
