/* Sample report page — Deed Detectives */
.report-page { background: #EFE9DC; }

.report-topbar { position: sticky; top: 0; z-index: 10; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 1.5rem;
}
.topbar-logo img { width: 90px; }
.topbar-note {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--navy);
  font-weight: 600;
}
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-outline-dark { background: transparent; color: var(--navy); }
.btn-outline-dark:hover { background: rgba(18,33,62,.06); }

/* The report "paper" */
.report {
  max-width: 900px;
  margin: 2.5rem auto 3rem;
  background: #FDFAF3;
  border: 1px solid #DDD2BA;
  box-shadow: 0 10px 40px rgba(18,33,62,.12);
  padding: 0 0 1rem;
}

/* Cover */
.r-cover {
  text-align: center;
  padding: 4.5rem 2rem 3.5rem;
  border-bottom: 1px solid #E3D8BF;
  background:
    linear-gradient(#FDFAF3, #FDFAF3) padding-box,
    linear-gradient(135deg, #B99557, #E8D6AE, #B99557) border-box;
  outline: 3px double #B99557;
  outline-offset: -18px;
}
.r-kicker {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold-dark);
  font-size: .9rem;
  margin: 0 0 1.25rem;
}
.r-cover h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  text-transform: none;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}
.r-place {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy-soft);
  margin: .75rem 0 1.5rem;
}
.r-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 360px;
  margin: 0 auto 1.5rem;
}
.r-rule::before, .r-rule::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.r-rule span {
  font-family: "Oswald", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy);
}
.r-prepared { color: var(--muted); margin: 0; font-size: 1rem; }

/* Sections */
.r-section { padding: 2.5rem 3rem 1rem; }
.r-h {
  text-align: left;
  font-family: "Playfair Display", Georgia, serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.7rem;
  display: flex;
  align-items: baseline;
  gap: .85rem;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #E3D8BF;
}
.r-h::after { display: none; }
.r-num {
  font-family: "Oswald", sans-serif;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .1em;
  min-width: 2.2rem;
}
.r-intro { color: var(--muted); font-style: italic; }

/* Facts */
.r-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid #E3D8BF;
}
.r-facts div { padding: .7rem 0; border-bottom: 1px solid #E3D8BF; }
.r-facts dt {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  color: var(--gold-dark);
}
.r-facts dd { margin: .1rem 0 0; color: var(--navy); font-weight: 600; }

/* Then & Now */
.r-thennow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.r-thennow figure, .r-gallery figure { margin: 0; }
.r-thennow img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
}
figcaption { font-size: .92rem; color: var(--muted); margin-top: .6rem; line-height: 1.45; }
figcaption strong { color: var(--navy); }
.r-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #F3ECDD, #F3ECDD 12px, #EDE4D1 12px, #EDE4D1 24px);
  border: 6px solid #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.1);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-dark);
}
.r-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* Table */
.r-table-wrap { overflow-x: auto; }
.r-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.r-table th {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  text-align: left;
  color: #FDFAF3;
  background: var(--navy);
  padding: .65rem .75rem;
}
.r-table td { padding: .65rem .75rem; border-bottom: 1px solid #E3D8BF; vertical-align: top; }
.r-table tbody tr:nth-child(even) td { background: #F7F1E4; }

/* People */
.r-person { border-left: 3px solid var(--gold); padding-left: 1.25rem; margin-bottom: 1.5rem; }
.r-person h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; letter-spacing: 0; margin-bottom: .4rem; }
.r-person h3 span { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; color: var(--muted); font-size: 1rem; }

.r-sources { padding-left: 1.2rem; color: var(--text); }
.r-sources li { margin-bottom: .35rem; }
.r-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #F3ECDD;
  border-left: 3px solid var(--gold);
  font-size: .95rem;
  color: var(--muted);
  font-style: italic;
}

/* CTA */
.r-cta { text-align: center; padding: 2.5rem 2rem 2rem; border-top: 1px solid #E3D8BF; margin-top: 1.5rem; }
.r-cta h2 { font-family: "Playfair Display", Georgia, serif; text-transform: none; letter-spacing: 0; margin-bottom: .5rem; }
.r-cta h2::after { display: none; }

/* Placeholders still to be filled with real research — highlighted */
.fill, .fill-block { background: #FFF3C4; color: #7A5B12; }
.fill-block { padding: .75rem 1rem; border: 1px dashed #D9B84F; font-style: italic; }

@media (max-width: 700px) {
  .report { margin: 0; border: 0; }
  .r-section { padding: 2rem 1.25rem .5rem; }
  .r-thennow, .r-gallery { grid-template-columns: 1fr; }
  .topbar-note { display: none; }
}

/* Print / PDF */
@media print {
  .report-page { background: #fff; }
  .report-topbar, .r-cta, .site-footer { display: none; }
  .report { box-shadow: none; border: 0; margin: 0; max-width: none; }
  .r-section { break-inside: avoid; }
  .r-cover { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; break-after: page; }
}

/* Demo notice + records list */
.r-demo {
  background: var(--navy);
  color: #F3EEE2;
  text-align: center;
  font-size: .9rem;
  padding: .7rem 1.5rem;
  font-style: italic;
}
.r-records {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .5rem 1.5rem;
}
.r-records li { padding: .5rem 0 .5rem 1.4rem; border-bottom: 1px solid #E3D8BF; position: relative; }
.r-records li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; font-size: .75rem; top: .8rem; }
.r-records strong { color: var(--navy); }
@media print { .r-demo { background: #fff; color: #555; border-bottom: 1px solid #ccc; } }
.topbar-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}

.r-wide { margin: 1.75rem 0 0; }
.r-wide img { width: 100%; border: 6px solid #fff; box-shadow: 0 3px 12px rgba(0,0,0,.15); }
.r-note { margin-top: 1.25rem; font-style: italic; color: var(--muted); font-size: .98rem; }
.r-thennow img { aspect-ratio: 4 / 3; }

/* Print: cover + all three pictures on page 1 */
@media print {
  .r-demo { padding: .25rem 1rem; font-size: .75rem; }
  .r-cover { min-height: 0; display: block; break-after: auto; padding: 1.1rem 1.5rem 1rem; outline-offset: -8px; }
  .r-kicker { font-size: .7rem; margin-bottom: .4rem; }
  .r-cover h1 { font-size: 1.9rem; }
  .r-place { font-size: 1rem; margin: .25rem 0 .5rem; }
  .r-rule { margin-bottom: .4rem; }
  .r-rule span { font-size: .8rem; }
  .r-prepared { font-size: .8rem; }
  .r-tn { padding: .6rem 1rem 0; break-after: page; break-inside: avoid; }
  .r-tn .r-h { font-size: 1.15rem; margin-bottom: .5rem; padding-bottom: .3rem; }
  .r-tn .r-thennow { gap: .8rem; }
  .r-tn .r-thennow img, .r-tn .r-wide img { border-width: 3px; box-shadow: none; }
  .r-tn .r-thennow img { aspect-ratio: 4 / 3; height: auto; }
  .r-tn figcaption { font-size: .72rem; margin-top: .3rem; line-height: 1.3; }
  .r-tn .r-wide { margin-top: .7rem; }
  .r-tn .r-wide img { height: 3.3in; object-fit: cover; object-position: center 60%; }
  .r-tn .r-note { font-size: .72rem; margin-top: .4rem; }
}
@media print {
  .r-tn .r-thennow img { aspect-ratio: auto; height: 2.45in; object-fit: cover; }
  .r-tn .r-wide img { height: 3in; }
  .r-section, .r-tn { break-inside: auto; }
}
@media print { .r-tn .r-wide img { object-position: center 30%; } }
@media print { .r-tn .r-wide { text-align: center; } .r-tn .r-wide img { width: auto; height: 3.6in; max-width: 100%; object-fit: contain; margin: 0 auto; } .r-tn .r-thennow img { height: 2.25in; } }
@media print { .r-tn .r-wide img { height: 3.3in; } }

.r-float { float: right; width: 34%; margin: .3rem 0 1rem 1.5rem; }
.r-float img { width: 100%; border: 6px solid #fff; box-shadow: 0 3px 12px rgba(0,0,0,.15); }
.r-section::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .r-float { float: none; width: 70%; margin: 0 auto 1rem; } }
@media print { .r-float { width: 2.3in; } .r-float img { border-width: 3px; box-shadow: none; } }
@media print { .r-float { width: 2in; } .r-section { padding-top: 1.6rem; } }
@media print { .r-section.r-tn { padding-top: .6rem; } }
@media print { .report { padding-bottom: 0; margin-bottom: 0; } .r-section:last-of-type { padding-bottom: 0; } }

.r-record { background: #fff; border: 1px solid #DDD2BA; padding: 1.25rem 1.5rem; font-family: "Courier New", Courier, monospace; }
.r-record-title { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); margin: 0 0 .75rem; font-size: .9rem; }
.r-record-line { margin: .2rem 0; color: var(--navy); }
.r-record-note { margin: .9rem 0 0; color: var(--muted); font-size: .95rem; }
