:root {
  --forest: #2f6f3e;
  --forest-dark: #1d4527;
  --cream: #f7f3e9;
  --sand: #e7dcc4;
  --ink: #1e2320;
  --muted: #5e665f;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(29, 69, 39, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 35%),
    linear-gradient(180deg, #f1eadc 0%, #fcfaf5 48%, #f4efe3 100%);
}

a {
  color: inherit;
}

.hero {
  min-height: clamp(220px, 29.64vw, 360px);
  padding: 4rem 1.5rem 3rem;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  background-color: #bfd7cf;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(23, 43, 18, 0.28), rgba(16, 31, 18, 0.14)),
    url("/images/class-logo-without-text.jpg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 28, 16, 0.08), rgba(14, 28, 16, 0.28));
  z-index: -1;
}

.hero__content,
.page-shell,
.site-nav,
.site-footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero__content {
  text-shadow: 0 2px 16px rgba(14, 28, 16, 0.55);
}

.eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.hero__text {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0 0;
}

.site-nav a {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 62, 0.1);
  box-shadow: 0 6px 18px rgba(29, 69, 39, 0.08);
}

.site-nav a[aria-current="page"] {
  background: var(--forest);
  color: var(--white);
}

.page-shell {
  padding: 2rem 0 4rem;
}

.panel,
.card,
.highlight-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel--intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.highlight-card,
.card {
  padding: 1.5rem;
}

.grid-two,
.location-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-eyebrow {
  color: var(--forest);
  font-weight: 700;
}

.location-card h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.location-card p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.map-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(247, 243, 233, 0.96), rgba(231, 220, 196, 0.96));
}

.location-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(47, 111, 62, 0.14);
  box-shadow: 0 12px 30px rgba(29, 69, 39, 0.12);
  background: #fff;
}

.card-stack {
  display: grid;
  gap: 1.5rem;
}

.card h2,
.panel h2 {
  margin-top: 0;
}

.list {
  padding-left: 1.2rem;
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(29, 69, 39, 0.16);
}

.stacked-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
}

label {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input,
textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(47, 111, 62, 0.2);
  border-radius: 12px;
  font: inherit;
  background: #fffdf8;
}

button {
  background: #2f6f3e;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.embed-frame {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 20px;
  background: #dfe8de;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.note {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 800px) {
  .panel--intro,
  .grid-two,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }
}

.calendar-table-wrap {
  overflow-x: auto;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.calendar-table th,
.calendar-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(47, 111, 62, 0.12);
  vertical-align: top;
}

.calendar-table th {
  color: var(--forest-dark);
  background: rgba(47, 111, 62, 0.08);
}

.calendar-table tbody tr:nth-child(even) {
  background: rgba(247, 243, 233, 0.7);
}
