/* =========================================================================
   CRS — base styles (typography, surfaces, buttons, components, animations)
   ========================================================================= */

html, body { background: #050505; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
}

/* ---------------------------------------------------------------- Typography */
.crs-serif        { font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif; font-weight: 400; }
.crs-serif-italic { font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif; font-style: italic; font-weight: 400; }

.crs-display       { letter-spacing: -0.045em; }
.crs-display-serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  font-weight: 400; letter-spacing: -0.025em;
}

.crs-eyebrow      {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 600;
}
.crs-eyebrow-gold { color: #BFA46A; }

.crs-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(191,164,106,0.85);
  font-size: 11px; letter-spacing: 0.22em;
}

/* ---------------------------------------------------------------- Surfaces */
.crs-section-charcoal { background: #0a0a0a; }
.crs-section-black    { background: #050505; }

.crs-poster {
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(191,164,106,0.18) 0%, rgba(191,164,106,0) 55%),
    radial-gradient(80% 60% at 20% 80%, rgba(60,40,20,0.55) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #0a0907 0%, #0d0b08 40%, #050403 100%);
}
.crs-vignette {
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.8) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 25%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.92) 100%);
}

/* ---------------------------------------------------------------- hf-img base
   The image classes themselves (.bg-img-*) live in images/manifest.css */
.hf-img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #0a0908;
  overflow: hidden;
  isolation: isolate;
}

/* Striped placeholder for missing media (e.g. jet ski photo) */
.hf-placeholder {
  background-color: #0a0908;
  background-image: repeating-linear-gradient(45deg,
    rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px,
    transparent 1px, transparent 11px);
}

/* ---------------------------------------------------------------- Hairlines */
.crs-hair      { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); }
.crs-hair-gold { background: linear-gradient(90deg, transparent, rgba(191,164,106,0.55), transparent); }
.crs-rule      { height: 1px; background: rgba(255,255,255,0.08); }

/* ---------------------------------------------------------------- Animation */
@keyframes crsRise {
  0%   { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.crs-rise    { animation: crsRise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.crs-delay-1 { animation-delay: .12s; }
.crs-delay-2 { animation-delay: .28s; }
.crs-delay-3 { animation-delay: .44s; }
.crs-delay-4 { animation-delay: .60s; }
.crs-delay-5 { animation-delay: .76s; }
.crs-delay-6 { animation-delay: .92s; }
.crs-delay-7 { animation-delay: 1.08s; }

@keyframes crsBob {
  0%, 100% { transform: translateY(0);   opacity: .6; }
  50%      { transform: translateY(6px); opacity: 1;  }
}
.crs-bob { animation: crsBob 2.4s ease-in-out infinite; }

@keyframes crsScrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.crs-scroll-line { animation: crsScrollLine 2.8s cubic-bezier(.4,0,.6,1) infinite; }

@keyframes crsTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.crs-ticker-track { animation: crsTicker 40s linear infinite; }

/* ---------------------------------------------------------------- Placeholder */
.crs-placeholder {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 14px,
      rgba(255,255,255,0.02) 14px, rgba(255,255,255,0.02) 28px),
    linear-gradient(180deg, #131110 0%, #0a0908 100%);
  color: rgba(255,255,255,0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- Buttons */
.crs-btn-primary { background: rgba(255,255,255,0.92); color: #111; }
.crs-btn-primary:hover { background: #fff; }
.crs-btn-gold    { background: #BFA46A; color: #fff; }
.crs-btn-gold:hover    { background: #A88D55; }
.crs-btn-ghost   { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.14); }
.crs-btn-ghost:hover   { background: rgba(255,255,255,0.10); }
.crs-btn-dark    { background: #050505; color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.crs-btn-dark:hover    { background: #111; }

/* ---------------------------------------------------------------- Tag pill */
.crs-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.78);
}
.crs-tag .dot { width: 6px; height: 6px; border-radius: 999px; background: #BFA46A; }

/* ---------------------------------------------------------------- Card */
.crs-card      { transition: background .25s, border-color .25s, transform .35s ease; }
.crs-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.crs-card-lift:hover { transform: translateY(-4px); }

/* ---------------------------------------------------------------- Links */
.crs-link { position: relative; color: #fff; }
.crs-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: #BFA46A; transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.crs-link:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- Decorative */
.crs-corner {
  position: absolute; width: 24px; height: 24px;
  border-color: rgba(191,164,106,0.65); border-style: solid; z-index: 2;
}
.crs-corner.tl { top: 12px; left: 12px;    border-width: 1px 0 0 1px; }
.crs-corner.tr { top: 12px; right: 12px;   border-width: 1px 1px 0 0; }
.crs-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.crs-corner.br { bottom: 12px; right: 12px;border-width: 0 1px 1px 0; }

.crs-monogram {
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- Section header */
.crs-section-mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.crs-section-mark::before {
  content: ""; width: 32px; height: 1px; background: #BFA46A; display: inline-block;
}

/* ---------------------------------------------------------------- Specs row */
.crs-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.crs-spec  { padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.crs-spec .l { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.crs-spec .v { margin-top: 4px; color: #fff; font-weight: 500; font-size: 14px; }
