/* wordpress/maven-components/assets/compat.css
   Loaded after maven.css. Only adapts approved rules to Elementor wrappers. */

/* Global colors and fonts come from the Elementor kit, approved values as fallback.
   Re-resolved on every Elementor element too, so an override of a kit variable in a widget's own
   Custom CSS (selector{--e-global-color-mgold:...}) reaches that widget; the values are the same everywhere otherwise. */
body, .elementor-element{
  --gold:var(--e-global-color-mgold,#B09153); --gold-ink:var(--e-global-color-mgoldink,#866933);
  --gold-soft:var(--e-global-color-mgoldsoft,#D9C9A3); --cream:var(--e-global-color-mcream,#EFEBD8);
  --cream-2:var(--e-global-color-mcream2,#F7F4EA); --ink:var(--e-global-color-mink,#232323);
  --ink-2:var(--e-global-color-mink2,#4A4740);
  --font:var(--e-global-typography-mhead-font-family,"Poppins"),system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-ui:var(--e-global-typography-mui-font-family,"Inter"),system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* Elementor page shell: no padding, no gaps, full width */
.elementor .e-con.maven-page{--padding-top:0;--padding-bottom:0;--padding-left:0;--padding-right:0;--gap:0;--row-gap:0;--column-gap:0;--content-width:100%;max-width:none}
.elementor .e-con.maven-page > .e-con-inner{max-width:none;padding:0;gap:0}
.maven-page > .elementor-element{width:100%;margin:0}

/* Adjacent-section rules (styles.css 705, 706, 933, 998, 1170, 1210, 1338) */
.elementor-element:has(.hero--v3) + .elementor-element .method-wrap{margin-top:0}
.elementor-element:has(.hero--v3) + .elementor-element .method-wrap::before{height:calc(var(--r-lg) + 2px)}
.elementor-element:has(.hero--prog) + .elementor-element > section,
.elementor-element:has(.hero--prog) + .elementor-element section:first-of-type{position:relative}
body:has(.social) .footer{border-top:1px solid rgba(255,255,255,.08)}
@media (min-width:861px){
  .elementor-element:has(section .grid-2 .org) + .elementor-element section:first-of-type{position:relative;z-index:1}
}
.elementor-element:has(.hero--v3) + .elementor-element .method-wrap::before{display:none!important}
@media (max-width:860px){
  .elementor-element:has(> .sec:not([class*="sec--"]):not(.page-top)) + .elementor-element > .sec:not([class*="sec--"]),
  .elementor-element:has(> .sec:not([class*="sec--"])) + .elementor-element .closing:not(.sec--cream2){padding-top:0}
}

/* Elementor frontend.min.css element resets inside .elementor that outrank approved class rules
   (found by comparing computed styles of every element, approved vs live, Task 11):
   .elementor hr{background-color:transparent;margin:0}                      -> styles.css .rule (43-44, 1022-1023)
   .elementor .elementor-widget:not(...):not(...) figure{margin:0}            -> styles.css .big-q (441), .reply (445)
   .elementor a{box-shadow:none;text-decoration:none}                         -> styles.css .ns-card (450); UA underline elsewhere */
.elementor hr.rule{background:var(--gold);margin:20px 0 24px}
.elementor .center hr.rule{margin-inline:auto}
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.big-q{margin:26px 0 0}
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.reply{margin:24px 0 0 clamp(0px,4vw,60px)}
.elementor a.ns-card{box-shadow:var(--shadow)}
.elementor a.skip,.elementor a.brand,.elementor .ig-grid a,.elementor a.cimg,.elementor a.ic{text-decoration:underline}
/* Task 12 (pixel and computed-style comparison): the enquiry form's "Privacy Policy" link (contact.html:66) keeps the UA underline */
.elementor .form .fine a{text-decoration:underline}

/* "4 columns" steps between 700 and 860 px: styles.css 1395 (.steps{repeat(3)} in that range) would override
   .steps--4 and show 3 columns; show 2, as below 700 px (styles.css 505). Not used by the approved pages. */
@media (min-width:700px) and (max-width:860px){.steps--4{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* DEVIATION carrie-photo-framing:start */
/* Accepted deviation from the approved design (tools/deviations.json): Meet Carrie photo (Home) centred in the visible frame
   (the area right of the gold curve) from 1100 px up, balanced on the whole figure (the crossed arms clear the curve; user's choice, option 2), with a constant 15 px crop at the top. The photo is scaled to the column
   width and the clip curve hides its left part, so Carrie sat left of the frame centre (more on wider screens): the image is
   shifted right by a width-dependent amount (left works: the img is position:absolute, width:100%; the parallax uses transform
   and is untouched), always smaller than the clipped-away strip, so no gap shows. A length object-position y is the offset of
   the image's top edge, so the top crop is the same at every width. Below 1100 px nothing changes. */
@media (min-width:1100px){
  .carrie-photo img{object-position:50% -15px;left:calc(26% - 82px)}
}
@media (min-width:1400px){
  .carrie-photo img{left:calc(40.3% - 178px)}
}
/* DEVIATION carrie-photo-framing:end */

/* DEVIATION story-hero-compact:start */
/* Story template (user 2026-11-17): hero about half its former height; no dark facts bar, no thin decorative line. */
@media (min-width:861px){
  .ohero{min-height:0;padding:calc(var(--header-h) + 34px) 0 46px}
  .ohero-copy{max-width:min(600px,44vw)}
  .ohero-copy h1{font-size:clamp(34px,3.3vw,48px);line-height:1.1;margin-bottom:14px}
  .ohero-copy h1 .eyebrow{margin-bottom:12px}
  .ohero-copy .lead{max-width:52ch;margin-bottom:22px}
  /* the photo shows right of the curve: the focal point applies to that visible part */
  .ohero-photo img{left:22%;right:0;width:auto}
}
.story-facts{display:none}
.ohero .lines{display:none}
@media (max-width:860px){
  .ohero-photo{height:min(60vw,260px)}
}
/* DEVIATION story-hero-compact:end */

/* DEVIATION header-logo-larger:start */
/* Header (user 2026-11-17): larger logo with white space above and below, desktop and mobile. */
:root{--header-h:92px}
.brand img{height:52px}
.is-scrolled .nav{height:74px}
.is-scrolled .brand img{height:44px}
@media (max-width:860px){
  :root{--header-h:74px}
  .brand img,.is-scrolled .brand img{height:42px}
  .is-scrolled .nav{height:66px}
}
/* DEVIATION header-logo-larger:end */

/* DEVIATION mobile-breathing:start */
/* Phones (user 2026-11-17): wider side margins and a calmer rhythm between sections. */
@media (max-width:860px){
  :root{--gutter:max(26px,4vw)}
  .sec,.faq,.results,.closing,.social{padding-top:60px;padding-bottom:60px}
}
/* DEVIATION mobile-breathing:end */

/* DEVIATION program-cards-mobile:start */
/* Program cards on phones (user 2026-11-17): every title takes the same two-line space, so the cards line up. */
@media (max-width:560px){
  .pcard .bd{padding:18px 8px 20px}
  .pcard p{font-size:12.5px;line-height:1.5}
  .pcard h3{min-height:2.5em;display:flex;align-items:center;justify-content:center;text-wrap:balance}
  .pcard .bar{margin:10px 0 12px}
}
/* DEVIATION program-cards-mobile:end */

/* DEVIATION instagram-grid-mobile:start */
/* Instagram photos on phones (user 2026-11-17): 3 columns x 2 rows. */
@media (max-width:560px){
  .ig-grid{grid-template-columns:repeat(3,1fr);gap:8px}
}
/* DEVIATION instagram-grid-mobile:end */

/* DEVIATION contact-form-first:start */
/* Contact page on phones (user 2026-11-17): the form comes before "Start with a message". */
@media (max-width:860px){
  #enquiry .grid-2--top > div:has(> form[data-enquiry]){order:-1}
  #enquiry .grid-2--top{row-gap:52px}
}
/* DEVIATION contact-form-first:end */

/* Legal pages (Privacy Policy, Terms of Service): not in the approved design; site typography, readable column. */
.legal-in{max-width:780px}
.legal h1{font-size:clamp(34px,4vw,52px);line-height:1.12;margin:12px 0 10px}
.legal-date{color:var(--ink-2);font-size:14px;margin:0 0 30px}
.legal-body h2{font-size:clamp(21px,2vw,26px);line-height:1.25;margin:40px 0 12px}
.legal-body h3{font-size:18px;margin:26px 0 8px}
.legal-body p,.legal-body li{font-size:16px;line-height:1.75;color:var(--ink-2)}
.legal-body p{margin:0 0 14px}
.legal-body ul{margin:0 0 16px;padding-left:22px}
.legal-body li{margin:6px 0}
.legal-body a{color:var(--gold-ink,#7d6534);text-decoration:underline;text-underline-offset:3px}
.legal-body strong,.legal-body b{color:var(--ink)}
.sec.legal{padding-top:calc(var(--header-h) + 72px)}
@media (max-width:860px){.sec.legal{padding-top:calc(var(--header-h) + 44px)}}
