:root {
  --cs-black: #000000;
  --cs-green-bg: #A6BA71;
  --cs-green-deep: #244015;
  --cs-green-mid: #466320;
  --cs-yellow: #ECEC08;
  --cs-soft-line: rgba(36, 64, 21, 0.24);
  --cs-soft-fill: rgba(255, 255, 255, 0.18);
  --cs-text: #11180d;
}

body.body,
.cs-about-page {
  background-color: var(--cs-green-bg) !important;
  color: var(--cs-text);
  font-family: "Nunito VariableFont wght", Arial, sans-serif;
}

.public-site-header {
  background: var(--cs-black);
  padding: 0;
}

.public-navbar {
  min-height: 86px;
  padding: 12px 28px;
  background: var(--cs-black) !important;
  align-items: center;
}

.public-logo-link {
  display: flex;
  align-items: center;
}

.public-logo {
  max-width: 300px;
  margin: 0 !important;
  display: block;
}

.public-navbar-links {
  margin: 0 !important;
}

.public-navbar .navbar-nav {
  align-items: center;
  gap: 14px;
}

.public-navbar .nav-link {
  padding: 0.55rem 0.75rem;
}

.public-navbar .h6 {
  color: var(--cs-yellow);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.public-navbar .active .h6,
.public-navbar .nav-link:hover .h6,
.public-navbar .nav-link:focus .h6 {
  color: #ffffff;
}

.cs-about-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 44px 42px 68px;
}

.cs-about-title-section {
  text-align: center;
  margin-bottom: 44px;
}

.cs-about-title-section h1 {
  color: var(--cs-green-deep);
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 18px;
}

.cs-about-quote {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 26px 0;
}

.cs-about-quote blockquote {
  position: relative;
  margin: 0;
  color: #1f281c;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 650;
}

.cs-about-quote blockquote::before,
.cs-about-quote blockquote::after {
  color: rgba(70, 99, 32, 0.42);
  font-size: 1.8em;
  line-height: 0;
  vertical-align: -0.25em;
}

.cs-about-quote blockquote::before {
  content: "“";
  margin-right: 8px;
}

.cs-about-quote blockquote::after {
  content: "”";
  margin-left: 6px;
}

.cs-about-quote figcaption {
  margin-top: 12px;
  color: var(--cs-green-deep);
  font-size: 20px;
  font-weight: 700;
}

.cs-founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
  margin-top: 42px;
}

.cs-founder {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.cs-founder-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.cs-founder h2 {
  color: var(--cs-green-deep);
  font-size: clamp(28px, 2.1vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  margin: 8px 0 14px;
}

.cs-founder p {
  color: var(--cs-text);
  font-size: 19px;
  line-height: 1.58;
  margin: 0;
  max-width: 650px;
}

.cs-section-title {
  color: var(--cs-green-deep);
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  margin: 0 0 36px;
}

.cs-section-divider {
  border: 0;
  border-top: 1px solid var(--cs-soft-line);
  margin: 64px 0 46px;
}

.cs-logo-section {
  margin-top: 0;
}

.cs-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 34px 42px;
  align-items: center;
}

.cs-logo-cell {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.cs-logo-cell img {
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.cs-logo-cell .cs-logo-wide {
  max-height: 72px;
}

.cs-logo-cell .cs-logo-seal {
  max-height: 92px;
}

.cs-testimonial {
  margin-top: 62px;
  padding: 34px 46px;
  background: var(--cs-soft-fill);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cs-testimonial h2 {
  color: var(--cs-green-deep);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center;
}

.cs-testimonial-content {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.cs-testimonial-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 12px;
}

.cs-testimonial blockquote {
  margin: 0;
  color: var(--cs-text);
  font-size: 20px;
  line-height: 1.58;
}

.cs-testimonial blockquote p {
  margin: 0 0 14px;
}

.cs-testimonial blockquote p:last-child {
  margin-bottom: 0;
}

.public-site-footer {
  background: var(--cs-black);
  padding: 20px 28px;
}

.public-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1380px;
  margin: 0 auto;
}

.public-footer-logo {
  width: 245px;
  max-width: 100%;
  height: auto;
  display: block;
}

.public-footer-copyright {
  color: var(--cs-yellow);
  text-align: right;
  font-family: "Nunito VariableFont wght", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 1199px) {
  .cs-founder-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cs-founder {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .cs-founder-photo {
    width: 200px;
    height: 200px;
  }

  .cs-logo-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 767px) {
  .public-navbar {
    padding: 12px 18px;
  }

  .public-logo {
    max-width: 230px;
  }

  .public-navbar .navbar-nav {
    align-items: flex-start;
    gap: 4px;
    padding-top: 12px;
  }

  .cs-about-wrap {
    padding: 34px 22px 48px;
  }

  .cs-founder {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .cs-founder-photo {
    margin: 0 auto;
  }

  .cs-founder p {
    text-align: left;
    font-size: 18px;
  }

  .cs-logo-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 22px;
  }

  .cs-logo-cell {
    min-height: 96px;
    padding: 12px;
  }

  .cs-testimonial {
    padding: 28px 22px;
  }

  .cs-testimonial-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cs-testimonial-logo {
    margin: 0 auto;
  }

  .cs-testimonial blockquote {
    text-align: left;
    font-size: 18px;
  }

  .public-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-footer-copyright {
    text-align: left;
    font-size: 16px;
  }
}


/* v5 refinements: calmer heading weight, restored logo readability, no footer logo */
.cs-about-title-section h1,
.cs-founder h2,
.cs-section-title,
.cs-testimonial h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cs-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 38px 46px;
  max-width: 1220px;
  margin: 0 auto;
}

.cs-logo-cell {
  flex: 0 1 205px;
  min-height: 136px;
  padding: 8px 10px;
}

.cs-logo-cell img {
  max-width: 195px;
  max-height: 112px;
}

.cs-logo-cell .cs-logo-wide {
  max-width: 220px;
  max-height: 86px;
}

.cs-logo-cell .cs-logo-seal {
  max-width: 118px;
  max-height: 118px;
}

@media (min-width: 1200px) {
  .cs-logo-cell:nth-child(6) {
    margin-left: 116px;
  }
}

.public-site-footer {
  background: var(--cs-black);
  padding: 18px 28px;
}

.public-footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1380px;
  margin: 0 auto;
}

.public-footer-logo,
.public-footer-logo-link {
  display: none !important;
}

.public-footer-copyright {
  color: var(--cs-yellow);
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .cs-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 28px 34px;
  }

  .cs-logo-cell {
    min-height: 118px;
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .cs-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 22px;
  }

  .cs-logo-cell {
    min-height: 96px;
    padding: 12px;
  }

  .cs-logo-cell img {
    max-width: 100%;
    max-height: 86px;
  }

  .cs-logo-cell .cs-logo-wide {
    max-width: 100%;
    max-height: 72px;
  }

  .cs-logo-cell .cs-logo-seal {
    max-width: 92px;
    max-height: 92px;
  }

  .public-footer-inner {
    justify-content: center;
  }

  .public-footer-copyright {
    text-align: center;
    white-space: normal;
    font-size: 15px;
  }
}

/* v6 refinements: align header/footer to page content boundary; improve nav size and vertical balance */
.public-navbar {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 42px;
  min-height: 92px;
}

.public-logo {
  max-width: 300px;
}

.public-navbar-links {
  align-self: stretch;
  display: flex !important;
  align-items: center;
  padding-top: 12px;
}

.public-navbar .navbar-nav {
  gap: 18px;
}

.public-navbar .nav-link {
  padding: 0.65rem 0.8rem;
}

.public-navbar .h6 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

.public-site-footer {
  padding: 20px 42px;
}

.public-footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  justify-content: flex-end;
}

.public-footer-copyright {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .public-navbar {
    padding: 12px 22px;
  }

  .public-navbar-links {
    display: block !important;
    align-self: auto;
    padding-top: 10px;
  }

  .public-navbar .h6 {
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  .public-navbar {
    padding: 12px 18px;
    min-height: 86px;
  }

  .public-navbar-links {
    padding-top: 12px;
  }

  .public-site-footer {
    padding: 18px 22px;
  }

  .public-footer-copyright {
    white-space: normal;
  }
}

/* v7 refinements: keep collapsed navigation inside hamburger menu and right-align opened mobile menu */
@media (min-width: 992px) {
  .public-navbar-links {
    display: flex !important;
    align-self: stretch;
    align-items: center;
    padding-top: 12px;
  }
}

@media (max-width: 991px) {
  .public-navbar .navbar-collapse.public-navbar-links:not(.show) {
    display: none !important;
  }

  .public-navbar .navbar-collapse.public-navbar-links.show {
    display: block !important;
  }

  .public-navbar-links {
    width: 100%;
    text-align: right;
    padding-top: 8px;
  }

  .public-navbar .navbar-nav {
    align-items: flex-end;
    gap: 6px;
  }

  .public-navbar .nav-link {
    padding: 0.55rem 0;
  }
}

/* readability-standard-v1: About page desktop readability trial */
@media (min-width: 1200px) {
  .cs-about-wrap {
    max-width: 1500px;
    padding: 48px 56px 72px;
  }

  .cs-about-title-section {
    margin-bottom: 48px;
  }

  .cs-about-title-section h1 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 18px;
  }

  .cs-about-quote {
    max-width: 1080px;
  }

  .cs-about-quote blockquote {
    font-size: 30px;
    line-height: 1.38;
    font-weight: 500;
  }

  .cs-about-quote figcaption {
    font-size: 20px;
    font-weight: 600;
  }

  .cs-founder-section {
    gap: 66px;
    margin-top: 46px;
  }

  .cs-founder {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
  }

  .cs-founder-photo {
    width: 260px;
    height: 260px;
  }

  .cs-founder h2 {
    font-size: 32px;
    line-height: 1.18;
    font-weight: 600;
    margin: 0 0 16px;
  }

  .cs-founder p {
    font-size: 20px;
    line-height: 1.62;
    max-width: 760px;
  }

  .cs-section-divider {
    margin: 58px 0 42px;
  }

  .cs-section-title {
    font-size: 34px;
    line-height: 1.24;
    font-weight: 600;
    margin-bottom: 34px;
  }

  .cs-logo-grid {
    max-width: 1360px;
    gap: 36px 58px;
  }

  .cs-logo-cell {
    flex-basis: 230px;
    min-height: 150px;
    padding: 8px 12px;
  }

  .cs-logo-cell img {
    max-width: 220px;
    max-height: 126px;
  }

  .cs-logo-cell .cs-logo-wide {
    max-width: 255px;
    max-height: 96px;
  }

  .cs-logo-cell .cs-logo-seal {
    max-width: 132px;
    max-height: 132px;
  }

  .cs-logo-cell:nth-child(6) {
    margin-left: 140px;
  }

  .cs-testimonial {
    max-width: 1220px;
    margin: 66px auto 0;
    padding: 36px 48px;
  }

  .cs-testimonial h2 {
    font-size: 34px;
    line-height: 1.24;
    font-weight: 600;
  }

  .cs-testimonial-content {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 32px;
    max-width: 1120px;
  }

  .cs-testimonial-logo {
    width: 110px;
    height: 110px;
  }

  .cs-testimonial blockquote {
    font-size: 20px;
    line-height: 1.62;
  }
}

/* readability-standard-v2: stronger desktop readability trial for 24in/2K screens */
@media (min-width: 1200px) {
  .cs-about-wrap {
    max-width: 1660px !important;
    padding: 52px 64px 82px !important;
  }

  .cs-about-title-section {
    margin-bottom: 56px !important;
  }

  .cs-about-title-section h1 {
    font-size: 58px !important;
    line-height: 1.06 !important;
    font-weight: 600 !important;
  }

  .cs-about-quote blockquote {
    font-size: 32px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .cs-about-quote figcaption {
    font-size: 21px !important;
  }

  .cs-founder-section {
    grid-template-columns: 1fr 1fr !important;
    gap: 84px !important;
    margin-top: 54px !important;
  }

  .cs-founder {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: center !important;
  }

  .cs-founder-photo {
    width: 320px !important;
    height: 320px !important;
  }

  .cs-founder h2 {
    font-size: 38px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    margin-bottom: 18px !important;
  }

  .cs-founder p {
    font-size: 22px !important;
    line-height: 1.58 !important;
    max-width: 780px !important;
  }

  .cs-section-divider {
    margin: 70px 0 52px !important;
  }

  .cs-section-title {
    font-size: 40px !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    margin-bottom: 42px !important;
  }

  .cs-logo-grid {
    max-width: 1520px !important;
    gap: 44px 72px !important;
  }

  .cs-logo-cell {
    flex-basis: 260px !important;
    min-height: 172px !important;
    padding: 8px 12px !important;
  }

  .cs-logo-cell img {
    max-width: 250px !important;
    max-height: 145px !important;
  }

  .cs-logo-cell .cs-logo-wide {
    max-width: 295px !important;
    max-height: 112px !important;
  }

  .cs-logo-cell .cs-logo-seal {
    max-width: 150px !important;
    max-height: 150px !important;
  }

  .cs-logo-cell:nth-child(6) {
    margin-left: 165px !important;
  }

  .cs-testimonial {
    max-width: 1360px !important;
    margin-top: 76px !important;
    padding: 42px 56px !important;
  }

  .cs-testimonial h2 {
    font-size: 40px !important;
    font-weight: 600 !important;
  }

  .cs-testimonial-content {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 38px !important;
    max-width: 1240px !important;
  }

  .cs-testimonial-logo {
    width: 128px !important;
    height: 128px !important;
  }

  .cs-testimonial blockquote {
    font-size: 22px !important;
    line-height: 1.58 !important;
  }
}

/* readability-standard-v3: About page requested refinements */
.cs-about-quote figcaption a::before,
.cs-about-quote figcaption a::after {
  content: none !important;
}

@media (min-width: 1200px) {
  .cs-founder {
    align-items: start !important;
  }

  .cs-founder-photo {
    width: 300px !important;
    height: 360px !important;
    border-radius: 50% / 42% !important;
    align-self: start !important;
    margin-top: 0 !important;
  }

  .cs-founder h2 {
    margin-top: 0 !important;
  }

  .cs-logo-grid {
    display: none !important;
  }

  .cs-logo-group {
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
  }

  .cs-logo-row,
  .cs-logo-group-military {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cs-logo-row-top {
    gap: 58px;
  }

  .cs-logo-row-second {
    gap: 72px;
    margin-top: 18px;
    transform: translateX(72px);
  }

  .cs-logo-group-military {
    gap: 64px;
    margin-top: 18px;
  }

  .cs-logo-cell {
    flex: 0 0 auto !important;
    min-height: 118px !important;
    width: auto !important;
    padding: 4px 8px !important;
  }

  .cs-logo-cell img {
    max-width: 245px !important;
    max-height: 126px !important;
  }

  .cs-logo-cell .cs-logo-wide {
    max-width: 285px !important;
    max-height: 104px !important;
  }

  .cs-logo-cell .cs-logo-seal {
    max-width: 178px !important;
    max-height: 178px !important;
  }

  .cs-logo-cell:nth-child(6) {
    margin-left: 0 !important;
  }

  .cs-testimonial {
    margin-top: 52px !important;
    padding: 12px 42px !important;
  }

  .cs-testimonial h2 {
    margin-bottom: 12px !important;
  }

  .cs-testimonial-content {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: center !important;
  }

  .cs-testimonial-logo {
    width: 130px !important;
    height: 130px !important;
  }

  .cs-testimonial blockquote p {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 1199px) {
  .cs-logo-grid {
    display: none !important;
  }

  .cs-logo-row,
  .cs-logo-group-military {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 22px;
    align-items: center;
    justify-items: center;
    margin-top: 18px;
  }

  .cs-logo-row-top,
  .cs-logo-row-second {
    transform: none;
  }

  .cs-logo-group-military .cs-logo-seal {
    max-width: 118px !important;
    max-height: 118px !important;
  }
}


/* about-readability-standard-v4: narrow requested corrections only */
.cs-about-quote figcaption a {
  pointer-events: none;
}

@media (min-width: 1200px) {
  .cs-logo-cell .cs-logo-saint {
    max-width: 360px !important;
    max-height: 142px !important;
  }

  .cs-testimonial {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }

  .cs-testimonial-content {
    grid-template-columns: 128px minmax(0, 1fr) !important;
    align-items: center !important;
  }

  .cs-testimonial-logo {
    width: 128px !important;
    height: 128px !important;
  }
}

/* readability-standard-v6-testimonial-only: final effective testimonial overrides */
.cs-testimonial {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.cs-testimonial-content {
  grid-template-columns: 160px minmax(0, 1fr) !important;
}

.cs-testimonial-logo {
  width: 160px !important;
  height: 160px !important;
}
.cs-contact-page {
  background-color: var(--cs-green-bg) !important;
  color: var(--cs-text);
  font-family: Arial, Helvetica, sans-serif;
}

.cs-contact-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 44px 42px 70px;
}

.cs-contact-hero {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 34px;
}

.cs-contact-art-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cs-contact-art {
  width: min(100%, 390px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16));
}

.cs-contact-intro h1 {
  color: var(--cs-green-deep);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 650;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.cs-contact-lede {
  max-width: 780px;
  color: #182213;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

.cs-contact-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 38px 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  box-shadow: 0 16px 28px rgba(36, 64, 21, 0.12);
}

.cs-contact-form-heading {
  text-align: center;
  margin-bottom: 26px;
}

.cs-contact-form-heading h2 {
  color: var(--cs-green-deep);
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.2;
  font-weight: 650;
  margin: 0 0 8px;
}

.cs-contact-form-heading p {
  color: #25311f;
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
}

.cs-contact-alert {
  border-radius: 18px;
  padding: 15px 18px;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.cs-contact-alert-success {
  background: rgba(236, 236, 8, 0.28);
  border: 1px solid rgba(36, 64, 21, 0.26);
  color: #182213;
}

.cs-contact-alert-error {
  background: rgba(120, 30, 18, 0.14);
  border: 1px solid rgba(120, 30, 18, 0.32);
  color: #3b160e;
}

.cs-contact-form {
  display: grid;
  gap: 20px;
}

.cs-form-row {
  display: grid;
  gap: 8px;
}

.cs-form-row label {
  color: var(--cs-green-deep);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
}

.cs-form-row input,
.cs-form-row textarea {
  width: 100%;
  border: 2px solid rgba(36, 64, 21, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #11180d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  padding: 13px 15px;
  outline: none;
}

.cs-form-row textarea {
  resize: vertical;
  min-height: 180px;
}

.cs-form-row input:focus,
.cs-form-row textarea:focus {
  border-color: var(--cs-green-deep);
  box-shadow: 0 0 0 4px rgba(236, 236, 8, 0.24);
}

.cs-contact-submit {
  justify-self: center;
  border: 0;
  border-radius: 999px;
  background: var(--cs-black);
  color: var(--cs-yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  padding: 14px 34px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.cs-contact-submit:hover,
.cs-contact-submit:focus {
  color: #ffffff;
}

.cs-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .cs-contact-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .cs-contact-art {
    width: min(82vw, 330px);
  }

  .cs-contact-lede {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .cs-contact-wrap {
    padding: 34px 22px 52px;
  }

  .cs-contact-panel {
    padding: 28px 22px 32px;
    border-radius: 22px;
  }

  .cs-contact-form-heading p,
  .cs-contact-alert,
  .cs-form-row label,
  .cs-form-row input,
  .cs-form-row textarea {
    font-size: 17px;
  }

  .cs-contact-submit {
    width: 100%;
  }
}

/* Contact v2 layout refinement: title/subtitle centered in first row, image/form in second row */
.cs-contact-title-section {
  max-width: 1060px;
  margin: 0 auto 42px;
  text-align: center;
}

.cs-contact-title-section h1 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 650;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.cs-contact-title-section .cs-contact-lede {
  max-width: 980px;
  margin: 0 auto;
  color: #182213;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  font-weight: 500;
}

.cs-contact-content-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: 46px;
  align-items: center;
}

.cs-contact-content-row .cs-contact-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-contact-content-row .cs-contact-art {
  width: min(100%, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16));
}

.cs-contact-content-row .cs-contact-panel {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 991px) {
  .cs-contact-title-section {
    margin-bottom: 30px;
  }

  .cs-contact-content-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cs-contact-content-row .cs-contact-art {
    width: min(84vw, 420px);
  }
}

/* responsive fixed footer: fixed on tablet/desktop, normal flow on phones */
@media (min-width: 768px) and (min-height: 700px) {
  body.body {
    padding-bottom: 64px;
  }

  .public-site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
  }
}

@media (max-width: 767px), (max-height: 699px) {
  body.body {
    padding-bottom: 0;
  }

  .public-site-footer {
    position: static;
  }
}

/* community-page-v2: Community hub layout using accepted public page visual system */
.cs-community-page {
  background-color: var(--cs-green-bg) !important;
  color: var(--cs-text);
  font-family: Arial, Helvetica, sans-serif;
}

.cs-community-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 44px 42px 74px;
}

.cs-community-title-section {
  max-width: 1080px;
  margin: 0 auto 34px;
  text-align: center;
}

.cs-community-title-section h1 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 650;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.cs-community-lede {
  max-width: 980px;
  margin: 0 auto;
  color: #182213;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  font-weight: 500;
}

.cs-community-content-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.cs-community-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-community-art {
  width: min(100%, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16));
}

.cs-community-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 0 12px 22px rgba(36, 64, 21, 0.1);
}

.cs-community-card {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(36, 64, 21, 0.16);
}

.cs-community-card h2 {
  color: var(--cs-green-deep);
  font-size: clamp(24px, 1.7vw, 30px);
  line-height: 1.18;
  font-weight: 650;
  margin: 0 0 6px;
}

.cs-community-card p {
  color: #182213;
  font-size: 18px;
  line-height: 1.42;
  margin: 0 0 10px;
}

.cs-community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cs-black);
  color: var(--cs-yellow);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  padding: 9px 19px;
  text-decoration: none;
}

.cs-community-button:hover,
.cs-community-button:focus {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 991px) {
  .cs-community-title-section {
    margin-bottom: 30px;
  }

  .cs-community-content-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cs-community-art {
    width: min(84vw, 420px);
  }
}

@media (max-width: 767px) {
  .cs-community-wrap {
    padding: 34px 22px 52px;
  }

  .cs-community-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .cs-community-card {
    padding: 14px;
  }

  .cs-community-card p,
  .cs-community-button {
    font-size: 17px;
  }

  .cs-community-button {
    width: 100%;
  }
}

/* Products page */
.cs-products-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.cs-products-title-section {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 34px;
}

.cs-products-title-section h1 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.cs-products-quote {
  max-width: 780px;
  margin: 0 auto 24px;
}

.cs-products-quote blockquote {
  color: #182213;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.28;
  font-weight: 500;
  margin: 0 0 8px;
}

.cs-products-quote figcaption {
  color: var(--cs-green-deep);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.3;
  font-weight: 600;
  text-align: right;
  padding-right: 8%;
}

.cs-products-intro {
  color: #182213;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
  max-width: 860px;
  margin: 0 auto;
}

.cs-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.cs-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(36, 64, 21, 0.18);
  box-shadow: 0 18px 40px rgba(23, 33, 15, 0.13);
}

.cs-product-card-castle {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.32), rgba(192, 201, 161, 0.24)),
    linear-gradient(180deg, rgba(55, 64, 49, 0.08), rgba(255,255,255,0.1));
}

.cs-product-card-depot {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.34), rgba(211, 184, 122, 0.22)),
    linear-gradient(180deg, rgba(93, 63, 27, 0.07), rgba(255,255,255,0.1));
}

.cs-product-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(21, 27, 17, 0.12);
  overflow: hidden;
}

.cs-product-card-castle .cs-product-image-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(30, 35, 28, 0.18);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 2;
}

.cs-product-card-depot .cs-product-image-frame::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 16px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(77, 54, 24, 0.42) 0 22px, transparent 22px 32px);
  pointer-events: none;
  z-index: 2;
}

.cs-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}

.cs-product-kicker {
  color: var(--cs-green-deep);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.cs-product-content h2 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1.1;
  font-weight: 550;
  margin: 0 0 12px;
}

.cs-product-content p:not(.cs-product-kicker) {
  color: #182213;
  font-size: clamp(18px, 1.25vw, 20px);
  line-height: 1.5;
  margin: 0 0 22px;
}

.cs-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  border-radius: 999px;
  background: var(--cs-black);
  color: var(--cs-yellow);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  padding: 11px 24px;
  text-decoration: none;
}

.cs-product-button:hover,
.cs-product-button:focus {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 899px) {
  .cs-products-wrap {
    width: min(100% - 36px, 720px);
    padding: 34px 0 58px;
  }

  .cs-product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cs-product-content {
    padding: 22px;
  }

  .cs-product-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .cs-products-wrap {
    width: min(100% - 28px, 520px);
  }

  .cs-products-quote figcaption {
    text-align: center;
    padding-right: 0;
  }
}

/* castle-gateway-v1: main Castle overview/gateway page */
.cs-castle-page {
  background-color: var(--cs-green-bg) !important;
  color: var(--cs-text);
}

.cs-castle-wrap {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: 34px 0 86px;
}

.cs-castle-title-section {
  text-align: center;
  margin: 0 auto 26px;
}

.cs-castle-title-section h1 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 4.3vw, 64px);
  line-height: 1;
  font-weight: 550;
  margin: 0 0 14px;
}

.cs-castle-quote {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: 14px 22px 10px;
  border-top: 1px solid rgba(36, 64, 21, 0.22);
  border-bottom: 1px solid rgba(36, 64, 21, 0.22);
}

.cs-castle-quote blockquote {
  color: #192512;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.28;
  font-style: italic;
  margin: 0 0 8px;
}

.cs-castle-quote figcaption {
  color: var(--cs-green-deep);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.cs-castle-gateway {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 auto 34px;
}

.cs-castle-hero-frame {
  min-height: 485px;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid rgba(236, 236, 8, 0.65);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  background: #111;
}

.cs-castle-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 485px;
  object-fit: cover;
  object-position: center center;
}

.cs-castle-path-panel {
  display: flex;
  flex-direction: column;
  min-height: 485px;
  border-radius: 26px;
  border: 1px solid rgba(36, 64, 21, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.31), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at top right, rgba(236, 236, 8, 0.14), transparent 38%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.11);
  padding: 26px;
}

.cs-castle-kicker {
  color: var(--cs-green-deep);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cs-castle-path-panel h2 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.06;
  font-weight: 550;
  margin: 0 0 10px;
}

.cs-castle-panel-lede {
  color: #1b2814;
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.35;
  margin: 0 0 18px;
}

.cs-castle-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: auto;
}

.cs-castle-path-card {
  display: flex;
  flex-direction: column;
  min-height: 145px;
  border-radius: 18px;
  border: 1px solid rgba(36, 64, 21, 0.28);
  background: rgba(255, 255, 255, 0.28);
  color: #182213;
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.cs-castle-path-card:hover,
.cs-castle-path-card:focus {
  color: #182213;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.13);
  background: rgba(255, 255, 255, 0.38);
}

.cs-castle-path-card h3 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.05;
  font-weight: 550;
  margin: 0 0 8px;
}

.cs-castle-path-card p {
  color: #1e2a17;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.35;
  margin: 0;
}

.cs-castle-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 26px;
  align-items: start;
  margin: 0 auto;
}

.cs-castle-overview-text,
.cs-castle-overview-card {
  border-radius: 24px;
  border: 1px solid rgba(36, 64, 21, 0.22);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 26px;
}

.cs-castle-overview h2,
.cs-castle-overview-card h3 {
  color: var(--cs-green-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.08;
  font-weight: 550;
  margin: 0 0 14px;
}

.cs-castle-overview p,
.cs-castle-overview li {
  color: #182213;
  font-size: clamp(18px, 1.25vw, 20px);
  line-height: 1.5;
}

.cs-castle-overview p {
  margin: 0 0 14px;
}

.cs-castle-overview p:last-child {
  margin-bottom: 0;
}

.cs-castle-overview-card ul {
  margin: 0;
  padding-left: 22px;
}

.cs-castle-overview-card li + li {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .cs-castle-wrap {
    width: min(100% - 36px, 780px);
    padding-top: 30px;
  }

  .cs-castle-gateway,
  .cs-castle-overview {
    grid-template-columns: 1fr;
  }

  .cs-castle-hero-frame,
  .cs-castle-hero-image,
  .cs-castle-path-panel {
    min-height: 0;
  }

  .cs-castle-hero-image {
    height: auto;
    max-height: 480px;
  }
}

@media (max-width: 620px) {
  .cs-castle-wrap {
    width: min(100% - 28px, 540px);
    padding-bottom: 58px;
  }

  .cs-castle-quote {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cs-castle-path-panel,
  .cs-castle-overview-text,
  .cs-castle-overview-card {
    padding: 20px;
    border-radius: 20px;
  }

  .cs-castle-path-grid {
    grid-template-columns: 1fr;
  }

  .cs-castle-path-card {
    min-height: 0;
  }
}


/* products/castle top-section normalization: match accepted About page formatting */
.cs-products-title-section,
.cs-castle-title-section {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 44px;
}

.cs-products-title-section h1,
.cs-castle-title-section h1 {
  color: var(--cs-green-deep);
  font-family: "Nunito VariableFont wght", Arial, sans-serif;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: normal;
  margin: 0 0 18px;
}

.cs-products-quote,
.cs-castle-quote {
  max-width: 960px;
  width: auto;
  margin: 0 auto;
  padding: 10px 26px 0;
  border: 0;
}

.cs-products-quote blockquote,
.cs-castle-quote blockquote {
  position: relative;
  margin: 0;
  color: #1f281c;
  font-family: "Nunito VariableFont wght", Arial, sans-serif;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 650;
}

.cs-products-quote blockquote::before,
.cs-products-quote blockquote::after,
.cs-castle-quote blockquote::before,
.cs-castle-quote blockquote::after {
  color: rgba(70, 99, 32, 0.42);
  font-size: 1.8em;
  line-height: 0;
  vertical-align: -0.25em;
}

.cs-products-quote blockquote::before,
.cs-castle-quote blockquote::before {
  content: "“";
  margin-right: 8px;
}

.cs-products-quote blockquote::after,
.cs-castle-quote blockquote::after {
  content: "”";
  margin-left: 6px;
}

.cs-products-quote figcaption,
.cs-castle-quote figcaption {
  margin-top: 12px;
  color: var(--cs-green-deep);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding-right: 0;
}

.cs-products-intro {
  margin-top: 26px;
}

/* Castle page theme layer: begins below the shared title/quote system */
.cs-castle-gateway {
  position: relative;
  padding: 18px;
  border-top: 2px solid rgba(79, 61, 34, 0.32);
  border-bottom: 2px solid rgba(79, 61, 34, 0.32);
  background:
    linear-gradient(90deg, rgba(57, 48, 37, 0.08), rgba(255,255,255,0.05), rgba(57, 48, 37, 0.08));
}

.cs-castle-hero-frame {
  border-color: rgba(114, 86, 44, 0.62);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(19, 20, 14, 0.22);
}

.cs-castle-path-panel,
.cs-castle-overview-text,
.cs-castle-overview-card {
  border-color: rgba(79, 61, 34, 0.34);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.28), rgba(219, 205, 163, 0.16)),
    radial-gradient(circle at top right, rgba(236, 206, 111, 0.18), transparent 42%);
}

.cs-castle-path-panel h2,
.cs-castle-path-card h3,
.cs-castle-overview h2,
.cs-castle-overview-card h3 {
  color: #263713;
}

.cs-castle-kicker {
  color: #47341d;
}

.cs-castle-path-card {
  border-color: rgba(79, 61, 34, 0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(224, 210, 171, 0.2));
  border-radius: 16px;
}

.cs-castle-path-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, rgba(79,61,34,0.65), rgba(236,236,8,0.42));
  border-radius: 999px;
}

@media (max-width: 620px) {
  .cs-products-quote,
  .cs-castle-quote {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cs-castle-gateway {
    padding: 12px 0;
  }
}

/* castle-theme-v4: meaningful Castle treatment, restored from v2 and replacing failed stripe styling */
.cs-castle-gateway {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(49, 42, 32, 0.48);
  border-top: 4px solid rgba(45, 39, 31, 0.78);
  border-bottom: 4px solid rgba(45, 39, 31, 0.78);
  border-radius: 4px;
  background: rgba(178, 198, 126, 0.24);
  box-shadow:
    inset 0 0 0 2px rgba(236, 206, 111, 0.14),
    inset 0 12px 28px rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(21, 24, 15, 0.12);
}

.cs-castle-gateway::before,
.cs-castle-gateway::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  pointer-events: none;
  opacity: 0.72;
}

.cs-castle-gateway::before {
  top: 10px;
  left: 10px;
  border-top: 3px solid rgba(37, 33, 27, 0.75);
  border-left: 3px solid rgba(37, 33, 27, 0.75);
}

.cs-castle-gateway::after {
  right: 10px;
  bottom: 10px;
  border-right: 3px solid rgba(37, 33, 27, 0.75);
  border-bottom: 3px solid rgba(37, 33, 27, 0.75);
}

.cs-castle-hero-frame {
  padding: 8px;
  border: 1px solid rgba(33, 30, 25, 0.86);
  border-radius: 16px;
  background: linear-gradient(180deg, #2b2924, #171713);
  box-shadow:
    inset 0 0 0 1px rgba(236, 206, 111, 0.24),
    0 18px 34px rgba(16, 18, 13, 0.24);
}

.cs-castle-hero-image {
  border-radius: 10px;
}

.cs-castle-path-panel,
.cs-castle-overview-text,
.cs-castle-overview-card {
  border: 1px solid rgba(61, 53, 42, 0.44);
  border-top: 5px solid rgba(52, 45, 36, 0.78);
  background:
    linear-gradient(180deg, rgba(234, 226, 189, 0.34), rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(236, 206, 111, 0.12),
    0 12px 22px rgba(16, 18, 13, 0.11);
}

.cs-castle-kicker {
  color: #4b371f;
  letter-spacing: 0.045em;
}

.cs-castle-path-panel h2,
.cs-castle-path-card h3,
.cs-castle-overview h2,
.cs-castle-overview-card h3 {
  color: #263713;
}

.cs-castle-path-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 53, 42, 0.46);
  border-top: 4px solid rgba(54, 48, 39, 0.72);
  border-radius: 14px;
  background: rgba(239, 232, 195, 0.30);
  box-shadow: inset 0 0 0 1px rgba(236, 206, 111, 0.12);
}

.cs-castle-path-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, rgba(53, 47, 38, 0.78), rgba(192, 156, 69, 0.58));
  border-radius: 999px;
}

.cs-castle-path-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-top: 2px solid rgba(53, 47, 38, 0.26);
  border-right: 2px solid rgba(53, 47, 38, 0.26);
  border-radius: 0 12px 0 0;
  pointer-events: none;
}

.cs-castle-path-card:hover,
.cs-castle-path-card:focus {
  background: rgba(239, 232, 195, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(236, 206, 111, 0.18),
    0 12px 22px rgba(16, 18, 13, 0.15);
}

@media (max-width: 620px) {
  .cs-castle-gateway {
    padding: 12px;
  }

  .cs-castle-gateway::before,
  .cs-castle-gateway::after {
    width: 34px;
    height: 34px;
  }
}


/* castle-theme-v5: architecture-based Castle styling
   This overrides the failed decorative stripe approach with recognizable castle language:
   stone slab surfaces, arched hero frame, iron corner brackets, and restrained warm-gold accents. */
.cs-castle-page {
  --castle-stone: #d9d1b6;
  --castle-stone-light: #eee7cd;
  --castle-stone-shadow: #8a8267;
  --castle-iron: #24231f;
  --castle-iron-soft: rgba(36, 35, 31, 0.72);
  --castle-gold: #b99335;
  --castle-gold-soft: rgba(185, 147, 53, 0.44);
}

.cs-castle-gateway {
  position: relative;
  align-items: stretch;
  gap: 28px;
  padding: 22px;
  border: 2px solid rgba(36, 35, 31, 0.58);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, rgba(62,59,50,0.08) 0 1px, transparent 1px 38px),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.36), transparent 46%),
    linear-gradient(180deg, var(--castle-stone-light), var(--castle-stone));
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,0.16),
    inset 0 0 46px rgba(54, 49, 38, 0.16),
    0 16px 30px rgba(22, 24, 16, 0.16);
}

.cs-castle-gateway::before,
.cs-castle-gateway::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(circle at 12px 12px, rgba(185,147,53,0.72) 0 3px, transparent 4px),
    linear-gradient(var(--castle-iron-soft), var(--castle-iron-soft));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.32), 0 2px 6px rgba(0,0,0,0.22);
}

.cs-castle-gateway::before {
  top: -1px;
  left: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 18%, 44% 18%, 18% 44%, 18% 100%, 0 100%);
}

.cs-castle-gateway::after {
  right: -1px;
  bottom: -1px;
  clip-path: polygon(82% 0, 100% 0, 100% 100%, 0 100%, 0 82%, 56% 82%, 82% 56%);
}

.cs-castle-hero-frame {
  position: relative;
  min-height: 520px;
  padding: 18px 18px 18px;
  overflow: hidden;
  border: 2px solid rgba(36, 35, 31, 0.86);
  border-radius: 150px 150px 18px 18px / 110px 110px 18px 18px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.18), transparent 12%, transparent 88%, rgba(0,0,0,0.18)),
    linear-gradient(180deg, #77705d, #403b31 18%, #26241f 100%);
  box-shadow:
    inset 0 0 0 2px rgba(185, 147, 53, 0.32),
    inset 0 0 28px rgba(0,0,0,0.34),
    0 18px 30px rgba(18, 20, 14, 0.24);
}

.cs-castle-hero-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(237, 222, 165, 0.38);
  border-radius: 142px 142px 12px 12px / 102px 102px 12px 12px;
  pointer-events: none;
  z-index: 2;
}

.cs-castle-hero-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  background:
    repeating-linear-gradient(90deg, #302d27 0 42px, #565043 42px 44px, #302d27 44px 86px);
  border-top: 1px solid rgba(185, 147, 53, 0.34);
  z-index: 3;
  pointer-events: none;
}

.cs-castle-hero-image {
  width: 100%;
  height: 100%;
  min-height: 484px;
  object-fit: cover;
  object-position: center center;
  border-radius: 128px 128px 8px 8px / 90px 90px 8px 8px;
  filter: saturate(0.96) contrast(1.04);
}

.cs-castle-path-panel,
.cs-castle-overview-text,
.cs-castle-overview-card {
  position: relative;
  border: 2px solid rgba(36, 35, 31, 0.58);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 52px),
    linear-gradient(180deg, rgba(62,59,50,0.06) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(243, 237, 210, 0.82), rgba(217, 209, 180, 0.72));
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.14),
    inset 0 0 34px rgba(54, 49, 38, 0.12),
    0 12px 22px rgba(20, 23, 15, 0.12);
}

.cs-castle-path-panel::before,
.cs-castle-overview-text::before,
.cs-castle-overview-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 82px;
  height: 5px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--castle-gold), transparent);
  border-radius: 999px;
}

.cs-castle-kicker {
  color: #43321f;
  letter-spacing: 0.055em;
}

.cs-castle-path-panel h2,
.cs-castle-overview h2,
.cs-castle-overview-card h3,
.cs-castle-path-card h3 {
  color: #243815;
}

.cs-castle-path-grid {
  gap: 16px;
}

.cs-castle-path-card {
  position: relative;
  min-height: 160px;
  padding: 24px 18px 20px;
  border: 2px solid rgba(36, 35, 31, 0.46);
  border-radius: 34px 34px 14px 14px / 26px 26px 14px 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.42), transparent 52%),
    linear-gradient(180deg, rgba(239, 232, 201, 0.94), rgba(212, 203, 171, 0.88));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.2),
    0 7px 14px rgba(22, 24, 16, 0.12);
}

.cs-castle-path-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, rgba(36,35,31,0.82), var(--castle-gold-soft));
  border-radius: 999px;
}

.cs-castle-path-card::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  background: var(--castle-iron-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 72%, 72% 72%, 72% 0);
  opacity: 0.82;
  pointer-events: none;
}

.cs-castle-path-card:hover,
.cs-castle-path-card:focus {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.55), transparent 52%),
    linear-gradient(180deg, rgba(245, 238, 209, 0.98), rgba(218, 208, 174, 0.94));
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.28),
    0 10px 18px rgba(22, 24, 16, 0.17);
}

.cs-castle-overview {
  gap: 24px;
}

@media (max-width: 980px) {
  .cs-castle-hero-frame {
    min-height: 0;
    border-radius: 90px 90px 18px 18px / 64px 64px 18px 18px;
  }

  .cs-castle-hero-frame::before {
    border-radius: 82px 82px 12px 12px / 56px 56px 12px 12px;
  }

  .cs-castle-hero-image {
    min-height: 0;
    height: auto;
    border-radius: 74px 74px 8px 8px / 48px 48px 8px 8px;
  }
}

@media (max-width: 620px) {
  .cs-castle-gateway {
    padding: 14px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }

  .cs-castle-path-card {
    min-height: 0;
    border-radius: 26px 26px 14px 14px / 20px 20px 14px 14px;
  }
}

/* Castle audience pages - shared readability and organization */
.cs-castle-audience-wrap {
  max-width: 1180px;
}

.cs-castle-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 10px 14px;
  max-width: 930px;
  border: 1px solid rgba(37, 56, 25, 0.22);
  border-radius: 999px;
  background: rgba(244, 238, 205, 0.58);
  box-shadow: 0 8px 18px rgba(25, 36, 20, 0.08);
}

.cs-castle-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #233919;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.cs-castle-subnav a:hover,
.cs-castle-subnav a:focus,
.cs-castle-subnav a[aria-current="page"] {
  color: #f3dc86;
  background: #1d2c17;
  text-decoration: none;
}

.cs-castle-community-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: stretch;
  gap: 30px;
  margin: 0 auto 34px;
}

.cs-castle-community-copy,
.cs-castle-community-media,
.cs-castle-info-panel,
.cs-castle-follow-panel {
  position: relative;
  border: 2px solid rgba(40, 39, 34, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(245, 239, 211, 0.92), rgba(223, 215, 184, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 24px rgba(25, 30, 18, 0.12);
}

.cs-castle-community-copy::before,
.cs-castle-info-panel::before,
.cs-castle-follow-panel::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(180, 139, 42, 0.88), transparent);
}

.cs-castle-community-copy {
  padding: 34px 34px 32px;
}

.cs-castle-community-copy h2,
.cs-castle-follow-panel h2,
.cs-castle-info-panel h2 {
  margin: 0 0 14px;
  color: #253919;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 600;
}

.cs-castle-info-panel h2 {
  font-size: clamp(24px, 2.3vw, 31px);
}

.cs-castle-community-copy p,
.cs-castle-info-panel p,
.cs-castle-follow-panel p {
  color: #23301d;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.62;
}

.cs-castle-community-media {
  padding: 12px;
  overflow: hidden;
  border-radius: 140px 140px 18px 18px / 90px 90px 18px 18px;
  background:
    linear-gradient(180deg, #686251, #2c2a24);
}

.cs-castle-community-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 120px 120px 10px 10px / 72px 72px 10px 10px;
}

.cs-castle-community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto 34px;
}

.cs-castle-info-panel {
  padding: 26px 28px 24px;
}

.cs-castle-follow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  margin-bottom: 32px;
  background:
    linear-gradient(180deg, rgba(36, 47, 26, 0.96), rgba(18, 26, 16, 0.96));
  border-color: rgba(181, 145, 50, 0.56);
}

.cs-castle-follow-panel h2,
.cs-castle-follow-panel p,
.cs-castle-follow-panel .cs-castle-kicker {
  color: #f1e7b8;
}

.cs-castle-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.cs-castle-social-links a {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(241, 231, 184, 0.24);
}

.cs-castle-social-links img {
  display: block;
  max-width: 34px;
  max-height: 34px;
}

@media (max-width: 980px) {
  .cs-castle-community-hero,
  .cs-castle-community-grid,
  .cs-castle-follow-panel {
    grid-template-columns: 1fr;
  }

  .cs-castle-community-media {
    order: -1;
  }

  .cs-castle-community-image {
    min-height: 0;
    height: auto;
  }

  .cs-castle-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .cs-castle-subnav {
    border-radius: 18px;
    justify-content: stretch;
  }

  .cs-castle-subnav a {
    flex: 1 1 42%;
  }

  .cs-castle-community-copy,
  .cs-castle-info-panel,
  .cs-castle-follow-panel {
    padding: 22px 20px;
  }
}

/* Castle Community v2 - Chameleon, community links, and visible Castle styling */
.cs-castle-community-page .cs-castle-community-lede {
  max-width: 820px;
  margin: 18px auto 0;
  color: #2e4320;
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.55;
  text-align: center;
}

.cs-castle-community-page .cs-castle-community-chameleon-hero {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 22px;
  border: 3px solid rgba(52, 48, 39, 0.55);
  border-radius: 34px 34px 18px 18px;
  background:
    linear-gradient(180deg, rgba(242, 236, 207, 0.92), rgba(220, 212, 180, 0.90));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 0 0 8px rgba(61, 65, 48, 0.08),
    0 16px 30px rgba(22, 30, 17, 0.13);
}

.cs-castle-community-page .cs-castle-community-chameleon-hero::before,
.cs-castle-community-page .cs-castle-community-chameleon-hero::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: rgba(43, 42, 36, 0.58);
  pointer-events: none;
}

.cs-castle-community-page .cs-castle-community-chameleon-hero::before {
  top: 12px;
  left: 12px;
  border-top: 4px solid;
  border-left: 4px solid;
  border-radius: 18px 0 0 0;
}

.cs-castle-community-page .cs-castle-community-chameleon-hero::after {
  right: 12px;
  bottom: 12px;
  border-right: 4px solid;
  border-bottom: 4px solid;
  border-radius: 0 0 18px 0;
}

.cs-castle-community-page .cs-castle-community-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 18px;
  border: 2px solid rgba(48, 45, 38, 0.42);
  border-radius: 120px 120px 26px 26px / 84px 84px 26px 26px;
  background:
    radial-gradient(circle at 50% 8%, rgba(245, 217, 117, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(61, 67, 49, 0.90), rgba(31, 37, 28, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(245, 225, 150, 0.18),
    0 10px 20px rgba(20, 28, 16, 0.14);
}

.cs-castle-community-page .cs-castle-community-chameleon {
  display: block;
  width: min(100%, 390px);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(18, 26, 16, 0.32));
}

.cs-castle-community-page .cs-castle-community-copy {
  border-radius: 28px 28px 18px 18px;
  border-color: rgba(52, 48, 39, 0.5);
  background:
    linear-gradient(180deg, rgba(249, 243, 216, 0.96), rgba(228, 219, 186, 0.92));
}

.cs-castle-community-page .cs-castle-community-copy h2 {
  color: #233719;
}

.cs-castle-community-page .cs-castle-community-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.cs-castle-community-page .cs-castle-community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #213319;
  color: #f4dc82;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(246, 221, 129, 0.42);
  box-shadow: 0 8px 16px rgba(19, 27, 14, 0.16);
}

.cs-castle-community-page .cs-castle-community-button:hover,
.cs-castle-community-page .cs-castle-community-button:focus {
  color: #fff2bd;
  background: #172412;
  text-decoration: none;
}

.cs-castle-community-page .cs-castle-community-button-secondary {
  background: rgba(67, 85, 46, 0.16);
  color: #223719;
  border-color: rgba(43, 59, 28, 0.35);
}

.cs-castle-community-page .cs-castle-community-button-secondary:hover,
.cs-castle-community-page .cs-castle-community-button-secondary:focus {
  color: #f4dc82;
  background: #213319;
}

.cs-castle-community-page .cs-castle-info-panel {
  border-color: rgba(52, 48, 39, 0.42);
  border-radius: 26px 26px 16px 16px;
  background:
    linear-gradient(180deg, rgba(247, 241, 215, 0.96), rgba(225, 216, 183, 0.88));
}

.cs-castle-community-page .cs-castle-info-panel::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, rgba(48, 45, 38, 0.38), transparent);
}

.cs-castle-community-page .cs-castle-follow-panel {
  border-radius: 28px 28px 18px 18px;
  border-color: rgba(183, 145, 52, 0.6);
  background:
    linear-gradient(180deg, rgba(39, 49, 29, 0.98), rgba(19, 27, 16, 0.98));
}

@media (max-width: 980px) {
  .cs-castle-community-page .cs-castle-community-chameleon-hero {
    grid-template-columns: 1fr;
  }

  .cs-castle-community-page .cs-castle-community-art-wrap {
    min-height: 0;
  }

  .cs-castle-community-page .cs-castle-community-chameleon {
    max-height: 430px;
  }
}

@media (max-width: 620px) {
  .cs-castle-community-page .cs-castle-community-chameleon-hero {
    padding: 14px;
    border-radius: 22px;
  }

  .cs-castle-community-page .cs-castle-community-art-wrap {
    border-radius: 80px 80px 18px 18px / 56px 56px 18px 18px;
  }

  .cs-castle-community-page .cs-castle-community-button {
    width: 100%;
  }
}

/* Castle Community v3 - aligned to approved Community/Contact layout */
.cs-castle-community-v3-page .cs-castle-community-v3-wrap {
  padding-bottom: 74px;
}

.cs-castle-community-v3-page .cs-castle-community-v3-title {
  margin-bottom: 24px;
}

.cs-castle-community-v3-page .cs-castle-community-lede {
  max-width: 860px;
  margin: 18px auto 0;
  color: #24381a;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.46;
  text-align: center;
  font-weight: 500;
}

.cs-castle-community-v3-page .cs-castle-subnav {
  margin-bottom: 30px;
}

.cs-castle-community-v3-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.cs-castle-community-v3-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-castle-community-v3-art {
  display: block;
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(19, 28, 15, 0.22));
}

.cs-castle-community-v3-panel {
  position: relative;
  padding: 24px 26px 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(248, 242, 214, 0.96), rgba(229, 219, 185, 0.91));
  border: 2px solid rgba(45, 43, 36, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.30),
    0 14px 26px rgba(30, 42, 22, 0.13);
}

.cs-castle-community-v3-panel::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -2px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(181, 143, 48, 0.9), transparent);
}

.cs-castle-community-v3-panel h2 {
  margin: 0 0 10px;
  color: #243719;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.12;
  font-weight: 600;
}

.cs-castle-community-v3-panel > p {
  color: #23301d;
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.55;
  margin: 0 0 18px;
}

.cs-castle-community-v3-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cs-castle-community-v3-link-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(36, 54, 26, 0.18);
}

.cs-castle-community-v3-link-card h3 {
  margin: 0 0 6px;
  color: #243719;
  font-size: clamp(23px, 1.7vw, 29px);
  line-height: 1.15;
  font-weight: 600;
}

.cs-castle-community-v3-link-card p {
  margin: 0 0 12px;
  color: #23301d;
  font-size: 18px;
  line-height: 1.42;
}

.cs-castle-community-v3-page .cs-castle-community-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #213319;
  color: #f4dc82;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(246, 221, 129, 0.42);
}

.cs-castle-community-v3-page .cs-castle-community-button:hover,
.cs-castle-community-v3-page .cs-castle-community-button:focus {
  color: #fff2bd;
  background: #172412;
  text-decoration: none;
}

.cs-castle-community-v3-page .cs-castle-community-button-secondary {
  background: rgba(67, 85, 46, 0.14);
  color: #223719;
  border-color: rgba(43, 59, 28, 0.35);
}

.cs-castle-community-v3-page .cs-castle-community-button-secondary:hover,
.cs-castle-community-v3-page .cs-castle-community-button-secondary:focus {
  color: #f4dc82;
  background: #213319;
}

@media (max-width: 980px) {
  .cs-castle-community-v3-stage {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cs-castle-community-v3-art {
    width: min(84vw, 420px);
  }
}

@media (max-width: 620px) {
  .cs-castle-community-v3-page .cs-castle-community-v3-wrap {
    padding-bottom: 52px;
  }

  .cs-castle-community-v3-panel {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .cs-castle-community-v3-link-card {
    padding: 14px;
  }

  .cs-castle-community-v3-page .cs-castle-community-button {
    width: 100%;
  }
}

/* castle-investors-v1: focused investor audience page */
.cs-castle-investors-page .cs-castle-investor-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: stretch;
  margin: 0 auto 34px;
  padding: 18px;
  border: 2px solid rgba(40, 39, 34, 0.36);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(237, 231, 202, 0.86), rgba(213, 205, 174, 0.74));
  box-shadow: 0 14px 28px rgba(25, 30, 18, 0.12);
}

.cs-castle-investors-page .cs-castle-investor-media {
  position: relative;
  padding: 10px;
  border: 2px solid rgba(36, 35, 31, 0.48);
  border-radius: 120px 120px 18px 18px / 72px 72px 18px 18px;
  background:
    linear-gradient(180deg, rgba(90, 85, 69, 0.92), rgba(32, 32, 28, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    0 10px 22px rgba(18, 22, 15, 0.18);
  overflow: hidden;
}

.cs-castle-investors-page .cs-castle-investor-media::before,
.cs-castle-investors-page .cs-castle-investor-media::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: rgba(184, 143, 43, 0.82);
  pointer-events: none;
  z-index: 2;
}

.cs-castle-investors-page .cs-castle-investor-media::before {
  left: 16px;
  bottom: 16px;
  border-left: 3px solid;
  border-bottom: 3px solid;
}

.cs-castle-investors-page .cs-castle-investor-media::after {
  right: 16px;
  bottom: 16px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.cs-castle-investors-page .cs-castle-investor-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  border-radius: 104px 104px 10px 10px / 62px 62px 10px 10px;
}

.cs-castle-investors-page .cs-castle-investor-copy {
  position: relative;
  padding: 34px 34px 32px;
  border: 2px solid rgba(40, 39, 34, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(245, 239, 211, 0.94), rgba(223, 215, 184, 0.84));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.22),
    0 10px 22px rgba(25, 30, 18, 0.10);
}

.cs-castle-investors-page .cs-castle-investor-copy::before,
.cs-castle-investors-page .cs-castle-investor-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(180, 139, 42, 0.88), transparent);
}

.cs-castle-investors-page .cs-castle-investor-copy h2 {
  margin: 0 0 16px;
  color: #243815;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 600;
}

.cs-castle-investors-page .cs-castle-investor-copy p,
.cs-castle-investors-page .cs-castle-investor-card p {
  color: #23301d;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.62;
}

.cs-castle-investors-page .cs-castle-investor-statement {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border-left: 5px solid rgba(180, 139, 42, 0.88);
  border-radius: 12px;
  background: rgba(255, 248, 219, 0.56);
  font-weight: 700;
}

.cs-castle-investors-page .cs-castle-investor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cs-castle-primary-button,
.cs-castle-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cs-castle-primary-button {
  color: #f3dc86;
  background: #1d2c17;
  border: 1px solid rgba(180, 139, 42, 0.62);
  box-shadow: 0 7px 14px rgba(18, 22, 15, 0.18);
}

.cs-castle-secondary-button {
  color: #1d2c17;
  background: rgba(255, 248, 219, 0.68);
  border: 1px solid rgba(37, 56, 25, 0.26);
}

.cs-castle-primary-button:hover,
.cs-castle-primary-button:focus,
.cs-castle-secondary-button:hover,
.cs-castle-secondary-button:focus {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 9px 16px rgba(18, 22, 15, 0.20);
}

.cs-castle-primary-button:hover,
.cs-castle-primary-button:focus {
  color: #fff0a8;
}

.cs-castle-investors-page .cs-castle-investor-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.cs-castle-investors-page .cs-castle-investor-card {
  position: relative;
  padding: 26px 28px 24px;
  border: 2px solid rgba(40, 39, 34, 0.36);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(245, 239, 211, 0.92), rgba(223, 215, 184, 0.82));
  box-shadow: 0 10px 20px rgba(25, 30, 18, 0.10);
}

.cs-castle-investors-page .cs-castle-investor-card h2 {
  margin: 0 0 12px;
  color: #253919;
  font-size: clamp(25px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 600;
}

.cs-castle-investors-page .cs-castle-investor-card p:last-child {
  margin-bottom: 0;
}

.cs-castle-investors-page .cs-castle-investor-contact-card {
  border-color: rgba(181, 145, 50, 0.56);
}

@media (max-width: 980px) {
  .cs-castle-investors-page .cs-castle-investor-hero,
  .cs-castle-investors-page .cs-castle-investor-summary {
    grid-template-columns: 1fr;
  }

  .cs-castle-investors-page .cs-castle-investor-image {
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 620px) {
  .cs-castle-investors-page .cs-castle-investor-hero {
    padding: 12px;
    gap: 18px;
  }

  .cs-castle-investors-page .cs-castle-investor-copy,
  .cs-castle-investors-page .cs-castle-investor-card {
    padding: 22px 20px;
  }

  .cs-castle-investors-page .cs-castle-investor-actions,
  .cs-castle-primary-button,
  .cs-castle-secondary-button {
    width: 100%;
  }
}

/* header-lower-nav-v1: desktop nav visually lowered toward the header bottom boundary */
@media (min-width: 992px) {
  .public-navbar {
    align-items: stretch !important;
  }

  .public-logo-link {
    align-self: center !important;
  }

  .public-navbar-links {
    align-self: stretch !important;
    display: flex !important;
    align-items: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 18px !important;
  }

  .public-navbar .navbar-nav {
    align-items: flex-end !important;
  }
}

/* header-lower-nav-v2: force desktop header links lower toward the black bar bottom edge */
@media (min-width: 992px) {
  body .public-site-header .public-navbar .navbar-collapse.public-navbar-links {
    align-self: stretch !important;
    display: flex !important;
    align-items: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body .public-site-header .public-navbar .navbar-nav {
    align-items: flex-end !important;
    transform: translateY(30px) !important;
  }
}

/* header-lower-nav-v3: balanced desktop nav position between original and v2 */
@media (min-width: 992px) {
  body .public-site-header .public-navbar .navbar-collapse.public-navbar-links {
    align-self: stretch !important;
    display: flex !important;
    align-items: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body .public-site-header .public-navbar .navbar-nav {
    align-items: flex-end !important;
    transform: translateY(15px) !important;
  }
}

/* header-lower-nav-v4: final balanced desktop nav position */
@media (min-width: 992px) {
  body .public-site-header .public-navbar .navbar-collapse.public-navbar-links {
    align-self: stretch !important;
    display: flex !important;
    align-items: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body .public-site-header .public-navbar .navbar-nav {
    align-items: flex-end !important;
    transform: translateY(8px) !important;
  }
}

/* Index homepage quote bridge: make the legacy index.php quote layout match the accepted Products quote standard. */
.band-herobox .band-title {
  max-width: 1060px;
  margin: 0 auto 42px;
  padding: 0;
  text-align: center;
}

.band-herobox .band-title .col-xl-12 {
  padding-left: 15px;
  padding-right: 15px;
}

.band-herobox .band-title figure.text-end {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 26px 0;
  text-align: center !important;
}

.band-herobox .band-title blockquote.blockquote {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  color: #1f281c;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 650;
}

.band-herobox .band-title blockquote.blockquote p {
  display: inline;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: center !important;
}

.band-herobox .band-title blockquote.blockquote strong,
.band-herobox .band-title blockquote.blockquote cite {
  color: inherit;
  font: inherit;
  line-height: inherit;
  font-style: inherit;
  font-weight: inherit;
}

.band-herobox .band-title figure.text-end > p {
  width: auto;
  max-width: none;
  margin: 12px 0 0;
  padding: 0;
  color: var(--cs-green-deep);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center !important;
}

.band-herobox .band-title figure.text-end > p a,
.band-herobox .band-title figure.text-end > p strong {
  color: var(--cs-green-deep) !important;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .band-herobox .band-title {
    margin-bottom: 30px;
  }

  .band-herobox .band-title figure.text-end {
    padding-left: 10px;
    padding-right: 10px;
  }

  .band-herobox .band-title blockquote.blockquote {
    font-size: 24px;
  }

  .band-herobox .band-title figure.text-end > p {
    font-size: 18px;
  }
}
