/* =================================================================
   FATCAT INTERNATIONAL — MAIN STYLESHEET
   Design tokens, base reset, typography, and layout primitives.
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@500;600;700&family=Cormorant:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ---- Color tokens ---- */
  --c-void:        #0a0908;   /* primary background */
  --c-charcoal:    #15130f;   /* section panels */
  --c-charcoal-2:  #1c1a15;   /* elevated panels */
  --c-hairline:    #38332a;   /* borders / rules */
  --c-hairline-lo: #241f19;
  --c-ivory:       #ece6d8;   /* primary text */
  --c-ivory-dim:   #a49c8a;   /* secondary text */
  --c-ivory-faint: #6b6355;   /* tertiary / disabled */
  --c-gold:        #c9a866;   /* primary metallic accent */
  --c-gold-bright: #e8cd8f;   /* hover / glow accent */
  --c-gold-dim:    #8a713f;   /* muted gold for hairlines */
  --c-oxblood:     #7a2222;   /* warm accent, used sparingly */

  /* ---- Type ---- */
  --f-display: 'Cormorant SC', serif;
  --f-serif:   'Cormorant', serif;
  --f-body:    'Inter', -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  /* ---- Spacing scale ---- */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6.5rem;
  --s-7: 10rem;

  /* ---- Layout ---- */
  --max-width: 1440px;
  --gutter: clamp(1.5rem, 4vw, 5rem);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lux-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------------
   RESET
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

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

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; background: none; border: none; }

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

/* Visible focus states for accessibility */
:focus-visible {
  outline: 1px solid var(--c-gold);
  outline-offset: 4px;
}

::selection { background: var(--c-gold-dim); color: var(--c-void); }

/* ---------------------------------------------------------------
   TYPOGRAPHY
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.font-serif { font-family: var(--f-serif); text-transform: none; }

h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.08em; }

p { color: var(--c-ivory-dim); font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold));
}

/* The "hallmark stamp" — signature structural device.
   Used instead of generic 01/02/03 numbering: renders like a
   maker's mark stamped into a metal plate. */
.hallmark {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--c-gold-dim);
  border: 1px solid var(--c-hairline);
  border-radius: 2px;
  padding: 0.3em 0.6em;
  display: inline-block;
}

/* Section headline convention: a thin gold rule above the title,
   like the top bezel edge of a championship center-plate. */
.plate-heading { position: relative; }
.plate-heading::before {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  margin-bottom: var(--s-3);
}

/* ---------------------------------------------------------------
   LAYOUT PRIMITIVES
   --------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-6); position: relative; }
.section--charcoal { background: var(--c-charcoal); }
.section--tight { padding-block: var(--s-5); }

.hairline { border-top: 1px solid var(--c-hairline); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.95em 2.1em;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all 0.5s var(--ease-lux);
  white-space: nowrap;
}

.btn--gold {
  background: var(--c-gold);
  color: var(--c-void);
}
.btn--gold:hover { background: var(--c-gold-bright); box-shadow: 0 0 32px rgba(201, 168, 102, 0.35); }

.btn--ghost {
  border: 1px solid var(--c-hairline);
  color: var(--c-ivory);
}
.btn--ghost:hover { border-color: var(--c-gold); color: var(--c-gold-bright); }

.glow-text {
  text-shadow: 0 0 24px rgba(201, 168, 102, 0.25);
}

/* Golden divider used between major sections */
.gold-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--c-gold-dim) 50%, transparent);
  opacity: 0.5;
}

/* Utility: screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link for keyboard/screen reader users */
.skip-link {
  position: absolute; top: -100px; left: var(--s-2);
  background: var(--c-gold); color: var(--c-void);
  padding: var(--s-1) var(--s-2); z-index: 9999;
  transition: top 0.3s var(--ease-lux);
  font-family: var(--f-mono); font-size: 0.8rem;
}
.skip-link:focus { top: var(--s-2); }

/* Lazy-load fade-in */
img.lazy { opacity: 0; transition: opacity 0.6s var(--ease-lux); }
img.lazy.loaded { opacity: 1; }

/* Generic image placeholder texture (used since no real product
   photography exists — rendered as an elegant gradient plate
   with a monogram, so the layout still reads as premium). */
.plate-art {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201,168,102,0.18), transparent 60%),
    linear-gradient(155deg, #201c15 0%, #0e0d0a 60%, #050403 100%);
  border: 1px solid var(--c-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.plate-art::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 2px, rgba(255,255,255,0.015) 2px 3px);
}
.plate-art .plate-monogram {
  font-family: var(--f-display);
  font-size: 3.2rem;
  color: var(--c-gold-dim);
  opacity: 0.55;
  letter-spacing: 0.05em;
}
.plate-art--wide { aspect-ratio: 16 / 10; }
.plate-art--square { aspect-ratio: 1 / 1; }

@media (max-width: 720px) {
  :root { --s-6: 4.5rem; --s-5: 3rem; }
}
