/* Wings Within by Marta Encheva-Malinova: reskin of the "Therapy Care" Webflow template.
   Loads after the Webflow stylesheet and the inline type-system block, so equal-specificity rules win.
   Layout is the template's; this file changes colour, type details, component styling and image treatment.
   Palette (client brief): ivory #FAF8F4, beige #EEE7DD, greige #D5D1CB, sage #A7B1A1, plum #49374D. Ink #2F2A31. */

/* ---------- tokens ---------- */
:root {
  --color--white: #FAF8F4;
  --color--primary-1: #2F2A31;          /* ink: headings, nav, text on sage */
  --color--primary-2: #49374D;          /* plum: accent, buttons, closing band */
  --color--primary-3: #EEE7DD;          /* beige fields */
  --color--gray-1: #4A434D;             /* body text on light fields (8.99:1 on ivory) */
  --color--gray-2: #D5D1CB;             /* greige: rules, dividers */
  --color--soft-primary-2: rgba(73, 55, 77, .12);
  --color--soft-primary-3: rgba(238, 231, 221, .13);
  --ww-surface: #FFFDF9;                /* cards */
  --ww-sage: #A7B1A1;                   /* surfaces only, never text on light */
  --ww-muted: #6E6272;                  /* captions, placeholders (5.42:1 on ivory) */
  --ww-ghost: #8A7F8C;                  /* readable ghost line, large text only (3.6:1) */
  --ww-line: #E2DBD1;
}

html { background: #FAF8F4; }
body {
  background-color: #FAF8F4;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #49374D; color: #FAF8F4; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- focus, motion, no-JS safety ---------- */
:focus-visible { outline: 2px solid #49374D; outline-offset: 3px; }
.client-section :focus-visible { outline-color: #FAF8F4; }
.w-nav-button:focus-visible {
  outline: 2px solid #49374D !important; outline-offset: 3px;
}
.ix-off [style*="opacity:0"] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-w-id], [style*="opacity:0"] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { color: #2F2A31; }
h2, .heading-h2, .testimonial-section-title, .step-section-title {
  font-size: 56px; line-height: 1.1; letter-spacing: .02em; font-weight: 400;
}
.section-pre-title {
  font-family: var(--font-family--body); font-weight: 600; font-size: 13px; line-height: 1.4;
  letter-spacing: .12em; color: #49374D; margin-bottom: 14px;
}
.wings-logo { color: #2F2A31; }
.wings-logo-sub { font-size: 10.5px; letter-spacing: .14em; color: var(--ww-muted); opacity: 1; }

/* ---------- buttons ---------- */
.button-primary-3 {
  display: inline-flex; align-items: center; justify-content: center;
  background-color: #49374D; color: #FAF8F4;
  font-family: var(--font-family--body); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .01em;
  padding: 16px 26px; min-height: 48px; border-radius: 0; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.button-primary-3:hover { background-color: #2F2A31; color: #FAF8F4; }
.button-white {
  display: inline-flex; align-items: center; min-height: 48px;
  background: transparent; border: 1px solid #2F2A31; color: #2F2A31;
  padding: 14px 22px; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.button-white:hover { background: #2F2A31; color: #FAF8F4; }
.button-link {
  color: #49374D; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  padding: 12px 0; min-height: 44px; align-items: center; font-weight: 600;
}

/* ---------- nav ---------- */
.navbar { background-color: #FAF8F4; border-bottom: 1px solid var(--ww-line); }
.nav-link { color: #2F2A31; text-decoration: none; }
.nav-link:hover, .nav-link.w--current { color: #49374D; }
.nav-button-link {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: #49374D; color: #FAF8F4; padding: 12px 22px; min-height: 44px;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .2s ease;
}
.nav-button-link:hover { background: #2F2A31; color: #FAF8F4; }
.nav-button-icon { filter: brightness(0) invert(.97); width: 18px; }
.nav-link-cta { display: none; }
.menu-button { background-color: transparent; color: #2F2A31; }
.menu-button.w--open { background-color: #EEE7DD; color: #2F2A31; }
@media (max-width: 991px) {
  .nav-menu { background-color: #FAF8F4; border-color: var(--ww-line); }
  .nav-link-cta { display: block; color: #49374D; font-weight: 600; }
}

/* ---------- hero ---------- */
.hero-section.bg-gradient-four { background-image: linear-gradient(180deg, #E3DED7 0%, #EEE7DD 42%, #FAF8F4 100%); }
.hero-title-wrap, .hero-section .hero-title, .hero-section .hero-description,
.hero-section .hero-counter-title, .hero-section .hero-counter-text { color: #2F2A31; }
.hero-title { font-weight: 300; font-size: 84px; line-height: 1.02; letter-spacing: .01em; margin-bottom: 0; }
.hero-text-span { color: #49374D; font-size: 2em; font-weight: 300; letter-spacing: 0; }
.hero-cta { margin-top: 36px; align-self: flex-start; }
.hero-description { font-size: 18px; line-height: 1.55; color: #2F2A31; text-transform: none; }
.hero-counter-title { font-family: var(--font-family--heading); font-weight: 300; font-size: 64px; line-height: 1; font-variant-numeric: lining-nums; }
.hero-counter-text { font-family: var(--font-family--body); text-transform: none; font-size: 16px; line-height: 1.4; margin-top: 8px; }
.hero-meta-link { display: block; color: var(--ww-muted); text-decoration: none; font-size: 15px; line-height: 1.6; }
.hero-scroll-link { width: 44px; min-height: 96px; }
.hero-arrow-image { position: static; opacity: .8; }
.hero-image-overlay { display: none; }
.hero-image-wrap { border-radius: 999px 999px 0 0; overflow: hidden; }   /* arch: a soft form, same geometry */
.hero-image { object-position: 45% 30%; }
@media (max-width: 991px) {
  .hero-title { font-size: 68px; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 52px; }
  .hero-title-wrap { order: 1; }
  .hero-image-wrap { order: 2; margin-top: 8px; }
  .hero-right-side { order: 3; }
  .hero-image { aspect-ratio: 4 / 5; object-position: 50% 30%; }
  .hero-counter-title { font-size: 48px; }
}
@media (max-width: 479px) {
  .hero-title { font-size: 42px; }
}

/* ---------- ghost words (was gradient text; now solid) ---------- */
.section-big-title {
  background-image: none !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  font-weight: 300; letter-spacing: -.01em;
}
.section-big-title.one { color: #DDD5CA; }             /* quiet watermark, decorative (aria-hidden) */
.section-big-title.two { color: var(--ww-ghost); }     /* first half of a sentence: readable */

/* ---------- areas of support ---------- */
.bg-gradient-three { background-image: linear-gradient(180deg, #FAF8F4 0%, #EEE7DD 36%); }
.service-item { cursor: default; }
.service-content-wrap { background-color: var(--ww-surface); padding: 88px 28px 32px; }
.service-title { font-size: 24px; line-height: 1.25; text-transform: none; letter-spacing: 0; margin-bottom: 10px; color: #2F2A31; }
.service-content-wrap p { font-size: 16px; line-height: 1.6; color: #4A434D; margin-bottom: 0; }
.service-image { display: block; }
@media (max-width: 767px) { .service-content-wrap { padding: 64px 24px 28px; } }

/* ---------- women's wellbeing ---------- */
.case-study-section { background-color: #FAF8F4; }

/* ---------- за мен (sage band, ink text) ---------- */
.about-section { background-color: var(--ww-sage); }
.about-section h2, .about-section .text-white { color: #2F2A31; }
.about-lead-text {
  font-family: var(--font-family--heading); font-size: 26px; line-height: 1.4; letter-spacing: 0;
  color: #2F2A31; text-transform: none; width: auto; max-width: 30ch;
}
.about-section .text-gray-2 { color: #2F2A31; font-size: 17px; line-height: 1.65; max-width: 60ch; }
.about-image { object-position: 55% 40%; background-image: none; }

/* ---------- може би... ---------- */
.testimonial-linear-item {
  background-image: linear-gradient(180deg, #FAF8F4, #EEE7DD 30%, #EEE7DD 70%, #FAF8F4);
  opacity: 1;
}
.testimonial-item { background-color: var(--ww-surface); padding: 32px; }
.testimonial-image-wrap { display: block; margin-bottom: 12px; }
.testimonial-title {
  font-family: var(--font-family--heading); font-size: 22px; line-height: 1.3;
  color: #2F2A31; text-transform: none; letter-spacing: 0;
}
.testimonial-title::before { content: ""; display: block; width: 28px; height: 1px; background: #49374D; margin-bottom: 16px; }
.testimonial-item p { font-size: 16px; line-height: 1.6; color: #4A434D; }
@media (min-width: 1280px) {
  .testimonial-item.one { transform: rotate(-2deg); }
  .testimonial-item.two { transform: rotate(1.5deg); }
  .testimonial-item.three { transform: rotate(-1.5deg); }
  .testimonial-item.four { transform: rotate(2deg); }
  .grid-testimonial { grid-column-gap: 48px; grid-row-gap: 48px; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  .testimonial-item.one { transform: rotate(-1.5deg); }
  .testimonial-item.two { transform: rotate(1deg); }
  .testimonial-item.three { transform: rotate(-1deg); }
  .testimonial-item.four { transform: rotate(1.5deg); }
}
@media (max-width: 991px) { .testimonial-item { transform: none !important; } }

/* ---------- какво е RTT? (ruled columns, as the template's pricing grid) ---------- */
.rtt-copy {
  max-width: none; display: grid; grid-template-columns: 1fr 1px 1fr; column-gap: 80px; row-gap: 32px;
  align-items: start; justify-items: stretch; margin-top: 40px;
}
.rtt-copy p { font-size: 18px; line-height: 1.6; color: #2F2A31; max-width: none; }
.rtt-copy .pricing-divider { display: block; background-color: var(--color--gray-2); opacity: 1; width: 1px; height: auto; align-self: stretch; }
.rtt-copy .button-link { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 767px) {
  .rtt-copy { grid-template-columns: 1fr; row-gap: 20px; }
  .rtt-copy .pricing-divider { display: none; }
}

/* ---------- как работим заедно ---------- */
.step-section { background-image: linear-gradient(90deg, #EEE7DD, #F4EFE8 25%, #FAF8F4 50%, #F4EFE8 75%, #EEE7DD); }
@media (min-width: 992px) {
  .grid-step { grid-template-columns: repeat(6, 1fr); grid-column-gap: 40px; grid-row-gap: 40px; }
  .step-item { grid-column: span 2; }
  .step-item:nth-child(4) { grid-column: 2 / 4; }
  .step-item:nth-child(5) { grid-column: 4 / 6; }
}
@media (max-width: 767px) { .step-section { background-image: none; background-color: #EEE7DD; } }
.step-item { padding: 32px 28px; }
.step-item.bg-white { background-color: var(--ww-surface); }
.step-item.bg-primary-3 { background-color: var(--ww-sage); }
.step-item.bg-primary-3 * { color: #2F2A31; }
.step-number {
  color: #49374D; font: 600 14px/1.4 var(--font-family--body); letter-spacing: .12em;
  font-variant-numeric: tabular-nums; margin-bottom: 8px;
}
.step-title { font-size: 24px; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.step-item p { font-size: 16px; line-height: 1.6; color: #4A434D; margin-bottom: 0; }

/* ---------- final call to action (the one plum field) ---------- */
.client-section { background-color: #49374D; padding-top: 120px; padding-bottom: 120px; margin-bottom: 0; }
.final-cta { gap: 24px; }
.final-cta h2 {
  text-transform: none; color: #FAF8F4; font-size: 52px; line-height: 1.15; letter-spacing: 0;
  max-width: 18ch; text-wrap: balance;
}
.final-cta p { color: #EEE7DD; opacity: 1; font-size: 18px; }
.final-cta .button-primary-3 { background-color: #FAF8F4; color: #49374D; padding: 18px 32px; font-size: 16px; min-height: 52px; }
.final-cta .button-primary-3:hover { background-color: #EEE7DD; color: #2F2A31; }
@media (max-width: 767px) { .client-section { padding-top: 72px; padding-bottom: 72px; } }

/* ---------- footer ---------- */
.footer { background-color: #FAF8F4; border-top: 1px solid var(--ww-line); }
.footer-link { color: #2F2A31; text-decoration: none; }
a.footer-link:hover { color: #49374D; text-decoration: underline; text-underline-offset: 4px; }
.footer-link.is-placeholder, .footer-meta-link.is-placeholder { color: var(--ww-muted); cursor: default; }
.footer-link.is-current { color: #49374D; font-weight: 600; }
.footer-meta-link { color: #49374D; }
.footer-divider { background-color: var(--color--gray-2); opacity: 1; }

/* ---------- responsive type ---------- */
@media (max-width: 991px) {
  h2, .heading-h2, .testimonial-section-title, .step-section-title { font-size: 48px; }
  .final-cta h2 { font-size: 44px; }
  .about-lead-text { font-size: 24px; }
  .service-title, .step-title { font-size: 22px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  h2, .heading-h2, .testimonial-section-title, .step-section-title { font-size: 40px; }
  .final-cta h2 { font-size: 36px; }
  .about-lead-text { font-size: 22px; }
  .hero-description { font-size: 17px; }
}
@media (max-width: 479px) {
  h2, .heading-h2, .testimonial-section-title, .step-section-title { font-size: 32px; }
  .final-cta h2 { font-size: 30px; }
  .about-lead-text { font-size: 20px; }
  .section-pre-title { font-size: 12px; }
}

/* ---------- round 2 fixes ---------- */
/* ghost words became divs: restore the heading face and the template's caps */
.section-big-title { font-family: var(--font-family--heading); text-transform: uppercase; line-height: .9; }
/* closing question: two or three lines, not four */
.final-cta h2 { max-width: 820px; }
/* template arrow icons were coral: use a text arrow in the link colour */
.button-link-icon { display: none; }
.button-link::after { content: "→"; margin-left: 12px; text-decoration: none; display: inline-block; }
.hero-arrow-image { filter: brightness(0); opacity: .55; }

/* ---------- round 3: mobile ---------- */
.wings-logo-sub { white-space: nowrap; }
/* keep the brief's order of the five areas at every width (template pulled row two first) */
#w-node-e76aaa42-75e9-1811-7e2f-b5965efbe208-afb59be6 { order: 0; }
@media (max-width: 767px) {
  .wings-logo { font-size: 22px; }
  .wings-logo-sub { font-size: 9.5px; letter-spacing: .1em; }
  /* photo straight after the intro, facts after the photo */
  .hero-section .container { display: flex; flex-direction: column; }
  .hero-section .grid-hero { display: contents; }
  .hero-section .hero-title-wrap { order: 1; }
  .hero-section .hero-image-wrap { order: 2; margin-top: 32px; }
  .hero-section .hero-right-side { order: 3; margin-top: 32px; }
}

/* ---------- round 4: QA findings ---------- */
/* accent face fallback keeps the same metrics if the webfont fails, so 39px never renders as a 39px Georgia */
@font-face {
  font-family: 'Spectral Accent Fallback'; src: local('Georgia Italic'), local('Georgia-Italic'), local('Georgia');
  size-adjust: 56.3%; ascent-override: 156.3%; descent-override: 99.5%;
}
:root { --font-family--pre-title: 'Spectral Accent', 'Spectral Accent Fallback', Georgia, serif; }

/* skip link, helpers */
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 2000;
  background: #49374D; color: #FAF8F4; padding: 12px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.nowrap { white-space: nowrap; }
.final-cta p, .hero-description, .about-section p, .testimonial-item p, .section-intro, .service-content-wrap p { text-wrap: pretty; }

/* nav: bigger hit areas, current state not by colour alone */
.nav-link { padding-top: 8px; padding-bottom: 8px; margin-top: 7px; margin-bottom: 7px; }
.nav-link:hover, .nav-link.w--current { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 991px) { .nav-link { display: block; padding: 12px 0; } }

/* hero: arch clears the nav line, headline clears the arch, bottoms line up with the photo */
@media (min-width: 1280px) {
  .hero-image-wrap { top: 40px; height: 870px; }
  .hero-title { font-size: 72px; letter-spacing: 0; }
  .hero-right-side { grid-row-gap: 107px; grid-column-gap: 107px; }
}
.hero-description { margin-top: 28px; max-width: 34ch; }
.hero-cta { margin-top: 32px; }
.hero-scroll-link { margin-top: 56px; margin-bottom: 0; }
@media (max-width: 767px) { .hero-section { padding-bottom: 48px; } .hero-description { max-width: none; } }

/* women's wellbeing intro, her sentence */
.section-intro { max-width: 60ch; margin-top: 20px; margin-bottom: 0; font-size: 18px; line-height: 1.6; color: #2F2A31; }

/* "Може би": plum, as the first half of one sentence; clearly larger than the line below on phones */
.section-big-title.two { color: #49374D; }
@media (max-width: 767px) { .section-big-title.two { font-size: 16vw; } }

/* tilted paper, straight text: rotate only the card's background */
.testimonial-item { position: relative; isolation: isolate; background-color: transparent; }
.testimonial-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ww-surface); transform: rotate(var(--tilt, 0deg));
}
@media (min-width: 992px) {
  .testimonial-item.one, .testimonial-item.two, .testimonial-item.three, .testimonial-item.four { transform: none; }
  .testimonial-item.one { --tilt: -2deg; }
  .testimonial-item.two { --tilt: 1.5deg; }
  .testimonial-item.three { --tilt: -1.5deg; }
  .testimonial-item.four { --tilt: 2deg; }
}
@media (prefers-reduced-motion: reduce) { .testimonial-item::before { transform: none; } }
/* the plum rule now introduces each paragraph (titles were not hers, so they are gone) */
.testimonial-item p::before { content: ""; display: block; width: 28px; height: 1px; background: #49374D; margin-bottom: 18px; }
.testimonial-item p { color: #2F2A31; font-size: 17px; }

/* за мен: one measure for both paragraphs, air above the button */
.about-lead-text { max-width: 24em; }
.about-section .text-gray-2 { max-width: 37em; }
.about-content-wrap .button-primary-3 { margin-top: 32px; }

/* text link: underline the words, not the arrow */
.button-link { text-decoration: none; }
.button-link > div { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.button-link::after { margin-left: 10px; }

/* mobile rhythm */
@media (max-width: 767px) {
  .grid-service-one { margin-bottom: 0; }
  .grid-cse-study-wrapper { grid-row-gap: 30px; }
}

/* footer: balance the columns, bigger hit areas */
@media (min-width: 1280px) {
  .grid-footer { grid-template-columns: 1.5fr .6fr 1.5fr; grid-column-gap: 60px; }
  .grid-footer-link { grid-column-gap: 40px; }
}
.footer-link { display: inline-block; padding: 9px 0; }
.footer-link-wrap { row-gap: 0; grid-row-gap: 0; }
@media (min-width: 1280px) { .footer-meta-link { white-space: nowrap; } }
@media (max-width: 479px) { .grid-footer-link { grid-template-columns: 1fr 1fr; } }

/* ---------- round 5: hero accent always on its own line, clear of the arch ---------- */
.hero-text-span { display: block; line-height: .78; margin-top: .04em; }

/* ---------- round 6: tablet and small-laptop ---------- */
/* 992-1279: the template floats the arch over the text column; keep them apart */
@media (min-width: 992px) and (max-width: 1279px) {
  .hero-title { font-size: 58px; letter-spacing: 0; }
  .hero-description { max-width: 30ch; font-size: 17px; }
  .hero-image-wrap { width: 400px; left: auto; right: 170px; top: 32px; margin: 0; }
}
/* 768-991: same reading order as phones (headline, intro, photo, facts) */
@media (max-width: 991px) {
  .hero-section .container { display: flex; flex-direction: column; }
  .hero-section .grid-hero { display: contents; }
  .hero-section .hero-title-wrap { order: 1; }
  .hero-section .hero-image-wrap { order: 2; margin-top: 32px; }
  .hero-section .hero-right-side { order: 3; margin-top: 32px; }
}
/* two-column tablet grids: centre the odd card out */
@media (min-width: 768px) and (max-width: 991px) {
  .grid-service-one > .service-item:nth-child(3) { grid-column: 1 / -1; width: calc(50% - 15px); justify-self: center; }
  .grid-step > .step-item:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 25px); justify-self: center; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  .nav-link { margin-left: 10px; margin-right: 10px; font-size: 15px; white-space: nowrap; }
  .nav-button-link { padding: 12px 16px; font-size: 14px; }
  .nav-button-icon { display: none; }
}

/* =====================================================================
   round 7: FLOW. The client asked for "плавни преходи между секциите",
   "меки и органични форми", and no "стандартни правоъгълни блокове".
   Same layout; no seams, no boxes, no square corners.
   Shape family: arch (portraits), dome (landscapes, tiles), shallow arc (band edges).
   ===================================================================== */
html, body { overflow-x: clip; }

/* --- no hairlines framing the page --- */
.navbar { border-bottom: 0; }
.footer { border-top: 0; }
.footer-divider { background: linear-gradient(90deg, transparent, var(--color--gray-2) 18%, var(--color--gray-2) 82%, transparent); }
.rtt-copy .pricing-divider { background: linear-gradient(180deg, transparent, var(--color--gray-2) 22%, var(--color--gray-2) 78%, transparent); }

/* --- every field fades into the next: no seams --- */
.hero-section.bg-gradient-four { background-image: linear-gradient(180deg, #FAF8F4 0%, #EEE7DD 45%, #FAF8F4 100%); }
.bg-gradient-three { background-image: linear-gradient(180deg, #FAF8F4 0%, #EEE7DD 26%, #EEE7DD 74%, #FAF8F4 100%); }
.step-section { background-image: linear-gradient(180deg, #FAF8F4 0%, #EEE7DD 38%, #EEE7DD 100%); }
@media (max-width: 767px) { .step-section { background-image: linear-gradient(180deg, #FAF8F4 0%, #EEE7DD 20%, #EEE7DD 100%); background-color: transparent; } }
/* sage band dissolves into ivory below it */
.about-section { background-color: transparent; background-image: linear-gradient(180deg, var(--ww-sage) 0, var(--ww-sage) calc(100% - 220px), #FAF8F4 100%); padding-bottom: 190px; }
@media (max-width: 767px) { .about-section { background-image: linear-gradient(180deg, var(--ww-sage) 0, var(--ww-sage) calc(100% - 140px), #FAF8F4 100%); padding-bottom: 120px; } }

/* --- shallow arcs where the coloured bands begin (and where the plum band ends) --- */
.about-section, .client-section { position: relative; isolation: isolate; overflow: visible; --arc: clamp(34px, 5.4vw, 78px); }
.about-section::before, .client-section::before {
  content: ""; position: absolute; z-index: -1; left: -2%; right: -2%;
  top: calc(-1 * var(--arc)); height: calc(2 * var(--arc)); border-radius: 50%;
}
.about-section::before { background: var(--ww-sage); }
.client-section::before { background: #49374D; }
/* the plum band meets the footer on a straight line: the curve belongs to its top edge only */
.footer { background-color: #FAF8F4; padding-top: 84px; }
@media (max-width: 991px) { .footer { padding-top: 64px; } }
@media (max-width: 479px) { .footer { padding-top: 48px; } }

/* --- area cards: no box; image in a soft dome, words floating beneath --- */
.service-content-wrap { background-color: transparent; padding: 28px 12px 8px; }
.service-image-wrap { margin-bottom: 0; border-radius: 50% 50% 6px 6px / 26% 26% 6px 6px; overflow: hidden; }
.service-image { transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.service-item:hover .service-image { transform: scale(1.035); }
@media (max-width: 767px) { .service-content-wrap { padding: 22px 8px 4px; } }

/* --- може би: the notes float, no paper --- */
.testimonial-item { padding: 8px 12px; }
.testimonial-item::before { display: none; }

/* --- steps: a sequence, not a grid of boxes --- */
.step-item, .step-item.bg-white, .step-item.bg-primary-3 { background-color: transparent; padding: 12px 16px; }
.step-item.bg-primary-3 * { color: inherit; }
.step-number {
  font-family: 'Spectral Accent', 'Spectral Accent Fallback', Georgia, serif; font-weight: 300;
  font-size: 68px; line-height: 44px; letter-spacing: 0; color: #49374D; margin-bottom: 14px;
}
.step-title { color: #2F2A31; }
.step-item p { color: #4A434D; }

/* --- за мен: portrait in the same dome --- */
.about-image-wrap { border-radius: 50% 50% 6px 6px / 22% 22% 6px 6px; overflow: hidden; }

/* --- buttons: soft pills --- */
.button-primary-3, .button-white, .nav-button-link { border-radius: 999px; }
.button-primary-3, .button-white { padding-left: 30px; padding-right: 30px; }
.skip-link { border-radius: 999px; }

/* ---------- round 8: flow pass, breakpoint polish ---------- */
/* the "Може би" notes share one top line at every width (the template centres note three) */
.grid-testimonial > * { align-self: start !important; }

/* clear air between the stages' CTA and the sage arc that rises into this section */
#womens { padding-bottom: calc(clamp(34px, 5.4vw, 78px) + 100px); }

/* 992–1279: logo on its own row, the two link groups side by side, so no label wraps */
@media (min-width: 992px) and (max-width: 1279px) {
  .grid-footer { grid-template-columns: 1fr 1fr; grid-column-gap: 48px; grid-row-gap: 40px; }
  .grid-footer-link { grid-column-gap: 32px; }
  .footer-logo-wrap { grid-column: 1 / -1; order: -1; }
}
@media (min-width: 992px) { .grid-footer-link { grid-template-columns: auto auto; justify-content: start; } }

/* footer meta: three short lines that keep their words together and wrap as whole items */
@media (min-width: 768px) {
  .grid-footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-start; column-gap: 56px; row-gap: 14px; }
  .footer-meta-item, .footer-meta-item > * { white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 991px) { .grid-footer-meta { flex-direction: column; } }
@media (min-width: 1280px) { .grid-footer-meta { justify-content: space-between; } }

/* ---------- round 9: stock photography ---------- */
/* sofa portrait: keep her head clear of the dome on wide cards */
.service-image[src$="area-5-womens.jpg"] { object-position: 50% 12%; }
/* canyon figure: keep her and the summit rock in view on wide cards */
.service-image[src$="area-2-confidence.jpg"] { object-position: 50% 70%; }

/* ---------- round 10: Women's Wellbeing, the held arch ---------- */
/* the template clips this section (overflow: hidden), which would stop the arch from holding */
.case-study-section { overflow: visible; }
.ws-story { margin-top: 72px; }
.ws-stages { list-style: none; margin: 0; padding: 0; display: grid; row-gap: 72px; }
.ws-stage { margin: 0; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); column-gap: 64px; align-items: center; }
.ws-figure { margin: 0; aspect-ratio: 5 / 6; border-radius: 999px 999px 0 0; overflow: hidden; background-color: #EEE7DD; }
.ws-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-count {
  margin: 0 0 14px; font: 600 13px/1.4 var(--font-family--body); letter-spacing: .12em;
  color: #49374D; font-variant-numeric: tabular-nums;
}
.ws-title {
  margin: 0 0 16px; font-family: var(--font-family--heading); font-weight: 400;
  font-size: 40px; line-height: 1.15; letter-spacing: 0; text-transform: none; color: #2F2A31;
}
.ws-caption {
  margin: 0; max-width: 520px; color: #2F2A31; text-wrap: pretty;
  font-family: 'Spectral Accent', 'Spectral Accent Fallback', Georgia, serif; font-weight: 400;
  font-size: 46px;        /* accent face is size-adjusted to 56.3%: renders at about 26px */
  line-height: 34px;
}
.ws-cta { margin-top: 64px; }
@media (max-width: 1279px) {
  .ws-title { font-size: 34px; }
  .ws-caption { font-size: 42px; line-height: 31px; }
}
@media (max-width: 991px) {
  .ws-stage { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 40px; }
  .ws-title { font-size: 28px; margin-bottom: 12px; }
  .ws-caption { font-size: 37px; line-height: 28px; }
}
@media (max-width: 767px) {
  .ws-story { margin-top: 48px; }
  .ws-stages { row-gap: 56px; }
  .ws-stage { display: block; }
  .ws-figure { width: 62%; }
  .ws-stage:nth-child(even) .ws-figure { margin-left: auto; }
  .ws-text { margin-top: 20px; }
  .ws-title { font-size: 26px; }
  .ws-cta { margin-top: 48px; }
}

/* held layout (added by script at >=768 wide and >=640 tall): one arch holds while the stages scroll past */
.ws-held {
  --arch-w: min(500px, 40vw, calc((100vh - 180px) * .8333));
  --arch-h: calc(var(--arch-w) * 1.2);
  --row: clamp(300px, calc(var(--arch-w) * .72), 380px);
  --pad: max(0px, calc((var(--arch-h) - var(--row)) / 2));
  --gap: clamp(48px, 7vw, 110px);
}
.ws-held .ws-stages {
  position: relative; row-gap: 0; column-gap: var(--gap);
  grid-template-columns: var(--arch-w) minmax(0, 1fr);
}
.ws-held .ws-stage { display: contents; }
.ws-held .ws-figure {
  grid-column: 1; grid-row: 1 / span 4; align-self: start;
  position: sticky; top: max(24px, calc(50vh - var(--arch-h) / 2));
  width: var(--arch-w); height: var(--arch-h); margin: 0;
  opacity: 0; z-index: 0;
  transition: opacity .9s ease 1s;   /* an outgoing photo holds for 1s under the incoming one, so fast scrolls never flash */
}
.ws-held .ws-stage.is-active .ws-figure { opacity: 1; z-index: 1; transition: opacity .9s ease; }
.ws-held .ws-photo { transform: scale(1.04); transition: transform 0s linear 1.9s; }
.ws-held .ws-stage.is-active .ws-photo { transform: none; transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.ws-held .ws-text {
  grid-column: 2; min-height: var(--row); padding-left: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.ws-held .ws-stage:nth-child(1) .ws-text { grid-row: 1; margin-top: var(--pad); }
.ws-held .ws-stage:nth-child(2) .ws-text { grid-row: 2; }
.ws-held .ws-stage:nth-child(3) .ws-text { grid-row: 3; }
.ws-held .ws-stage:nth-child(4) .ws-text { grid-row: 4; margin-bottom: var(--pad); }
.ws-held .ws-stages::before {
  content: ""; grid-column: 2; grid-row: 1 / span 4; justify-self: start; width: 1px;
  background: linear-gradient(180deg, transparent, #D5D1CB 15%, #D5D1CB 85%, transparent);
}
.ws-held .ws-stages::after {
  content: ""; grid-column: 2; grid-row: 1 / span 4; justify-self: start; align-self: start;
  width: 1px; height: 56px; background: #49374D;
  transform: translateY(var(--ws-marker, 0px)); transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.ws-held .ws-count, .ws-held .ws-title, .ws-held .ws-caption { color: #6E6272; transition: color .5s ease; }
.ws-held .is-active .ws-title, .ws-held .is-active .ws-caption { color: #2F2A31; }
.ws-held .is-active .ws-count { color: #49374D; }
.ws-held .ws-cta { margin-top: 8px; padding-left: calc(var(--arch-w) + var(--gap) + 40px); }

/* ---------- round 11: the curved bands reveal outward, following their own shape ---------- */
/* like a section fade-up, but the band grows slightly from its centre instead of rising. The band's colour and
   its arc cap move into one .ww-band-bg layer that fades in while scaling to full size (mostly vertically), so the
   curved edges ease outward into place; one layer means the arc and body never double up while semi-transparent.
   Content keeps its own fade-ups. Only when the head script enabled it (JS on, motion allowed). */
.ww-band-bg { display: none; }
.ww-reveal-on .ww-band-bg {
  display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  opacity: 0; transform: scale(.985, .95); transform-origin: 50% 50%;   /* the curved top and bottom travel, the sides barely move */
  transition: opacity 1.1s cubic-bezier(.33, 1, .68, 1), transform 1.5s cubic-bezier(.33, 1, .68, 1);
}
.ww-reveal-on .ww-band.is-in .ww-band-bg { opacity: 1; transform: none; }
.ww-reveal-on .ww-band-bg::before {
  content: ""; position: absolute; left: -2%; right: -2%;
  top: calc(-1 * var(--arc)); height: calc(2 * var(--arc)); border-radius: 50%;
  clip-path: inset(0 1.923%);   /* trim the 2% overhang so the cap never juts past the body while scaled */
}
.ww-reveal-on .ww-band::before { display: none; }
.ww-reveal-on .about-section { background-image: none; }
.ww-reveal-on .about-section .ww-band-bg { background-image: linear-gradient(180deg, var(--ww-sage) 0, var(--ww-sage) calc(100% - 220px), #FAF8F4 100%); }
.ww-reveal-on .about-section .ww-band-bg::before { background: var(--ww-sage); }
.ww-reveal-on .client-section { background-color: #EEE7DD; }   /* the steps section's beige shows around the band while it grows */
.ww-reveal-on .client-section::before { display: block; background: #EEE7DD; clip-path: inset(0 1.923%); }   /* beige cap hides a 1px seam at the steps boundary; same width as the plum cap */
.ww-reveal-on .client-section .ww-band-bg, .ww-reveal-on .client-section .ww-band-bg::before { background-color: #49374D; }
@media (max-width: 767px) {
  .ww-reveal-on .about-section .ww-band-bg { background-image: linear-gradient(180deg, var(--ww-sage) 0, var(--ww-sage) calc(100% - 140px), #FAF8F4 100%); }
}
/* the plum band's words fade up with it */
.ww-reveal-on .client-section .final-cta {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease .15s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .15s;
}
.ww-reveal-on .client-section.is-in .final-cta { opacity: 1; transform: none; }
/* the plum band grows from its straight bottom edge, so the line against the footer never moves */
.ww-reveal-on .client-section .ww-band-bg { transform-origin: 50% 100%; transform: scale(1, .95); }

/* footer: the same gentle fade-up, staggered; triggers while still on screen even at the very end of the page
   (Webflow's slide-ins needed 10% of the window below them, so the bottom line never appeared) */
.ww-reveal-on .ww-rise {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease calc(var(--ww-i, 0) * 90ms), transform 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--ww-i, 0) * 90ms);
}
.ww-reveal-on .ww-rise.is-in { opacity: 1; transform: none; }
/* arriving at a revealed element from above (scrolling back up) shows it at once, never a fade from blank */
.ww-now, .ww-now * { transition: none !important; }
/* the last line only fades: rising from below would push past the end of the page and nudge the scroll */
.ww-reveal-on .grid-footer-meta.ww-rise { transform: none; }
