/* Camp MJC — static site */
:root {
  --teal: #00a8b0;
  --teal-deep: #00848c;
  --teal-soft: #e6f7f8;
  --navy: #0a3d66;
  --ink: #132533;
  --muted: #4a6575;
  --sand: #f3f8f9;
  --sun: #f0c446;
  --lime: #c8e85a;
  --white: #ffffff;
  --line: rgba(10, 61, 102, 0.12);
  --shadow: 0 18px 50px rgba(10, 61, 102, 0.12);
  --radius: 14px;
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Figtree", Georgia, sans-serif;
  --max: 1120px;
  --nav-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 168, 176, 0.18), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(200, 232, 90, 0.16), transparent 55%),
    linear-gradient(180deg, #f7fcfd 0%, #eef6f7 40%, #f8fbfc 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(247, 252, 253, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  height: 2.55rem;
  width: auto;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.nav .btn {
  margin-left: 0.35rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 132, 140, 0.28);
}

.btn-primary:hover {
  color: white;
  background: linear-gradient(135deg, #12b8c0 0%, #007780 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  color: var(--navy);
  background: white;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(10, 61, 102, 0.22);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(0, 168, 176, 0.06);
}

.btn-on-dark {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-on-dark:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 36, 58, 0.25) 0%, rgba(8, 36, 58, 0.55) 42%, rgba(6, 28, 45, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 132, 140, 0.35), transparent 55%);
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 3.25rem;
}

.hero-brand {
  margin: 0 0 1rem;
  animation: rise 0.8s ease both;
}

.hero-brand img {
  width: min(100%, 22rem);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 650;
  max-width: 18ch;
  margin-bottom: 0.7rem;
  animation: rise 0.8s ease 0.08s both;
}

.hero-lead {
  max-width: 34ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  animation: rise 0.8s ease 0.16s both;
}

.hero .btn-row {
  animation: rise 0.8s ease 0.24s both;
}

.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  animation: rise 0.8s ease 0.3s both;
}

.hero-meta span::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: middle;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.55rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
}

.section-head p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}

/* Action links */
.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 8.5rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.action:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 176, 0.45);
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.action strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.action span {
  color: var(--muted);
  font-size: 0.92rem;
}

.action-accent {
  background: linear-gradient(145deg, rgba(0, 168, 176, 0.12), rgba(200, 232, 90, 0.14));
  border-color: rgba(0, 168, 176, 0.28);
}

/* Season strip */
.season-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.season-panel {
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(160deg, rgba(0, 168, 176, 0.12), rgba(255, 255, 255, 0.9) 45%),
    white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.season-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.fact-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-list dt,
.fact-list .label {
  font-weight: 800;
  color: var(--teal-deep);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.season-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.season-visual {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.season-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Schedule / tuition */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 10px 30px rgba(10, 61, 102, 0.06);
}

.panel h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.weeks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.week {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--teal-soft);
  font-size: 0.92rem;
}

.week b {
  color: var(--navy);
}

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tuition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tuition-table th,
.tuition-table td {
  text-align: left;
  padding: 0.65rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.tuition-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tuition-table td:nth-child(2),
.tuition-table td:nth-child(3),
.tuition-table th:nth-child(2),
.tuition-table th:nth-child(3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tuition-table tbody tr:last-child td {
  border-bottom: 0;
}

.deposit {
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.warning {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: rgba(240, 196, 70, 0.18);
  color: #5a4708;
  font-size: 0.9rem;
}

/* MTA */
.mta {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  color: white;
  background: #06243a;
}

.mta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 24rem;
}

.mta-copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 168, 176, 0.28), transparent 50%),
    linear-gradient(180deg, #0a3d66, #06243a);
}

.mta-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.mta-copy p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 36ch;
}

.mta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.4rem 0 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 700;
}

.mta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

/* Resources */
.resources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.resource {
  display: block;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  min-height: 7.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.resource:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 176, 0.4);
  color: var(--ink);
  text-decoration: none;
}

.resource strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.resource span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Media pages */
.page-hero {
  padding: 2.5rem 0 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.page-hero p {
  color: var(--muted);
  max-width: 40rem;
}

.media-grid {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3.5rem;
}

.media-frame {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
}

.media-caption {
  padding: 0.85rem 1rem 1rem;
  font-weight: 700;
  color: var(--navy);
}

/* Contact / footer */
.contact {
  background:
    linear-gradient(135deg, rgba(0, 168, 176, 0.95), rgba(10, 61, 102, 0.96)),
    var(--navy);
  color: white;
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.contact a {
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.site-footer a {
  color: var(--muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 920px) {
  .actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .season-strip,
  .split,
  .mta-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .resources {
    grid-template-columns: repeat(2, 1fr);
  }

  .season-visual {
    transform: none;
    order: -1;
  }

  .fact-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(247, 252, 253, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav .btn {
    margin: 0.75rem 0 0;
    width: 100%;
  }

  .actions,
  .resources,
  .weeks {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-bottom: 2.5rem;
  }

  .hero-brand img {
    width: min(100%, 16.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero .btn-row,
  .hero-meta,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
