@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/bodoni-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/bodoni-italic.woff') format('woff');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/jost-regular.woff2') format('woff2');
}

:root {
  --void: #0b0a08;
  --void-deep: #060504;
  --panel: #17140f;
  --panel-line: #2a251c;
  --brass: #c7a24e;
  --brass-light: #e7cd87;
  --bone: #f2ecdd;
  --smoke: #9b9384;

  --font-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Century Gothic', Futura, Avenir, sans-serif;

  color-scheme: dark;
}

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

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  background: rgba(11, 10, 8, 0);
  border-bottom: 1px solid rgba(199, 162, 78, 0);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.nav.solid {
  background: rgba(11, 10, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-line);
}
.nav-mark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  color: var(--smoke);
  transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--brass-light); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-bag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--panel-line);
  padding: 9px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav { padding-top: 18px; padding-bottom: 18px; }
  .nav-toggle { display: flex; }
  .nav-bag {
    font-size: 0.68rem;
    padding: 8px 12px;
    letter-spacing: 0.08em;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 10, 8, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--panel-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { border-top: 1px solid var(--panel-line); padding-inline: clamp(20px, 5vw, 64px); }
  .nav-links a { display: block; padding: 16px 0; }
}

a:focus-visible, button:focus-visible {
  outline: 1px solid var(--brass-light);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(880px, 100vh);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  overflow: hidden;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-bottom: 40px; }
}

.sunburst {
  position: absolute;
  right: -8%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--brass) 0deg 0.55deg, transparent 0.55deg 9deg);
  -webkit-mask-image: radial-gradient(circle, black 0%, black 28%, transparent 68%);
          mask-image: radial-gradient(circle, black 0%, black 28%, transparent 68%);
  opacity: 0.4;
  animation: spin 200s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { display: block; margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  letter-spacing: 0.05em;
  line-height: 0.98;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--brass-light);
}
.hero-copy p.lede {
  font-size: 1.05rem;
  color: var(--smoke);
  max-width: 42ch;
  margin: 26px 0 36px;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid var(--brass);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.btn:hover, .btn:focus-visible { background: var(--brass); color: var(--void-deep); transform: translateY(-2px); }
.btn.ghost { border-color: var(--panel-line); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--panel); color: var(--brass-light); }

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage svg { width: min(320px, 70%); height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- manifesto ---------- */
.manifesto {
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
  padding: 84px 0;
  text-align: center;
}
.manifesto p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  max-width: 30ch;
  margin: 0 auto;
  color: var(--bone);
  text-wrap: balance;
}
.manifesto .rule {
  width: 46px;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 30px;
}

/* ---------- collection ---------- */
.collection { padding: 110px 0 90px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(2.1rem, 4vw, 2.8rem); letter-spacing: 0.02em; }
.section-head p { color: var(--smoke); max-width: 34ch; margin: 14px 0 0; font-size: 0.95rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--panel-line);
  border: 1px solid var(--panel-line);
}
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative;
  background: var(--panel);
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.35s ease;
}
.card.in { opacity: 1; transform: translateY(0); }
.card:hover { background: #1c1810; }

.card-no {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--brass);
}
.card-link { display: block; text-decoration: none; color: inherit; }
.card-stage { display: flex; justify-content: center; padding: 26px 0 22px; }
.card-stage svg { width: 88px; height: auto; transition: transform 0.4s ease; }
.card:hover .card-stage svg { transform: translateY(-4px) scale(1.03); }

.card h3 {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.card h3 span { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--smoke); font-family: var(--font-body); margin-bottom: 8px; }

.card .notes {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  margin: 10px 0 22px;
}
.card .notes span.sep { color: var(--panel-line); margin: 0 6px; }

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--panel-line);
  padding-top: 18px;
}
.price { font-family: var(--font-display); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.add {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--brass-light);
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
  font-family: var(--font-body);
}
.add:hover, .add:focus-visible { border-color: var(--brass-light); }

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--panel-line);
  padding: 76px 0;
}
.trust .grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
@media (max-width: 760px) { .trust .grid3 { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.trust-item { text-align: left; }
.trust-item .mark {
  width: 30px; height: 1px; background: var(--brass); margin-bottom: 20px;
}
.trust-item h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.trust-item p { color: var(--smoke); font-size: 0.9rem; margin: 0; max-width: 32ch; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--panel-line);
  padding: 56px 0 40px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.foot-mark { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.24em; }
.foot-links { display: flex; gap: 34px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.foot-links a { text-decoration: none; color: var(--smoke); }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--brass-light); }

.disclaimer {
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--smoke);
  max-width: 82ch;
  border-top: 1px solid var(--panel-line);
  padding-top: 26px;
}
.disclaimer strong { color: var(--bone); font-weight: 500; }
.copyright { margin-top: 22px; font-size: 0.74rem; color: var(--panel-line); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--panel);
  border: 1px solid var(--brass);
  color: var(--bone);
  padding: 14px 24px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- product page ---------- */
.breadcrumb {
  padding-top: 130px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  display: flex;
  gap: 10px;
}
@media (max-width: 760px) {
  .breadcrumb { padding-top: 50px; }
}
.breadcrumb a { text-decoration: none; color: var(--smoke); }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--brass-light); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: 50px 0 100px;
}
@media (max-width: 860px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); padding-top: 30px; }
}
.product-stage { display: flex; justify-content: center; }
.product-stage svg { width: min(300px, 60vw); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.5)); }

.product-info h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  margin: 10px 0 22px;
  letter-spacing: 0.01em;
}
.product-notes { font-size: 0.8rem; margin: 0 0 28px; }
.product-desc { color: var(--smoke); max-width: 48ch; margin: 0 0 32px; font-size: 0.98rem; }
.product-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 30px;
  font-variant-numeric: tabular-nums;
}
.product-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--panel-line);
}
.qty-btn {
  background: none;
  border: none;
  color: var(--bone);
  width: 42px;
  height: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: var(--font-body);
}
.qty-btn:hover, .qty-btn:focus-visible { color: var(--brass-light); }
.qty-input {
  width: 44px;
  height: 50px;
  border: none;
  border-left: 1px solid var(--panel-line);
  border-right: 1px solid var(--panel-line);
  background: transparent;
  color: var(--bone);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-shipping { margin-top: 26px; color: var(--smoke); font-size: 0.82rem; }

.more-collection { padding: 40px 0 100px; }
.more-collection .section-head { margin-bottom: 40px; }

/* ---------- bag / checkout shared ---------- */
.page-title {
  padding-top: 150px;
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  margin-bottom: 50px;
}
@media (max-width: 760px) {
  .page-title { padding-top: 60px; margin-bottom: 34px; }
}
.bag-loading { color: var(--smoke); padding-bottom: 120px; }

.empty-state {
  text-align: center;
  padding: 60px 0 140px;
  color: var(--smoke);
}
.empty-state p { margin-bottom: 26px; font-size: 1.05rem; }

.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 140px;
}
@media (max-width: 860px) {
  .bag-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.bag-items { border-top: 1px solid var(--panel-line); }
.bag-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--panel-line);
}
@media (max-width: 560px) {
  .bag-line { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
.bag-line-no { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--brass); text-transform: uppercase; }
.bag-line-info h3 { font-size: 1.05rem; font-weight: 500; margin: 6px 0 4px; }
.bag-line-info h3 a { text-decoration: none; color: var(--bone); }
.bag-line-info h3 a:hover, .bag-line-info h3 a:focus-visible { color: var(--brass-light); }
.bag-line-house { font-size: 0.72rem; color: var(--smoke); text-transform: uppercase; letter-spacing: 0.08em; }
.bag-line-price { font-family: var(--font-display); font-size: 1.05rem; text-align: right; min-width: 70px; font-variant-numeric: tabular-nums; }
.bag-remove {
  background: none;
  border: none;
  color: var(--smoke);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.bag-remove:hover, .bag-remove:focus-visible { color: var(--brass-light); }

.bag-summary {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  padding: 32px 28px;
}
.bag-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 10px 0;
  color: var(--smoke);
  font-variant-numeric: tabular-nums;
}
.bag-row.discount { color: var(--brass-light); }
.bag-row.total {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1.2rem;
  border-top: 1px solid var(--panel-line);
  margin-top: 8px;
  padding-top: 18px;
}
.tier-hint {
  font-size: 0.78rem;
  color: var(--brass-light);
  margin: 16px 0 22px;
  line-height: 1.5;
}
.bag-summary .btn { display: block; text-align: center; width: 100%; margin-top: 6px; }

/* ---------- checkout ---------- */
.checkout-notice {
  border: 1px solid var(--brass);
  background: var(--panel);
  color: var(--smoke);
  font-size: 0.86rem;
  padding: 16px 20px;
  margin-bottom: 50px;
  line-height: 1.6;
}
.checkout-notice strong { color: var(--brass-light); font-weight: 500; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 140px;
}
@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.checkout-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form-row { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-row.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; min-width: 0; }
.form-row.two-col > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-row label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}
.form-row input {
  width: 100%;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--bone);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-row input:focus-visible {
  outline: none;
  border-color: var(--brass);
}
.checkout-form .btn { margin-top: 10px; }
.form-error { color: #d98b7a; font-size: 0.85rem; }

.checkout-summary { align-self: start; }
.checkout-summary .bag-row span:first-child { color: var(--smoke); }

/* ---------- confirmation / track ---------- */
.confirmation-page { padding-top: 150px; padding-bottom: 100px; }
@media (max-width: 760px) {
  .confirmation-page { padding-top: 60px; }
}
.confirmation-head { margin-bottom: 50px; }
.confirmation-head h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin: 16px 0 10px; }
.confirmation-ref { color: var(--smoke); font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 24px; }
.confirmation-head .checkout-notice { margin: 24px 0 0; }
.confirmation-address { margin-top: 50px; border-top: 1px solid var(--panel-line); padding-top: 30px; }
.confirmation-address h4 { font-family: var(--font-display); font-weight: 500; margin-bottom: 12px; }
.confirmation-address p { color: var(--smoke); line-height: 1.8; }

.track-page { padding-bottom: 140px; }
.track-form { max-width: 420px; }
