/*
Theme Name: Fruitful Convictions v1.0.1
Theme URI: https://sacredexpressions.co/
Author: Fruitful Convictions
Description: Custom homepage theme for Fruitful Convictions.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Text Domain: fruitful-convictions
*/

:root {
  --ivory: #fbf6ed;
  --paper: #fffaf2;
  --teal: #073943;
  --teal-deep: #022f36;
  --gold: #b9742a;
  --gold-soft: #d6a35c;
  --coral: #c65358;
  --ink: #112f38;
  --muted: #5c6864;
  --line: #dfc9aa;
  --shadow: 0 22px 55px rgba(62, 41, 18, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 4%, rgba(238, 197, 126, 0.42), transparent 22rem),
    linear-gradient(180deg, #fffaf1 0%, var(--ivory) 45%, #fff9f0 100%);
  font-family: var(--sans);
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 24px 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
}

.brand-mark .needle {
  fill: rgba(183, 116, 42, 0.12);
}

.brand strong,
.brand em {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 0.95;
}

.brand strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
}

.brand em {
  margin-top: 6px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
}

.brand small {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small b {
  color: var(--gold);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.button-teal {
  color: white;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(7, 57, 67, 0.2);
}

.button-gold {
  color: white;
  background: linear-gradient(135deg, var(--gold), #c98b43);
  box-shadow: 0 10px 24px rgba(183, 116, 42, 0.24);
}

.button-outline {
  color: var(--gold);
  background: rgba(255, 250, 242, 0.72);
  border-color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: end;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff8ec 0%, rgba(255, 248, 236, 0.96) 33%, rgba(255, 248, 236, 0.35) 52%, rgba(255, 248, 236, 0) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 120px 0 56px 46px;
  max-width: 560px;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 92px);
  font-weight: 600;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  font-size: 0.87em;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
}

.hero h1 b {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  width: max-content;
  color: var(--coral);
  font-family: var(--script);
  font-size: 0.8em;
  font-style: normal;
  line-height: 0.86;
  text-transform: none;
  transform: rotate(-2deg);
}

.hero h1 em::after {
  content: "♡";
  margin-left: 20px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.4em;
  vertical-align: middle;
}

.divider {
  width: 340px;
  max-width: 78%;
  height: 1px;
  margin: 34px 0 22px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.lead {
  margin: 0;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.08;
}

.lead i {
  color: var(--gold);
}

.intro {
  max-width: 410px;
  margin: 22px 0 26px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 31%;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.04), rgba(255, 248, 236, 0.1)),
    url("assets/hero-garden-women.png") center center / cover no-repeat;
  background-size: cover;
}

.pathways {
  padding: 28px 44px 46px;
  text-align: center;
}

.pathways h2,
.section-heading p {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: var(--script);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 400;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.pathway-grid article {
  min-height: 178px;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.pathway-grid article:first-child {
  border-left: 0;
}

.pathway-grid svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pathway-grid article:nth-child(2) svg,
.pathway-grid article:nth-child(5) svg {
  stroke: var(--teal);
}

.pathway-grid article:nth-child(4) svg {
  stroke: var(--coral);
}

.pathway-grid .fill {
  fill: rgba(183, 116, 42, 0.1);
}

.pathway-grid h3 {
  margin: 16px 0 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pathway-grid h3::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--gold);
}

.pathway-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.series {
  position: relative;
  display: grid;
  grid-template-columns: 27% 22% 28% 23%;
  align-items: center;
  max-width: 1120px;
  min-height: 312px;
  margin: 0 auto 50px;
  padding: 0 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.94) 64%, rgba(255, 250, 242, 0.55) 100%),
    radial-gradient(circle at 8% 12%, rgba(218, 183, 127, 0.2), transparent 22rem);
  border: 1px solid rgba(223, 201, 170, 0.55);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.series-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.category {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.series h2 {
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 600;
  line-height: 0.98;
}

.series h2 em {
  color: var(--coral);
  font-family: var(--script);
  font-size: 0.92em;
  font-style: normal;
}

.series-copy > p:last-of-type {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.7;
}

.book-cover {
  position: relative;
  z-index: 2;
  width: 148px;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 147 / 278;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(16px 20px 20px rgba(51, 31, 10, 0.28));
}

.series blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 290px;
}

.stars {
  color: var(--gold);
  font-size: 19px;
  letter-spacing: 0.12em;
}

.series blockquote p {
  margin: 16px 0 14px;
  font-size: 15px;
  line-height: 1.8;
}

.series cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.series-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 285px;
  height: 307px;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.journal {
  max-width: 1120px;
  margin: 0 auto 54px;
  padding: 0 30px;
}

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

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2::after {
  content: "  ❧";
  color: var(--gold);
  font-size: 0.72em;
}

.section-heading p {
  margin: 0;
  color: var(--coral);
  font-size: 34px;
}

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

.journal-card {
  overflow: hidden;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(223, 201, 170, 0.74);
  border-radius: 7px;
  box-shadow: 0 16px 35px rgba(62, 41, 18, 0.08);
}

.journal-card img {
  display: block;
  width: 100%;
  height: 190px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.journal-card div {
  padding: 18px 18px 22px;
}

.journal-card h3 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.05;
}

.journal-card p:not(.category) {
  margin: 0 0 18px;
  color: #263c42;
  font-size: 13px;
  line-height: 1.75;
}

.journal-card a {
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px) minmax(260px, 360px) 1fr;
  align-items: center;
  gap: 28px;
  min-height: 145px;
  padding: 24px 42px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 10% 100%, rgba(33, 119, 111, 0.34), transparent 24rem),
    linear-gradient(135deg, #022e35, #06434b 58%, #023039);
}

.footer-leaves {
  width: 135px;
  height: 135px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 2;
  opacity: 0.85;
}

.footer-leaves.left {
  justify-self: start;
}

.footer-leaves.right {
  justify-self: end;
}

.site-footer blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  text-align: center;
}

.site-footer cite {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup p {
  margin: 5px 0 12px;
  font-size: 12px;
  line-height: 1.45;
}

.signup div {
  display: flex;
}

.signup input {
  width: 100%;
  min-height: 39px;
  border: 0;
  padding: 0 14px;
  font: 500 12px var(--sans);
}

.signup button {
  width: 48px;
  border: 0;
  color: white;
  background: var(--gold);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    background: var(--paper);
  }

  .nav {
    flex-wrap: wrap;
  }

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

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.94) 0%, rgba(255, 248, 236, 0.62) 100%);
  }

  .hero-image {
    inset: 0;
    opacity: 0.42;
  }

  .hero-copy {
    padding: 70px 30px;
  }

  .pathway-grid,
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pathway-grid article {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 26px;
  }

  .series {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 30px;
  }

  .series-image {
    display: none;
  }

  .journal-card img {
    height: 185px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-leaves {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 26px;
  }

  .nav {
    gap: 12px 20px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 29px;
  }

  .pathway-grid,
  .journal-grid,
  .series {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

  .book-cover {
    width: 142px;
    height: auto;
  }

  .journal-card img {
    height: 210px;
  }
}
