:root {
  --bg: #12100e;
  --bg-elevated: #1c1814;
  --ink: #f4efe8;
  --muted: #a99f92;
  --brass: #c9a66b;
  --brass-soft: rgba(201, 166, 107, 0.35);
  --line: rgba(244, 239, 232, 0.12);
  --veil: rgba(18, 16, 14, 0.55);
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-sans: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

body.is-touch {
  cursor: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor,
.cursor-dot {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
    background 0.25s var(--ease), opacity 0.25s var(--ease);
}

.cursor {
  width: 40px;
  height: 40px;
  border: 1px solid var(--brass-soft);
  mix-blend-mode: difference;
}

.cursor.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(201, 166, 107, 0.12);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--brass);
}

body.is-touch .cursor,
body.is-touch .cursor-dot {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  background: linear-gradient(
    to bottom,
    rgba(18, 16, 14, 0.85),
    rgba(18, 16, 14, 0)
  );
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(18, 16, 14, 0.88);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.7;
  transition: opacity 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.15rem;
  opacity: 0.9;
}

@media (min-width: 780px) {
  .nav {
    display: flex;
  }
}

/* Hero — one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(5.5rem + env(safe-area-inset-top)) var(--pad) 3.5rem;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-img {
  transform: scale(1.08);
  animation: kenburns 18s var(--ease) infinite alternate;
  filter: saturate(0.85) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 14, 0.35) 0%,
      rgba(18, 16, 14, 0.15) 35%,
      rgba(18, 16, 14, 0.72) 70%,
      rgba(18, 16, 14, 0.96) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 70% 30%,
      rgba(201, 166, 107, 0.12),
      transparent 60%
    );
}

@keyframes kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-2%, -1%, 0);
  }
}

.hero-content {
  max-width: 38rem;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.headline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede,
.section-copy {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--brass);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 2.5rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  transform-origin: top;
  animation: pulse-line 2.2s var(--ease) infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (min-width: 780px) {
  .scroll-hint {
    display: flex;
  }
}

.intro,
.catalog,
.closing {
  padding: clamp(4.5rem, 12vw, 8rem) var(--pad);
}

.intro {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse 70% 50% at 10% 0%,
      rgba(201, 166, 107, 0.08),
      transparent 55%
    ),
    var(--bg);
}

.intro-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: end;
    gap: 2rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 1rem;
  background: var(--bg-elevated);
  transition: background 0.35s var(--ease);
}

.stat:hover {
  background: #26201a;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--brass);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 52rem;
}

@media (min-width: 860px) {
  .section-head {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    justify-content: space-between;
  }
}

.product-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  gap: 0.85rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.45s var(--ease), background 0.45s var(--ease);
}

.product::before {
  content: "";
  position: absolute;
  left: calc(var(--pad) * -0.35);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.product:hover::before {
  transform: scaleY(1);
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1.1fr 1.2fr 0.7fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0.5rem;
  }

  .product:hover {
    padding-left: 1.25rem;
    background: linear-gradient(
      90deg,
      rgba(201, 166, 107, 0.06),
      transparent 55%
    );
  }
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-brand {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.product-cat {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.product-measure {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.product-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .product-note {
    grid-column: 1 / 2;
    grid-row: 2;
  }

  .product:has(.product-note) {
    grid-template-rows: auto auto;
  }

  .product:has(.product-note) .product-name,
  .product:has(.product-note) .product-measure,
  .product:has(.product-note) .product-link {
    grid-row: 1 / 3;
    align-self: center;
  }
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    gap 0.3s var(--ease);
}

.product-link:hover {
  color: var(--brass);
  border-color: var(--brass);
  gap: 0.85rem;
}

.break {
  position: relative;
  min-height: 55vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.break-media {
  position: absolute;
  inset: 0;
}

.break-media img {
  filter: brightness(0.45) saturate(0.8);
  transform: scale(1.05);
}

.break-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: var(--pad);
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-style: italic;
  text-align: center;
  max-width: 14ch;
  line-height: 1.15;
}

.closing {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
  background:
    radial-gradient(
      ellipse 60% 70% at 50% 100%,
      rgba(201, 166, 107, 0.12),
      transparent 60%
    ),
    var(--bg);
}

.closing .brand {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.closing-links a {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--brass-soft);
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.closing-links a:hover {
  color: var(--brass);
  border-color: var(--brass);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a:hover {
  color: var(--brass);
}

/* Hero entrance + scroll reveals */
.hero-in,
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.hero-in {
  animation: rise-in 1s var(--ease) forwards;
}

.reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.delay-1 {
  animation-delay: 0.12s;
  transition-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.24s;
  transition-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.36s;
  transition-delay: 0.32s;
}
.delay-4 {
  animation-delay: 0.5s;
  transition-delay: 0.45s;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img,
  .scroll-line {
    animation: none;
  }

  .hero-in,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  body {
    cursor: auto;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }
}
