/* ==========================================================================
   CrimeOnRecord.com — one-page landing
   Palette sampled from the comp: near-black ground, red #d0202c, grey copy.
   Type: Anton (hero), Oswald (nav/section labels), Inter (body),
         Roboto Mono (record-style labels).
   ========================================================================== */

:root {
  --black: #070707;
  --ink: #0d0d0d;
  --panel: #131313;
  --panel-2: #1a1a1a;
  --line: #262626;
  --line-2: #333;
  --white: #f4f4f4;
  --grey: #b9b9b9;
  --grey-2: #8a8a8a;
  --red: #d0202c;
  --red-dark: #8f0f18;
  --red-glow: rgba(208, 32, 44, .35);

  --display: 'Anton', 'Oswald', Impact, sans-serif;
  --head: 'Oswald', 'Inter', sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, Menlo, monospace;

  --container: 1240px;
  --nav-h: 76px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--grey);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.red { color: var(--red); }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 26px;
  font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .02em;
  color: #fff; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--red {
  background: linear-gradient(180deg, #e0303c 0%, var(--red) 55%, #a8141f 100%);
  border-color: #ff5a64;
  box-shadow: 0 6px 22px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--red:hover { box-shadow: 0 8px 28px rgba(208,32,44,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost {
  background: rgba(10,10,10,.55);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 17px 32px; font-size: 19px; }
.btn--sm { padding: 10px 20px; font-size: 15px; }

/* -------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(7,7,7,.96), rgba(7,7,7,.88));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.nav__brand { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.nav__brand img { width: 250px; height: auto; }
.nav__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--grey-2); padding-left: 56px; white-space: nowrap;
}
.nav__tag em { font-style: normal; color: var(--red); }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-family: var(--head); font-weight: 500; font-size: 15px; letter-spacing: .04em;
  color: var(--white); padding: 6px 0; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav__burger span { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
  background: rgba(7,7,7,.98); padding: 32px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.btn) {
  font-family: var(--head); font-size: 24px; color: #fff; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav__mobile .btn { margin-top: 24px; }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 0% 40%, rgba(150, 10, 20, .45), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(150, 10, 20, .35), transparent 70%),
    linear-gradient(180deg, #0c0c0c, #060606);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid {
  /* full-width grid so the evidence board bleeds to the right edge like the comp;
     the copy column keeps the container's left gutter. */
  position: relative; z-index: 2; width: 100%;
  padding-left: max(24px, calc((100% - var(--container)) / 2));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: stretch;
  min-height: 680px;
}
.hero__copy {
  align-self: center;
  padding: 64px 48px 230px 0;
}
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--grey-2); margin-bottom: 22px;
}
.hero__title {
  font-family: var(--display); font-weight: 400; line-height: .92;
  font-size: clamp(56px, 7.4vw, 108px); letter-spacing: .005em;
  color: #fff; text-transform: none;
  text-shadow: 0 6px 30px rgba(0,0,0,.8);
}
.hero__title span { display: block; }
.hero__title .red { color: var(--red); text-shadow: 0 0 40px rgba(208,32,44,.35), 0 6px 30px rgba(0,0,0,.8); }
.hero__lede {
  margin-top: 28px; max-width: 540px;
  font-size: 19px; line-height: 1.55; color: #e6e6e6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__tagline {
  display: flex; align-items: center; gap: 14px; margin-top: 34px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--grey-2);
}
.hero__tagline .bar { width: 3px; height: 22px; background: var(--red); flex: none; }

.hero__art { position: relative; }
.hero__art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 100%);
}
.hero__art::before {
  /* red flare from the street lights bleeding into the copy column */
  content: ''; position: absolute; left: -30%; top: 30%; width: 60%; height: 70%;
  background: radial-gradient(closest-side, rgba(208,32,44,.22), transparent);
  pointer-events: none;
}
.hero__desk {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  width: min(52vw, 760px); height: 230px; pointer-events: none;
}
.hero__desk img {
  width: 100%; height: 100%; object-fit: cover; object-position: left 40%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%), linear-gradient(90deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent 0, #000 45%), linear-gradient(90deg, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* -------------------------------------------------------------- sections */
.section { padding: 64px 0 24px; }
.section--tight { padding-top: 40px; }
.section__head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.section__title {
  font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; padding-left: 18px; position: relative; line-height: 1.3;
}
.section__title::before {
  content: ''; position: absolute; left: 0; top: -4px; bottom: -4px; width: 4px; background: var(--red);
}
.section__more {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--red);
}
.section__more span { display: inline-block; transition: transform .2s; }
.section__more:hover span { transform: translateX(4px); }
.section__mono { font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-2); }

/* -------------------------------------------------------------- featured */
.featured {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch;
  background: linear-gradient(180deg, var(--panel), #0f0f0f);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.featured__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.featured__media:hover img { transform: scale(1.03); }
.featured__body {
  padding: 36px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
  position: relative; z-index: 1;
}
.badge {
  font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  background: var(--red); color: #fff; padding: 5px 10px; border-radius: 3px;
}
.featured__title { font-family: var(--head); font-weight: 600; font-size: 30px; line-height: 1.15; color: #fff; }
.featured__desc { font-size: 15px; line-height: 1.6; max-width: 460px; }
.meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--grey-2); }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 15px; height: 15px; fill: currentColor; }
.featured__note {
  position: absolute; right: 36px; bottom: 30px; z-index: 0;
  font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 22px; line-height: 1.15; color: #fff; opacity: .55; transform: rotate(-7deg);
  text-align: right; pointer-events: none;
}
.featured__note::after {
  content: ''; display: block; height: 2px; width: 80%; margin: 6px 0 0 auto;
  background: var(--red); transform: rotate(2deg);
}
.play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.85);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.play svg { width: 36px; height: 36px; fill: #fff; margin-left: 4px; }
.play--sm { width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: 0; }
.play--sm svg { width: 26px; height: 26px; }
.featured__media:hover .play, .video__media:hover .play { background: var(--red); transform: scale(1.06); }
.video__media:hover .play--sm { opacity: 1; }
.featured__media.is-placeholder :is(.play, .duration) { display: none; }
.duration {
  position: absolute; right: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: #fff;
  background: rgba(0,0,0,.8); padding: 3px 7px; border-radius: 3px;
}

/* -------------------------------------------------------------- videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.video { display: flex; flex-direction: column; gap: 12px; }
.video__media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border: 1px solid var(--line); border-radius: 6px;
}
.video__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video__media:hover img { transform: scale(1.04); }
.video__title { font-family: var(--head); font-weight: 500; font-size: 18px; line-height: 1.3; color: #fff; }
.video__title a:hover { color: var(--red); }
.video__meta { font-size: 13px; color: var(--grey-2); margin-top: 4px; }
.video__meta i { font-style: normal; padding: 0 4px; }

/* -------------------------------------------------------------- records */
.records { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.record {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; transition: border-color .2s, transform .2s;
}
.record:hover { border-color: var(--line-2); transform: translateY(-2px); }
.record__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.record__head svg { width: 34px; height: 34px; color: #fff; flex: none; }
.record__head svg .red-stroke { stroke: var(--red); }
.record h3 { font-family: var(--head); font-weight: 600; font-size: 19px; color: #fff; }
.record p { font-size: 14px; line-height: 1.6; }

/* -------------------------------------------------------------- why */
.why {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: 40px; align-items: center;
  padding-bottom: 40px;
}
.why__big { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; color: #fff; }
.why__text { font-size: 15px; line-height: 1.7; max-width: 420px; }
.why__pills { display: flex; gap: 12px; }
.why__pills li {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  width: 130px; padding: 22px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--head); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; line-height: 1.35;
}
.why__pills svg { width: 34px; height: 34px; color: #fff; }

/* -------------------------------------------------------------- subscribe */
.subscribe {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #1a0507 0%, #150507 35%, #0e0e0e 70%, #0b0b0b 100%);
  border-top: 1px solid #2a1214; border-bottom: 1px solid #2a1214;
  padding: 48px 0;
}
.subscribe__print {
  position: absolute; left: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; color: var(--red); opacity: .28; pointer-events: none;
}
.subscribe__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  padding-left: 120px;
}
.subscribe__copy h2 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.05; color: #fff; }
.subscribe__copy p { font-size: 15px; margin-top: 8px; color: #cfcfcf; }
.subscribe__form { display: grid; grid-template-columns: minmax(280px, 340px) auto; gap: 12px; align-items: center; }
.field { position: relative; }
.field svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: var(--grey-2); pointer-events: none; }
.field input {
  width: 100%; height: 54px; padding: 0 16px 0 46px;
  background: #fff; color: #111; border: 1px solid #ddd; border-radius: 6px; outline: none;
}
.field input::placeholder { color: #888; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,32,44,.25); }
.subscribe__form .btn { height: 54px; }
.form__note { grid-column: 1 / -1; font-size: 11px; color: var(--grey-2); text-align: right; letter-spacing: .04em; }
.form__status { grid-column: 1 / -1; font-size: 14px; min-height: 1.4em; }
.form__status.is-ok { color: #7ee2a0; }
.form__status.is-err { color: #ff7b84; }

/* -------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding-bottom: 56px; }
.contact__copy h3 { font-family: var(--head); font-weight: 600; font-size: 28px; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.contact__copy p { font-size: 15px; line-height: 1.7; }
.contact__mono { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey-2); margin-top: 18px; }
.contact__form {
  display: grid; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form label { display: grid; gap: 6px; }
.contact__form label span { font-family: var(--head); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; padding: 12px 14px; background: #0b0b0b; color: #fff;
  border: 1px solid var(--line-2); border-radius: 6px; outline: none; resize: vertical;
}
.contact__form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact__form :is(input, select, textarea):focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,32,44,.2); }
.contact__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact__actions .form__status { flex: 1; min-width: 200px; }

/* -------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; background: #050505; }
.footer__grid { display: grid; grid-template-columns: 320px 1fr 400px; gap: 40px; align-items: start; }
.footer__brand img { width: 250px; height: auto; }
.footer__copy { font-size: 12px; color: var(--grey-2); margin-top: 34px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; padding-top: 14px; }
.footer__links a { font-family: var(--head); font-size: 14px; letter-spacing: .04em; color: #fff; }
.footer__links a:hover { color: var(--red); }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 6px; color: #fff; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--red); color: var(--red); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__disclaimer { font-size: 12px; line-height: 1.6; color: var(--grey-2); }
.footer__mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--grey); white-space: nowrap; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .why { grid-template-columns: 1fr 1fr; }
  .why__pills { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-column: 1 / -1; justify-content: flex-start; padding-top: 0; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 56px 0 40px; }
  .hero__art { height: 440px; }
  .hero__art img { object-position: 20% 20%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%); mask-image: linear-gradient(180deg, transparent 0, #000 25%); }
  .hero__desk { display: none; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { aspect-ratio: 16 / 9; min-height: 0; }
  .featured__note { display: none; }
  .subscribe__inner { grid-template-columns: 1fr; padding-left: 0; }
  .subscribe__print { opacity: .12; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 32px); }
  :root { --nav-h: 66px; }
  .nav__brand img { width: 190px; }
  .nav__tag { display: none; }
  .hero__title { font-size: clamp(52px, 15vw, 72px); }
  .eyebrow, .hero__tagline { font-size: 10px; letter-spacing: .18em; }
  .hero__art { height: 380px; }
  .footer__mono { white-space: normal; }
  .hero__lede { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .featured__body { padding: 24px 22px; }
  .featured__title { font-size: 24px; }
  .why { grid-template-columns: 1fr; gap: 24px; }
  .why__pills { flex-wrap: wrap; }
  .why__pills li { width: calc(50% - 6px); }
  .subscribe__copy h2 { font-size: 32px; }
  .subscribe__form { grid-template-columns: 1fr; }
  .subscribe__form .btn { width: 100%; }
  .contact__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__right { align-items: flex-start; text-align: left; }
}
