:root {
  --green-900: #16352b;
  --green-700: #245c48;
  --green-500: #4f8a6d;
  --green-100: #e8f1ec;

  --cream: #f7f3e8;
  --white: #ffffff;
  --text: #243029;
  --muted: #6f7a73;
  --border: #d8dfda;

  --shadow: 0 10px 28px rgba(22, 53, 43, 0.08);
  --radius: 16px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-900);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--green-900);
  color: var(--white);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-header nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* Main content */

.site-main {
  min-height: calc(100vh - 150px);
}

.section {
  padding-block: 3.5rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
}

/* Hero */

.hero {
    display: flex;
  align-items: center;
  min-height: 420px;
  padding: 5rem 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(247, 243, 232, 0.97) 0%,
      rgba(247, 243, 232, 0.90) 32%,
      rgba(247, 243, 232, 0.55) 55%,
      rgba(247, 243, 232, 0.10) 75%
    ),
    url("/images/daisy-hero.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .container {
  max-width: 850px;
  margin-left: max(1rem, calc((100% - var(--max-width)) / 2));
}

.hero h1 {
  max-width: 11ch;
  margin: 0.25rem 0 1rem;
  color: var(--green-900);
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 650px;
  margin: 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  color: var(--green-700);
}

.hero-description {
  max-width: 550px;
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 500;
}

/* Cards */

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin: 0.35rem 0 0.75rem;
  line-height: 1.2;
}

.card h2 a,
.card h3 a {
  color: var(--green-900);
  text-decoration: none;
}

.card h2 a:hover,
.card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.card p {
  margin-top: 0;
}

.card-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

/* Article pages */

.article {
  max-width: 780px;
  padding-block: 4rem;
}

.article h1 {
  margin: 0.25rem 0 2rem;
  color: var(--green-900);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.article-body {
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 2.5rem;
  color: var(--green-900);
}

.article-body h3 {
  margin-top: 2rem;
  color: var(--green-700);
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  background: var(--green-100);
  border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body code {
  padding: 0.15em 0.35em;
  background: #ece9df;
  border-radius: 5px;
}

/* Useful links */

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.link-card {
  display: flex;
  flex-direction: column;
}

.link-card h2 {
  margin-top: 0;
}

.link-card p {
  flex-grow: 1;
  color: var(--muted);
}

.link-action {
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.link-action:hover {
  text-decoration: underline;
}

/* Roster */

.roster-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.roster-table th,
.roster-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.roster-table th {
  background: var(--green-900);
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.roster-table tbody tr:last-child td {
  border-bottom: 0;
}

.roster-table tbody tr:hover {
  background: var(--green-100);
}

.member-name {
  font-weight: 750;
  color: var(--green-900);
}

.member-grade {
  color: var(--muted);
  font-weight: 650;
}

.roster-table a {
  word-break: break-word;
}

/* Mobile roster cards */

.roster-cards {
  display: none;
}

.roster-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.roster-card-header h2 {
  margin: 0;
}

.grade-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.roster-parents {
  display: grid;
  gap: 1rem;
}

.parent-card {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.parent-card h3 {
  margin: 0 0 0.5rem;
  color: var(--green-700);
}

.parent-card p {
  margin: 0.35rem 0;
}

/* Events */

.events-upcoming {
  margin-top: 3.5rem;
}

.events-upcoming > h2 {
  margin-bottom: 1.5rem;
  color: var(--green-900);
}

.event-list {
  display: grid;
  gap: 1rem;
}

.event-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 80px;

  background: var(--green-100);
  color: var(--green-900);
  border-radius: 12px;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.event-details h2 {
  margin: 0 0 0.5rem;
  color: var(--green-900);
}

.event-details p {
  margin: 0.35rem 0;
}

.event-meta {
  color: var(--green-700);
}

@media (max-width: 600px) {
  .event-item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .event-date-box {
    min-height: 70px;
  }

  .event-day {
    font-size: 1.65rem;
  }
}

/* Footer */

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer p {
  margin: 0;
}

/* Homepage actions */

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--white);
  color: var(--green-900);
}

.button-primary:hover {
  background: var(--green-100);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* Quick info */

.quick-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.quick-info-card {
  padding: 1.75rem;
  background: var(--green-100);
  border-radius: var(--radius);
}

.quick-info-card h2 {
  margin: 0.3rem 0 0.75rem;
  color: var(--green-900);
}

.quick-info-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .quick-info {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

.hero {
  min-height: 380px;
  padding: 3.5rem 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(247, 243, 232, 0.98) 0%,
      rgba(247, 243, 232, 0.90) 55%,
      rgba(247, 243, 232, 0.45) 100%
    ),
    url("/images/daisy-hero.png");

  background-position: 62% center;
}

  .hero .container {
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-description {
    max-width: 90%;
  }

}

/* Responsive */

@media (max-width: 900px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  .roster-table-wrapper {
    display: none;
  }

  .roster-cards {
    display: grid;
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: auto;
    padding-block: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-header nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero .container {
    margin-inline: auto;
  }

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

  .section {
    padding-block: 2.5rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 600px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}
