/* RA site design system — loaded on every page by the RA Library plugin.
   Page HTML uses these classes inside <div class="ra-ui"> and carries no <style> of its own.
   Values are taken from the Services page (the reference), so every page matches it.
   Tokens live on the scope class, not :root. */
.ra-ui, .ra-ctabar, .ra-contactbox {
  --dk: #1E3432; --mid: #2F5854; --lime: #E3FF72; --pal: #CAD8CE; --off: #F5F7F5; --wht: #FFFFFF;
  --ink2: #555555; --soft: #A9BFB3; --line: rgba(30, 52, 50, .08);
  --display: 'Bai Jamjuree', system-ui, sans-serif;
  --body: 'Chakra Petch', system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 80px);
  font-family: var(--body);
}
.ra-ui { background: var(--off); color: var(--dk); overflow-x: hidden; }
:is(.ra-ui, .ra-ctabar, .ra-contactbox) *, :is(.ra-ui, .ra-ctabar, .ra-contactbox) *::before, :is(.ra-ui, .ra-ctabar, .ra-contactbox) *::after { margin: 0; padding: 0; box-sizing: border-box; }
:is(.ra-ui, .ra-ctabar, .ra-contactbox) :focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.ra-ui h2, .ra-ui h3 { font-family: var(--display); color: var(--dk); }

/* ---------- small parts ---------- */
.ra-ui .ra-eyebrow, .ra-ctabar .ra-eyebrow { font-size: 10px; font-weight: 600; color: var(--mid); letter-spacing: 3px; text-transform: uppercase; }
.ra-ui .ra-btn, .ra-ctabar .ra-btn { display: inline-block; background: var(--dk); color: var(--lime); padding: 14px 28px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s; }
.ra-ui .ra-btn:hover, .ra-ctabar .ra-btn:hover { background: var(--mid); }
.ra-ui .ra-btn--lime { background: var(--lime); color: var(--dk); }
.ra-ui .ra-btn--lime:hover { background: #D4F050; }

/* ---------- numbered link rows (Services list) ----------
   <div class="ra-rows">
     <a class="ra-row ra-motion" href="/x/">
       <span class="ra-row__num">01</span>
       <span class="ra-row__body"><span class="ra-row__tag">Tag</span><span class="ra-row__title">Title</span><span class="ra-row__text">Line</span></span>
       <span class="ra-row__badges"><img src="..." alt="SDG 9"></span>   (optional)
       <span class="ra-row__arrow"></span>
     </a>
   </div> */
.ra-ui .ra-rows { background: var(--wht); }
.ra-ui .ra-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s; }
.ra-ui .ra-row:hover { background: var(--off); }
.ra-ui .ra-row__num { font-family: var(--display); font-size: clamp(32px, 5vw, 44px); font-weight: 700; color: rgba(30, 52, 50, .07); min-width: clamp(72px, 10vw, 96px); display: flex; align-items: center; justify-content: center; padding: 26px 16px; transition: color .3s; flex-shrink: 0; }
.ra-ui .ra-row:hover .ra-row__num { color: rgba(30, 52, 50, .15); }
.ra-ui .ra-row__body { flex: 1; display: block; padding: 26px 20px 26px 16px; border-left: 3px solid transparent; transition: border-color .3s; }
.ra-ui .ra-row:hover .ra-row__body { border-left-color: var(--lime); }
.ra-ui .ra-row__tag { display: block; font-size: 9px; font-weight: 600; color: var(--mid); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 7px; }
.ra-ui .ra-row__title { display: block; font-family: var(--display); font-size: clamp(16px, 2.5vw, 19px); font-weight: 700; color: var(--dk); line-height: 1.2; }
.ra-ui .ra-row__text { display: block; font-size: 13px; color: var(--ink2); line-height: 1.6; margin-top: 6px; }
.ra-ui .ra-row__badges { display: flex; align-items: center; gap: 4px; padding: 0 16px; flex-shrink: 0; }
.ra-ui .ra-row__badges img { width: 40px; height: 40px; object-fit: cover; border-radius: 2px; display: block; opacity: .85; transition: opacity .2s; }
.ra-ui .ra-row:hover .ra-row__badges img { opacity: 1; }
.ra-ui .ra-row__arrow { display: flex; align-items: center; padding: 26px clamp(16px, 3vw, 28px); color: var(--pal); transition: color .3s, transform .3s; flex-shrink: 0; }
.ra-ui .ra-row__arrow::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ra-ui .ra-row:hover .ra-row__arrow { color: var(--lime); transform: translateX(6px); }
@media (max-width: 640px) { .ra-ui .ra-row__badges { display: none; } }

/* ---------- logo marquee ----------
   <div class="ra-logos"><p class="ra-eyebrow">Companies we have worked with</p>
     <div class="ra-logos__track"><img src="..." alt="..."> ... each logo once ...</div></div>
   The script repeats the logos so the loop is seamless. */
.ra-ui .ra-logos { background: var(--off); padding: 48px 0; border-top: 1px solid var(--line); }
.ra-ui .ra-logos > .ra-eyebrow { margin-bottom: 32px; padding: 0 var(--gut); }
.ra-ui .ra-logos__viewport { overflow: hidden; position: relative; }
.ra-ui .ra-logos__viewport::before, .ra-ui .ra-logos__viewport::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.ra-ui .ra-logos__viewport::before { left: 0; background: linear-gradient(to right, var(--off), transparent); }
.ra-ui .ra-logos__viewport::after { right: 0; background: linear-gradient(to left, var(--off), transparent); }
.ra-ui .ra-logos__track { display: flex; align-items: center; gap: 72px; width: max-content; padding: 8px 0; }
.ra-ui .ra-logos__track.is-running { animation: raScroll 28s linear infinite; }
.ra-ui .ra-logos__track:hover { animation-play-state: paused; }
.ra-ui .ra-logos__track img { height: 56px; width: auto; max-width: 160px; object-fit: contain; display: block; flex-shrink: 0; opacity: .75; transition: opacity .3s; }
.ra-ui .ra-logos__track img:hover { opacity: 1; }
@keyframes raScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- call-to-action band ([ra_cta]) ---------- */
.ra-ctabar { background: var(--lime); padding: clamp(32px, 5vw, 56px) var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ra-ctabar .ra-eyebrow { margin-bottom: 8px; }
.ra-ctabar .ra-cta__heading { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--dk); line-height: 1.1; letter-spacing: -.5px; }
@media (max-width: 600px) { .ra-ctabar { flex-direction: column; align-items: flex-start; } .ra-ctabar .ra-btn { width: 100%; text-align: center; } }

/* ---------- motion ----------
   Add class "ra-motion" to anything that should animate in.
   In view at load: fades up in turn after the hero (Services timing, from .75s, .15s apart).
   Below the fold: slides up as it scrolls into view (Home timing, 28px over .7s).
   Hidden only when the script is running (html.ra-js), so content never disappears without it. */
html.ra-js .ra-motion { opacity: 0; }
html.ra-js .ra-motion.ra-load { animation: raSiteFadeUp .6s ease both; }
html.ra-js .ra-motion.ra-pre { opacity: 0; transform: translateY(28px); }
html.ra-js .ra-motion.ra-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease, background .2s; }
@keyframes raSiteFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.ra-js .ra-motion { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ra-ui .ra-logos__track.is-running { animation: none; }
}

/* ---------- Brizy sections holding RA blocks run edge to edge ----------
   Removes Brizy's section padding, margins and boxed width around RA blocks,
   so no per-section padding settings are needed. */
.brz-section:has(.ra-hero-block, .ra-ui, .ra-ctabar, .ra-library, .ra-contactbox) { margin: 0 !important; }
.brz-section:has(.ra-hero-block, .ra-ui, .ra-ctabar, .ra-library, .ra-contactbox) > .brz-section__content { padding: 0 !important; }
.brz-section:has(.ra-hero-block, .ra-ui, .ra-ctabar, .ra-library, .ra-contactbox) .brz-container { max-width: none !important; width: 100% !important; padding: 0 !important; }
.brz-section:has(.ra-hero-block, .ra-ui, .ra-ctabar, .ra-library, .ra-contactbox) .brz-wrapper { margin: 0 !important; padding: 0 !important; }

/* ---------- "Work with us" enquiry form ([ra_contact]) — same design as the About page ---------- */
.ra-contactbox { position: relative; background: var(--dk); padding: 80px var(--gut) 88px; text-align: center; overflow: hidden; }
.ra-contactbox::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lime); z-index: 2; }
.ra-contactbox::after { content: ""; position: absolute; left: 50%; top: -220px; width: 760px; height: 440px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(227, 255, 114, .13), rgba(227, 255, 114, 0)); pointer-events: none; z-index: 1; }
/* With a photo: the photo gets its own panel beside the form (above it on phones), shown sharp and un-darkened. */
.ra-contactbox.ra-contactbox--photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0; }
.ra-contactbox--photo .ra-contactbox__media { background: #fff var(--ra-cf-img) center 62% / cover no-repeat; min-height: 600px; }
.ra-contactbox--photo .ra-contactbox__inner { max-width: none; margin: 0; padding: 72px clamp(24px, 5vw, 72px) 80px; display: flex; flex-direction: column; justify-content: center; }
.ra-contactbox--photo::after { left: 71%; }
@media (max-width: 860px) {
  .ra-contactbox.ra-contactbox--photo { grid-template-columns: 1fr; }
  .ra-contactbox--photo .ra-contactbox__media { min-height: 340px; background-position: center 55%; }
  .ra-contactbox--photo::after { left: 50%; top: 120px; }
  .ra-contactbox--photo .ra-contactbox__inner { padding: 52px var(--gut) 56px; }
}
.ra-contactbox__inner { position: relative; z-index: 3; max-width: 680px; margin: 0 auto; }
.ra-contactbox .ra-contactbox__eyebrow { font-size: 10px; font-weight: 600; color: var(--lime); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.ra-contactbox .ra-contactbox__title { font-family: var(--display); font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; color: #fff; letter-spacing: -1px; line-height: 1.1; }
.ra-contactbox .ra-contactbox__intro { font-family: 'Glacial Indifference', 'Questrial', var(--body); font-size: 17px; line-height: 1.7; color: var(--pal); margin: 16px auto 0; max-width: 560px; }
.ra-contactbox .ra-contactbox__rule { width: 56px; height: 3px; background: var(--lime); margin: 26px auto 0; }
.ra-contactbox .ra-cf { margin: 34px auto 0; width: 100%; max-width: 640px; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.ra-contactbox .ra-cf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ra-contactbox .ra-cf__field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ra-contactbox .ra-cf__field label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pal); }
.ra-contactbox .ra-cf input[type=text], .ra-contactbox .ra-cf input[type=email], .ra-contactbox .ra-cf textarea { font: inherit; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(202, 216, 206, .28); border-radius: 2px; padding: 12px 14px; width: 100%; margin: 0; box-shadow: none; height: auto; }
.ra-contactbox .ra-cf textarea { min-height: 130px; resize: vertical; }
.ra-contactbox .ra-cf input:focus, .ra-contactbox .ra-cf textarea:focus { outline: none; border-color: var(--lime); background: rgba(255, 255, 255, .1); }
.ra-contactbox .ra-cf__hp { position: absolute !important; left: -9999px !important; }
.ra-contactbox .ra-cf__err { color: #ffb4a9; font-size: 13px; }
.ra-contactbox .ra-cf__btn { align-self: center; background: var(--lime); color: var(--dk); border: 0; border-radius: 2px; padding: 15px 30px; margin-top: 4px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.ra-contactbox .ra-cf__btn:hover { background: #D4F050; }
.ra-contactbox .ra-cf__btn:disabled { opacity: .6; cursor: default; }
.ra-contactbox [hidden] { display: none !important; }
.ra-contactbox .ra-cf__thanks { margin-top: 30px; }
.ra-contactbox .ra-cf__thanks-text { font-family: var(--display); font-size: 22px; font-weight: 700; color: #fff; }
@media (max-width: 700px) { .ra-contactbox { padding: 60px var(--gut) 56px; } }
@media (max-width: 600px) { .ra-contactbox .ra-cf__row { grid-template-columns: 1fr; } .ra-contactbox .ra-cf__btn { align-self: stretch; text-align: center; } }

/* ---------- Paid Memberships Pro pages: same design as the Contact page ----------
   Photo panel beside a dark green panel; PMPro's form sits under the heading.
   PMPro styles itself through these variables; inputs stay light so Stripe's card field stays readable. */
/* the theme's own page title is replaced by the panel's heading */
.ra-pmpro-page .hero-section, .ra-pmpro-page .entry-header, .ra-pmpro-page .page-title { display: none !important; }
.ra-pmpro-page .ct-container-full[data-vertical-spacing*="top"], .ra-pmpro-page .ct-container[data-vertical-spacing*="top"] { padding-top: 0 !important; }
.ra-pmpro-page .site-main > div { padding-top: 0 !important; }
body.ra-pmpro-page { overflow-x: clip; }
.ra-pmpro-page .entry-content > .ra-pmpro-box { width: 100vw !important; max-width: none !important; margin: 0 0 0 calc(50% - 50vw) !important; }
.ra-pmpro-page .ct-container-full { padding-bottom: 0 !important; }
.ra-pmpro-box .ra-contactbox__inner { justify-content: flex-start !important; padding: 64px clamp(24px, 5vw, 72px) 80px !important; }
.ra-pmpro-box .ra-contactbox__media { min-height: 640px; }
.ra-pmpro-box {
  --pmpro--color--accent: #E3FF72;
  --pmpro--color--accent--variation: #D4F050;
  --pmpro--color--base: #FFFFFF;
  --pmpro--color--base-2: rgba(255, 255, 255, .06);
  --pmpro--color--contrast: #FFFFFF;
  --pmpro--color--contrast--variation: #CAD8CE;
  --pmpro--color--border: rgba(30, 52, 50, .25);
  --pmpro--color--border--variation: rgba(202, 216, 206, .18);
  --pmpro--box-shadow: none;
  --pmpro--base--border-radius: 2px;
  --pmpro--btn--border-radius: 2px;
  --pmpro--btn--top-bottom-padding: 15px;
  --pmpro--btn--left-right-padding: 30px;
  --pmpro--color--info-background: rgba(255, 255, 255, .06);
  --pmpro--color--info-border: rgba(202, 216, 206, .25);
  --pmpro--color--info-text: #CAD8CE;
  --pmpro--color--info-link: #E3FF72;
  --pmpro--color--success-background: rgba(227, 255, 114, .12);
  --pmpro--color--success-border: rgba(227, 255, 114, .5);
  --pmpro--color--success-text: #FFFFFF;
  --pmpro--color--success-link: #E3FF72;
}
.ra-pmpro-box .ra-pmpro-body { text-align: left; margin: 34px auto 0; width: 100%; max-width: 640px; font-family: 'Chakra Petch', system-ui, sans-serif; color: #CAD8CE; font-size: 15px; line-height: 1.7; }
.ra-pmpro-box .pmpro, .ra-pmpro-box .pmpro p, .ra-pmpro-box .pmpro li { color: #CAD8CE; }
.ra-pmpro-box .pmpro strong { color: #FFFFFF; }
/* cards become quiet sections divided by hairlines */
.ra-pmpro-box .pmpro_card { background: transparent !important; border: 0 !important; border-top: 1px solid rgba(202, 216, 206, .18) !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; }
.ra-pmpro-box .pmpro_section:first-child .pmpro_card, .ra-pmpro-box .pmpro_form > .pmpro_section:first-child .pmpro_card { border-top: 0 !important; }
.ra-pmpro-box .pmpro_card_title, .ra-pmpro-box .pmpro_card_content, .ra-pmpro-box .pmpro_card_actions { padding-left: 0 !important; padding-right: 0 !important; }
.ra-pmpro-box .pmpro_card_title, .ra-pmpro-box .pmpro_form_heading, .ra-pmpro-box .pmpro_section_title, .ra-pmpro-box .pmpro h2, .ra-pmpro-box .pmpro h3 { font-family: 'Bai Jamjuree', system-ui, sans-serif !important; font-size: 20px !important; font-weight: 700 !important; letter-spacing: -.3px; color: #FFFFFF !important; }
.ra-pmpro-box .pmpro_form_label, .ra-pmpro-box .pmpro_list_item_label { font-size: 10px !important; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #CAD8CE !important; }
.ra-pmpro-box .pmpro_form_input, .ra-pmpro-box .pmpro input[type=text], .ra-pmpro-box .pmpro input[type=email], .ra-pmpro-box .pmpro input[type=password], .ra-pmpro-box .pmpro select { background: #F5F7F5 !important; color: #1E3432 !important; border: 1px solid rgba(202, 216, 206, .4) !important; border-radius: 2px !important; font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 15px; }
.ra-pmpro-box .pmpro_form_input:focus, .ra-pmpro-box .pmpro input:focus { outline: 2px solid rgba(227, 255, 114, .7) !important; outline-offset: 1px; border-color: #E3FF72 !important; }
.ra-pmpro-box .pmpro_btn { background: #E3FF72 !important; border-color: #E3FF72 !important; color: #1E3432 !important; font-family: 'Chakra Petch', system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: none !important; }
.ra-pmpro-box .pmpro_btn:hover, .ra-pmpro-box .pmpro_btn:focus { background: #D4F050 !important; border-color: #D4F050 !important; }
.ra-pmpro-box .pmpro_btn.pmpro_btn-outline, .ra-pmpro-box .pmpro_btn.pmpro_btn-plain, .ra-pmpro-box .pmpro_btn.pmpro_btn-cancel { background: transparent !important; color: #E3FF72 !important; border-color: rgba(227, 255, 114, .5) !important; }
.ra-pmpro-box .pmpro_form_submit { text-align: center; margin-top: 8px; }
.ra-pmpro-box .pmpro_card_content > p:last-child { margin-bottom: 0; }
.ra-pmpro-box .pmpro_section { margin: 0 !important; }
.ra-pmpro-box .pmpro a:not(.pmpro_btn) { color: #E3FF72; }
.ra-pmpro-box .pmpro_level_cost_text, .ra-pmpro-box .pmpro_level_cost_text p { color: #FFFFFF; }
@media (max-width: 860px) { .ra-pmpro-box .ra-contactbox__media { min-height: 300px; } .ra-pmpro-box .ra-contactbox__inner { padding: 48px var(--gut) 56px !important; } }
