/* =========================================================
   DÉTECTIVE — Landing styles
   Palette inspired by the poster: deep teal, aged paper,
   brass gold, oxblood red.
   ========================================================= */

:root {
  --teal-900: #14272a;
  --teal-800: #1a3438;
  --teal-700: #234448;
  --teal-600: #2c5358;
  --paper:   #efe3c7;
  --paper-2: #d9c79f;
  --paper-3: #b39c69;
  --ink:     #1d1813;
  --ink-2:   #3a2f24;
  --brass:   #c9a14a;
  --brass-2: #e7c878;
  --brass-3: #8a6a25;
  --blood:   #8a2820;
  --shadow:  0 24px 60px rgba(0,0,0,.45);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--paper);
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(201,161,74,.08), transparent 60%),
    radial-gradient(1000px 600px at -10% 30%, rgba(138,40,32,.10), transparent 60%),
    var(--teal-900);
  overflow-x: hidden;
}

/* paper-noise overlay for whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .35;
  mix-blend-mode: overlay;
}

main, section, header, footer { position: relative; z-index: 1; }

::selection { background: var(--brass); color: var(--ink); }

/* ---------- typography ---------- */
.section-title,
.hero-title,
.brand-text {
  font-family: "Alfa Slab One", "Playfair Display", Georgia, serif;
  letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}

.kicker {
  font-family: "Special Elite", "Courier New", monospace;
  letter-spacing: .12em;
  color: var(--brass-2);
  text-transform: uppercase;
  font-size: .85rem;
}

em {
  font-style: italic;
  color: var(--brass-2);
}

a { color: var(--brass-2); text-decoration: none; }
a:hover { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  font-family: "Special Elite", "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: .65rem 1.2rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }

.btn-brass {
  background: linear-gradient(180deg, var(--brass-2), var(--brass) 55%, var(--brass-3));
  color: var(--ink);
  border-color: var(--brass-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4),
              0 6px 0 rgba(0,0,0,.35),
              0 8px 16px rgba(0,0,0,.35);
}
.btn-brass:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5),
              0 8px 0 rgba(0,0,0,.35),
              0 12px 22px rgba(0,0,0,.4);
}
.btn-brass:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 0 rgba(0,0,0,.35); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(239,227,199,.4);
}
.btn-ghost:hover {
  background: rgba(239,227,199,.08);
  color: var(--paper);
  border-color: var(--brass-2);
}

/* ---------- navbar ---------- */
.noir-nav {
  background: rgba(20,39,42,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,161,74,.15);
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
  padding: .9rem 0;
}
.noir-nav.scrolled {
  background: rgba(15,30,33,.92);
  border-bottom-color: rgba(201,161,74,.35);
  padding: .55rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--brass-2), var(--brass) 60%, var(--brass-3));
  color: var(--ink);
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 10px rgba(0,0,0,.5);
}
.brand-text {
  font-size: 1.35rem;
  color: var(--paper);
  letter-spacing: .15em;
}

.navbar .nav-link {
  color: var(--paper);
  font-family: "Special Elite", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
  padding: .4rem .25rem;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute; left: 50%; right: 50%; bottom: -2px;
  height: 2px; background: var(--brass-2);
  transition: left .2s ease, right .2s ease;
}
.navbar .nav-link:hover { color: var(--brass-2); }
.navbar .nav-link:hover::after { left: 0; right: 0; }

.navbar-toggler {
  border-color: rgba(239,227,199,.35);
  color: var(--paper);
}
.navbar-toggler-icon {
  filter: invert(.85) sepia(.4) saturate(2);
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  padding: 9rem 0 6rem;
  background:
    radial-gradient(900px 600px at 70% 40%, rgba(201,161,74,.12), transparent 60%),
    radial-gradient(700px 500px at 20% 70%, rgba(138,40,32,.18), transparent 65%),
    linear-gradient(180deg, var(--teal-800) 0%, var(--teal-900) 100%);
  position: relative;
  overflow: hidden;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.case-stamp {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: "Special Elite", monospace;
  font-size: .8rem; letter-spacing: .18em;
  color: var(--blood);
  padding: .35rem .85rem;
  border: 1.5px solid var(--blood);
  border-radius: 2px;
  background: rgba(239,227,199,.06);
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.case-stamp strong { font-weight: 700; }
.case-stamp .dot {
  width: 4px; height: 4px; background: var(--blood); border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  color: var(--paper);
  margin: 0;
}
.hero-title span { display: block; }
.hero-title .accent {
  color: var(--brass-2);
  -webkit-text-stroke: 1px rgba(0,0,0,.25);
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 38rem;
  color: rgba(239,227,199,.85);
}

.hero-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-family: "Special Elite", monospace;
  font-size: .85rem; letter-spacing: .08em;
  color: rgba(239,227,199,.7);
  text-transform: uppercase;
  border-top: 1px solid rgba(201,161,74,.25);
  padding-top: 1.2rem;
}
.hero-meta i { color: var(--brass-2); margin-right: .35rem; }

/* poster frame */
.poster-frame {
  position: relative;
  transform: rotate(2deg);
  transition: transform .4s ease;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
}
.poster-frame:hover { transform: rotate(0deg) scale(1.02); }
.poster-img {
  width: 100%;
  border: 6px solid var(--paper-2);
  border-radius: 2px;
  display: block;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.4),
    0 10px 30px rgba(0,0,0,.5);
}
.poster-tape {
  position: absolute;
  width: 110px; height: 26px;
  background: rgba(239,227,199,.55);
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 4px 8px rgba(0,0,0,.25);
}
.tape-tl { top: -14px; left: 22px; transform: rotate(-6deg); }
.tape-br { bottom: -12px; right: 18px; transform: rotate(4deg); }

/* scroll cue */
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "Special Elite", monospace;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(239,227,199,.6);
  z-index: 2;
}
.hero-scroll i {
  display: block;
  font-size: 1.4rem;
  margin-top: .2rem;
  color: var(--brass-2);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

/* ---------- generic section ---------- */
.section { padding: 6rem 0; }
.section-head { max-width: 56ch; margin: 0 auto; text-align: center; }
.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--paper);
  margin: .5rem 0 1rem;
}
.section-sub { color: rgba(239,227,199,.78); font-size: 1.1rem; }

/* divider between sections (case-file thread) */
.section + .section::before {
  content: "";
  display: block;
  height: 1px;
  width: 60%;
  margin: -3rem auto 4rem;
  background: linear-gradient(90deg, transparent, var(--brass-3), transparent);
  opacity: .6;
}

/* ---------- features ---------- */
.section-features { background: linear-gradient(180deg, var(--teal-900), var(--teal-800)); }

.feature-card {
  position: relative;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(239,227,199,.97), rgba(217,199,159,.94));
  color: var(--ink-2);
  border-radius: 4px;
  padding: 2rem 1.6rem 1.8rem;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.06),
    0 18px 40px rgba(0,0,0,.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px dashed rgba(58,47,36,.4);
  border-radius: 2px;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.5); }

.feature-num {
  position: absolute; top: -12px; right: 14px;
  font-family: "Alfa Slab One", serif;
  font-size: 1.6rem;
  color: var(--brass);
  background: var(--teal-900);
  padding: .15rem .6rem;
  border: 1.5px solid var(--brass-3);
  border-radius: 2px;
  letter-spacing: .08em;
}
.feature-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink-2);
  border-radius: 50%;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--ink-2);
  background: rgba(255,255,255,.3);
}
.feature-card h3 {
  font-family: "Alfa Slab One", serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: .6rem;
}
.feature-card p { margin: 0; font-size: 1.02rem; }
.feature-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: "Special Elite", monospace;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blood);
  border-top: 1px dashed var(--ink-2);
  padding-top: .6rem;
}

/* ---------- suspects ---------- */
.section-suspects {
  background:
    linear-gradient(180deg, var(--teal-800), var(--teal-900));
}
.section-suspects .section-head { color: var(--paper); }

.suspects-grid { row-gap: 1.5rem; }

.suspect-card {
  text-align: center;
  background: rgba(239,227,199,.04);
  border: 1px solid rgba(201,161,74,.2);
  padding: .8rem .8rem 1.1rem;
  border-radius: 3px;
  transition: transform .25s ease, border-color .25s ease, background .25s;
}
.suspect-card:hover {
  transform: translateY(-4px) rotate(-.5deg);
  border-color: var(--brass-2);
  background: rgba(239,227,199,.08);
}

.mug {
  position: relative;
  aspect-ratio: 3/4;
  background:
    linear-gradient(180deg, #2a4347, #1b2f33);
  border: 1px solid rgba(0,0,0,.5);
  box-shadow: inset 0 0 30px rgba(0,0,0,.5);
  display: grid; place-items: center;
  margin-bottom: .8rem;
  overflow: hidden;
  border-radius: 2px;
}
.mug-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 22px,
    rgba(255,255,255,.04) 22px 24px
  );
  pointer-events: none;
}
.mug-id {
  position: absolute; top: 8px; left: 8px;
  font-family: "Special Elite", monospace;
  font-size: .7rem;
  color: var(--blood);
  background: var(--paper);
  padding: .1rem .35rem;
  border-radius: 1px;
  letter-spacing: .1em;
}
.mug-initials {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: rgba(239,227,199,.85);
  text-shadow: 0 2px 0 rgba(0,0,0,.5);
  letter-spacing: .04em;
}
.mug::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 22%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
}

.suspect-card h4 {
  font-family: "Alfa Slab One", serif;
  font-size: 1rem;
  color: var(--paper);
  margin: 0;
  letter-spacing: .04em;
}
.suspect-card .role {
  font-family: "Special Elite", monospace;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--brass-2);
  text-transform: uppercase;
  margin: .15rem 0 .35rem;
}
.suspect-card .mobile {
  font-size: .85rem;
  color: rgba(239,227,199,.6);
  margin: 0;
  font-style: italic;
}

.suspects-foot {
  text-align: center;
  font-family: "Special Elite", monospace;
  letter-spacing: .08em;
  color: var(--brass-2);
  font-size: .9rem;
  text-transform: uppercase;
}
.suspects-foot i { color: var(--blood); margin-right: .3rem; }

/* ---------- dossier / steps ---------- */
.section-dossier {
  background:
    radial-gradient(800px 500px at 90% 20%, rgba(201,161,74,.08), transparent 60%),
    var(--teal-900);
}
.section-dossier .section-title { color: var(--paper); }

.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 1rem;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.4rem 1.4rem 1.4rem 1rem;
  background:
    linear-gradient(180deg, rgba(239,227,199,.95), rgba(217,199,159,.92));
  color: var(--ink-2);
  border-radius: 3px;
  border-left: 4px solid var(--brass);
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
  transform: rotate(-.4deg);
}
.steps li:nth-child(2) { transform: rotate(.5deg); }
.steps li:nth-child(3) { transform: rotate(-.3deg); }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  font-family: "Alfa Slab One", serif;
  font-size: 1.5rem;
  color: var(--paper);
  background: var(--teal-800);
  border-radius: 50%;
  border: 2px solid var(--brass-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.steps h4 {
  font-family: "Alfa Slab One", serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 .25rem;
}
.steps p { margin: 0; }

/* ---------- press / testimonials ---------- */
.section-press { background: linear-gradient(180deg, var(--teal-900), var(--teal-800)); }

.press-card {
  height: 100%;
  margin: 0;
  padding: 2rem 1.6rem;
  background: rgba(239,227,199,.04);
  border: 1px solid rgba(201,161,74,.25);
  border-radius: 3px;
  position: relative;
  transition: border-color .2s, background .2s, transform .2s;
}
.press-card:hover { border-color: var(--brass-2); background: rgba(239,227,199,.08); transform: translateY(-3px); }
.press-card::before {
  content: "“";
  position: absolute;
  top: -2.4rem; left: .6rem;
  font-family: "Alfa Slab One", serif;
  font-size: 6rem;
  color: var(--brass-3);
  line-height: 1;
}
.press-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--paper);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.press-card figcaption {
  font-family: "Special Elite", monospace;
  font-size: .85rem;
  letter-spacing: .08em;
  color: rgba(239,227,199,.7);
}
.press-card figcaption span {
  display: inline-block;
  margin-left: .4rem;
  color: var(--brass-2);
}

/* ---------- CTA ---------- */
.section-cta { padding: 4rem 0; }

.cta-card {
  background:
    radial-gradient(800px 300px at 0% 0%, rgba(201,161,74,.18), transparent 60%),
    linear-gradient(180deg, var(--teal-700), var(--teal-800));
  border: 1px solid rgba(201,161,74,.4);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 30px 60px rgba(0,0,0,.5);
  position: relative;
  overflow: hidden;
}
.cta-card::before, .cta-card::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--brass-2);
}
.cta-card::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.cta-card::after  { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.cta-card .section-title { color: var(--paper); }

/* ---------- footer ---------- */
.site-footer {
  background: #0e1d1f;
  color: rgba(239,227,199,.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(201,161,74,.2);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--brass-3) 0 12px, transparent 12px 22px);
  opacity: .55;
}
.site-footer h5 {
  font-family: "Alfa Slab One", serif;
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--paper);
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
}
.site-footer ul li { margin-bottom: .4rem; }
.site-footer a { color: rgba(239,227,199,.75); }
.site-footer a:hover { color: var(--brass-2); }

.footer-blurb { font-size: .95rem; max-width: 32ch; }

.socials a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,161,74,.35);
  border-radius: 50%;
  color: var(--paper);
  transition: background .2s, color .2s, border-color .2s;
}
.socials a:hover {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.newsletter .form-control {
  background: rgba(239,227,199,.06);
  border: 1px solid rgba(201,161,74,.35);
  color: var(--paper);
  font-family: "Crimson Pro", serif;
}
.newsletter .form-control::placeholder { color: rgba(239,227,199,.45); }
.newsletter .form-control:focus {
  background: rgba(239,227,199,.1);
  border-color: var(--brass-2);
  box-shadow: 0 0 0 3px rgba(201,161,74,.2);
  color: var(--paper);
}
.newsletter .btn { padding: .5rem .9rem; }
.form-msg {
  display: block;
  margin-top: .5rem;
  font-family: "Special Elite", monospace;
  letter-spacing: .08em;
  color: var(--brass-2);
  min-height: 1.2em;
}

.footer-rule {
  border-color: rgba(201,161,74,.18);
  margin: 2.5rem 0 1.2rem;
}

.footer-bottom {
  font-family: "Special Elite", monospace;
  font-size: .8rem;
  letter-spacing: .08em;
  color: rgba(239,227,199,.55);
}
.footer-bottom a { color: rgba(239,227,199,.7); }
.footer-bottom a:hover { color: var(--brass-2); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

.navbar .nav-link.active { color: var(--brass-2); }
.navbar .nav-link.active::after { left: 0; right: 0; }

/* ---------- responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .noir-nav .navbar-collapse {
    background: rgba(15,30,33,.97);
    margin-top: .8rem;
    padding: 1rem 1.2rem;
    border-radius: 4px;
    border: 1px solid rgba(201,161,74,.25);
  }
  .navbar .nav-link { padding: .6rem 0; }
  .hero { padding-top: 7rem; }
  .poster-frame { transform: rotate(0); margin-top: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }
  .cta-card { padding: 2rem 1.4rem; }
}

@media (max-width: 575.98px) {
  .hero-meta { gap: .6rem 1.2rem; font-size: .75rem; }
  .section { padding: 4.5rem 0; }
  .case-stamp { font-size: .7rem; }
}
