/* ================================================================
   TWO G'S SUPPLY — MIDNIGHT DROP
   concrete gray · matte black · one acid-green accent · brutalist
   ================================================================ */

:root {
  --black: #0a0a0b;
  --ink: #141416;
  --concrete: #a3a39c;
  --concrete-deep: #7c7c76;
  --concrete-lite: #c7c7c0;
  --paper: #dedeD8;
  --acid: #c8f31d;
  --line: rgba(10, 10, 11, 0.85);
  --line-lite: rgba(222, 222, 216, 0.18);
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--body);
  font-stretch: 76%;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--acid); color: var(--black); }

button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ================= NAV ================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 56px;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-lite);
}

.nav__brand {
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-decoration: none;
  border-right: 1px solid var(--line-lite);
}
.nav__brand span { color: var(--acid); white-space: pre; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.nav__links a { color: var(--paper); text-decoration: none; opacity: 0.75; transition: opacity 0.15s, color 0.15s; }
.nav__links a:hover { opacity: 1; color: var(--acid); }

.nav__cart {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--pad);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line-lite);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  transition: background 0.15s, color 0.15s;
}
.nav__cart:hover { background: var(--acid); color: var(--black); }

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--acid);
  color: var(--black);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0;
}
.nav__cart:hover .cart-count { background: var(--black); color: var(--acid); }

/* ================= HERO ================= */
.hero { height: 420vh; position: relative; }

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,0) 55%, rgba(10,10,11,0.82) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 var(--pad) clamp(28px, 6vh, 64px);
}

.hero__eyebrow {
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--acid);
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: clamp(18px, 3vh, 32px);
}
.hero__line {
  display: block;
  font-size: clamp(44px, 9.6vw, 152px);
  color: var(--paper);
}
.hero__line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--acid);
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 1.4vw, 20px);
  border: 1px solid var(--line-lite);
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
  padding: clamp(10px, 1.6vh, 18px) clamp(14px, 2vw, 28px);
}
.countdown__cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown__cell span {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 54px);
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}
.countdown__cell em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--concrete);
}
.countdown__sep {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 44px);
  color: var(--acid);
  transform: translateY(-4px);
}

.hero__scrollhint {
  position: absolute;
  right: var(--pad);
  bottom: clamp(28px, 6vh, 64px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--concrete);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__arrow { color: var(--acid); font-size: 14px; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ================= MARQUEE ================= */
.marquee {
  overflow: hidden;
  background: var(--acid);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: 10px 0;
}
.marquee--invert { background: var(--black); border-color: var(--acid); }
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 26px);
  letter-spacing: 0.06em;
  color: var(--black);
}
.marquee--invert .marquee__track { color: var(--acid); }
.marquee__track--reverse { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= DROP / GRID ================= */
.drop {
  background: var(--concrete);
  color: var(--black);
  padding: clamp(48px, 8vh, 96px) var(--pad) clamp(64px, 10vh, 120px);
}

.drop__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  text-transform: uppercase;
}
.section-title sup { font-size: 0.28em; color: var(--acid); -webkit-text-stroke: 1px var(--black); vertical-align: super; }

.drop__note { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; opacity: 0.65; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--black);
  background: var(--black);
  gap: 2px;
}
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

/* ---- card ---- */
.card { background: var(--concrete-lite); display: flex; flex-direction: column; }

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--concrete-deep);
  border-bottom: 2px solid var(--black);
}
.card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.card:hover .card__media video { transform: scale(1.04); }

.card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--black);
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 6px 10px;
}
.card__hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(10,10,11,0.7);
  color: var(--paper);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  padding: 5px 9px;
  opacity: 1;
  transition: opacity 0.25s;
}
.card:hover .card__hint { opacity: 0; }

.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }

.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__name { font-family: var(--display); font-size: clamp(20px, 1.8vw, 27px); text-transform: uppercase; letter-spacing: 0.02em; }
.card__price { font-family: var(--display); font-size: clamp(18px, 1.6vw, 24px); background: var(--acid); padding: 1px 8px; }

.card__desc { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; opacity: 0.7; }

.sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.size {
  min-width: 40px;
  height: 34px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 2px solid var(--black);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--black);
  transition: background 0.12s, color 0.12s;
}
.size:hover { background: var(--black); color: var(--paper); }
.size.is-active { background: var(--black); color: var(--acid); }
.size.is-soldout {
  border-style: dashed;
  border-width: 1px;
  color: rgba(10,10,11,0.4);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.size.is-soldout:hover { background: transparent; color: rgba(10,10,11,0.7); border-color: rgba(10,10,11,0.7); }

.card__cta {
  margin-top: auto;
  height: 52px;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.card__cta:hover { background: var(--acid); color: var(--black); }
.card__cta:active { transform: translateY(1px); }

/* ================= FABRIC ================= */
.fabric {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--black);
  border-top: 1px solid var(--line-lite);
}
@media (max-width: 900px) { .fabric { grid-template-columns: 1fr; } }

.fabric__media { position: relative; min-height: 60vh; overflow: hidden; }
.fabric__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}
@media (max-width: 900px) { .fabric__media { min-height: 46vh; } .fabric__video { position: relative; } }

.fabric__manifesto {
  padding: clamp(40px, 7vh, 90px) var(--pad);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 34px);
  border-left: 1px solid var(--line-lite);
}

.fabric__claim {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 5.6vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--paper);
}
.fabric__claim span { color: transparent; -webkit-text-stroke: 2px var(--acid); }

.fabric__body p {
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--concrete-lite);
  margin-bottom: 14px;
  max-width: 52ch;
}

.fabric__specs {
  list-style: none;
  margin-top: 10px;
  border-top: 1px solid var(--line-lite);
}
.fabric__specs li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-lite);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--concrete);
}
.fabric__specs b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--acid); letter-spacing: 0.04em; min-width: 110px; }

/* ================= NOTIFY ================= */
.notify {
  background: var(--ink);
  border-top: 1px solid var(--line-lite);
  padding: clamp(56px, 10vh, 120px) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.notify__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 96px);
  text-transform: uppercase;
  color: var(--paper);
  line-height: 0.9;
}
.notify__sub { max-width: 46ch; font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; color: var(--concrete); }

.notify__form, .modal__form { display: flex; width: min(560px, 100%); margin-top: 8px; }
.notify__input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  background: transparent;
  border: 2px solid var(--concrete-deep);
  border-right: 0;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  outline: none;
  transition: border-color 0.15s;
}
.notify__input::placeholder { color: var(--concrete-deep); }
.notify__input:focus { border-color: var(--acid); }
.notify__input.is-error { border-color: #ff5a3c; }

.notify__btn {
  height: 56px;
  padding: 0 26px;
  border: 2px solid var(--acid);
  background: var(--acid);
  color: var(--black);
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: background 0.15s, color 0.15s;
}
.notify__btn:hover { background: transparent; color: var(--acid); }

.notify__done { font-size: 12px; font-weight: 800; letter-spacing: 0.24em; color: var(--acid); }

/* ================= FOOTER ================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line-lite);
  padding: clamp(32px, 6vh, 64px) var(--pad) 100px;
}
.footer__brand {
  font-family: var(--display);
  font-size: clamp(56px, 12vw, 210px);
  line-height: 0.9;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--concrete-deep);
  user-select: none;
}
.footer__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--concrete-deep);
}

/* ================= CART FAB ================= */
.cart-fab {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 70;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--paper);
  border: 2px solid var(--acid);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.cart-fab:hover { background: var(--acid); color: var(--black); transform: translateY(-2px); }
.cart-fab .cart-count { position: absolute; top: -9px; right: -9px; }
.cart-fab.is-bump { animation: bump 0.35s ease; }
@keyframes bump { 30% { transform: scale(1.14); } }

/* ================= DRAWER ================= */
.drawer-overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.drawer-overlay.is-open, .modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  height: 100dvh;
  width: min(420px, 92vw);
  background: var(--ink);
  border-left: 2px solid var(--acid);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-lite);
}
.drawer__head h3 { font-family: var(--display); font-size: 24px; letter-spacing: 0.06em; color: var(--paper); display: flex; gap: 10px; align-items: center; }
.drawer__close, .modal__close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-lite);
  color: var(--paper);
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}
.drawer__close:hover, .modal__close:hover { background: var(--acid); color: var(--black); }

.drawer__items { flex: 1; overflow-y: auto; padding: 10px 22px; }
.drawer__empty {
  padding: 48px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
  line-height: 2.1;
  color: var(--concrete-deep);
}

.citem {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-lite);
}
.citem__thumb { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line-lite); background: var(--concrete-deep); }
.citem__name { font-family: var(--display); font-size: 15px; letter-spacing: 0.05em; color: var(--paper); text-transform: uppercase; }
.citem__meta { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--concrete); margin-top: 4px; }
.citem__qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.citem__qty button {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line-lite);
  color: var(--paper);
  font-size: 12px;
  line-height: 1;
}
.citem__qty button:hover { background: var(--acid); color: var(--black); }
.citem__qty span { font-size: 12px; font-weight: 800; color: var(--paper); min-width: 14px; text-align: center; }
.citem__price { font-family: var(--display); font-size: 16px; color: var(--acid); }
.citem__remove { background: none; border: 0; color: var(--concrete-deep); font-size: 9px; font-weight: 800; letter-spacing: 0.2em; margin-top: 6px; }
.citem__remove:hover { color: #ff5a3c; }

.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line-lite); display: flex; flex-direction: column; gap: 12px; }
.drawer__subtotal { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: 0.24em; color: var(--concrete); }
.drawer__subtotal b { font-family: var(--display); font-size: 24px; color: var(--paper); letter-spacing: 0.04em; }

.drawer__checkout {
  height: 56px;
  border: 2px solid var(--acid);
  background: var(--acid);
  color: var(--black);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.1em;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.drawer__checkout:hover:not(:disabled) { background: transparent; color: var(--acid); }
.drawer__checkout:disabled { opacity: 0.35; cursor: not-allowed; }
.drawer__note { font-size: 10px; line-height: 1.6; letter-spacing: 0.06em; color: var(--concrete-deep); }

/* ================= MODAL ================= */
.modal {
  position: fixed;
  z-index: 95;
  top: 50%;
  left: 50%;
  width: min(520px, 92vw);
  background: var(--ink);
  border: 2px solid var(--acid);
  padding: clamp(28px, 5vw, 44px);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal__title { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); color: var(--paper); text-transform: uppercase; line-height: 0.95; }
.modal__sub { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.7; color: var(--concrete); }

/* ================= TOAST ================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 100;
  transform: translate(-50%, 200%);
  background: var(--acid);
  color: var(--black);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 2px solid var(--black);
  transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.3, 1);
  pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
