/* "Warm" layer: restores the charm of the original site (cream + deep green, hand-drawn characters, friendly plain language).
   Loaded after fancy.css. Tones down the techy bits site-wide (glow blobs, network canvas, neon gradient text, marquee, mono-style labels). */

/* ---- calm the technical look everywhere ---- */
#fx-net, .fx-scroll-hint { display: none !important; }   /* the network canvas was the techy part */
.fx-grad { background-image: linear-gradient(100deg, #2b463c 0%, #4f8a63 55%, #d99a3c 100%) !important; animation: none !important; }
.on-dark .fx-grad { background-image: linear-gradient(100deg, var(--mint), #d8efc9 55%, var(--sun)) !important; }
.fx-eyebrow { display: inline-flex !important; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font: 400 15px/1 var(--f-head) !important; color: var(--green) !important; background: rgba(168, 230, 193, .45); padding: 9px 16px; border-radius: 999px; }
.fx-eyebrow::before { display: none !important; }
.on-dark .fx-eyebrow { color: var(--mint) !important; background: rgba(168, 230, 193, .14); }
.fx-blob { opacity: .5; }
.fx-orb { background: radial-gradient(circle at 35% 30%, #fff, var(--cream-2) 70%) !important; }
.fx-chip { font-family: var(--f-head); }
.fx-marquee { background: var(--green) !important; }
.fx-hero-art > img { border-radius: 30px; inset: 6%; width: 88%; height: 88%; }

/* ---- shared warm pieces ---- */
.wm { --pad: clamp(56px, 8vw, 104px); }
.wm-sec { padding: var(--pad) 0; position: relative; }
.wm-wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.wm-sec--green { background: var(--green); color: #fff; }
.wm-sec--ink { background: var(--ink); color: #fff; }
.wm-sec--white { background: #fff; }
.wm-sec--sand { background: var(--cream-2); }
.wm h1, .wm h2, .wm h3 { font-family: var(--f-head); font-weight: 400; margin: 0; }
.wm h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.08; letter-spacing: -.02em; }
.wm h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.16; letter-spacing: -.015em; }
.wm h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.wm p { margin: 0; }
.wm-lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.7; color: inherit; max-width: 34em; }
.on-dark .wm-lead { color: rgba(255, 255, 255, .9); }
.wm-center { text-align: center; }
.wm-center .wm-lead { margin-inline: auto; }
.wm-italic { font-style: italic; }
.wm-scribble { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 30 2, 50 12, 80 6 S 140 2, 198 7' fill='none' stroke='%235b9a6c' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat; padding-bottom: .22em; }
.on-dark .wm-scribble { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 30 2, 50 12, 80 6 S 140 2, 198 7' fill='none' stroke='%23a8e6c1' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }

.wm-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.wm-center .wm-btns { justify-content: center; }
.fx .wm a.wm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 400 17px/1 var(--f-head); text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s; }
.fx .wm a.wm-btn:hover { transform: translateY(-3px) rotate(-.6deg); background: var(--ink); color: var(--cream); }
.fx .wm a.wm-btn--solid { background: var(--green); border-color: var(--green); color: #fff; }
.fx .wm a.wm-btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.fx .wm a.wm-btn--light { border-color: #fff; color: #fff; }
.fx .wm a.wm-btn--light:hover { background: #fff; color: var(--green); }
.wm .wm-btn svg { width: 18px; height: 18px; }

/* characters: a gentle bob, like they're alive */
.wm-char { display: block; width: 100%; height: auto; }
@keyframes wmBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wm-bob { animation: wmBob 5s ease-in-out infinite; }

/* ---- hero ---- */
.wm-hero { padding: clamp(34px, 5vw, 70px) 0 clamp(56px, 7vw, 96px); }
.wm-hero .wm-wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 70px); }
.wm-hero h1 em { font-style: italic; }
.wm-hero .wm-lead { margin-top: 34px; }
.wm-hero-art { position: relative; }
.wm-hero-art img { border-radius: 24px; }

/* ---- who's behind ---- */
.wm-who .wm-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.wm-who h2 { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; }
.wm-portrait { text-align: center; }
.wm-portrait img { width: min(340px, 80%); aspect-ratio: 1; object-fit: cover; margin: 0 auto 18px; border-radius: 50%; border: 6px solid var(--cream); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.wm-portrait b { font: 400 24px/1.2 var(--f-head); display: block; }
.wm-portrait span { display: block; opacity: .8; font-size: 19px; margin-top: 4px; }
.wm-bio p { font-size: 18px; line-height: 1.85; }
.wm-bio blockquote { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--mint); font-style: italic; font-size: 18px; line-height: 1.8; }

/* ---- goal ---- */
.wm-goal .wm-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.wm-goal .wm-lead + .wm-lead { margin-top: 18px; }

/* ---- testimonials ---- */
.wm-quote { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 5vw, 60px); align-items: center; margin-top: clamp(30px, 5vw, 56px); }
.wm-quote:nth-of-type(even) { grid-template-columns: 340px 1fr; }
.wm-quote .fx-video { order: 2; width: 100%; }
.wm-quote:nth-of-type(even) .fx-video { order: -1; }
.wm-quote blockquote { margin: 0 0 16px; font-style: italic; font-size: 19px; line-height: 1.75; }
.wm-quote cite { font: 400 20px/1.3 var(--f-head); font-style: normal; }
.wm-quote cite a { text-decoration: underline; text-underline-offset: 4px; }

/* ---- cards with characters ---- */
.wm-cards { display: grid; gap: 26px; margin-top: clamp(30px, 5vw, 54px); }
.wm-cards--3 { grid-template-columns: repeat(3, 1fr); }
.wm-cards--4 { grid-template-columns: repeat(2, 1fr); }
.wm-card { background: #fff; border-radius: 30px; padding: 30px 28px 32px; border: 2px solid rgba(25, 25, 25, .08); box-shadow: 0 10px 28px -18px rgba(43, 70, 60, .5); display: flex; flex-direction: column; align-items: flex-start; transition: transform .35s var(--ease), box-shadow .35s; }
.wm-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 40px -22px rgba(43, 70, 60, .55); }
.wm-card .pic { width: 100%; height: 210px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 22px; background: var(--cream); overflow: hidden; }

.wm-card .pic img { max-height: 190px; width: auto; max-width: 86%; }
.wm-card h3 { margin-bottom: 10px; }
.wm-card p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.wm-card a.more { margin-top: auto; padding-top: 18px; font: 400 17px/1 var(--f-head); color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.wm-card--tall .pic { height: 280px; }
.wm-card--tall .pic img { max-height: 260px; }

/* challenge rows (original "Conquer your biggest challenges"): picture and words are balanced, centred, and alternate sides */
.wm-challenge { display: grid; grid-template-columns: minmax(240px, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1000px; margin: clamp(36px, 5vw, 64px) auto 0; }
.wm-challenge.rev { grid-template-columns: minmax(0, 1fr) minmax(240px, 400px); }
.wm-challenge.rev > .stage { order: 2; }
.wm-challenge > .stage { width: 100%; max-width: none; margin: 0; }
.wm-challenge > .stage img { width: 100%; max-height: 420px; object-fit: contain; }
.wm-challenge h3 { font-size: clamp(25px, 2.7vw, 34px); margin-bottom: 14px; }
.wm-challenge p { font-size: 18px; color: var(--muted); max-width: 30em; }
.wm-challenge .answer { margin-top: 14px; font-style: italic; color: var(--ink); }
.wm-challenge .wm-btns { margin-top: 22px; flex-wrap: wrap; }

/* ---- steps ---- */
.wm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: clamp(30px, 5vw, 54px); counter-reset: s; }
.wm-step { text-align: center; padding: 10px 14px 20px; }
.wm-step img { width: min(300px, 90%); margin: 0 auto 14px; }
.wm-step h3::before { counter-increment: s; content: counter(s) ". "; color: var(--mint); }
.wm-step p { margin-top: 10px; opacity: .88; font-size: 17px; line-height: 1.7; }

/* ---- bottom line ---- */
.wm-bottom .wm-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 5vw, 70px); align-items: center; }
.wm-bottom .title-img { width: min(360px, 100%); margin-top: 22px; }

/* ---- faq (softened) ---- */
.wm .fx-faq details { border-radius: 22px; }

@media (max-width: 900px) {
  .wm-hero .wm-wrap, .wm-who .wm-wrap, .wm-goal .wm-wrap, .wm-bottom .wm-wrap { grid-template-columns: 1fr; }
  .wm-hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .wm-goal .wm-wrap > div:first-child { max-width: 340px; margin: 0 auto; }
  .wm-quote, .wm-quote:nth-of-type(even) { grid-template-columns: 1fr; }
  .wm-quote .fx-video, .wm-quote:nth-of-type(even) .fx-video { order: -1; max-width: 320px; margin: 0 auto; }
  .wm-cards--3, .wm-cards--4, .wm-steps { grid-template-columns: 1fr; }
  .wm-challenge, .wm-challenge.rev { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .wm-challenge.rev > .stage { order: 0; }
  .wm-challenge > .stage { max-width: 320px; margin: 0 auto; }
  .wm-challenge p { margin-inline: auto; }
  .wm-challenge .wm-btns { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .wm-bob { animation: none; } }

/* footer: friendlier labels, no ghost wordmark */
.fx-footer h4 { text-transform: none !important; letter-spacing: 0 !important; font-size: 17px !important; }


/* ---- blend: polished components back, in warm colors ---- */
.wm-hero { position: relative; overflow: hidden; }
.wm-hero .fx-blobs { position: absolute; inset: 0; z-index: 0; }
.wm-hero .wm-wrap { position: relative; z-index: 1; }
.wm-hero .fx-hero-art { max-width: 560px; width: 100%; margin-left: auto; }
.wm-hero .fx-eyebrow { margin-bottom: 22px; }
.wm-kicker { margin-bottom: 18px; }
.wm-center .wm-kicker { display: flex; width: max-content; margin: 0 auto 18px; }

.fx-marquee.wm-ribbon { padding: 18px 0; }
.fx-marquee.wm-ribbon span::after { color: var(--mint); }

/* wavy section edges */
.wm-sec--green::before, .wm-sec--ink::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 34px; background-repeat: repeat-x; background-size: 160px 34px; transform: scaleY(-1); pointer-events: none; }
.wm-sec--green::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34' preserveAspectRatio='none'%3E%3Cpath d='M0 0h160v18c-20 14-40 14-60 0S40 4 0 18z' fill='%23f4f1e9'/%3E%3C/svg%3E"); }
.wm-sec--ink::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34' preserveAspectRatio='none'%3E%3Cpath d='M0 0h160v18c-20 14-40 14-60 0S40 4 0 18z' fill='%23f4f1e9'/%3E%3C/svg%3E"); }
.wm-sec--white + .wm-sec--ink::before, .wm-sec--ink + .wm-sec--ink::before, .wm-sec--green + .wm-sec--ink::before { display: none; }
.wm-sec--sand + .wm-sec--ink::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34' preserveAspectRatio='none'%3E%3Cpath d='M0 0h160v18c-20 14-40 14-60 0S40 4 0 18z' fill='%23ebe6d9'/%3E%3C/svg%3E"); }

/* testimonial cards */
.wm-quote { background: #fff; border-radius: 36px; padding: clamp(22px, 3.2vw, 44px); box-shadow: var(--shadow); position: relative; }
.wm-quote::before { content: "\201C"; position: absolute; top: 6px; left: 26px; font: 400 110px/1 var(--f-head); color: rgba(91, 154, 108, .25); pointer-events: none; }
.wm-quote:nth-of-type(even)::before { left: auto; right: 26px; }
.wm-quote blockquote { position: relative; }

/* cards: glow follows the pointer */
.wm-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate; }
.wm-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(168, 230, 193, .35), transparent 50%); }
.wm-card:hover::before { opacity: 1; }
.wm-cards--4 { grid-template-columns: repeat(4, 1fr); }
.wm-cards--4 .wm-card { padding: 24px 22px 28px; }
.wm-cards--4 .wm-card .pic { height: 170px; }
.wm-cards--4 .wm-card .pic img { max-height: 150px; }
@media (max-width: 1100px) { .wm-cards--4 { grid-template-columns: repeat(2, 1fr); } }

/* process: dotted path between the steps */
.wm-steps { position: relative; }
@media (min-width: 901px) {
  .wm-step { position: relative; }
  .wm-step:not(:last-child)::after { content: "\2192"; position: absolute; top: 34%; right: -26px; width: 26px; text-align: center; font: 400 28px/1 var(--f-head); color: var(--mint); }
}

/* friendly final call-to-action */
.wm-cta-sec { padding: 0 0 clamp(56px, 8vw, 100px); }
.wm-cta-sec .fx-cta { background: radial-gradient(circle at 12% 20%, rgba(168, 230, 193, .4), transparent 42%), radial-gradient(circle at 88% 85%, rgba(246, 194, 107, .35), transparent 46%), var(--green); }
.wm-cta-sec .fx-cta::after { display: none; }
.wm-cta-sec .fx-cta h2 { color: #fff; }
.wm-cta-sec .fx-cta p { color: rgba(255, 255, 255, .9); max-width: 34em; margin: 18px auto 0; font-size: 19px; }
.wm-cta-sec .wm-btns { justify-content: center; }
.wm-cta-sec img.cta-char { width: 150px; margin: 0 auto 10px; border-radius: 22px; }

/* characters on inner pages */
.wm-pagechar { max-width: 360px; margin-top: 30px; }
.wm-pagechar img { border-radius: 26px; }

/* picture stages: the frame takes the illustration's own background colour at build time (see build.py match_image_backgrounds) */
.stage, .wm-card .pic { display: grid; place-items: center; border-radius: 28px; overflow: hidden; }
.stage { padding: clamp(6px, 1.6vw, 16px); }
.stage img { margin: 0 auto; }
.wm-step > .stage { width: min(300px, 90%); margin: 0 auto 14px; }
.wm-step > .stage img { width: 100%; }
.fx-hero-art { border-radius: 36px; }
.fx-hero-art .fx-orb { display: none; }
.fx-hero-art > img { border-radius: 0; inset: 0; width: 100%; height: 100%; }
.wm-pagechar { border-radius: 26px; overflow: hidden; }

/* hero blobs only on the left so they never peek out around the picture panel; calmer picture frames */
.fx-hero .fx-blob.b1, .fx-hero .fx-blob.b3, .wm-hero .fx-blob.b1, .wm-hero .fx-blob.b3 { display: none; }   /* blobs live on the text side only: behind a picture they would show as a cut-out */
.fx-hero .fx-blob.b2, .wm-hero .fx-blob.b2 { left: -140px; bottom: -120px; }
.wm-hero .fx-blob.b2 { display: block; }
.fx-frame { background: #fff !important; animation: none !important; padding: 6px; border: 2px solid rgba(25, 25, 25, .08); }
.fx-hero:has(.wm-pagechar) .fx-blob { display: none; }

/* swap the electric-blue accent for the brand greens everywhere (keeps the soft illustration blue only inside the artwork) */
:root { --ai: #4f8a63; --ai-2: #7fb592; }
.fx-icon.ai { background: linear-gradient(140deg, #4f8a63, #2b463c); color: #fff; box-shadow: 0 12px 24px -12px rgba(43, 70, 60, .7); }
.fx-tag.ai { background: rgba(79, 138, 99, .14); color: var(--green); }
.fx-chip.c2 i { box-shadow: 0 0 0 5px rgba(79, 138, 99, .2); }
.fx-cta { background: radial-gradient(circle at 12% 20%, rgba(168, 230, 193, .4), transparent 42%), radial-gradient(circle at 88% 85%, rgba(246, 194, 107, .35), transparent 46%), var(--green) !important; }
.fx-cta::after { display: none; }
.fx-form input:focus, .fx-form textarea:focus, .fx-form select:focus { box-shadow: 0 0 0 4px rgba(79, 138, 99, .18); }

/* phones: no blob behind the stacked picture (it showed as a coloured halo around the cream panel), chips clear of the face, no double wave under the ribbon */
@media (max-width: 900px) {
  .fx-hero .fx-blob.b2, .wm-hero .fx-blob.b2 { display: none; }
  .wm-hero .fx-chip.c1 { top: -4%; left: 2%; }
  .wm-hero .fx-chip { font-size: 13px; padding: 9px 13px 9px 11px; }
}
.wm-ribbon + .wm-sec--green::before { display: none; }

/* label chips sit on/above the picture's edge so they never cover a character's face */
.fx-hero-art .fx-chip.c1 { top: -5%; left: 2%; }

/* the service ribbon keeps drifting (slowly) even when the device asks for reduced motion - it is the one gentle moving element, and it stops on hover/touch-hold */
@media (prefers-reduced-motion: reduce) {
  .fx .wm-ribbon .fx-marquee-track { animation: fxMarquee 90s linear infinite !important; }
  .fx .wm-ribbon:hover .fx-marquee-track { animation-play-state: paused !important; }
}

/* no wavy section edges: sections meet with clean straight lines */
.wm-sec--green::before, .wm-sec--ink::before { display: none !important; }

/* polish: balanced picture/text splits on the inner pages */
.fx-split-media { width: 100%; max-width: 460px; margin-inline: auto; }
.fx-split-media .fx-frame { padding: 4px; }
.fx-frame > div img { transform: scale(1.1); }
.fx-split p, .fx-split li, .fx-split .fx-lead { font-size: 18px; line-height: 1.75; }
.fx-split { gap: clamp(32px, 5vw, 72px); }
.fx-sec { padding-block: clamp(56px, 7vw, 96px); }
