/* ============================================
   TMKF.US — Stylesheet
   Style: Clean editorial / historical archive
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

/* --- Tokens --- */
:root {
  --navy:      #0B1E3C;
  --red:       #B5121B;
  --gold:      #C8A415;
  --cream:     #F7F4EE;
  --ink:       #1A1A1A;
  --ink-mid:   #3D3D3D;
  --ink-light: #6B6B6B;
  --rule:      #D4CFBF;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Source Serif 4', Georgia, serif;

  --max-w: 1060px;
  --gap:   clamp(24px, 5vw, 64px);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
p   { max-width: 68ch; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* --- Shared typography --- */
h1, h2, h3 {
  font-family: var(--ff-display);
  line-height: 1.1;
}

h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; }

.eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--gold); }

.divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 20px 0 36px;
}
.divider.gold { background: var(--gold); }

.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 28px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn:hover { background: #8e0e14; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.site-logo img { height: 38px; width: auto; }

.site-header nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.site-header nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--gold); }

/* --- Hero --- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 10vw, 120px) 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
}

.hero-text { max-width: 620px; }
.hero-text .eyebrow { color: var(--gold); margin-bottom: 16px; }

.hero-text h1 {
  color: #fff;
  margin-bottom: 24px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--gold);
}

.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 56ch;
}

.hero-emblem img {
  width: clamp(220px, 30vw, 400px);
  opacity: 0.85;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
}

/* --- Sections --- */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-light {
  background: var(--cream);
  color: var(--ink);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-dark h2 { color: #fff; }
.section-dark p  { color: rgba(255,255,255,0.78); }

/* --- Two column --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
}

.two-col p { color: var(--ink-mid); }
.two-col p + p { margin-top: 16px; }

.section-dark .two-col p { color: rgba(255,255,255,0.75); }

/* --- Callout / blockquote --- */
.callout {
  margin-top: 48px;
  padding: 32px 40px;
  border-left: 4px solid var(--red);
  background: rgba(181,18,27,0.05);
  border-radius: 0 4px 4px 0;
}

.callout blockquote {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 12px;
}

.callout cite {
  font-size: 14px;
  color: var(--ink-light);
  font-style: normal;
}

/* --- Timeline --- */
.timeline {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(200,164,21,0.3);
  padding-left: clamp(24px, 4vw, 48px);
  margin-left: 60px;
}

.timeline-item {
  position: relative;
  padding-bottom: clamp(32px, 5vw, 52px);
}
.timeline-item:last-child { padding-bottom: 0; }

/* Dot on the line */
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(24px, 4vw, 48px) - 5px);
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
  box-shadow: 0 0 0 3px rgba(200,164,21,0.3);
}

.timeline-year {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;

  /* Year label in the left margin */
  position: absolute;
  left: calc(-1 * clamp(24px, 4vw, 48px) - 68px);
  top: 2px;
  width: 56px;
  text-align: right;
  font-size: 15px;
  letter-spacing: 0;
}

.timeline-content h3 {
  color: #fff;
  margin-bottom: 10px;
}

.timeline-content p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
}

/* --- Resources --- */
.resources-intro {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  margin-bottom: 36px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}

.resource-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 28px 32px;
  transition: background 0.2s;
}
.resource-card:hover { background: rgba(255,255,255,0.08); }

.resource-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.resource-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.resource-author {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  font-style: italic;
}

.resource-card p:not(.resource-author) {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
  background: #060A10;
  border-top: 3px solid var(--red);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo { height: 40px; width: auto; }

.footer-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: none;
}

.footer-right {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* --- Responsive --- */
@media (max-width: 780px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-emblem        { display: none; }
  .two-col            { grid-template-columns: 1fr; }
  .timeline           { margin-left: 0; border-left: none; padding-left: 0; }
  .timeline-year      { position: static; text-align: left; width: auto; margin-bottom: 6px; }
  .timeline-item::before { display: none; }
}

@media (max-width: 560px) {
  .site-header nav    { display: none; }
  .footer-inner       { flex-direction: column; align-items: flex-start; }
}
