/*
Theme Name: Bloom 2 Become
Theme URI: https://bloom2become.com
Author: Bloom 2 Become
Description: A faith-rooted theme for Bloom 2 Become — Kingdom movement, growth, and community. Blush, cocoa, and champagne with a soil-and-root motif.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bloom2become
Tags: faith, blog, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --blush:      #F0C4BB;
  --blush-soft: #F9E4E0;
  --cocoa:      #4A342B;
  --cocoa-soft: #7A6155;
  --champagne:  #D4B071;
  --ivory:      #FBF7F2;
  --ivory-deep: #F3EBE1;
  --sage:       #9CAE93;
  --rose:       #C4776A;
  --white:      #FFFFFF;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script:  "Parisienne", cursive;
  --font-body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
  --step-2:  clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-3:  clamp(2.4rem, 1.9rem + 2.4vw, 4rem);
  --step-4:  clamp(3.2rem, 2.2rem + 4.6vw, 6.5rem);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 68ch;
  --radius: 2px;
  --shadow-soft: 0 18px 48px -24px rgba(74, 52, 43, 0.35);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ivory);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--cocoa);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}

.lede {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.6;
  color: var(--cocoa-soft);
  max-width: 46ch;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: min(100% - (var(--gutter) * 2), 1180px);
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 780px); margin-inline: auto; }

.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section--tint { background: var(--ivory-deep); }
.section--blush { background: var(--blush-soft); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-3); margin-block: 0.4em 0.5rem; }
.section-head .lede { margin-top: 1rem; }

/* Sprig: the growth marker that opens each section */
.sprig { display: block; width: 34px; height: 44px; overflow: visible; }
.sprig path, .sprig circle {
  stroke: var(--sage);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
}
.sprig .bud { fill: var(--blush); stroke: none; }
.sprig .stem {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 1.4s cubic-bezier(.22,.61,.36,1);
}
.sprig .leaf, .sprig .bud { opacity: 0; transition: opacity .7s ease .7s; }
.is-visible .sprig .stem { stroke-dashoffset: 0; }
.is-visible .sprig .leaf, .is-visible .sprig .bud { opacity: 1; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 52, 43, 0.08);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: 0 1px 24px -12px rgba(74,52,43,.4); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand img { max-height: 56px; width: auto; }
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1;
}
.brand-mark em { font-family: var(--font-script); font-style: normal; color: var(--rose); }
.brand-tag {
  display: block; font-family: var(--font-body); font-size: 0.62rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--cocoa-soft);
  margin-top: 0.35rem;
}

.nav ul { display: flex; gap: clamp(1.1rem, 2.4vw, 2.4rem); align-items: center; }
.nav a {
  text-decoration: none; font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cocoa);
  padding-block: 0.4rem; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--rose); transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.nav a:hover::after, .nav .current-menu-item > a::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  color: var(--cocoa);
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid rgba(74,52,43,.08);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav.is-open { max-height: 70vh; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem var(--gutter) 2rem; }
  .nav li { width: 100%; border-bottom: 1px solid rgba(74,52,43,.06); }
  .nav a { display: block; padding-block: 1rem; font-size: 0.95rem; }
}

/* ============================================================
   HERO — the signature: rooted in soil
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(178deg, var(--white) 0%, var(--blush-soft) 55%, var(--ivory-deep) 100%);
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: 0;
  overflow: hidden;
  text-align: center;
}

.hero-inner { position: relative; z-index: 3; padding-bottom: clamp(7rem, 16vw, 13rem); }

.hero-title {
  font-size: var(--step-4);
  line-height: 0.92;
  color: var(--rose);
  font-weight: 300;
  letter-spacing: -0.03em;
}
.hero-title .b2 { display: block; }

.hero-verse {
  font-size: clamp(1.5rem, 1rem + 3vw, 3.4rem);
  line-height: 1.15;
  margin-top: 0.6rem;
  color: var(--cocoa);
  font-family: var(--font-display);
  font-weight: 300;
}
.hero-verse .script { color: var(--champagne); font-size: 1.28em; vertical-align: -0.08em; }

.hero-sub {
  margin: 2rem auto 0;
  max-width: 38ch;
  font-size: var(--step-0);
  color: var(--cocoa-soft);
  line-height: 1.75;
}

.hero-pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem 1.6rem; margin-top: 1.75rem;
}
.hero-pills li {
  font-size: var(--step--1); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cocoa-soft);
}
.hero-pills li + li::before {
  content: "✦"; margin-right: 1.6rem; color: var(--champagne); letter-spacing: 0;
}

.hero-cta { margin-top: 2.75rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Soil horizon — the signature element */
.soil { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; }
.soil svg { width: 100%; height: auto; display: block; }

/* Ambient florals */
.hero-floral {
  position: absolute; bottom: 0; z-index: 1; opacity: .85;
  width: clamp(140px, 26vw, 340px);
}
.hero-floral--left  { left: -1%; }
.hero-floral--right { right: -1%; transform: scaleX(-1); }
@media (max-width: 680px) { .hero-floral { opacity: .55; width: 130px; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.05rem 2.4rem; border-radius: var(--radius);
  border: 1px solid transparent; transition: all .35s cubic-bezier(.22,.61,.36,1);
}
.btn--primary { background: var(--cocoa); color: var(--ivory); }
.btn--primary:hover { background: var(--rose); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn--ghost:hover { background: var(--cocoa); color: var(--ivory); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--cocoa); }
.btn--light:hover { background: var(--champagne); color: var(--white); }

/* ============================================================
   PILLARS — Faith / Growth / Purpose
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 780px) { .pillars { grid-template-columns: 1fr; } }

.pillar { text-align: center; padding: 0 clamp(0, 2vw, 1.5rem); }
.pillar-icon { margin: 0 auto 1.5rem; width: 48px; height: 48px; }
.pillar-icon path, .pillar-icon circle { stroke: var(--rose); stroke-width: 1.1; fill: none; }
.pillar-icon .fill { fill: var(--blush); stroke: none; }
.pillar h3 { font-size: var(--step-2); margin-bottom: 0.65rem; }
.pillar p { color: var(--cocoa-soft); font-size: 0.98rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.about-media { position: relative; }
.about-media img { border-radius: 260px 260px var(--radius) var(--radius); box-shadow: var(--shadow-soft); }
.about-media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--champagne); border-radius: 260px 260px var(--radius) var(--radius);
}
.about-body h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.about-body p { color: var(--cocoa-soft); margin-bottom: 1.15rem; max-width: var(--measure); }
.about-sig {
  font-family: var(--font-script); font-size: 2rem; color: var(--rose);
  margin-top: 1.5rem; display: block;
}

/* ============================================================
   OFFERINGS
   ============================================================ */
.offerings { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }

.offering {
  background: var(--white); padding: 2.5rem 2rem; border-radius: var(--radius);
  border: 1px solid rgba(74,52,43,.07); text-align: left;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
  position: relative; overflow: hidden;
}
.offering::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--champagne));
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.offering:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.offering:hover::before { transform: scaleX(1); }
.offering h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.offering p { font-size: 0.93rem; color: var(--cocoa-soft); }
.offering .offering-tag {
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--champagne); display: block; margin-bottom: 1rem;
}

/* ============================================================
   VERSE BANNER
   ============================================================ */
.verse {
  background: var(--cocoa); color: var(--ivory); text-align: center;
  padding-block: clamp(4rem, 9vw, 7rem); position: relative; overflow: hidden;
}
.verse blockquote {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 300;
  line-height: 1.4; max-width: 24ch; margin-inline: auto; color: var(--ivory);
}
.verse cite {
  display: block; margin-top: 1.75rem; font-family: var(--font-body); font-style: normal;
  font-size: var(--step--1); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--champagne);
}

/* ============================================================
   POSTS
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.75rem, 4vw, 3rem); }

.post-card { background: transparent; }
.post-card a { text-decoration: none; }
.post-thumb {
  overflow: hidden; border-radius: var(--radius); margin-bottom: 1.35rem;
  aspect-ratio: 4 / 3; background: var(--ivory-deep);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-meta { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--champagne); }
.post-card h3 { font-size: var(--step-1); margin-block: 0.6rem 0.6rem; transition: color .3s ease; }
.post-card:hover h3 { color: var(--rose); }
.post-card p { font-size: 0.93rem; color: var(--cocoa-soft); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.signup { text-align: center; }
.signup form { display: flex; gap: 0.75rem; max-width: 520px; margin: 2rem auto 0; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 240px; padding: 1.05rem 1.35rem; border: 1px solid rgba(74,52,43,.18);
  background: var(--white); border-radius: var(--radius); font-family: var(--font-body);
  font-size: 0.95rem; color: var(--cocoa);
}
.signup input[type="email"]:focus { outline: 2px solid var(--rose); outline-offset: 2px; border-color: transparent; }
.signup .form-note { font-size: 0.78rem; color: var(--cocoa-soft); margin-top: 1rem; }

/* ============================================================
   PAGE / SINGLE CONTENT
   ============================================================ */
.page-hero {
  background: linear-gradient(178deg, var(--white), var(--blush-soft));
  padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.page-hero h1 { font-size: var(--step-3); }
.page-hero .eyebrow { margin-bottom: 1rem; display: block; }

.entry-content { max-width: var(--measure); margin-inline: auto; }
.entry-content > * + * { margin-top: 1.35rem; }
.entry-content h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.entry-content h3 { font-size: var(--step-1); margin-top: 2.25rem; }
.entry-content a { color: var(--rose); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li + li { margin-top: 0.5rem; }
.entry-content blockquote {
  border-left: 2px solid var(--champagne); padding-left: 1.75rem;
  font-family: var(--font-display); font-size: var(--step-1); font-style: italic;
  color: var(--cocoa-soft);
}
.entry-content img { border-radius: var(--radius); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--cocoa); color: var(--ivory-deep); padding-block: clamp(3.5rem, 8vw, 5.5rem) 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem; border-bottom: 1px solid rgba(251,247,242,.14);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--champagne); font-family: var(--font-body); font-size: 0.68rem;
  letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.site-footer a { color: var(--ivory-deep); text-decoration: none; transition: color .3s ease; }
.site-footer a:hover { color: var(--blush); }
.site-footer li + li { margin-top: 0.7rem; }
.footer-brand .brand-mark { color: var(--ivory); font-size: 1.9rem; }
.footer-brand p { color: rgba(251,247,242,.7); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-script { font-family: var(--font-script); font-size: 1.6rem; color: var(--blush); margin-top: 1.5rem; display: block; }
.footer-bottom {
  padding-top: 2rem; display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; font-size: 0.78rem; color: rgba(251,247,242,.55);
}
.social { display: flex; gap: 1.1rem; margin-top: 1.5rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(251,247,242,.25); border-radius: 50%;
  display: grid; place-items: center; transition: all .35s ease; }
.social a:hover { background: var(--blush); border-color: var(--blush); color: var(--cocoa); }
.social svg { width: 17px; height: 17px; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cocoa); color: var(--ivory); padding: 1rem 1.5rem;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--rose); outline-offset: 3px;
}

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
  word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .sprig .stem { stroke-dashoffset: 0; }
  .sprig .leaf, .sprig .bud { opacity: 1; }
}

/* WordPress core */
.alignwide { width: min(100%, 1100px); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-block-image figcaption {
  font-size: 0.8rem; color: var(--cocoa-soft); text-align: center; margin-top: 0.75rem;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* ============================================================
   ELEMENTOR — brand utility classes
   Add these in a widget's Advanced → CSS Classes field.
   ============================================================ */

/* Let Elementor sections span full width without theme padding */
.elementor-page .site-header + main { padding: 0; }

/* Typography helpers */
.b2b-display   { font-family: var(--font-display) !important; font-weight: 300 !important; letter-spacing: -0.015em; }
.b2b-script    { font-family: var(--font-script) !important; font-weight: 400 !important; color: var(--champagne); }
.b2b-eyebrow   { font-family: var(--font-body) !important; font-size: var(--step--1) !important;
                 letter-spacing: 0.32em !important; text-transform: uppercase !important; color: var(--cocoa-soft) !important; }
.b2b-lede      { font-size: var(--step-1) !important; font-weight: 300 !important; line-height: 1.6 !important; color: var(--cocoa-soft) !important; }

/* The hero verse lockup, as one class */
.b2b-verse-line { font-family: var(--font-display); font-weight: 300; line-height: 1.15; color: var(--cocoa); }
.b2b-verse-line .script,
.b2b-verse-line em { font-family: var(--font-script); font-style: normal; color: var(--champagne); font-size: 1.28em; }

/* Buttons — apply to an Elementor Button widget */
.b2b-btn .elementor-button,
.elementor-button.b2b-btn {
  font-family: var(--font-body) !important; font-size: 0.78rem !important; font-weight: 400 !important;
  letter-spacing: 0.22em !important; text-transform: uppercase !important;
  padding: 1.05rem 2.4rem !important; border-radius: var(--radius) !important;
  background: var(--cocoa) !important; color: var(--ivory) !important;
  border: 1px solid transparent !important; transition: all .35s cubic-bezier(.22,.61,.36,1) !important;
}
.b2b-btn .elementor-button:hover,
.elementor-button.b2b-btn:hover {
  background: var(--rose) !important; transform: translateY(-2px); box-shadow: var(--shadow-soft);
}
.b2b-btn-ghost .elementor-button {
  background: transparent !important; color: var(--cocoa) !important; border-color: var(--cocoa) !important;
}
.b2b-btn-ghost .elementor-button:hover { background: var(--cocoa) !important; color: var(--ivory) !important; }

/* Card treatment — apply to a container or column */
.b2b-card {
  background: var(--white); padding: 2.5rem 2rem; border-radius: var(--radius);
  border: 1px solid rgba(74,52,43,.07); position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
}
.b2b-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--champagne));
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.b2b-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.b2b-card:hover::before { transform: scaleX(1); }

/* Section backgrounds */
.b2b-bg-ivory  { background: var(--ivory) !important; }
.b2b-bg-tint   { background: var(--ivory-deep) !important; }
.b2b-bg-blush  { background: var(--blush-soft) !important; }
.b2b-bg-cocoa  { background: var(--cocoa) !important; color: var(--ivory) !important; }
.b2b-bg-cocoa h1, .b2b-bg-cocoa h2, .b2b-bg-cocoa h3, .b2b-bg-cocoa p { color: var(--ivory) !important; }

/* Soil divider — add to any section that should sit on earth */
.b2b-soil { position: relative; padding-bottom: 150px !important; }
.b2b-soil::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%; background-position: bottom;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath fill='%234A342B' fill-opacity='0.14' d='M0,68 C160,44 300,88 470,74 C640,60 760,96 920,84 C1080,72 1240,48 1440,66 L1440,150 L0,150 Z'/%3E%3Cpath fill='%234A342B' fill-opacity='0.32' d='M0,92 C180,74 320,110 500,100 C680,90 800,116 980,106 C1160,96 1280,80 1440,94 L1440,150 L0,150 Z'/%3E%3Cpath fill='%234A342B' d='M0,118 C200,104 340,132 520,126 C700,120 820,138 1000,130 C1180,122 1300,110 1440,120 L1440,150 L0,150 Z'/%3E%3C/svg%3E");
}

/* Rounded-arch image mask, as used in the About section */
.b2b-arch img { border-radius: 260px 260px var(--radius) var(--radius) !important; box-shadow: var(--shadow-soft); }

/* Elementor form styling */
.b2b-form .elementor-field-group input,
.b2b-form .elementor-field-group textarea,
.b2b-form .elementor-field-group select {
  padding: 1.05rem 1.35rem !important; border: 1px solid rgba(74,52,43,.18) !important;
  background: var(--white) !important; border-radius: var(--radius) !important;
  font-family: var(--font-body) !important; color: var(--cocoa) !important;
}
.b2b-form .elementor-field-group input:focus { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Reveal-on-scroll, works on any Elementor element */
.b2b-reveal { opacity: 0; transform: translateY(22px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1); }
.b2b-reveal.is-visible { opacity: 1; transform: none; }

/* Editor safety: never hide elements inside the Elementor canvas */
.elementor-editor-active .reveal,
.elementor-editor-active .b2b-reveal { opacity: 1 !important; transform: none !important; }
