/*
Theme Name: FreeShrooms.org
Theme URI: https://freeshrooms.org/
Author: Teos
Description: A responsive one-page membership website for FreeShrooms.org.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: freeshrooms
*/

:root {
  --background: #f8f4e9;
  --foreground: #173528;
  --moss: #244d35;
  --fern: #557849;
  --clay: #ad6238;
  --gold: #d6a84c;
  --sky: #d9e9ef;
  --cream: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

.fs-site {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
}

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

.hero-shell {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(12 31 22 / 0.82), rgb(23 53 40 / 0.56) 44%, rgb(23 53 40 / 0.08) 75%),
    linear-gradient(180deg, rgb(12 31 22 / 0.16), rgb(248 244 233 / 0.22) 78%, var(--background)),
    url('assets/images/mushroom-forest-hero.png') center / cover;
  color: var(--cream);
}

.site-nav {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand,
.nav-links,
.nav-cta,
.hero-actions,
.hero-note,
.price-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 250 240 / 0.34);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.14);
}

.nav-links {
  justify-content: center;
  gap: 28px;
  font-size: 0.92rem;
  color: rgb(255 250 240 / 0.86);
}

.nav-action,
.login-link,
.primary-button,
.secondary-button,
.tier-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta {
  justify-self: end;
  gap: 18px;
}

.login-link {
  color: rgb(255 250 240 / 0.9);
  font-size: 0.92rem;
  min-height: 40px;
}

.login-link:hover {
  color: var(--gold);
}

.nav-action {
  padding: 0 18px;
  background: var(--gold);
  color: #1d2e22;
}

.mobile-menu {
  display: none;
  position: relative;
  z-index: 101;
  justify-self: end;
}

.mobile-menu summary {
  display: flex;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid rgb(255 250 240 / 0.42);
  border-radius: 999px;
  background: rgb(13 32 23 / 0.42);
  backdrop-filter: blur(10px);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--cream);
}

.mobile-menu-panel {
  position: absolute;
  z-index: 102;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 190px;
  gap: 4px;
  border: 1px solid rgb(255 250 240 / 0.28);
  border-radius: 8px;
  background: rgb(13 32 23 / 0.88);
  padding: 8px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(14px);
}

.mobile-menu-panel a {
  border-radius: 6px;
  padding: 12px 14px;
  color: rgb(255 250 240 / 0.9);
  font-size: 0.94rem;
  font-weight: 800;
}

.mobile-menu-panel a:hover {
  background: rgb(255 250 240 / 0.1);
  color: var(--gold);
}

.header-blurb {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -6px auto 0;
  color: rgb(255 250 240 / 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.header-blurb a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgb(214 168 76 / 0.48);
  text-underline-offset: 3px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: clamp(72px, 12vh, 126px) auto 0;
  transform: translateX(clamp(-200px, -11vw, -48px));
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-copy {
  max-width: 590px;
  margin: 26px 0 0;
  color: rgb(255 250 240 / 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button {
  padding: 0 24px;
  background: var(--gold);
  color: #183024;
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.2);
}

.secondary-button {
  border: 1px solid rgb(255 250 240 / 0.64);
  padding: 0 22px;
  color: var(--cream);
  backdrop-filter: blur(10px);
}

.hero-note {
  position: absolute;
  right: min(7vw, 88px);
  bottom: 42px;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgb(255 250 240 / 0.32);
  border-radius: 999px;
  background: rgb(13 32 23 / 0.54);
  color: rgb(255 250 240 / 0.86);
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
}

.hero-note strong {
  color: white;
}

.intro-band,
.benefits-section,
.content-section,
.catalog-section,
.join-band,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.6fr;
  gap: 40px;
  padding: 72px 0 58px;
}

.intro-band h2,
.section-heading h2,
.catalog-copy h2,
.join-band h2 {
  margin: 0;
  color: #163326;
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.steps,
.benefit-grid,
.tier-grid,
.resource-grid {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps article,
.benefit-grid article,
.tier-card,
.resource-grid article {
  border: 1px solid rgb(36 77 53 / 0.16);
  border-radius: 8px;
  background: rgb(255 250 240 / 0.72);
  box-shadow: 0 18px 48px rgb(48 38 24 / 0.08);
}

.steps article {
  padding: 24px;
}

.steps span {
  color: var(--clay);
  font-weight: 900;
}

.steps h3,
.catalog-list h3,
.resource-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.1rem;
}

.steps p,
.section-heading p,
.tier-card p,
.catalog-copy p,
.catalog-list p,
.resource-grid p,
.join-band p {
  color: #466153;
  line-height: 1.65;
}

.content-section {
  padding: 48px 0 72px;
}

.benefits-section {
  padding: 52px 0 72px;
  border-top: 1px solid rgb(36 77 53 / 0.14);
}

.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  padding: 26px;
}

.benefit-grid article::after {
  position: absolute;
  right: -24px;
  bottom: -26px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: rgb(214 168 76 / 0.12);
  content: '';
}

.benefit-icon {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #edf5df, #f7e5bd);
  box-shadow:
    inset 0 0 0 1px rgb(36 77 53 / 0.14),
    0 10px 24px rgb(48 38 24 / 0.08);
}

.benefit-icon span,
.benefit-icon::before,
.benefit-icon::after {
  position: absolute;
  display: block;
  content: '';
}

.trail-icon::before {
  left: 15px;
  top: 10px;
  width: 18px;
  height: 25px;
  border-right: 4px solid var(--moss);
  border-bottom: 4px solid var(--moss);
  border-radius: 0 0 18px 0;
  transform: rotate(19deg);
}

.trail-icon::after {
  right: 11px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.trail-icon span:first-child {
  left: 12px;
  bottom: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 11px 4px 0 rgb(173 98 56 / 0.72);
}

.trail-icon span:last-child {
  display: none;
}

.fern-shield-icon::before {
  left: 12px;
  top: 8px;
  width: 22px;
  height: 28px;
  background: var(--moss);
  clip-path: polygon(50% 0, 88% 16%, 80% 70%, 50% 100%, 20% 70%, 12% 16%);
}

.fern-shield-icon::after {
  left: 23px;
  top: 13px;
  width: 9px;
  height: 20px;
  border-radius: 9px 0 9px 0;
  background: #8db36e;
  transform: rotate(31deg);
}

.fern-shield-icon span:first-child {
  left: 16px;
  top: 18px;
  width: 10px;
  height: 18px;
  border-radius: 10px 0 10px 0;
  background: #b9d3a0;
  transform: rotate(-38deg);
}

.fern-shield-icon span:last-child {
  left: 22px;
  top: 15px;
  width: 2px;
  height: 20px;
  border-radius: 999px;
  background: rgb(255 250 240 / 0.72);
}

.harvest-basket-icon::before {
  left: 10px;
  bottom: 11px;
  width: 26px;
  height: 17px;
  border-radius: 4px 4px 10px 10px;
  background: var(--clay);
}

.harvest-basket-icon::after {
  left: 14px;
  top: 13px;
  width: 18px;
  height: 16px;
  border: 3px solid var(--moss);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.harvest-basket-icon span:first-child {
  left: 13px;
  bottom: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    9px -3px 0 #9b4760,
    17px 1px 0 #6f9b59;
}

.harvest-basket-icon span:last-child {
  left: 13px;
  bottom: 16px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgb(255 250 240 / 0.56);
  box-shadow: 0 5px 0 rgb(255 250 240 / 0.42);
}

.moon-sprout-icon::before {
  left: 11px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 7px 0 0 #f7e5bd;
}

.moon-sprout-icon::after {
  left: 24px;
  bottom: 10px;
  width: 4px;
  height: 21px;
  border-radius: 999px;
  background: var(--moss);
}

.moon-sprout-icon span:first-child {
  left: 15px;
  bottom: 15px;
  width: 14px;
  height: 17px;
  border-radius: 14px 0 14px 0;
  background: var(--fern);
  transform: rotate(-34deg);
}

.moon-sprout-icon span:last-child {
  right: 11px;
  bottom: 16px;
  width: 13px;
  height: 17px;
  border-radius: 0 14px 0 14px;
  background: #6f9b59;
  transform: rotate(32deg);
}

.benefit-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.benefit-grid p {
  margin: 0;
  color: #466153;
  line-height: 1.62;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
}

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-card {
  display: grid;
  min-height: 330px;
  align-content: space-between;
  gap: 24px;
  padding: 28px;
}

.tier-card > div:first-child p {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tier-card h3 {
  margin: 0;
  font-size: 2rem;
}

.price-row {
  gap: 8px;
}

.price-row strong {
  color: #193729;
  font-size: 2.8rem;
  line-height: 1;
}

.price-row span {
  color: #5f7469;
}

.tier-card a {
  width: fit-content;
  padding: 0 18px;
  background: #203c2d;
  color: var(--cream);
}

.catalog-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0;
  border-top: 1px solid rgb(36 77 53 / 0.14);
  border-bottom: 1px solid rgb(36 77 53 / 0.14);
}

.product-visual {
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgb(214 168 76 / 0.34), transparent 34%),
    linear-gradient(135deg, #244d35, #8b6643 62%, #d9e9ef);
  padding: 28px;
}

.product-visual img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 28px 60px rgb(0 0 0 / 0.22);
}

.catalog-copy p {
  font-size: 1.05rem;
}

.catalog-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.catalog-list article {
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 18px;
}

.catalog-list h3,
.catalog-list p {
  margin: 0;
}

.resources {
  padding-top: 76px;
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-grid article {
  padding: 24px;
}

.resource-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef5df;
  box-shadow: inset 0 0 0 1px rgb(36 77 53 / 0.14);
}

.resource-icon span,
.resource-icon::before,
.resource-icon::after {
  position: absolute;
  content: '';
  display: block;
}

.mushroom-icon {
  background: linear-gradient(135deg, #f6e6bd, #d8ead1);
}

.mushroom-icon::before {
  left: 13px;
  top: 15px;
  width: 28px;
  height: 18px;
  border-radius: 18px 18px 8px 8px;
  background: var(--clay);
}

.mushroom-icon::after {
  left: 23px;
  top: 30px;
  width: 10px;
  height: 15px;
  border-radius: 5px 5px 8px 8px;
  background: var(--cream);
}

.mushroom-icon span:first-child {
  left: 20px;
  top: 20px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 12px 3px 0 var(--cream);
}

.mushroom-icon span:last-child {
  left: 17px;
  top: 32px;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: rgb(255 250 240 / 0.8);
}

.sun-pine-icon {
  background: linear-gradient(135deg, #f6e5b3, #dcebd9);
}

.sun-pine-icon::before {
  left: 12px;
  top: 11px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgb(214 168 76 / 0.22);
}

.sun-pine-icon::after {
  left: 29px;
  bottom: 10px;
  width: 0;
  height: 0;
  border-right: 12px solid transparent;
  border-bottom: 33px solid var(--moss);
  border-left: 12px solid transparent;
}

.sun-pine-icon span:first-child {
  left: 35px;
  bottom: 10px;
  width: 4px;
  height: 15px;
  border-radius: 999px;
  background: #7a5538;
}

.sun-pine-icon span:last-child {
  left: 10px;
  bottom: 13px;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: rgb(36 77 53 / 0.3);
}

.sprout-icon {
  background: linear-gradient(135deg, #e0efd7, #f8e9c1);
}

.sprout-icon::before {
  left: 26px;
  top: 15px;
  width: 4px;
  height: 29px;
  border-radius: 999px;
  background: var(--moss);
}

.sprout-icon::after {
  left: 18px;
  top: 22px;
  width: 14px;
  height: 20px;
  border-radius: 14px 0 14px 0;
  background: var(--fern);
  transform: rotate(-32deg);
}

.sprout-icon span:first-child {
  left: 29px;
  top: 16px;
  width: 17px;
  height: 22px;
  border-radius: 0 16px 0 16px;
  background: #6f9b59;
  transform: rotate(28deg);
}

.sprout-icon span:last-child {
  left: 14px;
  bottom: 10px;
  width: 28px;
  height: 6px;
  border-radius: 50%;
  background: rgb(173 98 56 / 0.32);
}

.berry-rings-icon {
  background: linear-gradient(135deg, #f7ddb8, #ddebd7);
}

.berry-rings-icon::before {
  left: 12px;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--gold);
  border-radius: 50%;
}

.berry-rings-icon::after {
  right: 12px;
  top: 14px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--clay);
  border-radius: 50%;
}

.berry-rings-icon span:first-child {
  left: 17px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 46% 46%;
  background: #9b4760;
}

.berry-rings-icon span:last-child {
  right: 15px;
  bottom: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 46% 46%;
  background: #c86143;
}

.join-band {
  margin-bottom: 48px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgb(23 53 40 / 0.96), rgb(36 77 53 / 0.9)),
    url('assets/images/mushroom-forest-hero.png') center / cover;
  padding: clamp(36px, 6vw, 64px);
  color: var(--cream);
}

.join-band h2 {
  color: var(--cream);
}

.join-band p {
  max-width: 640px;
  color: rgb(255 250 240 / 0.82);
}

.join-band .primary-button {
  margin-top: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.6fr;
  gap: 48px;
  padding: 16px 0 72px;
}

.contact-heading h2 {
  margin: 0;
  color: #163326;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-item {
  min-height: 168px;
  margin: 0;
  border: 1px solid rgb(36 77 53 / 0.16);
  border-radius: 8px;
  padding: 24px;
  background: rgb(255 250 240 / 0.72);
  box-shadow: 0 18px 48px rgb(48 38 24 / 0.08);
  color: #264b39;
  font-style: normal;
  line-height: 1.55;
}

.contact-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item a {
  color: inherit;
  text-decoration-color: rgb(36 77 53 / 0.34);
  text-underline-offset: 4px;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: #0f3424;
  text-decoration-color: var(--gold);
}

@media (max-width: 900px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content {
    transform: none;
  }

  .intro-band,
  .benefits-section,
  .section-heading,
  .catalog-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    gap: 28px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-item {
    min-height: auto;
  }

  .steps,
  .benefit-grid,
  .tier-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    left: 20px;
    right: 20px;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 8px;
  }
}

@media (max-width: 560px) {
  .hero-shell {
    min-height: 96vh;
  }

  .site-nav {
    width: calc(100% - 28px);
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
    line-height: 1;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 12px;
  }

  .nav-cta {
    gap: 8px;
  }

  .login-link {
    font-size: 0.86rem;
  }

  .mobile-menu summary {
    width: 40px;
    height: 40px;
  }

  .hero-content,
  .intro-band,
  .benefits-section,
  .content-section,
  .catalog-section,
  .join-band,
  .contact-section {
    width: calc(100% - 28px);
  }

  .hero-content {
    margin-top: 52px;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .hero-note {
    bottom: 24px;
  }

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

  .intro-band,
  .catalog-section {
    padding: 54px 0;
  }

  .content-section,
  .benefits-section,
  .resources,
  .contact-section {
    padding: 42px 0 54px;
  }

  .tier-card {
    min-height: auto;
  }
}
