:root {
  --red: #A41818;
  --red-deep: #5C1313;
  --paper: #F2E9D0;
  --paper-dim: #DDD2B5;
  --ink: #0F0E0C;
  --ink-soft: #2A2724;
  --gold: #A88A2E;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IM Fell English', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  overflow-x: hidden;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-ribbon {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IM Fell English SC', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  padding: 0.75rem 2rem;
  text-align: center;
  border-bottom: 2px solid var(--red);
}

nav.archaic {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.15em;
  font-size: 14px;
  width: 100%;
}

nav.archaic a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

nav.archaic a:hover {
  border-bottom-color: var(--red);
}

.hero,
.page-hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero > *,
.page-hero > * {
  position: relative;
  z-index: 2;
}

.hero {
  background: var(--paper);
}

.hero.stripes,
.page-hero.stripes {
  background: repeating-linear-gradient(
    to right,
    var(--red) 0,
    var(--red) 56px,
    var(--paper) 56px,
    var(--paper) 112px
  );
}

.hero::before,
.hero.stripes::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(15,14,12,0.25) 100%);
  pointer-events: none;
}

.hero-logo {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--paper);
    border: 6px solid var(--ink);
    box-shadow: 0 0 0 12px var(--paper), 0 0 0 13px var(--ink);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-logo svg {
    width: 90%;
    height: 90%;
  }

  .hero-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap;
    margin-bottom: 2.5rem;
    max-width: 860px;
    width: 100%;
  }

  .hero-logo-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--paper);
    border: 6px solid var(--ink);
    box-shadow: 0 0 0 12px var(--paper), 0 0 0 13px var(--ink);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo-item.center {
    width: 180px;
    height: 180px;
  }

  .hero-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

.hero-est {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.3rem;
  letter-spacing: 0.6em;
  color: var(--ink);
  margin-bottom: 2rem;
  background: var(--paper);
  padding: 0.5rem 1.5rem;
  display: inline-block;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.hero-motto,
.hero p.lead,
.page-hero p.lead {
  font-style: italic;
  font-size: 1.25rem;
  max-width: 640px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 1.25rem 2rem;
  position: relative;
}

.hero-motto::before,
.hero-motto::after,
.hero p.lead::before,
.hero p.lead::after,
.page-hero p.lead::before,
.page-hero p.lead::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1rem;
}

.hero-motto::before,
.hero p.lead::before,
.page-hero p.lead::before {
  left: 0.7rem;
}

.hero-motto::after,
.hero p.lead::after,
.page-hero p.lead::after {
  right: 0.7rem;
}

.hero-attrib,
.page-hero .hero-attrib {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  margin-top: 1.5rem;
  color: var(--ink);
  background: var(--paper);
  padding: 0.4rem 1rem;
}

.hero-note {
  margin-top: 2rem;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-family: 'IM Fell English', serif;
}

section.content,
.page-main-section {
  padding: 6rem 2rem;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h2.headline {
  font-family: 'UnifrakturMaguntia', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1;
}

.ornament {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.4rem;
  color: var(--red);
  letter-spacing: 1em;
}

.section-dark .ornament,
.page-hero .ornament {
  color: var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.hirsch-frame {
  background: var(--paper);
  padding: 1rem;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--gold);
}

.hirsch-portrait {
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #4a4032 0%, #2d2720 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-dim);
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.hirsch-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--ink);
}

.about-text p {
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
}

.about-text .first-letter::first-letter {
  font-family: 'UnifrakturMaguntia', serif;
  font-size: 4rem;
  float: left;
  line-height: 0.9;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--red);
}

.skol-cry {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  font-family: 'IM Fell English SC', serif;
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.members-section {
  background: var(--paper);
  position: relative;
}

.members-section::before,
.members-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    to right,
    var(--red) 0,
    var(--red) 28px,
    var(--paper) 28px,
    var(--paper) 56px
  );
}

.members-section::before {
  top: 0;
}

.members-section::after {
  bottom: 0;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2.5rem 1.5rem;
}

.member {
  text-align: center;
  position: relative;
}

.member-portrait {
  width: 140px;
  height: 140px;
  margin: 0 auto 0.75rem;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-dim);
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--ink);
  overflow: hidden;
  position: relative;
}

  .member-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

.member-name {
  font-style: italic;
  font-size: 1.05rem;
}

.members-disclaimer {
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.member-group {
  margin-bottom: 4rem;
}

.group-title {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--red);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.group-grid.single {
  grid-template-columns: 1fr;
}

.group-grid.triple {
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.group-grid.five {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.group-grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}

.hierarchy {
  background: var(--ink);
  color: var(--paper);
  padding: 6rem 2rem;
  text-align: center;
}

.hierarchy-tree {
  margin: 3rem auto 0;
  max-width: 700px;
}

.h-level {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--gold);
  background: rgba(168,138,46,0.08);
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.2em;
}

.h-level.top {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  font-size: 1.2rem;
  padding: 1.5rem;
}

.h-level small {
  display: block;
  font-family: 'IM Fell English', serif;
  letter-spacing: 0.05em;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--paper-dim);
  margin-top: 0.4rem;
  text-transform: none;
}

.h-level.top small {
  color: rgba(242,233,208,0.8);
}

.h-arrow {
  color: var(--gold);
  margin: 0.4rem 0;
  font-size: 1.3rem;
}

.traditions,
.archive,
.contact,
.trinity {
  padding: 6rem 2rem;
}

.traditions {
  background: var(--paper);
}

.scrapbook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.scrap {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 1.25rem;
  box-shadow: 4px 4px 0 var(--ink-soft);
  position: relative;
}

.scrap-1 { grid-column: 1 / 6; transform: rotate(-1.5deg); }
.scrap-2 { grid-column: 7 / 13; transform: rotate(1deg); margin-top: 2rem; }
.scrap-3 { grid-column: 2 / 7; transform: rotate(0.8deg); margin-top: 1rem; }
.scrap-4 { grid-column: 8 / 12; transform: rotate(-0.8deg); }

.scrap-img {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  margin-bottom: 0.75rem;
  background-image: linear-gradient(135deg, #2a2724 0%, #1a1714 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-dim);
  font-family: 'IM Fell English SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 1rem;
}

.scrap h3 {
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.2em;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.scrap p {
  font-size: 0.95rem;
  font-style: italic;
}

.scrap-tape {
  position: absolute;
  width: 80px;
  height: 24px;
  background: rgba(168,138,46,0.4);
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.trinity {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.trinity-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.trinity-circle {
  width: 180px;
  height: 180px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  line-height: 1.4;
}

.trinity-circle.center {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.15);
  color: var(--paper);
}

.archive {
  background: var(--paper);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.archive-card {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #2a2724, #1a1714);
  color: var(--paper-dim);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--ink);
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

.archive-card .year {
  font-size: 2rem;
  font-family: 'UnifrakturMaguntia', serif;
  color: var(--paper);
  letter-spacing: 0;
}

.archive-card .desc {
  font-style: italic;
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--paper-dim);
}

.archive-note {
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
  font-size: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
  border-top: 1px solid var(--ink-soft);
  padding-top: 2rem;
}

.contact {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: 3rem auto 0;
  border: 1px solid var(--gold);
  padding: 3rem 2rem;
  background: rgba(168,138,46,0.04);
}

.contact-row {
  margin-bottom: 1.5rem;
}

.contact-label {
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1.15rem;
  font-style: italic;
}

footer {
  background: var(--ink);
  color: var(--paper-dim);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid var(--red);
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.3em;
}

footer .stamp {
  margin-top: 1rem;
  font-style: italic;
  letter-spacing: 0.05em;
  font-family: 'IM Fell English', serif;
  color: var(--paper-dim);
  opacity: 0.7;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.link-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 4px 4px 0 var(--ink-soft);
}

.link-card h3 {
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.link-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.link-card a {
  margin-top: 1.5rem;
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.link-card a:hover {
  border-bottom-color: var(--red);
}

@media (max-width: 768px) {
  nav.archaic { gap: 1.2rem; font-size: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hirsch-frame { max-width: 280px; margin: 0 auto; }
  .scrapbook { grid-template-columns: 1fr; }
  .scrap-1,
  .scrap-2,
  .scrap-3,
  .scrap-4 {
    grid-column: 1;
    transform: none;
    margin-top: 0;
  }
  .stripes {
    background: repeating-linear-gradient(
      to right,
      var(--red) 0,
      var(--red) 32px,
      var(--paper) 32px,
      var(--paper) 64px
    );
  }
}
