/* ============================================================
   Mayer Lutheran — Activity Information Sheet
   One reusable, print-friendly one-pager. Each activity sets its
   own accent in a small :root override at the top of its HTML, so
   sheets stay consistent without being identical ("not a rigid mold").
   Generalized from the Crusader Robotics site design system.
   ============================================================ */

:root {
  --accent: #0b2545;   /* this activity's primary color */
  --accent-2: #b88a2b; /* secondary accent */
  --ink: #1b1f2a;
  --soft: #5e6e85;
  --paper: #f7f5ef;
  --line: #e3dfd3;
  --maxw: 820px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #eef0f3;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: "Fraunces", Georgia, serif; }

.sheet {
  max-width: var(--maxw);
  margin: 24px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(11, 37, 69, 0.35);
}

/* ---- toolbar (screen only) ---- */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--maxw);
  margin: 18px auto 0;
  padding: 0 4px;
  font-size: 14px;
}
.toolbar a { color: var(--soft); text-decoration: none; font-weight: 600; }
.toolbar a:hover { color: var(--accent); }
.print-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.print-btn:hover { border-color: var(--accent); }

/* ---- masthead ---- */
.masthead {
  background: var(--accent);
  color: #fff;
  padding: 30px 34px;
}
.masthead .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}
.masthead h1 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}
.masthead .tag {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
}

/* ---- at-a-glance facts ---- */
.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.fact .k {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--soft);
}
.fact .v {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin-top: 3px;
}

/* ---- body columns ---- */
.cols {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  padding: 28px 34px 8px;
}
.prose h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.prose h2 + p { margin-top: 0; }
.prose p { font-size: 15px; color: var(--ink); margin: 0 0 12px; }
.prose .pull {
  border-left: 3px solid var(--accent-2);
  padding: 4px 0 4px 16px;
  margin: 16px 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--accent);
  line-height: 1.4;
}

/* ---- sidebar ---- */
.side h3 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--soft);
  margin: 0 0 10px;
}
.side + .side { margin-top: 22px; }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.stat .n {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}
.stat .l {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 6px;
  font-weight: 600;
}
.ticks { list-style: none; }
.ticks li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  margin-bottom: 8px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-2);
}

/* ---- join + contact band ---- */
.band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 18px 34px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.band h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
  margin: 0 0 8px;
}
.band ol { margin: 0 0 0 18px; font-size: 14px; }
.band ol li { margin-bottom: 5px; }
.contact p { font-size: 14px; margin-bottom: 4px; }
.contact .who { font-weight: 700; color: var(--ink); }
.contact a { color: var(--accent); text-decoration: none; }

/* ---- footer ---- */
.sheet-foot {
  margin-top: 22px;
  padding: 18px 34px;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.sheet-foot a { color: #fff; font-weight: 700; text-decoration: none; }

/* ---- responsive ---- */
@media (max-width: 720px) {
  .glance { grid-template-columns: repeat(2, 1fr); }
  .cols, .band { grid-template-columns: 1fr; }
  .masthead h1 { font-size: 30px; }
}

/* ---- print: clean single letter-size handout ---- */
@page { size: letter; margin: 0.5in; }
@media print {
  body { background: #fff; }
  .toolbar { display: none !important; }
  .sheet {
    max-width: none;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .masthead, .sheet-foot, .stat, .fact {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  a { color: inherit; text-decoration: none; }
}

/* ============================================================
   Picture-forward components (used by the robotics sheets)
   ============================================================ */

/* sub-nav linking the variant sheets together */
.subnav {
  max-width: var(--maxw);
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}
.subnav .label {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--accent);
  margin-right: 6px;
}
.subnav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
}
.subnav a:hover { border-color: var(--accent); color: var(--accent); }
.subnav a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* full-bleed hero photo with text overlay */
.photo-hero {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-hero .scrim {
  position: relative;
  width: 100%;
  padding: 64px 34px 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.8) 100%);
  color: #fff;
}
.photo-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.photo-hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 6px 0;
  max-width: 20ch;
}
.photo-hero .tag {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 54ch;
}

/* lead paragraph */
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  padding: 24px 34px 4px;
  margin: 0;
}
.lead strong { color: var(--accent); }

/* alternating photo + text feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 22px 34px;
}
.feature img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.5);
}
.feature.flip .feature-img { order: 2; }
.feature h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 15px; color: var(--ink); margin: 0 0 10px; }

/* captioned photo gallery */
.gallery { padding: 16px 34px 4px; }
.gallery h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
  margin: 0 0 14px;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.figure { margin: 0; }
.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.figure figcaption { font-size: 12.5px; color: var(--soft); margin-top: 6px; line-height: 1.4; }

@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-img { order: 0; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .photo-hero { aspect-ratio: 4 / 5; min-height: 0; }
  .photo-hero .scrim { padding: 90px 22px 22px; }
  .lead, .feature, .gallery { padding-left: 22px; padding-right: 22px; }
}

@media print {
  .subnav { display: none !important; }
  .photo-hero { aspect-ratio: auto; height: 250px; }
  .feature img, .figure img { box-shadow: none; }
  .feature, .figure { break-inside: avoid; }
}
