:root {
  --black: #0a0a0a;
  --charcoal: #161616;
  --washed: #222120;
  --gray: #8b8781;
  --line: rgba(236, 230, 218, .12);
  --cream: #ece6da;
  --red: #7d1a1a;
  --red-bright: #a32424;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --varsity: "Graduate", "Georgia", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; font-family: var(--serif); font-weight: 400; }

/* film grain over everything */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
}

.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 20px; font-weight: 400;
}

.btn {
  display: inline-block; padding: 16px 34px;
  border: 1px solid var(--cream); color: var(--cream);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--cream); color: var(--black); }
.btn-full { width: 100%; text-align: center; }

/* NAV */
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 51; height: 32px;
  display: grid; place-items: center; background: var(--cream); color: var(--black);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: transform .5s var(--ease);
}
body.scrolled .announce { transform: translateY(-100%); }
.nav {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px 40px;
  transition: background .5s, padding .5s, top .5s var(--ease);
}
body.scrolled .nav { top: 0; background: rgba(10,10,10,.85); backdrop-filter: blur(10px); padding: 14px 40px; border-bottom: 1px solid var(--line); }
.nav-left { display: flex; gap: 32px; }
.nav-left a, .cart-btn { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gray); transition: color .3s; }
.nav-left a:hover, .cart-btn:hover { color: var(--cream); }
.wordmark { font-family: var(--varsity); font-size: 17px; letter-spacing: .14em; }
.nav-right { justify-self: end; }
#cartCount { color: var(--cream); margin-left: 4px; }

/* HERO */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 120px 8vw 140px;
  background: radial-gradient(ellipse at 50% 30%, #1a1918 0%, var(--black) 64%);
}
.spot {
  position: absolute; top: -20%; left: 27vw; width: 46vw; height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(236,230,218,.16), transparent 62%);
  filter: blur(10px); animation: flicker 9s ease-in-out infinite;
}
@keyframes flicker { 0%,100% { opacity: .85 } 50% { opacity: 1 } }
.table {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.6));
}
.card-wrap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%);
  perspective: 1400px; opacity: .32;
}
.card {
  width: 300px; aspect-ratio: 5 / 7; border-radius: 12px;
  transform: rotateX(58deg) rotateZ(-14deg);
  box-shadow: 0 40px 60px rgba(0,0,0,.7);
  animation: settle 2.4s var(--ease) both .3s;
}
@keyframes settle {
  from { opacity: 0; transform: rotateX(58deg) rotateZ(-30deg) translateY(-80px); }
  to   { opacity: 1; transform: rotateX(58deg) rotateZ(-14deg) translateY(0); }
}
.card-back {
  width: 100%; height: 100%; border-radius: 12px; position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(236,230,218,.05) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(-45deg, rgba(236,230,218,.05) 0 2px, transparent 2px 10px),
    linear-gradient(160deg, #1d1c1b, #0d0d0d);
  border: 1px solid rgba(236,230,218,.22);
  outline: 1px solid rgba(236,230,218,.08); outline-offset: -12px;
  display: grid; place-items: center;
}
.seven { font-family: var(--varsity); font-size: 72px; color: var(--red); text-shadow: 0 0 30px rgba(163,36,36,.35); }
.card-shadow {
  position: absolute; left: 10%; right: 10%; bottom: -30px; height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,.8), transparent 70%);
}
.hero-copy { position: relative; z-index: 2; width: 100%; text-align: center; text-transform: uppercase; }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: .18em; margin-bottom: 26px; }
.hero h1 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(44px, 7.4vw, 112px); line-height: 1; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero-sub { font-size: clamp(14px, 1.5vw, 19px); letter-spacing: .1em; color: #a9a49c; margin-bottom: 64px; }
.hero-col { font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .08em; margin-bottom: 10px; font-weight: 400; }
.hero-title { font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; letter-spacing: .01em; margin-bottom: 52px; }
.hero .btn { border-radius: 6px; border-color: rgba(236,230,218,.4); font-size: 13px; letter-spacing: .14em; padding: 20px 44px; }
.arrow { display: inline-block; margin-left: 10px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.hero-copy > * { animation: rise 1.4s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .4s; }
.hero-copy > *:nth-child(5) { animation-delay: .5s; }
.hero-copy > *:nth-child(6) { animation-delay: .64s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-bar {
  position: absolute; left: 40px; right: 40px; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray);
}

/* MANIFESTO */
.manifesto { padding: 180px 8vw; max-width: 1100px; margin: 0 auto; text-align: center; }
.manifesto h2 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(44px, 6vw, 86px); line-height: 1; margin-bottom: 64px; }
.manifesto-body { display: grid; gap: 28px; max-width: 620px; margin: 0 auto; }
.manifesto-body p { font-size: 18px; color: #bdb7ad; }
.manifesto-body .mission { font-size: clamp(22px, 2.4vw, 30px); color: var(--cream); line-height: 1.4; font-weight: 300; }

/* COLLECTION */
.collection { padding: 120px 40px 160px; border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 72px; }
.section-head h2 { font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.01em; }
.section-head h2 em { color: var(--gray); }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; max-width: 1240px; margin: 0 auto; align-items: start; }
.slideshow { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); user-select: none; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 6s linear; }
.slide.on { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.04) brightness(.94); }
.drawn { height: 100%; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, #262523, var(--charcoal) 70%); }
.drawn svg { width: 80%; }
.slideshow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10,10,10,.75), transparent 28%); }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1;
  background: rgba(10,10,10,.55); backdrop-filter: blur(6px); border: 1px solid var(--line);
  opacity: 0; transition: opacity .4s, background .3s;
}
.slideshow:hover .slide-nav, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: rgba(10,10,10,.85); }
.prev { left: 18px; } .next { right: 18px; }
.slide-foot { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 20px; }
.slide-count { font-size: 11px; letter-spacing: .24em; color: var(--cream); min-width: 54px; }
.slide-bars { flex: 1; display: flex; gap: 6px; }
.slide-bars button { flex: 1; height: 14px; position: relative; }
.slide-bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(236,230,218,.25); }
.slide-bars button span { position: absolute; left: 0; top: 6px; height: 2px; width: 0; background: var(--cream); }
.slide-bars button.done span { width: 100%; }
.slide-bars button.on span { animation: fill var(--dur, 5s) linear forwards; }
.slideshow.paused .slide-bars button.on span { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.feature-info { position: sticky; top: 100px; padding-top: 8px; }
.feature-info h3 { font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin-bottom: 10px; }
.stock { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--red-bright); margin-top: 16px; text-align: center; }

.feature + .feature { margin-top: 140px; }
.feature.flip { grid-template-columns: 1fr 1.25fr; }
.feature.flip .slideshow { order: 2; }
.label .low { color: var(--red-bright); letter-spacing: .1em; margin-left: 8px; text-transform: none; }
.sizes button.out { color: #4a4744; text-decoration: line-through; cursor: not-allowed; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: none; color: var(--cream); }

/* BUNDLE */
.bundle {
  max-width: 1240px; margin: 160px auto 0; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center;
  border: 1px solid var(--line); padding: 48px;
  background: radial-gradient(ellipse at 20% 0%, rgba(125,26,26,.12), transparent 60%);
}
.bundle-art { display: flex; align-items: center; gap: 12px; }
.bundle-piece { flex: 1; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #262523, var(--charcoal) 70%); display: grid; place-items: center; }
.bundle-piece img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.04) brightness(.94); }
.bundle-piece svg { width: 84%; }
.plus { font-family: var(--serif); font-size: 40px; color: var(--gray); }
.bundle-info h3 { font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.bundle-sub { color: var(--gray); margin: 6px 0 14px; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.bundle-info .price s { color: #5d5a55; margin-left: 6px; }
.save { color: var(--red-bright); margin-left: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.bundle-info .sizes { margin-bottom: 22px; }

/* WHO IT'S FOR */
.for { padding: 180px 8vw; background: linear-gradient(var(--black), var(--charcoal) 50%, var(--black)); }
.for-list { list-style: none; max-width: 980px; }
.for-list li {
  font-size: clamp(26px, 3.4vw, 48px); font-weight: 300; line-height: 1.2;
  padding: 26px 0; border-bottom: 1px solid var(--line); letter-spacing: -.01em;
}
.for-close { margin-top: 80px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; color: var(--gray); max-width: 700px; }
.for-close span { color: var(--cream); display: block; }

/* SEVENS */
.sevens { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; padding: 140px 8vw; }
.big7 {
  font-family: var(--varsity); font-size: clamp(240px, 32vw, 460px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(125,26,26,.85); text-align: center;
  text-shadow: 0 0 80px rgba(125,26,26,.18);
}
.sevens h3 { font-weight: 400; font-size: clamp(28px, 3vw, 42px); margin-bottom: 20px; }
.sevens-copy p:last-child { color: #bdb7ad; max-width: 440px; font-size: 17px; }

/* NEWSLETTER */
.dealt { text-align: center; padding: 160px 8vw; border-top: 1px solid var(--line); }
.dealt h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; margin-bottom: 16px; }
.dealt > p:not(.eyebrow) { color: var(--gray); margin-bottom: 40px; }
.signup { display: flex; max-width: 480px; margin: 0 auto; }
.signup input {
  flex: 1; background: transparent; border: 1px solid var(--line); border-right: 0;
  color: var(--cream); padding: 0 20px; font: inherit; font-size: 14px; min-width: 0;
}
.signup input:focus { outline: none; border-color: var(--cream); }
.signup-msg { color: var(--cream) !important; margin-top: 20px; }

/* FOOTER */
.footer { padding: 80px 40px 40px; border-top: 1px solid var(--line); text-align: center; }
.footer-mark { font-family: var(--varsity); font-size: clamp(36px, 7vw, 96px); letter-spacing: .06em; color: var(--washed); margin-bottom: 40px; line-height: 1; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-links a { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); }
.footer-links a:hover { color: var(--cream); }
.footer-ship { font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.footer-fine { font-size: 12px; color: #5d5a55; }

/* PRODUCT INFO */
.price { color: var(--gray); letter-spacing: .1em; margin-bottom: 28px; }
.pdp-desc { color: #bdb7ad; margin-bottom: 36px; }
.label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 28px; }
.sizes button { border: 1px solid var(--line); padding: 13px 0; font-size: 12px; letter-spacing: .1em; transition: border-color .3s, background .3s; }
.sizes button:hover { border-color: var(--gray); }
.sizes button.active { border-color: var(--cream); background: var(--cream); color: var(--black); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }
.details { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.details li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: #bdb7ad; }
.close { position: absolute; top: 14px; right: 18px; font-size: 30px; font-weight: 200; color: var(--gray); z-index: 2; line-height: 1; }
.close:hover { color: var(--cream); }

/* CART */
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 80;
  background: var(--black); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.cart.open { transform: none; }
.cart-head { position: relative; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.cart-head .close { top: 20px; }
.cart-items { flex: 1; overflow: auto; padding: 8px 32px; }
.cart-empty { color: var(--gray); padding: 40px 0; font-family: var(--serif); font-style: italic; font-size: 20px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-art { aspect-ratio: 4/5; background: var(--charcoal); display: grid; place-items: center; overflow: hidden; }
.line-art svg { width: 86%; }
.line-art img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.line-size { font-size: 12px; color: var(--gray); }
.qty { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; }
.qty button { width: 22px; height: 22px; border: 1px solid var(--line); line-height: 1; }
.line-price { font-size: 13px; }
.line-remove { font-size: 11px; color: var(--gray); text-decoration: underline; margin-top: 8px; display: block; }
.cart-foot { padding: 28px 32px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin-bottom: 6px; }
.fine { font-size: 12px; color: var(--gray); margin: 10px 0 20px; }
.cart-total.sub { color: var(--gray); font-size: 12px; }
.ship-progress { font-size: 12px; color: var(--cream); margin-bottom: 16px; letter-spacing: .04em; }
.ship-progress:empty { display: none; }
.cart-error { color: #e06a6a; font-size: 13px; margin: 14px 0; }
.cart-total.sub { margin-bottom: 20px; }
.test-note { margin-top: 14px; font-size: 11px; color: var(--gray); text-align: center; letter-spacing: .06em; }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: opacity .5s; }
.scrim.on { opacity: 1; pointer-events: auto; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* MOBILE */
@media (max-width: 860px) {
  .nav, body.scrolled .nav { padding: 16px; }
  .nav-left { gap: 16px; }
  .nav-left a:last-child { display: none; }
  .wordmark { font-size: 13px; }
  .hero { padding: 110px 16px 120px; }
  .hero-sub { margin-bottom: 48px; }
  .hero .btn { padding: 18px 28px; }
  .hero-bar { left: 16px; right: 16px; font-size: 10px; }
  .card { width: 200px; }
  .spot { left: 10vw; width: 80vw; }
  .manifesto, .for, .dealt { padding: 110px 16px; }
  .collection { padding: 90px 16px 110px; }
  .feature, .feature.flip, .bundle { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .slideshow { order: 0; }
  .feature + .feature { margin-top: 100px; }
  .bundle { padding: 24px 16px; margin-top: 100px; }
  .announce { font-size: 10px; letter-spacing: .14em; }
  .feature-info { position: static; }
  .slide-nav { opacity: 1; width: 40px; height: 40px; }
  .sevens { grid-template-columns: 1fr; padding: 90px 16px; text-align: center; }
  .sevens-copy p:last-child { margin: 0 auto; }
  .footer { padding: 60px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
