/* New North Press — matched to Doc's original Google Sites design.
   Measured from the live original 2026-07-25:
   display: Cormorant Garamond 700 · body: Open Sans 16px #1c1c1c
   maroon: #4a0e17 · tagline rose: #a26a74 · content width: 1138px
   quadrant cells: 168px image + 349px text column */

:root {
  --maroon: #4a0e17;
  --rose: #a26a74;
  --ink: #1c1c1c;
  --paper: #f9f6f0;  /* official Sovereignty theme paper */
  --rule: #d9d2c7;
  --content: 1138px;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Open Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { overflow-x: clip; }
img { max-width: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 16px;
}

/* ---------- Navigation: slim maroon band, light links ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 13px 2rem;
  background: var(--maroon);
}
.site-nav .logo img { height: 30px; width: 30px; display: block; filter: invert(1); opacity: 0.9; }
.site-nav a {
  color: #f9f9f9;
  text-decoration: none;
  font-size: 16px;
}
.site-nav a:hover { color: #ffffff; text-decoration: underline; }
.site-nav a.current { color: #ffffff; font-weight: 700; }
.site-nav .nav-links { display: flex; gap: 1.75rem; margin-left: auto; align-items: center; }
.nav-search input {
  font-family: inherit;
  font-size: 14px;
  width: 6.5rem;
  padding: 0.35rem 0.6rem;
  border: none;
  border-radius: 2px;
  background: rgba(255,255,255,0.14);
  color: #f9f9f9;
  transition: width 0.2s ease, background 0.2s ease;
}
.nav-search input::placeholder { color: rgba(249,249,249,0.75); }
.nav-search input:focus {
  outline: none;
  width: 12rem;
  background: #ffffff;
  color: var(--ink);
}
.nav-search input:focus::placeholder { color: #8a8378; }

/* ---------- Hero / page banners ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 67px 1.5rem 120px;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(250, 247, 242, 0.55);
}
.hero > * { position: relative; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 80px);
  line-height: 1.2;
  color: var(--maroon);
  font-weight: 700;
}
.hero .tagline {
  margin-top: 28px;
  font-style: italic;
  font-size: 24px;
  color: var(--rose);
}
.hero .subtitle {
  margin-top: 1rem;
  font-size: 20px;
  color: var(--ink);
}

.hero-home       { background-image: url('../images/hero-bg-home.jpg'); }
.hero-maproom    { background-image: url('../images/hero-bg-maproom.jpg'); }
.hero-chiron     { background-image: url('../images/banner-bg-chiron.jpg'); }
.hero-provenance { background-image: url('../images/banner-bg-provenance.jpg'); }
.hero-plain      { background: var(--paper); }

/* ---------- Content ---------- */
main { padding: 130px 1.5rem 4.5rem; }

section { margin: 0 auto 92px; max-width: var(--content); }
section:last-of-type { margin-bottom: 0; }

h2 {
  font-family: var(--display);
  color: var(--maroon);
  font-size: 48px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 28px;
}
h3 {
  font-family: var(--display);
  color: var(--maroon);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 16px;
}
a { color: var(--maroon); }
.site-nav a { color: #f9f9f9; }
.site-nav a:hover, .site-nav a.current { color: #ffffff; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

blockquote {
  font-style: italic;
  margin: 0 0 16px;
  text-align: left;
  line-height: 1.4;
  width: 100%;
  max-width: var(--content);
}
blockquote + .attribution {
  font-size: 14px;
  text-align: left;
  color: var(--maroon);
  margin-bottom: 1.1rem;
}

.centered { text-align: center; }
.centered blockquote, .centered .attribution { text-align: left; }
.opener h2 { text-align: center; margin-bottom: 56px; }
section.centered { margin-bottom: 92px; }
.detail { margin-left: 40px; }
/* Context quotes: body font, regular weight, set off in burgundy */
.pull { color: var(--maroon); }
section.tight { margin-bottom: 46px; }
.report-split { display: flex; gap: 56px; align-items: flex-start; }
.report-text { flex: 1 1 55%; min-width: 0; }
.report-fields { flex: 1 1 45%; min-width: 0; }
.report-fields .report-form { margin-top: 0; }
@media (max-width: 900px) {
  .report-split { flex-direction: column; gap: 24px; }
}
.buy-line { margin-top: 96px; text-align: center; }

/* ---------- Home: 2x2 quadrants, image beside narrow text column ---------- */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 56px;
  row-gap: 48px;
  max-width: var(--content);
  margin: 0 auto;
}
.home-grid .section-with-image { margin: 0; max-width: none; }

.section-with-image {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.section-with-image .side-image { flex: 0 1 168px; min-width: 110px; }
.section-with-image .side-image img {
  width: 100%;
  height: 416px;
  object-fit: cover;
  display: block;
}
.section-with-image .section-text { flex: 1; min-width: 0; max-width: 349px; }
.section-with-image .section-text h2 {
  /* quadrant headings are the small display size, not the page size */
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 28px;
  hyphens: none;
}

/* ---------- Placeholder marker ---------- */
.doc-pending {
  display: block;
  background: #fff3cd;
  border: 1px dashed #b8860b;
  color: #6b5310;
  padding: 0.7rem 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

/* ---------- Map Room specifics ---------- */
.gumroad-button {
  display: inline-block;
  background: var(--maroon);
  color: #f9f9f9;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  font-size: 16px;
  border: none;
}
.gumroad-button:hover { background: #6a2430; }

.notify-form { margin-top: 1rem; }
.notify-form input[type="email"] {
  font-family: inherit;
  font-size: 16px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule);
  background: #fff;
  width: min(22rem, 100%);
}
.notify-form button {
  font-family: inherit;
  font-size: 16px;
  padding: 0.7rem 1.4rem;
  background: var(--maroon);
  color: #f9f9f9;
  border: none;
  cursor: pointer;
}
.notify-form button:hover { background: #6a2430; }
.notify-form .hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.report-form select,
.report-form input[type="text"],
.report-form input[type="url"],
.report-form input[type="email"],
.report-form textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule);
  background: #fff;
  width: min(34rem, 100%);
  display: block;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.report-form textarea { resize: vertical; }
#notify-status, #report-status { font-style: italic; margin-top: 0.8rem; }

.codes-notice {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 1.4rem 1.6rem;
}
.codes-notice h2 { font-size: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 1.5rem 2rem;
  text-align: center;
  font-size: 14px;
  color: #5f574d;
}

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; row-gap: 48px; }
  h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  .site-nav { flex-wrap: wrap; gap: 0.9rem 1.2rem; padding: 0.8rem 1rem; }
  .site-nav .nav-links { margin-left: 0; flex-wrap: wrap; gap: 0.9rem 1.2rem; }
  .section-with-image { flex-direction: column; }
  .section-with-image .side-image { flex-basis: auto; width: 220px; }
  .section-with-image .side-image img { height: auto; }
  .section-with-image .section-text { max-width: none; }
}
