/* ==========================================================================
   luemuse — design tokens
   Upcycled Y2K. Thrifted, one-of-one, handmade in Egypt.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Caveat:wght@500;700&family=Work+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #151312;
  --ink-soft: #2a2624;
  --bone: #efe7da;
  --bone-dim: #e2d8c6;
  --chrome: #b7b9c0;
  --plum: #5b3a52;
  --signal: #b9a3d9;
  --thread: #8b8175;
  --line: rgba(21, 19, 18, 0.14);

  --display: 'Anton', 'Arial Narrow', sans-serif;
  --scrawl: 'Caveat', cursive;
  --body: 'Work Sans', sans-serif;
  --mono: 'Space Mono', monospace;

  --max: 1180px;
  --edge: 1.5px dashed var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thread);
}

.scrawl {
  font-family: var(--scrawl);
  font-weight: 700;
  color: var(--signal);
}

/* ==========================================================================
   Top bar / marquee
   ========================================================================== */

.marquee {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  border-bottom: 1.5px solid var(--ink);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.nav__star { width: 20px; height: 20px; flex-shrink: 0; }
.nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding-bottom: 3px;
}
.nav__links a.active,
.nav__links a:hover {
  color: var(--signal);
}
.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--signal);
}
.nav__social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav__social a { width: 18px; height: 18px; opacity: 0.75; }
.nav__social a:hover { opacity: 1; }

.nav__icon-btn {
  position: relative;
  width: 20px; height: 20px;
  background: none;
  border: none;
  padding: 0;
  opacity: 0.85;
  color: var(--ink);
}
.nav__icon-btn:hover { opacity: 1; }
.nav__icon-btn svg { width: 100%; height: 100%; }
.nav__badge {
  position: absolute;
  top: -8px; right: -9px;
  min-width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.searchbar {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bone);
  border-bottom: 1.5px solid var(--ink);
  padding: 16px 24px;
}
.searchbar.open { display: block; }
.searchbar form {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.searchbar input {
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.searchbar input:focus { outline: none; border-color: var(--signal); }

.nav__burger {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bone);
    border-bottom: 1.5px solid var(--ink);
    padding: 16px 24px 20px;
    gap: 16px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
:root {
  --hero-bg-default:
    radial-gradient(ellipse at 30% 20%, rgba(255,62,122,0.25), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(91,58,82,0.55), transparent 60%),
    repeating-linear-gradient(115deg, rgba(183,185,192,0.06) 0 2px, transparent 2px 26px),
    var(--ink);
}
.hero__content {
  position: relative;
  padding: 60px 24px 56px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome);
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(48px, 10vw, 128px);
  line-height: 0.88;
  color: var(--bone);
  max-width: 900px;
}
.hero__title .hl { color: var(--signal); }
.hero__sub {
  font-family: var(--scrawl);
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--chrome);
  margin-top: 18px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons / tags
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1.5px solid currentColor;
  background: transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn--solid {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}
.btn--solid:hover { background: var(--bone); border-color: var(--bone); }
.btn--ghost { color: var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); }
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--bone); }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

.section {
  padding: 84px 0;
  border-bottom: 1.5px solid var(--line);
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section__title {
  font-size: clamp(32px, 5vw, 54px);
}

/* ==========================================================================
   Product grid + swing-tag cards (signature element)
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px 24px;
}

.card {
  position: relative;
}
.card__frame {
  position: relative;
  overflow: visible;
  /*border: 1.5px solid var(--ink); border outline*/
  border: none;
  aspect-ratio: 3 / 4;
}
.card__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product__photo {
  /*border: 1.5px solid var(--ink); norder outline */
  border: none;
  background: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 78vh;
}
.product__photo:not(:has(img)) {
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--plum), var(--ink) 70%);
}
.product__photo img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.card__photo svg { width: 42%; opacity: 0.85; }
.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 55px;
  width: fit-content;
  max-width: calc(100% - 65px);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 3;
  white-space: normal !important;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}
.card__badge--archive {
  background: var(--chrome);
}

.card__frame img { transition: transform 0.35s ease; }
.card:hover .card__frame img { transform: scale(1.03); }
.card__frame::before {
  display: none;
}
.card:hover .card__frame::before {
  opacity: 1;
  animation: scanflicker 0.5s steps(2) 1;
}
@keyframes scanflicker {
  0% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 0.25; transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* the swing tag */
.tag {
  position: absolute;
  top: -14px;
  right: 14px;
  width: 108px;
  transform: rotate(7deg) translateZ(0);
  backface-visibility: hidden;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.25));
  z-index: 4;
  margin-right: -10px;
}
.tag__string {
  position: absolute;
  top: -13px;
  left: 24px;
  width: 14px;
  height: 16px;
  border: 1.5px solid var(--ink);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
}
.tag__body {
  background: var(--bone);
  border: 1.5px solid var(--ink);
  padding: 8px 9px 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.tag__hole {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.2px solid var(--ink);
  background: var(--bone-dim);
  margin: 0 auto 4px;
}

.card__info { padding: 14px 2px 0; }
.card__name {
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
}
.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--thread);
}
.card__price { color: var(--ink); font-weight: 700; }
.card a.card__link { display: block; }
.card:hover .card__frame { border-color: var(--signal); }
.card:hover .tag { transform: rotate(0deg); transition: transform 0.2s ease; }

/* ==========================================================================
   Filters
   ========================================================================== */

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.filter.active,
.filter:hover {
  background: var(--ink);
  color: var(--bone);
}
.filter--archive {
  border-style: dashed;
  color: var(--thread);
  margin-left: auto;
}
.filter--archive.active {
  background: var(--thread);
  color: var(--bone);
  border-style: solid;
}

/* ==========================================================================
   About / zine blocks
   ========================================================================== */

.zine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.zine__visual {
  aspect-ratio: 4/5;
  border: 1.5px solid var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.zine__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(183,185,192,0.08) 0 2px, transparent 2px 24px);
}
.zine__visual svg { width: 38%; position: relative; z-index: 1; opacity: 0.9; }
.zine__text p { margin: 0 0 16px; color: var(--ink-soft); }
.zine__text .scrawl { display: block; font-size: 26px; margin-bottom: 14px; }

@media (max-width: 780px) {
  .zine { grid-template-columns: 1fr; }
}

/* torn divider */
.torn {
  height: 22px;
  width: 100%;
  background: var(--bone);
  clip-path: polygon(0% 100%, 3% 20%, 7% 90%, 12% 10%, 17% 80%, 22% 5%, 27% 95%, 32% 15%, 37% 85%, 42% 0%, 47% 90%, 52% 20%, 57% 100%, 62% 10%, 67% 90%, 72% 5%, 77% 95%, 82% 15%, 87% 85%, 92% 10%, 97% 95%, 100% 100%);
}

/* ==========================================================================
   Product detail page
   ========================================================================== */

.product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 36px; }
}
.product__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--plum), var(--ink) 70%);
  border: 1.5px solid var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__photo::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(183,185,192,0.08) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.product__photo svg { width: 32%; position: relative; z-index: 1; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; }

/* image gallery thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 56px; height: 68px;
  border: 1.5px solid var(--ink);
  overflow: hidden;
  opacity: 0.55;
  cursor: pointer;
  padding: 0;
  background: var(--ink-soft);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; border-color: var(--signal); }

/* before/after callout */
.before-tag {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1.5px dashed var(--ink);
  background: var(--bone-dim);
  padding: 10px;
  margin-top: 14px;
}
.before-tag__photo {
  width: 54px; height: 54px;
  border: 1.5px solid var(--ink);
  overflow: hidden;
  flex-shrink: 0;
}
.before-tag__photo img { width: 100%; height: 100%; object-fit: cover; }
.before-tag__text {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.before-tag__text b { color: var(--signal); display: block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }

.product__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--thread);
}
.product__name {
  font-size: clamp(30px, 4vw, 46px);
  margin: 8px 0 14px;
}
.product__price {
  font-family: var(--mono);
  font-size: 22px;
  margin-bottom: 20px;
}
.product__desc { color: var(--ink-soft); margin-bottom: 26px; }

.swatchrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.swatch {
  font-family: var(--mono);
  font-size: 12.5px;
  border: 1.5px solid var(--ink);
  padding: 9px 16px;
  background: transparent;
}
.swatch.active, .swatch:hover { background: var(--ink); color: var(--bone); }

.notecard {
  border: 1.5px dashed var(--ink);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 28px;
  background: var(--bone-dim);
}
.notecard b { color: var(--signal); }

/* measurements accordion */
.measure-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  text-decoration: underline;
  color: var(--ink);
  cursor: pointer;
  margin: 10px 0 4px;
}
.measure-toggle .chev { transition: transform 0.15s ease; display: inline-block; }
.measure-toggle.open .chev { transform: rotate(90deg); }
.measure-panel {
  display: none;
  border: 1.5px solid var(--ink);
  padding: 14px 16px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--panel, var(--bone-dim));
}
.measure-panel.open { display: block; }
.measure-panel div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.measure-panel div:last-child { border-bottom: none; }

/* notify-me form */
.notify-box {
  border: 1.5px solid var(--ink);
  padding: 16px 18px;
  margin-top: 16px;
}
.notify-box .eyebrow { margin-bottom: 8px; }
.notify-box form { display: flex; gap: 8px; flex-wrap: wrap; }
.notify-box input {
  flex: 1;
  min-width: 160px;
  font-family: var(--mono);
  font-size: 13px;
  padding: 11px 12px;
  border: 1.5px solid var(--ink);
  background: var(--bone);
  color: var(--ink);
}
.notify-box input:focus { outline: none; border-color: var(--signal); }
.notify-box .notify-msg { font-family: var(--mono); font-size: 12px; color: var(--signal); margin-top: 8px; }

/* ==========================================================================
   Checkout page
   ========================================================================== */

.checkout {
  display: block;
  max-width: 640px;
}

.checkout__section { margin-bottom: 34px; }
.checkout__section h3 {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 16px;
}

.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.field {
  width: 100%;
  font-family: var(--body);
  font-size: 14px;
  padding: 13px 14px;
  border: 1.5px solid var(--ink);
  background: var(--bone);
  color: var(--ink);
  margin-bottom: 12px;
}
.field:focus { outline: none; border-color: var(--signal); }
.field::placeholder { color: var(--thread); }

select.field {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23151312' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--ink);
  padding: 15px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
}
.option:hover { border-color: var(--signal); }
.option.active { border-color: var(--signal); background: var(--bone-dim); }
.option input[type="radio"] { accent-color: var(--signal); width: 16px; height: 16px; flex-shrink: 0; }
.option__label { flex: 1; }
.option__note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--thread);
  padding: 0 16px 14px 44px;
  margin-top: -10px;
}

.checkout__summary {
  border: 1.5px solid var(--ink);
  background: var(--bone-dim);
  padding: 26px;
  margin: 34px 0;
}
@media (max-width: 860px) {
  .checkout__summary {
    position: static !important;
    order: -1;
  }
}
.summary-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.summary-item__photo {
  width: 56px; height: 68px;
  border: 1.5px solid var(--ink);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.summary-item__photo .card__photo svg { width: 55%; }
.summary-item__qty {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10px;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.summary-item__name {
  font-family: var(--mono);
  font-size: 12.5px;
  text-transform: uppercase;
}
.summary-item__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--thread);
  margin-top: 3px;
}
.summary-item__price {
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
  margin-left: auto;
}
.summary-totals { padding-top: 14px; }
.summary-totals div {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 13px;
  padding: 6px 0;
  color: var(--ink-soft);
}
.summary-totals .summary-total {
  border-top: 1.5px solid var(--ink);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   Skeleton loading states (brand-matched, replaces plain "Loading..." text)
   ========================================================================== */

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.skel {
  background: var(--bone-dim);
  border: 1.5px solid var(--line);
  animation: skeletonPulse 1.3s ease-in-out infinite;
}
.skel-card__frame {
  aspect-ratio: 3/4;
  border: 1.5px solid var(--ink);
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.skel-card__frame::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(239,231,218,0.04) 0 10px, transparent 10px 20px);
}
.skel-tag {
  position: absolute;
  top: -14px; right: 14px;
  width: 90px; height: 34px;
  background: var(--bone-dim);
  border: 1.5px solid var(--ink);
  transform: rotate(7deg);
  z-index: 2;
}
.skel-line {
  height: 12px;
  margin-top: 12px;
  animation: skeletonPulse 1.3s ease-in-out infinite;
}
.skel-line.w60 { width: 60%; }
.skel-line.w40 { width: 40%; }

.skel-product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  width: 100%;
}
@media (max-width: 860px) {
  .skel-product { grid-template-columns: 1fr; gap: 36px; }
}
.skel-product__photo {
  aspect-ratio: 4/5;
  border: 1.5px solid var(--ink);
  background: var(--ink-soft);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 56px 0 28px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer__brand { font-family: var(--display); font-size: 26px; }
.footer__col a {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--chrome);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__col a:hover { color: var(--signal); }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--thread);
  margin: 0 0 14px;
}
.footer__bottom {
  border-top: 1px solid rgba(239,231,218,0.15);
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--thread);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   404 page
   ========================================================================== */

.page404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.page404 .eyebrow { margin-bottom: 10px; }
.page404 h1 {
  font-size: clamp(40px, 8vw, 84px);
  margin-bottom: 16px;
}
.page404 p {
  font-family: var(--scrawl);
  font-size: 22px;
  color: var(--thread);
  max-width: 420px;
  margin-bottom: 30px;
}

/* ==========================================================================
   Misc
   ========================================================================== */

.empty {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--thread);
  padding: 40px 0;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .card__frame img { transition: none; }
  * { transition: none !important; animation: none !important; }
}

.carousel { position: relative; padding: 0 52px; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: 24px;
  padding-top: 60px;
  margin-top: -30px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.carousel__track .card {
  flex: 0 0 calc((100% - 3 * 24px) / 4);
}
@media (max-width: 1024px) { .carousel__track .card { flex: 0 0 calc((100% - 2 * 24px) / 3); } }
@media (max-width: 700px) { .carousel__track .card { flex: 0 0 calc((100% - 1 * 24px) / 2); } }
@media (max-width: 480px) { .carousel__track .card { flex: 0 0 100%; } }

.carousel__arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink);
  background: var(--bone);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
}
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel__arrow:hover { background: var(--ink); color: var(--bone); }
.carousel__arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel__arrow:disabled:hover { background: var(--bone); color: var(--ink); }
@media (max-width: 780px) { .carousel__arrow { display: none; } }

.photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink);
  background: var(--bone);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.photo-arrow--prev { left: 12px; }
.photo-arrow--next { right: 12px; }
.photo-arrow:hover { background: var(--ink); color: var(--bone); }

.before-tag__photo {
  padding: 0;
  background: none;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(21,19,18,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1.5px solid var(--bone);
}
.lightbox__caption {
  color: var(--bone);
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: 1.5px solid var(--bone);
  color: var(--bone);
  width: 40px; height: 40px;
  font-size: 22px;
  cursor: pointer;
}