:root {
  --green-950: #041f17;
  --green-900: #073426;
  --green-800: #0a4b33;
  --green-700: #0f6b42;
  --green-500: #22a760;
  --gold-500: #f2c84b;
  --gold-300: #ffe28a;
  --ink: #102018;
  --muted: #65736b;
  --paper: #f7faf4;
  --panel: #ffffff;
  --line: #dce7df;
  --shadow: 0 24px 70px rgba(4, 31, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--gold-500);
  color: var(--green-950);
  font-weight: 900;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 30;
}

.skip-link:focus {
  top: 16px;
}

.topline {
  align-items: center;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 16px;
  justify-content: space-between;
  letter-spacing: 0;
  min-height: 38px;
  padding: 8px clamp(18px, 4vw, 64px);
  text-transform: uppercase;
}

.topline a {
  color: var(--gold-300);
}

.site-header {
  align-items: center;
  background: rgba(247, 250, 244, 0.92);
  border-bottom: 1px solid rgba(7, 52, 38, 0.12);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 255px;
}

.brand-mark {
  align-items: center;
  background: var(--green-900);
  border: 2px solid var(--gold-500);
  color: #fff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  color: var(--green-950);
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 4px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

nav a {
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 9px 11px;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: #e8f2eb;
  color: var(--green-700);
  outline: none;
}

.hero {
  display: grid;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(420px, 1fr) minmax(300px, 440px);
  isolation: isolate;
  min-height: 740px;
  overflow: hidden;
  padding: 118px clamp(22px, 6vw, 84px) 132px;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(92deg, rgba(4, 31, 23, 0.96), rgba(4, 31, 23, 0.78) 48%, rgba(4, 31, 23, 0.24)),
    url("https://resources.finalsite.net/images/f_auto,q_auto/v1747762824/sumnerschoolsorg/tyypvykjqd2ttwwnnba8/ghs-school-front1.png") center / cover;
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background:
    linear-gradient(180deg, transparent 70%, var(--paper)),
    radial-gradient(circle at 82% 18%, rgba(242, 200, 75, 0.18), transparent 34%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-content {
  color: #fff;
  grid-column: 1;
  grid-row: 1;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  align-self: center;
  display: grid;
  gap: 18px;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  max-width: 440px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-brand-art {
  background: rgba(4, 31, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  display: grid;
  height: 310px;
  overflow: hidden;
  place-items: center;
  position: relative;
  width: 100%;
}

.hero-brand-art::before {
  background:
    linear-gradient(145deg, rgba(242, 200, 75, 0.9), rgba(242, 200, 75, 0.1) 42%, transparent 42%),
    linear-gradient(320deg, rgba(34, 167, 96, 0.72), rgba(34, 167, 96, 0.08) 42%, transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-brand-art::after {
  border: 22px solid rgba(255, 255, 255, 0.9);
  content: "";
  height: 150px;
  position: absolute;
  width: 220px;
}

.hero-letter {
  color: var(--green-950);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.hero-art-text {
  background: var(--green-950);
  bottom: 28px;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 10px 14px;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
  z-index: 2;
}

.wave-line {
  background: rgba(255, 255, 255, 0.84);
  height: 4px;
  position: absolute;
  transform: rotate(-12deg);
  width: 70%;
  z-index: 2;
}

.line-one {
  left: -30px;
  top: 72px;
}

.line-two {
  bottom: 88px;
  right: -40px;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.4rem);
  font-weight: 800;
  line-height: 0.86;
  margin-bottom: 26px;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(3.4rem, 6.6vw, 6.7rem);
  max-width: 720px;
}

h2 {
  color: var(--green-950);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 800;
  line-height: 0.94;
  margin-bottom: 18px;
}

h3 {
  color: var(--green-950);
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.58;
  max-width: 650px;
}

.hero-actions,
.section-heading,
.stat-row,
.quick-links,
.media-grid,
.event-grid,
.merch-items {
  display: flex;
}

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

.button {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
}

.button.primary {
  background: var(--gold-500);
  color: var(--green-950);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-card {
  background: rgba(247, 250, 244, 0.94);
  box-shadow: var(--shadow);
  color: var(--green-950);
  display: grid;
  gap: 12px;
  padding: 26px;
  position: relative;
}

.hero-card strong {
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-card a,
.support-panel a,
.text-link {
  color: var(--green-700);
  font-weight: 900;
}

.quick-links {
  background: var(--green-950);
  color: #fff;
  flex-wrap: wrap;
  padding: 0 clamp(16px, 4vw, 64px);
}

.quick-links a {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  flex: 1 1 210px;
  gap: 6px;
  min-height: 96px;
  padding: 24px;
}

.quick-links a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.quick-links span {
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 900;
}

.section {
  padding: clamp(74px, 9vw, 124px) clamp(20px, 6vw, 84px);
}

.page-hero {
  background:
    linear-gradient(110deg, rgba(4, 31, 23, 0.98), rgba(7, 52, 38, 0.88)),
    repeating-linear-gradient(135deg, rgba(242, 200, 75, 0.18) 0 2px, transparent 2px 24px);
  color: #fff;
  padding: clamp(90px, 12vw, 150px) clamp(20px, 6vw, 84px);
}

.page-hero h1 {
  max-width: 960px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.6;
  max-width: 760px;
}

.media-page-hero {
  background:
    linear-gradient(110deg, rgba(4, 31, 23, 0.96), rgba(7, 52, 38, 0.82)),
    linear-gradient(135deg, rgba(242, 200, 75, 0.2) 0 18%, transparent 18% 34%, rgba(34, 167, 96, 0.18) 34% 52%, transparent 52%);
}

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

.identity-showcase {
  align-items: center;
  background: #edf6ef;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
}

.identity-showcase p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.identity-board {
  background:
    linear-gradient(135deg, var(--green-950), var(--green-800));
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.identity-lockup {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 82% 30%, rgba(242, 200, 75, 0.2), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.identity-lockup span,
.identity-lockup em {
  color: var(--gold-300);
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.identity-lockup strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.92;
  max-width: 11ch;
}

.split {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(260px, 0.92fr) minmax(300px, 1.08fr);
}

.prose p,
.support-section p,
.merch-copy p,
.contact-copy p,
.feature-card p,
.event-card p,
.media-feature p,
.resource-grid span {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.stat-row {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
}

.stat-row span {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  flex: 1 1 180px;
  padding: 18px;
}

.stat-row strong {
  color: var(--green-950);
  display: block;
  margin-bottom: 4px;
}

.section-heading {
  align-items: end;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.event-grid {
  gap: 18px;
}

.event-card,
.feature-card,
.resource-grid a {
  background: var(--panel);
  border: 1px solid var(--line);
  flex: 1 1 260px;
  min-height: 220px;
  padding: 26px;
}

.event-card.featured {
  background: var(--green-900);
  border-color: var(--green-900);
}

.event-card.featured h3,
.event-card.featured p {
  color: #fff;
}

.event-card time {
  background: var(--green-700);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  margin-bottom: 34px;
  padding: 8px 10px;
}

.event-card.featured time {
  background: var(--gold-500);
  color: var(--green-950);
}

.event-card span {
  color: var(--green-700);
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-top: 20px;
  text-transform: uppercase;
}

.event-card.featured span {
  color: var(--gold-300);
}

.schedule-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}

.schedule-table {
  border-collapse: collapse;
  min-width: 880px;
  width: 100%;
}

.schedule-table th {
  background: var(--green-950);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 16px 18px;
  text-align: left;
  text-transform: uppercase;
}

.schedule-table td {
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
  padding: 18px;
  vertical-align: top;
}

.schedule-table td:first-child,
.schedule-table td:nth-child(2) {
  color: var(--green-950);
  font-weight: 900;
}

.schedule-table tbody tr:nth-child(even) {
  background: #f6faf7;
}

.schedule-note {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 18px 0 0;
}

.school-calendar-section {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(4, 31, 23, 0.95), rgba(11, 81, 54, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
}

.school-calendar-section h2,
.school-calendar-section p {
  color: #fff;
}

.school-calendar-section .section-kicker {
  color: var(--gold-300);
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.calendar-actions .ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.calendar-card {
  background: rgba(255, 255, 255, 0.95);
  border-top: 6px solid var(--gold-500);
  color: var(--green-950);
  padding: 28px;
}

.calendar-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  margin-bottom: 22px;
}

.calendar-card ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.calendar-card li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  padding-top: 14px;
}

.calendar-card li span {
  color: var(--green-700);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-band,
.family-section {
  background: #edf6ef;
}

.media-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
}

.media-feature {
  align-content: end;
  background:
    linear-gradient(145deg, rgba(4, 31, 23, 0.98), rgba(10, 75, 51, 0.92)),
    repeating-linear-gradient(135deg, rgba(242, 200, 75, 0.22) 0 2px, transparent 2px 22px);
  color: #fff;
  display: grid;
  min-height: 460px;
  padding: 28px;
}

.media-feature h3,
.media-feature p {
  color: #fff;
}

.play-button {
  align-items: center;
  background: var(--gold-500);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  margin-bottom: 170px;
  width: 58px;
}

.play-button::before {
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--green-950);
  border-top: 11px solid transparent;
  content: "";
  margin-left: 4px;
}

.media-grid {
  flex-wrap: wrap;
  gap: 18px;
}

.feature-icon {
  align-items: center;
  background: #e7f3ea;
  border: 1px solid #cbe2d2;
  color: var(--green-700);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 26px;
  width: 42px;
}

.play-symbol::before {
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--green-700);
  border-top: 8px solid transparent;
  content: "";
  margin-left: 3px;
}

.gallery-symbol::before {
  border: 3px solid var(--green-700);
  content: "";
  height: 15px;
  width: 15px;
}

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

.resource-grid a,
.resource-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 26px;
}

.resource-grid strong {
  color: var(--green-950);
  font-size: 1.2rem;
  font-weight: 900;
}

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

.gallery-grid span,
.tier-grid article {
  align-content: end;
  background:
    linear-gradient(145deg, rgba(4, 31, 23, 0.96), rgba(10, 75, 51, 0.88));
  color: #fff;
  display: grid;
  font-size: 1.15rem;
  font-weight: 900;
  min-height: 220px;
  padding: 24px;
}

.tier-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--green-950);
  gap: 10px;
}

.tier-grid span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.support-section,
.merch-section,
.contact-section {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.88fr);
}

.support-panel {
  background: var(--green-900);
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 16px;
  min-height: 300px;
  padding: 34px;
}

.support-panel strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.support-panel a {
  color: var(--gold-300);
}

.merch-section {
  background:
    linear-gradient(120deg, var(--green-950), var(--green-800));
  color: #fff;
}

.merch-section h2,
.merch-section .section-kicker {
  color: #fff;
}

.merch-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.merch-items {
  flex-wrap: wrap;
  gap: 12px;
}

.merch-items span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  flex: 1 1 150px;
  font-weight: 900;
  min-height: 92px;
  padding: 31px 18px;
  text-align: center;
}

.contact-section {
  background: var(--panel);
}

.address {
  color: var(--muted);
  font-weight: 800;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(4, 31, 23, 0.08);
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  color: var(--green-950);
  display: grid;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 7px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid #c7d8ce;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(242, 200, 75, 0.76);
  outline-offset: 2px;
}

.site-footer {
  align-items: center;
  background: var(--green-950);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 84px);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-card {
    margin-top: 0;
  }

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

  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: 520px;
  }

  .split,
  .media-layout,
  .identity-showcase,
  .school-calendar-section,
  .support-section,
  .merch-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .home-feature-grid,
  .gallery-grid,
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .brand {
    min-width: 0;
  }

  nav a {
    font-size: 0.86rem;
    padding: 8px 9px;
  }

  .hero {
    min-height: 680px;
    padding: 84px clamp(20px, 6vw, 84px) 84px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(4, 31, 23, 0.92), rgba(4, 31, 23, 0.7)),
      url("https://resources.finalsite.net/images/f_auto,q_auto/v1747762824/sumnerschoolsorg/tyypvykjqd2ttwwnnba8/ghs-school-front1.png") center / cover;
  }

  .hero-content {
    padding: 0;
  }

  .hero-brand-art {
    height: 260px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .quick-links a {
    border-right: 0;
    min-height: 78px;
  }

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

  .home-feature-grid,
  .gallery-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .media-feature {
    min-height: 360px;
  }

  .schedule-table-wrap {
    box-shadow: none;
    overflow: visible;
  }

  .schedule-table,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .schedule-table thead {
    display: none;
  }

  .schedule-table tr {
    border-top: 1px solid var(--line);
    padding: 16px;
  }

  .schedule-table tr:first-child {
    border-top: 0;
  }

  .schedule-table td {
    border-top: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: 108px 1fr;
    padding: 6px 0;
  }

  .schedule-table td::before {
    color: var(--green-950);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }
}
