:root {
  --parchment: #f4efe4;
  --cream: #fbf7ef;
  --olive: #55613d;
  --olive-dark: #364126;
  --sage: #7b8b63;
  --gold: #c8a96b;
  --brown: #33281f;
  --soft-brown: #6f6255;
  --border: rgba(85, 97, 61, 0.18);
  --shadow: 0 18px 45px rgba(35, 27, 20, 0.12);
  --shadow-strong: 0 30px 70px rgba(35, 27, 20, 0.22);
  --radius: 24px;
  --transition: all 0.35s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--parchment);
  color: var(--brown);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 18px 6%;
  background: rgba(30, 25, 18, 0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-name {
  text-decoration: none;
  color: #fff7e7;
  font-size: 1.35rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: #fff7e7;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 700;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.65rem;
}

p {
  font-size: 1.1rem;
  color: var(--soft-brown);
}

.section-tag,
.section-eyebrow {
  display: inline-block;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 70px;
}

.section-intro {
  margin-top: 18px;
  font-size: 1.15rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--olive);
  color: white;
  box-shadow: var(--shadow);
  border: none;
}

.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  border: 1px solid var(--olive);
  background: rgba(255, 255, 255, 0.48);
  color: var(--olive);
}

.btn-secondary:hover {
  background: var(--olive);
  color: white;
  transform: translateY(-4px);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background-image:
    linear-gradient(
      130deg,
      rgba(40, 47, 28, 0.82),
      rgba(54, 65, 38, 0.62),
      rgba(31, 28, 24, 0.78)
    ),
    url("images/rooted-texture-01.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 120px 8%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(18, 15, 10, 0.72),
      rgba(18, 15, 10, 0.42),
      rgba(18, 15, 10, 0.22)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
  animation: fadeUp 1s ease both;
}

.hero .section-tag {
  color: #e7d6aa;
}

.hero-description {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
  margin: 28px 0 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ABOUT */
.about-section {
  position: relative;
  padding: 130px 0;
  background:
    linear-gradient(rgba(248, 244, 236, 0.94), rgba(248, 244, 236, 0.96)),
    url("images/rooted-texture-01.png");
  background-size: cover;
  background-position: center;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(85, 97, 61, 0.08), transparent 45%);
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 930px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 26px;
  font-size: 1.17rem;
}

.about-quote {
  margin: 55px 0;
  padding: 42px;
  border-left: 4px solid var(--olive);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.about-quote p {
  margin: 0;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--brown);
}

/* HOMESCHOOL */
.homeschool-section {
  padding: 135px 0;
  background: var(--cream);
}

.homeschool-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.curriculum-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.curriculum-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.curriculum-card img {
  height: 320px;
  object-fit: cover;
}

.large-card {
  grid-row: span 2;
}

.large-card img {
  height: 620px;
}

.card-content {
  padding: 28px;
}

.card-content h3 {
  margin-bottom: 12px;
  color: var(--olive-dark);
}

/* COMING SOON ANNOUNCEMENT */
.coming-soon-banner {
  position: relative;
  margin: 0 auto 80px;
  padding: 70px 24px;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 18% 0%, rgba(200, 169, 107, 0.16), transparent 55%),
    linear-gradient(160deg, #f6efe0 0%, #fbf7ef 45%, #efe6d3 100%);
  overflow: hidden;
  animation: comingSoonFade 1.1s ease both;
}

/* soft top + bottom parchment fade */
.coming-soon-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    transparent 14%,
    transparent 86%,
    var(--cream) 100%
  );
}

.coming-soon-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px clamp(28px, 5vw, 64px);
  text-align: center;
  background: rgba(255, 252, 245, 0.78);
  border: 1px solid rgba(200, 169, 107, 0.38);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
}

/* subtle botanical inner frame */
.coming-soon-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(85, 97, 61, 0.22);
  border-radius: calc(var(--radius) - 10px);
  pointer-events: none;
}

.coming-soon-eyebrow {
  display: inline-block;
  position: relative;
  z-index: 1;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.coming-soon-heading {
  position: relative;
  z-index: 1;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  color: var(--olive-dark);
  margin: 0 auto 8px;
  max-width: 620px;
}

.leaf-divider {
  display: block;
  width: 150px;
  margin: 22px auto 26px;
  color: var(--gold);
}

.leaf-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

.coming-soon-body {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  color: var(--soft-brown);
  margin: 0 auto 24px;
  max-width: 600px;
}

.coming-soon-closing {
  position: relative;
  z-index: 1;
  font-size: 1.22rem;
  font-style: italic;
  color: var(--brown);
  margin: 0 auto 34px;
  max-width: 560px;
}

.coming-soon-btn {
  position: relative;
  z-index: 1;
}

@keyframes comingSoonFade {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ROOTED STRONG */
.featured-book-section {
  padding: 135px 0;
  background:
    linear-gradient(135deg, #efe4d2, #fbf7ef);
}

.featured-book-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.featured-book-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured-book-image img {
  max-width: 530px;
  border-radius: var(--radius);
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.32));
  transition: var(--transition);
}

.featured-book-image img:hover {
  transform: translateY(-10px) scale(1.02);
  filter: drop-shadow(0 45px 60px rgba(0, 0, 0, 0.42));
}

.featured-book-content h2 {
  margin-bottom: 18px;
}

.featured-subtitle {
  font-size: 1.45rem;
  color: var(--olive);
  margin-bottom: 26px;
  font-weight: 700;
}

.featured-book-content p {
  margin-bottom: 22px;
}

/* ROOTED AT HOME */
.rooted-home-section {
  padding: 135px 0;
  background: #efe6d6;
}

.rooted-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.rooted-home-content p {
  margin-bottom: 24px;
}

.rooted-home-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

/* REMEDIES */
.remedies-section {
  padding: 135px 0;
  background: var(--cream);
}

.remedies-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.remedy-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.remedy-card img {
  border-radius: calc(var(--radius) - 6px);
}

.remedy-content h3 {
  margin-bottom: 18px;
  color: var(--olive-dark);
}

.remedy-features {
  margin-top: 24px;
  padding-left: 22px;
}

.remedy-features li {
  margin-bottom: 10px;
  color: var(--soft-brown);
}

/* STUDIO */
.studio-section {
  padding: 125px 0;
  background:
    linear-gradient(rgba(244, 239, 228, 0.94), rgba(244, 239, 228, 0.95)),
    url("images/rooted-texture-01.png");
  background-size: cover;
  background-position: center;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.studio-card {
  padding: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.studio-card:hover {
  transform: translateY(-8px);
}

/* VALUES */
.values-strip {
  background: var(--olive);
  color: white;
  padding: 28px 8%;
  display: flex;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* CONTACT */
.contact-section {
  padding: 130px 0;
  background: var(--parchment);
}

.contact-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fffaf1;
  font-family: inherit;
  font-size: 1rem;
  color: var(--brown);
}

.contact-form textarea {
  resize: vertical;
}

/* FOOTER */
.footer {
  padding: 85px 20px;
  background: #1f1c18;
  color: #e9ddc5;
  text-align: center;
}

.footer h3 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.footer p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: rgba(233, 221, 197, 0.82);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0;
}

.footer-links a {
  color: #e9ddc5;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.85rem;
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .homeschool-grid,
  .featured-book-grid,
  .rooted-home-grid,
  .remedy-card,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .large-card img,
  .curriculum-card img {
    height: auto;
  }

  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 5%;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    padding: 110px 6% 80px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-section,
  .homeschool-section,
  .featured-book-section,
  .rooted-home-section,
  .remedies-section,
  .studio-section,
  .contact-section {
    padding: 90px 0;
  }

  .about-quote,
  .contact-card {
    padding: 30px;
  }
}
