@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

:root {
  --ink: #07080a;
  --paper: #f2efe8;
  --gold: #c9a765;
  --line: rgba(255, 255, 255, .14);
}

* { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #fff; font-family: "Inter Tight", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.price-display {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "current compare"
    "discount discount";
  align-items: baseline;
  justify-items: start;
  gap: 3px 8px;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
}
.price-display__current { grid-area: current; color: inherit; font: inherit; font-weight: inherit; white-space: nowrap; }
.price-display__compare { grid-area: compare; justify-self: end; color: currentColor; font-size: .62em; font-weight: 450; opacity: .46; white-space: nowrap; }
.price-display__discount { grid-area: discount; display: inline-flex; align-items: center; justify-self: start; min-height: 17px; max-width: 100%; padding: 3px 7px 2px; overflow: hidden; border: 1px solid rgba(82, 59, 10, .28); border-radius: 999px; color: #1a1509; background: #f1cb6d; font-size: .5em; font-weight: 720; letter-spacing: .06em; line-height: 1; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.price-display--compact { gap: 3px 7px; }
.price-display--compact .price-display__discount { min-height: 16px; padding-inline: 6px; font-size: .56em; }

.collection-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 10, .82);
  backdrop-filter: blur(18px);
}

.collection-brand { display: grid; gap: 1px; font-size: 16px; font-weight: 760; letter-spacing: .2em; }
.collection-brand small { color: var(--gold); font-size: 7px; letter-spacing: .34em; }
.collection-nav div { display: flex; align-items: center; gap: 20px; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.collection-nav div a:last-child { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; }

.collection-hero {
  position: relative;
  min-height: min(76svh, 820px);
  padding: clamp(80px, 10vw, 150px) clamp(18px, 6vw, 92px) 70px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.collection-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .7;
  filter: saturate(.92) contrast(1.06);
}

.collection-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,6,8,.96), rgba(5,6,8,.54) 55%, rgba(5,6,8,.22)), linear-gradient(0deg, rgba(5,6,8,.9), transparent 58%);
}

.collection-hero__copy { width: min(820px, 92vw); }
.collection-kicker { margin: 0 0 20px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.collection-hero h1 { margin: 0; font-size: clamp(60px, 9vw, 142px); font-weight: 470; line-height: .82; letter-spacing: -.065em; }
.collection-hero h1 em { color: var(--gold); font-weight: 320; }
.collection-hero__copy > p:not(.collection-kicker) { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.65; }
.collection-hero__copy > p.collection-hero__offer { max-width: max-content; margin: 18px 0 0; padding: 7px 10px; border: 1px solid rgba(201, 167, 101, .58); border-radius: 999px; color: #f1cb6d; background: rgba(201, 167, 101, .1); font-size: 10px; font-weight: 720; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.collection-hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.collection-hero__copy > p.collection-hero__offer + .collection-hero__actions { margin-top: 16px; }
.collection-hero__actions a { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.collection-hero__actions a:first-child { border-color: #fff; background: #fff; color: #08090b; }

.collection-trust {
  padding: 18px clamp(18px, 6vw, 92px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
}

.collection-trust span { padding: 16px; background: #0d0e11; color: rgba(255,255,255,.7); font-size: 10px; text-align: center; letter-spacing: .08em; text-transform: uppercase; }
.collection-main { padding: clamp(74px, 8vw, 120px) clamp(18px, 6vw, 92px); background: var(--paper); color: #090a0c; }
.collection-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.collection-heading h2 { margin: 0; font-size: clamp(52px, 7vw, 104px); font-weight: 470; line-height: .86; letter-spacing: -.06em; }
.collection-heading h2 em { color: #765d31; font-weight: 330; }
.collection-heading p { margin: 0; color: rgba(8,8,8,.62); font-size: 15px; line-height: 1.7; }

.collection-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.collection-card { min-width: 0; display: grid; background: #fff; border: 1px solid rgba(8,8,8,.1); }
.collection-card figure { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #08090b; }
.collection-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1); }
.collection-card:hover figure img { transform: scale(1.035); }
.collection-card figure span { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: rgba(5,6,8,.74); color: #fff; font-size: 8px; letter-spacing: .12em; backdrop-filter: blur(12px); }
.collection-card > div { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max-content); align-items: start; gap: 8px 20px; }
.collection-card small { grid-column: 1 / -1; color: #765d31; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.collection-card h3, .collection-card p { margin: 0; }
.collection-card h3 { min-width: 0; overflow-wrap: anywhere; font-size: 23px; font-weight: 550; line-height: 1.08; letter-spacing: -.035em; }
.collection-card p { font-size: 16px; font-weight: 650; }
.collection-card .price-display { align-items: baseline; gap: 3px 8px; }
.collection-card > div > .price-display { min-width: 0; max-width: 100%; align-self: start; justify-self: end; justify-items: end; text-align: right; font-size: 16px; font-weight: 650; }
.collection-card .price-display__compare { font-size: 0.62em; font-weight: 450; opacity: .46; }
.collection-card .price-display__discount { justify-self: end; color: #1a1509; background: #f1cb6d; font-size: .56em; font-weight: 720; letter-spacing: .06em; }
.collection-card a { grid-column: 1 / -1; min-height: 42px; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(8,8,8,.12); font-size: 9px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }

.collection-guide { padding: clamp(70px, 8vw, 120px) clamp(18px, 6vw, 92px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 120px); }
.collection-guide h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); font-weight: 460; line-height: .88; letter-spacing: -.055em; }
.collection-guide h2 em { color: var(--gold); font-weight: 320; }
.collection-guide__items { display: grid; }
.collection-guide details { border-top: 1px solid var(--line); }
.collection-guide details:last-child { border-bottom: 1px solid var(--line); }
.collection-guide summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: rgba(255,255,255,.86); font-size: 12px; font-weight: 650; letter-spacing: .06em; list-style: none; text-transform: uppercase; }
.collection-guide summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 300; }
.collection-guide details[open] summary::after { content: "−"; }
.collection-guide details p { margin: 0; padding: 0 0 24px; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.7; }
.collection-footer { padding: 32px clamp(18px, 6vw, 92px); display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: rgba(255,255,255,.54); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.collection-footer div { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-heading, .collection-guide { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .collection-nav div a:not(:last-child) { display: none; }
  .collection-hero { min-height: 72svh; padding-inline: 18px; }
  .collection-hero h1 { font-size: clamp(58px, 20vw, 88px); }
  .collection-hero h1 em { display: block; font-size: .62em; line-height: 1; letter-spacing: -.045em; }
  .collection-trust { padding-inline: 0; grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card > div { padding: 18px; }
  .collection-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collection-card figure img { transition: none; }
}

/* 2.5D collection cards: lift only the visual plane so card copy and prices
   retain stable geometry. Touch and reduced-motion inputs stay flat. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .collection-card {
    transition: border-color 320ms ease, box-shadow 420ms ease;
  }

  .collection-card:hover,
  .collection-card:focus-within {
    border-color: color-mix(in srgb, var(--gold) 58%, #080808);
    box-shadow: 0 22px 56px rgba(0, 0, 0, .18);
  }

  .collection-card figure {
    transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    transform-origin: center center;
    transform-style: preserve-3d;
    transition: transform 420ms cubic-bezier(.2,.75,.2,1), box-shadow 420ms ease;
  }

  .collection-card:hover figure,
  .collection-card:focus-within figure {
    transform: translateZ(6px) rotateX(.65deg) rotateY(-.65deg);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
  }
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .collection-card,
  .collection-card figure {
    transform: none;
    transition: none;
  }
}
