:root{
  --black:#080808;
  --white:#f4f1eb;
  --grey:#b9b9b9;
  --line:#252525;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--white);
  color:var(--black);
  font-family:Arial,Helvetica,sans-serif;
}

body.cart-open{
  overflow:hidden;
}

img{
  max-width:100%;
}

button,
a{
  font:inherit;
}

button{
  cursor:pointer;
}

header{
  position:sticky;
  top:0;
  z-index:100;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 4vw;
  background:var(--black);
  color:white;
  border-bottom:1px solid #222;
}

.logo{
  color:white;
  text-decoration:none;
  font-size:34px;
  line-height:1;
  font-weight:900;
  letter-spacing:-2px;
}

nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin-left:auto;
}

nav a{
  color:white;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
}

.cart-toggle{
  flex-shrink:0;
  border:1px solid white;
  border-radius:999px;
  padding:11px 18px;
  background:white;
  color:var(--black);
  font-size:13px;
  font-weight:900;
}

.hero{
  padding:16px;
  background:var(--black);
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.hero figure{
  margin:0;
  overflow:hidden;
  background:#111;
}

.hero img{
  display:block;
  width:100%;
  height:78vh;
  object-fit:contain;
}

.ticker{
  display:flex;
  align-items:center;
  justify-content:space-around;
  gap:40px;
  overflow:hidden;
  padding:22px 4vw;
  background:var(--black);
  color:white;
  border-top:1px solid #222;
  border-bottom:1px solid #222;
  white-space:nowrap;
  font-family:monospace;
  font-size:14px;
  font-weight:700;
  letter-spacing:2px;
}

.intro{
  padding:90px 6vw;
}

.eyebrow{
  margin:0 0 22px;
  font-family:monospace;
  font-size:16px;
  font-weight:700;
  letter-spacing:2px;
}

h1{
  margin:0;
  font-size:clamp(70px,11vw,160px);
  line-height:.82;
  letter-spacing:-7px;
  text-transform:uppercase;
}

.lead{
  max-width:850px;
  margin:38px 0 0;
  font-family:monospace;
  font-size:19px;
  font-weight:700;
  line-height:1.7;
}

.button-link{
  display:inline-block;
  margin-top:34px;
  padding:18px 28px;
  border:2px solid var(--black);
  color:var(--black);
  text-decoration:none;
  font-family:monospace;
  font-size:14px;
  font-weight:700;
}

.button-link:hover{
  background:var(--black);
  color:white;
}

.product{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  border-top:2px solid var(--black);
  border-bottom:2px solid var(--black);
}

.product-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:20px;
  background:var(--black);
}

.product-gallery img{
  display:block;
  width:100%;
  height:520px;
  object-fit:cover;
}

.product-gallery img:first-child{
  grid-column:1 / -1;
  height:720px;
}

.product-info{
  padding:70px 5vw;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.product-info h2{
  margin:0 0 18px;
  font-size:clamp(46px,5vw,76px);
  line-height:.9;
  letter-spacing:-3px;
}

.product-info p{
  font-family:monospace;
  line-height:1.7;
}

.price{
  margin:12px 0 30px;
  font-size:34px;
  font-weight:900;
}

.size{
  margin-top:28px;
  padding:18px 0;
  display:flex;
  justify-content:space-between;
  border-top:1px solid #999;
  border-bottom:1px solid #999;
  font-family:monospace;
}

#stock-status{
  margin:20px 0 0;
  font-weight:700;
}

.add-to-cart{
  width:100%;
  margin-top:18px;
  padding:20px;
  border:0;
  background:var(--black);
  color:white;
  font-family:monospace;
  font-size:15px;
  font-weight:700;
}

.add-to-cart:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.shipping{
  margin-top:14px;
  font-size:12px;
}

.lifestyle{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  padding:12px;
  background:var(--black);
}

.lifestyle img{
  display:block;
  width:100%;
  height:620px;
  object-fit:cover;
}

.lifestyle img:last-child{
  grid-column:1 / -1;
}

.cart{
  position:fixed;
  top:0;
  right:0;
  z-index:300;
  width:min(440px,100%);
  height:100vh;
  padding:28px;
  display:flex;
  flex-direction:column;
  background:var(--white);
  transform:translateX(105%);
  transition:transform .25s ease;
  box-shadow:-15px 0 40px rgba(0,0,0,.25);
}

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

.cart-close{
  align-self:flex-end;
  border:0;
  background:transparent;
  font-family:monospace;
  font-weight:700;
}

.cart h2{
  margin:28px 0;
  font-size:52px;
  letter-spacing:-3px;
}

#cart-items{
  flex:1;
  overflow:auto;
}

.empty-cart{
  font-family:monospace;
  font-weight:700;
}

.cart-item{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-top:1px solid #999;
}

.cart-item > div{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.cart-item span{
  font-family:monospace;
  font-size:12px;
}

.remove-item{
  padding:0;
  border:0;
  background:transparent;
  text-decoration:underline;
  text-align:right;
  font-family:monospace;
  font-size:11px;
}

.cart-footer{
  padding-top:20px;
  border-top:2px solid var(--black);
}

.cart-footer > div{
  display:flex;
  justify-content:space-between;
  margin-bottom:18px;
  font-family:monospace;
  font-size:18px;
}

#checkout{
  width:100%;
  padding:20px;
  border:0;
  background:var(--black);
  color:white;
  font-family:monospace;
  font-weight:700;
}

#checkout:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.backdrop{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(0,0,0,.65);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

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

footer{
  padding:55px 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  background:var(--black);
  color:white;
  font-family:monospace;
}

footer strong{
  font-family:Arial,Helvetica,sans-serif;
  font-size:34px;
}

@media(max-width:700px){

  header{
    min-height:68px;
    padding:12px 14px;
    gap:10px;
  }

  .logo{
    font-size:27px;
  }

  nav{
    display:none;
  }

  .cart-toggle{
    padding:9px 14px;
    font-size:12px;
  }

  .hero{
    padding:8px;
  }

  .hero-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .hero img{
    height:62vh;
    object-fit:cover;
  }

  .ticker{
    justify-content:flex-start;
    gap:30px;
    overflow-x:hidden;
    padding:16px 18px;
    font-size:11px;
  }

  .intro{
    padding:65px 20px;
  }

  h1{
    font-size:18vw;
    letter-spacing:-4px;
  }

  .lead{
    margin-top:28px;
    font-size:15px;
    line-height:1.6;
  }

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

  .product-gallery{
    grid-template-columns:1fr 1fr;
    padding:8px;
    gap:8px;
  }

  .product-gallery img{
    height:260px;
  }

  .product-gallery img:first-child{
    height:520px;
  }

  .product-info{
    padding:55px 20px;
  }

  .product-info h2{
    font-size:48px;
  }

  .price{
    font-size:30px;
  }

  .lifestyle{
    grid-template-columns:1fr;
    padding:8px;
    gap:8px;
  }

  .lifestyle img,
  .lifestyle img:last-child{
    grid-column:auto;
    height:auto;
  }

  .cart{
    width:100%;
    padding:22px;
  }

  .cart h2{
    font-size:46px;
  }

  footer{
    flex-direction:column;
    align-items:flex-start;
    padding:45px 20px;
  }
}