:root {
  --rust: #7a2a1c;
  --rust-mid: #9a3b28;
  --rust-dark: #3d1612;
  --iron: #2a2420;
  --gold: #c9a227;
  --gold-soft: #e0c36a;
  --cream: #f8f5ef;
  --paper: #fffdf8;
  --ink: #1c1c1c;
  --muted: #5c5348;
  --border: #e0d9c8;
  --lantern: #d4a24a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); text-decoration: underline; }

.top-nav {
  background: var(--rust-dark);
  color: #fff;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-nav .brand {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.top-nav .brand span { color: var(--gold-soft); }

.top-nav .tagline-tiny {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.85;
  font-weight: 400;
}

.top-nav nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0; }

.top-nav nav a {
  color: #fff;
  margin-left: 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.top-nav nav a:hover,
.top-nav nav a.active { color: var(--gold-soft); }

.masthead {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #f8f5ef 0%, #f0ebe0 100%);
  border-bottom: 4px solid var(--gold);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem 0.9rem;
}

.seal {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  background: #f3ead4;
}

.masthead-titles { text-align: center; }

.masthead-titles h1 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.1;
  color: var(--iron);
}

.masthead-titles .est {
  margin-top: 0.4rem;
  color: var(--rust);
  font-size: 0.92rem;
}

.masthead-titles .est em {
  color: var(--muted);
  font-style: italic;
  margin-left: 0.45rem;
}

.hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 62%;
  border: 1px solid #c9b48a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.layout {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.4rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.kicker {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  border-radius: 2px;
  margin-right: 0.55rem;
}

.meta {
  font-size: 0.88rem;
  color: var(--muted);
}

h2.section {
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0.45rem 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

p { margin-bottom: 0.85rem; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.08rem; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 0.4rem;
}

.mission-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mission-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #c9b48a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}

.mission-card h3 { font-size: 1.05rem; line-height: 1.25; }
.mission-card p { font-size: 0.92rem; color: #444; }
.mission-kind {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b3a16;
  font-weight: 700;
}

.readmore {
  font-weight: 700;
  color: var(--rust);
}

.sidebar .card { margin-bottom: 1.25rem; }

.sidebar h3.side-title {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rust-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
}

.portrait {
  width: 168px;
  height: 168px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  display: block;
  margin: 0 auto 0.85rem;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.byline {
  font-style: italic;
  color: #555;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.log-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.log-item:last-child { border-bottom: 0; padding-bottom: 0; }
.log-item strong { display: block; }
.log-item span { font-size: 0.88rem; color: var(--muted); }

.page-hero {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
}

.page-hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid #c9b48a;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.prose {
  max-width: 760px;
  margin: 1.4rem auto 2.6rem;
  padding: 0 1.25rem;
}

.prose.wide { max-width: 1100px; }

.prose h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.prose .deck {
  font-size: 1.12rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.split img.frame {
  width: 100%;
  border: 1px solid #c9b48a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.footer {
  background: var(--rust-dark);
  color: #f3ead4;
  padding: 1.6rem 1.25rem 1.3rem;
  margin-top: 0.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
}

.footer h4 {
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.footer a { color: #f3ead4; }
.footer a:hover { color: var(--gold-soft); }

.footer p, .footer li { font-size: 0.92rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.28rem; }

.copyright {
  max-width: 1100px;
  margin: 1.1rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  opacity: 0.8;
}

blockquote.pull {
  border-left: 3px solid var(--gold);
  padding: 0.15rem 0 0.15rem 1rem;
  font-style: italic;
  color: #3a3228;
  margin: 1rem 0;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .split, .crew-grid, .footer-inner { grid-template-columns: 1fr; }
  .masthead-inner { flex-direction: column; text-align: center; gap: 0.7rem; }
  .top-nav { flex-direction: column; align-items: flex-start; }
  .top-nav nav a { margin: 0.2rem 0.9rem 0.2rem 0; }
}

@media (max-width: 560px) {
  .mission-grid { grid-template-columns: 1fr; }
  .seal { width: 108px; height: 108px; }
  .hero { max-height: 240px; }
}
