:root {
  color-scheme: light;
  --ink: #25221e;
  --muted: #6c665e;
  --paper: #f6efe2;
  --paper-strong: #fffaf0;
  --line: rgba(37, 34, 30, 0.16);
  --river: #2f7787;
  --brick: #b55343;
  --moss: #64784f;
  --gold: #d5a742;
  --shadow: 0 24px 70px rgba(48, 37, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(37, 34, 30, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(37, 34, 30, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 239, 226, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.yearbook-strip,
.post-card footer,
.facebook-panel,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small,
.nav-links a,
.header-action,
.eyebrow,
.post-label,
.post-card footer,
.form-note,
.site-footer {
  font-size: 0.78rem;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.header-action,
.button,
.subscribe-form button {
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.header-action {
  padding: 10px 14px;
  background: var(--paper-strong);
}

.header-action:hover,
.button:hover,
.subscribe-form button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(760px, 88vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 239, 226, 0.96) 0%, rgba(246, 239, 226, 0.82) 36%, rgba(246, 239, 226, 0.14) 72%),
    linear-gradient(0deg, rgba(37, 34, 30, 0.2), transparent 45%);
}

.hero-overlay {
  width: min(860px, 92vw);
  padding: clamp(88px, 14vw, 150px) clamp(18px, 4vw, 54px) clamp(36px, 8vw, 82px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #4f463b;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.button.primary,
.subscribe-form button {
  background: var(--brick);
  color: #fffaf0;
}

.button.secondary {
  background: var(--paper-strong);
}

.yearbook-strip {
  width: min(1180px, calc(100% - 36px));
  margin: -26px auto 0;
  position: relative;
  z-index: 5;
  align-items: stretch;
  border: 2px solid var(--ink);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.yearbook-strip article {
  flex: 1;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.yearbook-strip article:last-child {
  border-right: 0;
}

.yearbook-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--river);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.yearbook-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.yearbook-strip p,
.post-card p,
.split p,
.subscribe-band p,
.news-list p {
  color: var(--muted);
  line-height: 1.55;
}

.yearbook-strip p {
  margin-bottom: 0;
}

.section,
.post-grid,
.subscribe-band,
.facebook-panel {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: clamp(70px, 10vw, 118px) 0 28px;
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: start;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-grid > p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  min-height: 318px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--paper-strong);
  box-shadow: 7px 7px 0 rgba(37, 34, 30, 0.9);
}

.post-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(rgba(47, 119, 135, 0.12), rgba(47, 119, 135, 0.12)),
    var(--paper-strong);
}

.post-label {
  width: fit-content;
  margin-bottom: 42px;
  padding: 7px 10px;
  background: rgba(213, 167, 66, 0.24);
  border: 1px solid var(--line);
  color: var(--brick);
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.05;
}

.post-card footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.split {
  padding-bottom: 78px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.58);
}

.news-list time {
  display: grid;
  place-items: center;
  min-height: 58px;
  background: var(--moss);
  color: white;
  font-weight: 900;
}

.news-list h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.news-list p {
  margin-bottom: 0;
}

.subscribe-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(181, 83, 67, 0.12), rgba(47, 119, 135, 0.16)),
    var(--paper-strong);
  box-shadow: var(--shadow);
}

.subscribe-form {
  display: grid;
  gap: 10px;
}

.subscribe-form label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.subscribe-form input {
  min-width: 0;
  min-height: 52px;
  padding: 0 15px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  outline: none;
}

.subscribe-form input:focus {
  box-shadow: 0 0 0 4px rgba(47, 119, 135, 0.2);
}

.subscribe-form button {
  min-height: 52px;
  padding: 0 18px;
  cursor: pointer;
}

.form-note {
  min-height: 20px;
  margin: 0;
}

.form-note.success {
  color: var(--moss);
  font-weight: 850;
}

.facebook-panel {
  justify-content: space-between;
  gap: 14px;
  padding: 70px 0;
  flex-wrap: wrap;
}

.facebook-panel > div {
  min-width: 220px;
  flex: 1;
}

.facebook-panel a {
  min-width: min(100%, 300px);
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--paper-strong);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
}

.facebook-panel strong,
.facebook-panel span {
  display: block;
}

.facebook-panel span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .yearbook-strip,
  .intro-grid,
  .split,
  .subscribe-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .yearbook-strip {
    margin-top: 18px;
  }

  .yearbook-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .yearbook-strip article:last-child {
    border-bottom: 0;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .header-action {
    padding: 9px 11px;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(246, 239, 226, 0.9) 0%, rgba(246, 239, 226, 0.72) 46%, rgba(246, 239, 226, 0.95) 100%),
      linear-gradient(0deg, rgba(37, 34, 30, 0.2), transparent 45%);
  }

  .hero-overlay {
    padding-top: 112px;
  }

  .button {
    width: 100%;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card.featured {
    grid-column: auto;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .subscribe-form button {
    width: 100%;
  }
}
