/* Red Rose Investigations
   Mobile-first, accessible, professional navy / white
*/

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("fonts/source-sans-pro-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("fonts/source-sans-pro-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("fonts/source-sans-pro-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("fonts/source-sans-pro-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #0b1f33;
  --navy-deep: #07141f;
  --navy-mid: #143049;
  --navy-soft: #1b3b58;
  --gold: #c4a35a;
  --gold-light: #e0c98a;
  --rose: #8f2d3a;
  --ink: #14202b;
  --muted: #3a4a56;
  --line: #d9d3c6;
  --paper: #f6f3ed;
  --white: #fffcf7;
  --card: #ffffff;
  --focus: #c4a35a;
  --error: #8b2e2e;
  --max: 72rem;
  --header-h: 4.5rem;
  --radius: 2px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy-mid);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--rose); }

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

/* Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.wordmark:hover { color: inherit; }

.wordmark-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.wordmark-text { display: flex; flex-direction: column; min-width: 0; }

.wordmark-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--white);
}

.wordmark-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 252, 247, 0.25);
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  min-height: 44px;
  cursor: pointer;
}

.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
  padding: 0.5rem 0 1rem;
}

.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-nav > ul > li > a,
.site-nav .nav-label {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); }

.site-nav .sub-nav {
  padding: 0 0 0.5rem 0.75rem;
  border-left: 1px solid rgba(196, 163, 90, 0.3);
  margin: 0 0 0.5rem 0.25rem;
}

.site-nav .sub-nav a {
  display: block;
  color: #d5ddd6;
  text-decoration: none;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.nav-cta { margin-top: 0.5rem; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .header-inner { position: relative; }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.25rem;
    width: auto;
    margin: 0;
  }

  .site-nav > ul > li { position: relative; }

  .site-nav > ul > li > a,
  .site-nav .nav-label {
    padding: 0.4rem 0;
    font-size: 0.95rem;
  }

  .site-nav .has-sub .sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 16rem;
    background: var(--navy-deep);
    border: 1px solid rgba(196, 163, 90, 0.28);
    padding: 0.6rem 0;
    margin: 0;
    box-shadow: var(--shadow);
  }

  .site-nav .has-sub .sub-nav a {
    padding: 0.5rem 1rem;
  }

  .site-nav .has-sub:hover .sub-nav,
  .site-nav .has-sub:focus-within .sub-nav { display: block; }

  .nav-cta { margin: 0 0 0 0.5rem; }
}

/* Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 247, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero
   -------------------------------------------------------------------------- */

.hero {
  background-color: var(--navy);
  color: var(--white);
  background-image:
    linear-gradient(rgba(196, 163, 90, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 163, 90, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.65rem);
  max-width: 16ch;
  color: var(--white);
}

.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 40rem;
  color: #e6e1d6;
  margin: 0;
}

.lede a { color: var(--gold-light); }

.hero-panel {
  background: rgba(7, 20, 31, 0.65);
  border: 1px solid rgba(196, 163, 90, 0.3);
  padding: 1.5rem 1.4rem;
}

.hero-panel h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--gold-light);
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.15rem;
  border-top: 1px solid rgba(255, 252, 247, 0.08);
  color: #e6e1d6;
}

.hero-panel li:first-child { border-top: 0; }

.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.5rem;
  height: 1px;
  background: var(--gold);
}

@media (min-width: 860px) {
  .hero { padding: 4.75rem 0 5rem; }
  .hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
  }
}

/* Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.75rem 0 2.85rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 20ch;
  color: var(--white);
}

.page-hero .lede { margin-top: 0.25rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: #c5c0b4;
  margin: 0 0 1rem;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Sections
   -------------------------------------------------------------------------- */

.section { padding: 3.25rem 0; }

.section-alt { background: var(--white); }

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy .section-title { color: var(--white); }
.section-navy .muted { color: #c5c0b4; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  color: var(--navy);
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.rule {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.25rem;
}

/* Trust / points
   -------------------------------------------------------------------------- */

.trust-grid,
.card-grid,
.step-grid,
.area-grid {
  display: grid;
  gap: 1rem;
}

.trust-grid { margin-top: 0; }

.trust-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.3rem;
}

.trust-item h2,
.trust-item h3,
.card h2,
.card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--navy);
  line-height: 1.2;
}

.trust-item p,
.card p { margin: 0; color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 1.4rem 1.25rem 1.45rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover { box-shadow: var(--shadow); }

.card a.card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}

.card a.card-link:hover { color: var(--rose); }

@media (min-width: 640px) {
  .trust-grid,
  .card-grid,
  .step-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .card-grid.cols-3,
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Steps
   -------------------------------------------------------------------------- */

.step {
  padding: 0.25rem 0 0.5rem;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.step p { margin: 0; color: var(--muted); }

/* Areas
   -------------------------------------------------------------------------- */

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.25rem;
  list-style: none;
}

.area-list li {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.section-navy .area-list li {
  background: transparent;
  border-color: rgba(196, 163, 90, 0.35);
  color: var(--white);
}

.area-list a { color: inherit; text-decoration: none; }
.area-list a:hover { color: var(--gold); text-decoration: underline; }

/* Split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.2rem 0 0.7rem;
  line-height: 1.2;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.6rem 0 0.45rem;
}

.prose p { margin: 0 0 1rem; }

.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }

.prose li { margin: 0.3rem 0; }

.prose .muted, .muted { color: var(--muted); }

.callout {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.2rem;
  margin: 1.5rem 0;
}

.section-alt .callout { background: var(--paper); }

.callout p:last-child { margin-bottom: 0; }

.callout strong { color: var(--navy); }

/* FAQ
   -------------------------------------------------------------------------- */

.faq-list { display: grid; gap: 0.65rem; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
}

.section-alt .faq-list details { background: var(--paper); }

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.15rem;
  list-style: none;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

/* Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
}

.form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  min-height: 44px;
}

.form textarea { min-height: 10rem; resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--gold);
  background: var(--white);
}

.form .check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.form .check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form .check label { font-weight: 400; margin: 0; }

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-aside h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
  color: var(--navy);
}

.contact-aside p { margin: 0 0 0.75rem; }

.contact-aside a { color: var(--navy); font-weight: 600; }

.contact-meta {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-meta li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

/* Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: #d5d0c6;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(196, 163, 90, 0.28);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  margin: 0 0 0.7rem;
  font-weight: 600;
}

.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; color: var(--gold-light); }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }

.footer-brand p { margin: 0.4rem 0 0; max-width: 22rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 252, 247, 0.1);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.center { text-align: center; }

.thank-you {
  padding: 5rem 0;
  text-align: center;
}

.thank-you h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

/* 404 */
.not-found { padding: 5rem 0; }

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn-row, .form { }
  .site-header { position: static; }
  body { background: #fff; color: #000; }
}
