/* cm117 relationship-first styles adapted from Checkmate 117 approved kit. */
/* CHECKMATE 117 relationship-first parent bridge. Scoped to these sections. */
.cm-parent-bridge { background:#f3efe3; color:#173d32; padding:clamp(2.4rem,5vw,4rem) 0; }
.cm-parent-bridge .cm-parent-bridge-inner { max-width:950px; margin-inline:auto; }
.cm-parent-bridge .cm-parent-kicker { font-weight:750; font-size:.76rem; letter-spacing:.09em; text-transform:uppercase; color:#6b5a2c; margin:0 0 .7rem; }
.cm-parent-bridge h2 { color:#173d32; font-size:clamp(1.9rem,4.3vw,3.3rem); line-height:1.12; margin:0 0 .85rem; }
.cm-parent-bridge .cm-parent-line { font-size:clamp(1.1rem,2vw,1.45rem); font-weight:700; line-height:1.4; margin:0 0 .7rem; }
.cm-parent-bridge .cm-parent-explain { max-width:67ch; line-height:1.65; margin:0 0 1.1rem; }
.cm-parent-bridge .cm-parent-links { display:flex; flex-wrap:wrap; gap:.75rem 1.3rem; }
.cm-parent-bridge .cm-parent-links a { font-weight:700; color:#165f46; text-underline-offset:.18em; }
.cm-parent-bridge .cm-parent-privacy { font-size:.86rem; max-width:72ch; margin:1.1rem 0 0; opacity:.83; }
@media(max-width:640px){ .cm-parent-bridge { padding:2.2rem 0; } .cm-parent-bridge .cm-parent-links { gap:1rem; } }


/* Checkmate 117 — restrained, relationship-first public page layout only */
body.cw-main .xfi-world-grid{grid-template-columns:minmax(0,1.42fr) minmax(0,.78fr);column-gap:clamp(28px,4vw,68px);row-gap:24px;align-items:center;max-width:1230px;}
body.cw-main .xfi-world-hero .xfi-hero-copy{grid-column:1;grid-row:1;min-width:0;}
body.cw-main .xfi-world-hero .xfi-world-founder{grid-column:2;grid-row:1;max-width:390px;justify-self:center;align-self:center;display:block;min-height:0;overflow:hidden;}
body.cw-main .xfi-world-hero .xfi-world-founder .xfi-photo{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;}
body.cw-main .xfi-world-hero .xfi-world-founder figcaption{position:absolute;background:linear-gradient(transparent,#052b22f5 32%);padding:44px 18px 17px;}
body.cw-main .xfi-world-hero h1{font-size:clamp(39px,4.25vw,65px);line-height:1.12;letter-spacing:-.032em;max-width:700px;text-wrap:pretty;}
body.cw-main .xfi-world-hero .xfi-lead{max-width:600px;font-size:clamp(17px,1.35vw,21px);line-height:1.48;}
body.cw-main .xfi-world-hero .xfi-hero-body{max-width:610px;line-height:1.65;}
body.cw-main .xfi-world-hero .xfi-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px;}
body.cw-main .xfi-world-hero .xfi-hero-proof{font-size:12px;line-height:1.5;}
/* Golden Door remains functional but becomes one optional discovery rather than a competing hero. */
body.cw-main .xfi-world-hero .xfi-world-portal{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:126px minmax(0,1fr) auto;gap:18px;align-items:center;justify-self:stretch;max-width:none;margin:8px 0 0;padding:14px 22px;border:1px solid #d6b56b78;border-radius:16px;background:#032e25a6;}
body.cw-main .xfi-world-hero .xfi-world-portal-art{width:126px;box-shadow:none;filter:none;border-radius:12px;}
body.cw-main .xfi-world-hero .xfi-world-door-caption{margin:0;max-width:none;text-align:left;font-size:14px;line-height:1.55;}
body.cw-main .xfi-world-hero .xfi-door-open{white-space:nowrap;font-size:12px;}
body.cw-main .xfi-world-hero .xfi-world-reveal-wrap{grid-column:1/-1;grid-row:4;}
body.cw-main [data-cm117-deemphasized][hidden]{display:none!important;}
/* The founder film takes the existing second column with a real-photo fallback until a video is supplied. */
body.cw-main .xfi-video-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);}
body.cw-main .cm117-intro-media{width:100%;min-width:0;max-width:680px;justify-self:center;}
body.cw-main .cm117-intro-photo{width:100%;aspect-ratio:16/10;position:relative;overflow:hidden;border:2px solid #d6b56b;border-radius:20px;background:#06392d;box-shadow:0 20px 40px #00302122;}
body.cw-main .cm117-intro-photo img{width:100%;height:100%;object-fit:cover;object-position:center 27%;display:block;}
body.cw-main .cm117-intro-photo span{position:absolute;left:0;bottom:0;right:0;padding:44px 20px 17px;background:linear-gradient(transparent,#04271ff0);font-weight:700;color:#f5e4b1;font-size:16px;}
body.cw-main .cm117-founder-video{display:block;width:100%;aspect-ratio:16/9;background:#03271e;border:2px solid #d4b26c;border-radius:20px;box-shadow:0 20px 40px #00302122;}
body.cw-main .xfi-video-intro p:not(.xfi-kicker){max-width:580px;}
body.cw-main .xfi-examples{padding-top:clamp(55px,6vw,85px);}
/* Video on the standalone Meet Travis page */
.cm117-meet-video-section{background:#f4f0e5;padding:clamp(48px,6vw,90px) 20px;}
.cm117-meet-video-inner{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(24px,4vw,64px);}
.cm117-meet-video-inner h2{font-family:Georgia,serif;color:#053d2e;font-size:clamp(31px,3.5vw,48px);line-height:1.15;margin:12px 0;}
.cm117-meet-video-inner p{color:#285343;line-height:1.7;font-size:16px;}
.cm117-meet-video-inner .cm117-intro-media{width:100%;min-width:0;}
.cm117-meet-video-inner .cm117-intro-photo{position:relative;aspect-ratio:16/10;overflow:hidden;border:2px solid #d6b56b;border-radius:18px;background:#073e30;}
.cm117-meet-video-inner .cm117-intro-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%;}
.cm117-meet-video-inner .cm117-intro-photo span{position:absolute;bottom:0;left:0;right:0;color:#f7e6b5;padding:45px 18px 16px;background:linear-gradient(transparent,#04271ff0);font-weight:700;}
.cm117-meet-video-inner .cm117-founder-video{display:block;width:100%;aspect-ratio:16/9;background:#03271e;border-radius:18px;border:2px solid #d6b56b;}
@media(max-width:900px){
 body.cw-main .xfi-world-grid{grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:24px;}
 body.cw-main .xfi-world-hero h1{font-size:clamp(35px,4.7vw,54px);}
 body.cw-main .xfi-video-layout{gap:28px;}
}
@media(max-width:750px){
 body.cw-main .xfi-world-grid{grid-template-columns:minmax(0,1fr);}
 body.cw-main .xfi-world-hero .xfi-hero-copy{grid-column:1;grid-row:1;}
 body.cw-main .xfi-world-hero .xfi-world-founder{grid-column:1;grid-row:2;max-width:460px;width:100%;justify-self:center;display:block;}
 body.cw-main .xfi-world-hero .xfi-world-founder .xfi-photo{width:100%;height:auto;aspect-ratio:16/10;object-position:center 19%;}
 body.cw-main .xfi-world-hero .xfi-world-portal{grid-row:3;grid-column:1;grid-template-columns:84px 1fr;gap:11px;padding:12px;}
 body.cw-main .xfi-world-hero .xfi-world-portal-art{width:84px;grid-row:1/3;}
 body.cw-main .xfi-world-hero .xfi-world-door-caption{font-size:12px;}
 body.cw-main .xfi-world-hero .xfi-door-open{grid-column:2;justify-self:start;min-height:42px;white-space:normal;}
 body.cw-main .xfi-world-hero .xfi-world-reveal-wrap{grid-column:1;grid-row:4;}
 body.cw-main .xfi-video-layout,.cm117-meet-video-inner{grid-template-columns:1fr;}
 body.cw-main .xfi-world-hero .xfi-actions{flex-direction:row;}
 body.cw-main .xfi-world-hero .xfi-actions a{flex:1 1 190px;}
}
@media(max-width:520px){
 body.cw-main .xfi-world-hero h1{font-size:clamp(38px,10vw,48px);}
 body.cw-main .xfi-world-hero .xfi-world-founder{max-width:100%;}
 body.cw-main .xfi-world-hero .xfi-world-founder figcaption{position:absolute;}
 body.cw-main .xfi-world-hero .xfi-actions{flex-direction:column;align-items:stretch;}
 body.cw-main .xfi-world-hero .xfi-actions a{width:100%;flex:none;}
 body.cw-main .xfi-video-section{padding-top:45px;padding-bottom:45px;}
}
/* Equal membership choices, with both tiers visible at a glance. */
body.cw-main .cm117-membership .cm117-membership-intro{max-width:760px;margin:0 auto 28px;text-align:center;}
body.cw-main .cm117-membership .cm117-membership-intro h2{font-family:Georgia,serif;font-size:clamp(29px,3.2vw,44px);line-height:1.15;color:#073e30;margin:10px 0 15px;}
body.cw-main .cm117-membership .cm117-membership-intro p:not(.xfi-kicker){font-size:16px;line-height:1.7;color:#285343;}
body.cw-main .cm117-membership-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
body.cw-main .cm117-membership-card{min-width:0;padding:clamp(23px,3vw,39px);background:#fffdf7;border:1.5px solid #cba96d;border-radius:18px;display:flex;flex-direction:column;gap:13px;box-shadow:0 14px 40px #10463212;}
body.cw-main .cm117-membership-card .cm117-card-name{margin:0;color:#073e30;font-family:Georgia,serif;font-weight:700;font-size:27px;}
body.cw-main .cm117-membership-card .cm117-card-price{margin:0;display:flex;align-items:baseline;gap:9px;color:#073e30;}
body.cw-main .cm117-membership-card .cm117-card-price strong{font-family:Georgia,serif;font-size:clamp(42px,4.5vw,58px);line-height:1.1;}
body.cw-main .cm117-membership-card .cm117-card-price span{color:#315f4c;font-weight:600;font-size:14px;}
body.cw-main .cm117-membership-card>p:not(.cm117-card-name):not(.cm117-card-price){color:#2b5143;font-size:15px;line-height:1.65;margin:0;}
body.cw-main .cm117-membership-card .cm117-card-note{font-weight:650;margin-top:auto!important;}
body.cw-main .cm117-membership-card .cm117-card-cta{display:block;padding:14px 18px;background:#063e30;color:#fff6e0;text-align:center;text-decoration:none;border-radius:9px;font-weight:800;font-size:14px;line-height:1.4;margin-top:5px;min-height:48px;}
body.cw-main .cm117-membership-card .cm117-card-cta:hover,body.cw-main .cm117-membership-card .cm117-card-cta:focus-visible{background:#165a44;}
body.cw-main .cm117-member-fine{color:#315846;font-size:13px;line-height:1.65;margin:21px auto 0;max-width:940px;}
body.cw-main .cm117-member-fine a{color:#064b39;text-decoration:underline;}
@media(max-width:680px){body.cw-main .cm117-membership-cards{grid-template-columns:1fr;}}
