/*
Theme Name: Roots Nature Academy
Theme URI: https://rootsnatureacademy.org
Author: Roots Nature Academy
Description: Exact homepage matching the Grok preview. Activate this theme to replace Homelot.
Version: 3.9.0
Text Domain: roots-nature-academy
*/

@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,600&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --paper: #818d56;
  --paper-deep: #6b7547;
  --ink: #f6f1e8;
  --muted: #c5cec4;
  --accent: #818d56;
  --accent-fg: #f6f1e8;
  --snow: #ffffff;
  --solid: #1c1a16;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap-x {
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .wrap-x { padding-left: 64px; padding-right: 64px; }
}
@media (min-width: 1024px) {
  .wrap-x { padding-left: 110px; padding-right: 110px; }
}

.site-header {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 16px;
  visibility: visible !important;
  opacity: 1 !important;
  position: sticky;
  top: 0;
  z-index: 200;
  background: #818d56;
  color: #ffffff;
  min-height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header:has(#site-menu.is-open) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.site-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 56px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .site-logo img { height: 64px; }
}
.site-title {
  justify-self: center;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}
.site-header:has(#site-menu.is-open) .site-title {
  justify-self: start;
  text-align: left;
  margin-right: 8px;
}
@media (min-width: 768px) {
  .site-title { font-size: 1.5rem; }
}
.header-nav {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  flex: 1;
}
.header-nav.is-open {
  display: flex;
}
.header-nav a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}
.header-nav a:hover { opacity: 0.75; }
.menu-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  color: #ffffff;
}
.menu-close-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
}
.site-header:has(#site-menu.is-open) .menu-toggle { display: none; }
.site-header:has(#site-menu.is-open) .menu-close-btn { display: flex; align-items: center; justify-content: center; }
body.menu-lock { overflow: visible; }
.menu-plus {
  font-family: Newsreader, Georgia, serif;
  font-weight: 300;
  font-size: 2.75rem;
  line-height: 1;
}
.menu-label {
  display: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .menu-label { display: inline; }
  .menu-plus { font-size: 3rem; }
}

.hero { padding-top: 24px; }
.hero-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  min-height: 720px;
}
@media (min-width: 768px) {
  .hero-frame { min-height: 820px; }
}
@media (min-width: 1024px) {
  .hero-frame { min-height: 820px; }
}
.hero-frame img.hero-fallback,
.hero-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 51%;
}
.hero-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 16px;
  text-align: center;
}
.hero-copy h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  color: var(--snow);
  font-size: 3rem;
  line-height: 1.05;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .hero-copy h1 { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .hero-copy h1 { font-size: 6rem; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  transition: background 150ms, color 150ms;
}
.btn-solid {
  margin-top: 32px;
  height: 84px;
  padding: 0 48px;
  font-size: 1.6875rem;
  background: var(--solid);
  color: #f6f1e8;
  border: 0;
}
.btn-solid:hover { background: #2a2722; }
.fox {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .fox { width: 220px; height: 220px; left: 32px; bottom: 32px; }
}

.resources {
  padding-top: 64px;
  padding-bottom: 64px;
}
.resources h2 {
  margin: 0;
  text-align: center;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 2.25rem;
  color: var(--ink);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .resources h2 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .resources h2 { font-size: 3.75rem; }
}
.resource-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
}
.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.resource-card img {
  width: 75%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}
.btn-ghost {
  width: 50%;
  min-height: 60px;
  padding: 20px 28px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

.learning {
  background: var(--paper-deep);
  color: var(--ink);
  padding-top: 80px;
  padding-bottom: 80px;
}
.learning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .learning-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px 32px;
  }
}
.learning-col p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 400;
}
.learning h2 {
  margin: 0 0 40px;
  text-align: center;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.85rem, 6vw, 4.85rem);
  line-height: 1.1;
  color: #ffffff;
  text-wrap: balance;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  min-height: 52px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 700;
}
.btn-gold:hover {
  background: rgba(0, 0, 0, 0.7);
}
@media (min-width: 768px) {
  .learning { padding-top: 96px; padding-bottom: 96px; }
}

.different {
  background: var(--paper);
  color: var(--ink);
  padding-top: 80px;
  padding-bottom: 80px;
}
.different-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .different-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.different-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: 100%;
}
.different h2 {
  margin: 0 0 24px;
  text-align: left;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
.different-accords {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 42rem;
  justify-self: start;
}
.accord {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}
.accord summary {
  list-style: none;
  cursor: pointer;
  padding: 30px 36px;
  font-weight: 600;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #1c1a16;
}
.accord summary::-webkit-details-marker { display: none; }
.accord summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid #1c1a16;
  border-bottom: 2px solid #1c1a16;
  transform: rotate(45deg);
  transition: transform 150ms;
  flex-shrink: 0;
}
.accord[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}
.accord-body {
  padding: 0 36px 30px;
  color: #6b6660;
  font-size: 1.425rem;
  line-height: 1.6;
}
.accord-body p { margin: 0 0 0.75em; }
.accord-body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .different { padding-top: 96px; padding-bottom: 96px; }
}

.classroom {
  background: var(--paper-deep);
  color: var(--ink);
  padding-top: 80px;
  padding-bottom: 80px;
}
.classroom-grid {
  display: grid;
  gap: 32px 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .classroom-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
}
.classroom h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
.classroom p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 400;
}
@media (min-width: 768px) {
  .classroom { padding-top: 96px; padding-bottom: 96px; }
}

.quick-links {
  background: var(--paper);
  color: var(--ink);
  padding-top: 80px;
  padding-bottom: 80px;
}
.quick-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .quick-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.quick-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(246, 241, 232, 0.28);
  border-radius: 16px;
  padding: 28px 22px;
  min-height: 100%;
}
.quick-col h2 {
  margin: 0;
  min-height: 5.75rem;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}
.quick-col .btn-ghost {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  color: #1c1a16;
  border: 0;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.4rem;
}
.quick-col .btn-ghost:hover {
  background: #f3eee6;
  color: #1c1a16;
}
@media (min-width: 768px) {
  .quick-links { padding-top: 96px; padding-bottom: 96px; }
}

.about {
  padding-top: 64px;
  padding-bottom: 96px;
}
.about-chip {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}
.about-lead {
  margin: 24px 0 0;
  max-width: 64rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .about-lead { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .about-lead { font-size: 3rem; }
}

.site-footer {
  background: #818d56;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 48px;
  padding-bottom: 48px;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.site-footer .name { margin: 0; font-size: 1.125rem; font-weight: 500; color: #ffffff; }
.site-footer .meta { margin: 8px 0 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-nav a { color: #ffffff; }
.footer-nav a:hover { color: rgba(255, 255, 255, 0.7); }
.copy {
  margin: 40px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.page-main {
  background: #ffffff;
  color: #1c1a16;
  padding-top: 48px;
  padding-bottom: 96px;
  min-height: 60vh;
}
body:not(.home):not(.front-page) {
  background: #ffffff;
}
.page-title {
  margin: 0 0 32px;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: #1c1a16;
}
.page-article {
  max-width: none;
  width: 100%;
}

.tour {
  padding: 64px 0 96px;
  max-width: 40rem;
}
.tour h1 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  font-size: 3rem;
}
.tour label { display: block; margin-bottom: 16px; font-size: 0.875rem; font-weight: 500; }
.tour input, .tour textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(246, 241, 232, 0.2);
  background: var(--paper-deep);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.tour input { height: 44px; }
body.menu-lock { overflow: visible; }