
/* ==========================================
   ON PURPOSE WITH PURPOSE
   Cream • Teal Gradient • Purple Gradient
   Celestial Wellness • Inclusive Community
   ========================================== */

:root {
  --cream: #F5F0E1;
  --cream-light: #FFFCF5;
  --teal: #3C6E71;
  --teal-deep: #245355;
  --teal-soft: #75B6B1;
  --purple: #6E5798;
  --purple-deep: #44345F;
  --lavender: #B9A7D8;
  --gold: #D4AF37;
  --sage: #A8B2A1;
  --rose: #C08473;
  --ink: #292B32;
  --muted: #65666B;
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow: 0 18px 50px rgba(48, 52, 69, 0.09);
  --radius: 22px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

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

/* Main hero image */
.hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
}

/* Images inside content cards */
img {
  border-radius: 12px;
}

::selection {
  color: var(--white);
  background: var(--purple);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 15px max(5%, calc((100% - var(--content-width)) / 2));
  background: rgba(255, 252, 245, 0.9);
  border-bottom: 1px solid rgba(60, 110, 113, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-size: 19px;
  background: linear-gradient(145deg, var(--teal), var(--purple));
  border: 1px solid rgba(212, 175, 55, 0.75);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(68, 52, 95, 0.16);
}

.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.brand-name span {
  color: var(--purple);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 27px;
}

.navigation a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.navigation a:hover,
.navigation a:focus-visible {
  color: var(--purple);
}

.navigation .nav-cta {
  padding: 10px 18px;
  color: var(--white);
  background: linear-gradient(110deg, var(--teal), var(--purple));
  border-radius: 30px;
}

.navigation .nav-cta:hover {
  color: var(--white);
  box-shadow: 0 5px 18px rgba(68, 52, 95, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(60, 110, 113, 0.2);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--teal-deep);
  border-radius: 2px;
}

/* HERO */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  padding: 95px max(7%, calc((100% - var(--content-width)) / 2));
  background:
    radial-gradient(ellipse at 78% 25%, rgba(185, 167, 216, 0.37), transparent 38%),
    radial-gradient(ellipse at 80% 80%, rgba(117, 182, 177, 0.25), transparent 36%),
    linear-gradient(135deg, #FFFCF5 0%, #F5F0E1 60%, #EDE5F4 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -150px;
  width: 680px;
  height: 680px;
  background: linear-gradient(
    145deg,
    rgba(60, 110, 113, 0.88),
    rgba(80, 128, 137, 0.86) 38%,
    rgba(110, 87, 152, 0.88)
  );
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.13);
  content: "";
  opacity: 0.92;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -230px;
  width: 500px;
  height: 500px;
  background: linear-gradient(145deg, rgba(185, 167, 216, 0.5), rgba(117, 182, 177, 0.35));
  border-radius: 50%;
  filter: blur(5px);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(690px, 72%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.journal-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.13;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 76px);
}

.hero h1 span,
.section-heading h2 span,
.journal-content h2 span {
  color: var(--purple);
  font-style: italic;
}

.hero-description {
  max-width: 560px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(110deg, var(--teal-deep), var(--purple));
  box-shadow: 0 8px 22px rgba(68, 52, 95, 0.2);
}

.button-primary:hover {
  box-shadow: 0 12px 28px rgba(68, 52, 95, 0.28);
}

.button-secondary {
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(60, 110, 113, 0.24);
}

.button-secondary:hover {
  box-shadow: var(--shadow);
}

/* CELESTIAL DECORATION */

.orbit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
}

.orbit-one {
  top: 5%;
  right: -7%;
  width: 660px;
  height: 660px;
  transform: rotate(-28deg);
}

.orbit-two {
  top: 12%;
  right: -1%;
  width: 540px;
  height: 540px;
  transform: rotate(35deg);
}

.star {
  position: absolute;
  z-index: 2;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
}

.star-one {
  top: 18%;
  right: 17%;
  font-size: 36px;
}

.star-two {
  top: 65%;
  right: 7%;
  font-size: 48px;
}

.star-three {
  top: 43%;
  right: 31%;
  font-size: 19px;
}

.moon-art {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 12%;
  display: flex;
  width: 260px;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--cream-light);
  transform: translateY(-50%);
}

.moon-crescent {
  color: #FFF4C5;
  font-family: Georgia, serif;
  font-size: 200px;
  line-height: 1.1;
  text-shadow: 0 0 45px rgba(255, 244, 197, 0.2);
}

.moon-caption {
  font-size: 11px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-note {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 42px;
  display: flex;
  max-width: 340px;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
}

.note-icon {
  color: var(--purple);
  font-size: 30px;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.hero-note strong {
  color: var(--teal-deep);
}

/* GENERAL SECTIONS */

.section {
  padding: 100px 7%;
}

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

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.journal-content h2 {
  font-size: clamp(34px, 4vw, 51px);
}

.section-heading > p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.section-heading .button {
  margin-top: 25px;
}

/* PURPOSE CARDS */

.purpose {
  background: var(--cream-light);
}

.purpose-grid {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  margin: 0 auto;
}

.purpose-card {
  padding: 34px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purpose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(48, 52, 69, 0.13);
}

.card-symbol {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  color: var(--white);
  font-size: 26px;
  background: linear-gradient(145deg, var(--teal), var(--purple));
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 18px;
}

.purpose-card h3 {
  margin: 23px 0 10px;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.purpose-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* EXPLORE */

.explore {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(117, 182, 177, 0.18), transparent 35%),
    radial-gradient(ellipse at 100% 0%, rgba(185, 167, 216, 0.23), transparent 35%),
    var(--cream);
}

.explore-grid {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto;
}

.explore-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 29px;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-deep), var(--purple-deep));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.3s ease;
}

.explore-card:hover {
  transform: translateY(-6px);
}

.explore-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(30, 35, 43, 0.87) 0%,
    rgba(40, 40, 60, 0.55) 45%,
    rgba(40, 40, 60, 0.04) 100%
  );
  content: "";
}

.explore-card::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(135deg, #3C6E71, #6E5798, #B9A7D8);
  content: "";
  transition: transform 0.5s ease;
}

.explore-card:hover::after {
  transform: scale(1.07);
}

.explore-journal::after {
  background:
    radial-gradient(circle at 70% 25%, rgba(212, 175, 55, 0.45), transparent 32%),
    linear-gradient(140deg, #3C6E71, #44345F);
}

.explore-practice::after {
  background:
    radial-gradient(circle at 65% 22%, rgba(245, 240, 225, 0.45), transparent 30%),
    linear-gradient(140deg, #6E5798, #44345F);
}

.explore-community::after {
  background:
    radial-gradient(circle at 70% 24%, rgba(117, 182, 177, 0.6), transparent 34%),
    linear-gradient(140deg, #245355, #6E5798);
}

.explore-number {
  margin-bottom: auto;
  color: #F7E4A0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.explore-card h3 {
  margin: 36px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.explore-card p {
  margin: 0 0 19px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.8;
}

.card-link {
  color: #F7E4A0;
  font-size: 12px;
  font-weight: 700;
}

/* JOURNAL FEATURE */

.journal {
  display: flex;
  justify-content: center;
  background: var(--cream-light);
}

.journal-content {
  position: relative;
  width: min(900px, 100%);
  overflow: hidden;
  padding: 65px 55px;
  text-align: center;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(117, 182, 177, 0.21), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(185, 167, 216, 0.32), transparent 45%),
    rgba(255, 255, 255, 0.75);
}

.journal-content::before,
.journal-content::after {
  position: absolute;
  color: rgba(212, 175, 55, 0.55);
  font-family: Georgia, serif;
  font-size: 75px;
  content: "✧";
}

.journal-content::before {
  top: 12px;
  left: 28px;
}

.journal-content::after {
  right: 28px;
  bottom: 12px;
}

.journal-content > p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.journal-content .journal-signoff {
  color: var(--teal-deep) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px !important;
  font-style: italic;
}

/* CONNECT */

.connect {
  background:
    radial-gradient(ellipse at 15% 100%, rgba(117, 182, 177, 0.19), transparent 36%),
    radial-gradient(ellipse at 90% 0%, rgba(185, 167, 216, 0.3), transparent 40%),
    var(--cream);
}

/* FOOTER */

.site-footer {
  padding: 40px 7% 25px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(110deg, #245355, #44345F);
  text-align: center;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.footer-brand span {
  color: #F7E4A0;
}

.site-footer p {
  margin: 10px 0;
  font-size: 12px;
}

.footer-small {
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* RESPONSIVE TABLETS */

@media (max-width: 1000px) {
  .site-header {
    padding-right: 4%;
    padding-left: 4%;
  }

  .navigation {
    gap: 15px;
  }

  .navigation a {
    font-size: 12px;
  }

  .hero {
    min-height: 610px;
    padding-right: 5%;
    padding-left: 5%;
  }

  .hero-content {
    width: 75%;
  }

  .moon-art {
    right: 4%;
    opacity: 0.8;
  }

  .hero-note {
    right: 4%;
  }

  .purpose-grid,
  .explore-grid {
    gap: 15px;
  }

  .purpose-card {
    padding: 26px 22px;
  }

  .explore-card {
    padding: 23px;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
    padding: 12px 5%;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-name span {
    font-size: 12px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 5% 22px;
    background: rgba(255, 252, 245, 0.98);
    border-bottom: 1px solid rgba(60, 110, 113, 0.12);
    box-shadow: 0 15px 25px rgba(48, 52, 69, 0.08);
  }

  .navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .navigation a {
    padding: 13px 8px;
    font-size: 14px;
  }

  .navigation .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 680px;
    align-items: flex-start;
    padding: 78px 6% 155px;
  }

  .hero::before {
    top: auto;
    right: -100px;
    bottom: -245px;
    width: 490px;
    height: 490px;
  }

  .hero::after {
    right: -100px;
    bottom: -180px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(41px, 10vw, 62px);
    letter-spacing: -1px;
  }

  .hero-description {
    max-width: 520px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    min-height: 46px;
  }

  .orbit-one {
    top: auto;
    right: -160px;
    bottom: -170px;
    width: 470px;
    height: 470px;
  }

  .orbit-two {
    top: auto;
    right: -110px;
    bottom: -120px;
    width: 380px;
    height: 380px;
  }

  .moon-art {
    top: auto;
    right: 9%;
    bottom: 68px;
    width: 120px;
    transform: none;
  }

  .moon-crescent {
    font-size: 100px;
  }

  .moon-caption {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .star-one {
    top: auto;
    right: 25%;
    bottom: 210px;
    font-size: 25px;
  }

  .star-two {
    top: auto;
    right: 8%;
    bottom: 130px;
    font-size: 30px;
  }

  .star-three {
    top: auto;
    right: 40%;
    bottom: 95px;
  }

  .hero-note {
    right: auto;
    bottom: 20px;
    left: 6%;
    max-width: 265px;
    padding: 12px 15px;
  }

  .section {
    padding: 72px 6%;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .journal-content h2 {
    font-size: clamp(33px, 8vw, 44px);
    letter-spacing: -0.7px;
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 14px;
  }

  .purpose-grid,
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .purpose-card {
    padding: 27px;
  }

  .purpose-card h3 {
    font-size: 22px;
  }

  .explore-card {
    min-height: 260px;
  }

  .journal-content {
    padding: 55px 25px;
  }

  .journal-content::before {
    top: 4px;
    left: 12px;
    font-size: 46px;
  }

  .journal-content::after {
    right: 12px;
    bottom: 4px;
    font-size: 46px;
  }

  .site-footer {
    padding: 34px 6% 22px;
  }
}

/* SMALL PHONES */

@media (max-width: 380px) {
  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-name span {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

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

  .button {
    padding: 11px 16px;
    font-size: 12px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Accessibility: hide skip link until keyboard focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 16px;
  background: #F5F0E1;
  color: #2C2A4A;
  border: 2px solid #3C6E71;
  border-radius: 6px;
}

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