/* ============================================================
   MASCULINE HUB — DESIGN TOKENS
   Black base #0C0C0C · Gold #C9A648 · White #F5F5F0
   Display: Anton (condensed, heavy) · Body: Barlow
   Signature element: the 3D signet ring, threaded down the page
   ============================================================ */

:root {
  --black: #0C0C0C;
  --black-raised: #161512;
  --black-panel: #1B1916;
  --gold: #C9A648;
  --gold-bright: #E4C878;
  --gold-dim: rgba(201, 166, 72, 0.35);
  --white: #F5F5F0;
  --white-dim: rgba(245, 245, 240, 0.62);
  --white-faint: rgba(245, 245, 240, 0.14);

  --font-display: 'Anton', 'Arial Narrow Bold', sans-serif;
  --font-body: 'Barlow', 'Barlow Condensed', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --section-pad: clamp(4rem, 10vw, 9rem);
  --edge-pad: clamp(1.25rem, 5vw, 4rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; } /* Lenis takes over smooth scroll */

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle marble/column texture on the base black, never flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(201,166,72,0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(201,166,72,0.04), transparent 55%),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px),
    linear-gradient(180deg, #0C0C0C 0%, #100F0D 50%, #0C0C0C 100%);
  pointer-events: none;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035; /* very little, per spec */
  mix-blend-mode: overlay;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.eyebrow {
  font-family: var(--font-condensed);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow.center { text-align: center; }
.section-title { text-align: center; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 3rem; }
.section-title.center { }

/* ============ CANVAS LAYERS ============ */
#particle-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#ring-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ============ CUSTOM CURSOR (desktop only) ============ */
.custom-cursor {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
  display: none;
}
body.has-fine-pointer .custom-cursor { display: block; }
body.has-fine-pointer { cursor: none; }
body.has-fine-pointer a, body.has-fine-pointer button { cursor: none; }
.custom-cursor.is-hover { width: 46px; height: 46px; background: rgba(201,166,72,0.12); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-condensed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  padding: 1rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost { background: transparent; border-color: var(--white-faint); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--outline { background: transparent; border-color: var(--gold-dim); color: var(--gold); }
.btn--outline:hover { border-color: var(--gold); background: rgba(201,166,72,0.08); }
.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.82rem; width: 100%; justify-content: center; }
.btn--lg { padding: 1.3rem 2.6rem; font-size: 1.05rem; }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.play-icon { font-size: 0.7rem; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 1.1rem var(--edge-pad);
  background: linear-gradient(180deg, rgba(12,12,12,0.85), transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; }
.logo__mark {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}
.logo__mark--lg { font-size: 2.1rem; }
.logo__tag {
  font-family: var(--font-condensed);
  color: var(--white);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.header-nav { display: flex; gap: 2rem; }
.header-nav a {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
}
.header-nav a:hover { color: var(--gold-bright); }
@media (max-width: 640px) { .header-nav { display: none; } }

/* ============ STICKY BUY BAR ============ */
.sticky-buy {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 140%);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(22,21,18,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-dim);
  padding: 0.7rem 0.9rem 0.7rem 1.4rem;
  border-radius: 999px;
  transition: transform 0.5s var(--ease-out);
}
.sticky-buy.is-visible { transform: translate(-50%, 0); }
.sticky-buy__label { font-family: var(--font-condensed); font-size: 0.85rem; letter-spacing: 0.03em; }
.sticky-buy__inr { color: var(--white-dim); }
@media (max-width: 560px) {
  .sticky-buy { width: calc(100% - 2rem); justify-content: space-between; }
  .sticky-buy__label { font-size: 0.72rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--edge-pad) 4rem;
  overflow: hidden;
}

/* scroll-scrub sequence hook — sits above particle field, below the words,
   framed by a border so it never fights the headline for contrast */
.hero__scrub {
  position: absolute;
  inset: 4vh 4vw;
  z-index: 1;
  border: 1px solid var(--white-faint);
  border-radius: 2px;
  overflow: hidden;
}
.hero__scrub-fallback {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent 49.6%, var(--gold-dim) 50%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, var(--gold-dim) 50%, transparent 50.4%);
}
.hero__scrub-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* keeps the headline readable over the busy product-reveal frames */
.hero__scrub-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(12,12,12,0.86), rgba(12,12,12,0.55) 60%, rgba(12,12,12,0.15) 100%);
}

.hero__frame { position: relative; z-index: 3; max-width: 900px; }
.hero__headline {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1.02;
}
.word { display: inline-block; }
.word--gold { color: var(--gold); }
.word--white { color: var(--white); }

.hero__sub {
  margin: 1.75rem auto 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--white-dim);
  font-weight: 500;
}
.hero__actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll-cue span {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
.hero__scroll-cue p {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}
@keyframes scrollcue { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* reveal-on-load states, driven by JS adding .is-revealed */
.word, .reveal-line {
  opacity: 0;
  transform: translateY(0.6em);
  filter: blur(6px);
}
.is-revealed .word,
.reveal-line.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}

/* ============ VSL MODAL ============ */
.vsl-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.vsl-modal.is-open { display: flex; }
.vsl-modal__backdrop { position: absolute; inset: 0; background: rgba(5,5,4,0.9); }
.vsl-modal__panel {
  position: relative;
  width: min(960px, 100%);
  border: 1px solid var(--gold-dim);
  background: var(--black-raised);
}
.vsl-modal__video { position: relative; aspect-ratio: 16/9; }
.vsl-modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.vsl-modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: 1px solid var(--white-faint);
  color: var(--white);
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
}

/* ============ AGITATION (pinned storytelling) ============ */
.agitation {
  position: relative;
  z-index: 3;
}
.pin-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--edge-pad);
  text-align: left;
}
.agitation__line {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.agitation__body {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 52ch;
}

/* ============ RING ANCHOR DIVIDER ============ */
.ring-anchor {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-anchor__rule {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold-dim), transparent);
}

/* ============ PRODUCTS ============ */
.products {
  position: relative;
  z-index: 3;
  padding: var(--section-pad) var(--edge-pad);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--white-faint);
  border-bottom: 1px solid var(--white-faint);
  padding: 0.9rem 0;
  margin-bottom: 4rem;
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--white-dim);
  text-transform: uppercase;
}
.marquee__track span::after { content: "◆"; margin-left: 3rem; color: var(--gold-dim); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  position: relative;
  background: var(--black-panel);
  border: 1px solid var(--white-faint);
  padding: 1.4rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.product-card::before,
.product-card::after {
  /* corner flourish, per brand system */
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-top: 1px solid var(--gold-dim);
  border-left: 1px solid var(--gold-dim);
  top: 8px; left: 8px;
}
.product-card::after {
  top: auto; left: auto; bottom: 8px; right: 8px;
  border-top: none; border-left: none;
  border-bottom: 1px solid var(--gold-dim);
  border-right: 1px solid var(--gold-dim);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.product-card--flagship {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,166,72,0.07), var(--black-panel) 40%);
}
.product-card__ring-accent { position: absolute; top: -1.6rem; right: -0.6rem; width: 64px; height: 64px; pointer-events: none; }

.product-card__art {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--black-raised);
  border: 1px solid var(--white-faint);
  margin-bottom: 1.1rem;
}
.product-card__art--gold { border-color: var(--gold-dim); }
.product-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-card__art img { transform: scale(1.04); }

/* still available if any placeholder slot is ever needed again */
.placeholder-art {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(201,166,72,0.05) 0 2px, transparent 2px 14px),
    var(--black-raised);
  border: 1px dashed var(--gold-dim);
  margin-bottom: 1.1rem;
}
.placeholder-art--gold { border-style: solid; }
.placeholder-art__mark {
  font-family: var(--font-display);
  color: var(--gold-dim);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}
.product-card h3 { font-family: var(--font-condensed); font-size: 1.05rem; text-transform: none; margin-bottom: 0.3rem; letter-spacing: 0; }
.product-card__meta { font-size: 0.8rem; color: var(--white-dim); margin-bottom: 0.6rem; }
.product-card__price { font-family: var(--font-condensed); font-weight: 700; font-size: 1.3rem; color: var(--gold-bright); margin-bottom: 1rem; }
.product-card__price span { font-size: 0.85rem; color: var(--white-dim); font-weight: 500; }
.flagship-tag {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.6rem;
}

.email-gate {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 0.6rem;
}
.email-gate input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  background: var(--black);
  border: 1px solid var(--white-faint);
  color: var(--white);
  padding: 0.65rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 2px;
}
.email-gate input:focus { border-color: var(--gold); }
.email-gate__hint {
  font-size: 0.7rem;
  color: var(--white-dim);
  margin-top: 0.5rem;
}
.email-gate__hint.is-valid { color: var(--gold-bright); }

.placeholder-note {
  text-align: center;
  max-width: 50ch;
  margin: 3rem auto 0;
  font-size: 0.8rem;
  color: var(--white-dim);
}
.placeholder-note code { color: var(--gold); }

/* ============ OFFER STACK ============ */
.offer {
  position: relative;
  z-index: 3;
  padding: var(--section-pad) var(--edge-pad);
  text-align: center;
}
.offer-stack {
  list-style: none;
  margin: 0 auto 3rem;
  padding: 0;
  max-width: 560px;
  border-top: 1px solid var(--white-faint);
}
.offer-stack li {
  display: flex;
  justify-content: space-between;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--white-faint);
  font-family: var(--font-condensed);
  font-size: 1.05rem;
}
.offer-stack__price { color: var(--white-dim); }
.offer-stack__total {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 1.25rem;
  border-bottom: none;
  padding-top: 1.5rem;
}
.offer-stack__total .offer-stack__price { color: var(--gold-bright); }
.offer-stack__inr { color: var(--white-dim); font-weight: 500; font-size: 0.9rem; }

/* ============ GUARANTEE ============ */
.guarantee {
  position: relative;
  z-index: 3;
  padding: var(--section-pad) var(--edge-pad);
  display: flex;
  justify-content: center;
}
.guarantee__panel {
  max-width: 620px;
  text-align: center;
  border: 1px solid var(--gold-dim);
  padding: 3rem 2rem;
}
.guarantee__panel h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.75rem 0 1.25rem; }
.guarantee__panel p { color: var(--white-dim); }
.guarantee__panel a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ============ FINAL CTA ============ */
.final-cta {
  position: relative;
  z-index: 3;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
  padding: var(--section-pad) var(--edge-pad);
}
.final-cta__line { font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.08; }

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--white-faint);
  padding: 3.5rem var(--edge-pad) 2.5rem;
  text-align: center;
}
.footer-logo { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; margin-bottom: 1.75rem; }
.footer-links { display: flex; gap: 1.75rem; justify-content: center; margin-bottom: 1.75rem; }
.footer-links a { font-family: var(--font-condensed); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white-dim); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-fine { font-size: 0.75rem; color: var(--white-dim); opacity: 0.6; }
.footer-fine--credit { font-size: 0.68rem; margin-top: 0.4rem; opacity: 0.45; }
.footer-fine--credit a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .word, .reveal-line { opacity: 1 !important; transform: none !important; filter: none !important; }
  #ring-canvas { display: none; }
}

/* ============ MOBILE-FIRST ADJUSTMENTS (base styles above already fluid; refine below 480) ============ */
@media (max-width: 480px) {
  .hero__scrub { inset: 3vh 3vw; opacity: 0.35; }
  .pin-panel { min-height: auto; padding-top: 4rem; padding-bottom: 4rem; }
  .agitation { display: block; }
}
