/* cbtwithyarden.com · shared styles
   Built from the website-in-a-session template, adapted to Yarden's style book.
   Colors: forest #1F3D33, terracotta #B4552F (contact buttons only), paper #FBF6EE,
   peach #F2C9A8, charcoal #1E2622, sand #F3E7D8, soft sage #C9D9C4. */

:root{
  --forest:#1F3D33;--forest-2:#3A6552;--terra:#B4552F;--terra-dark:#9C4826;
  --paper:#FBF6EE;--peach:#F2C9A8;--ink:#1E2622;--sand:#F3E7D8;--sage:#C9D9C4;
  --muted:#3F4A44;--line:#1E2622;--dash:#B9AE9F;--white:#FFFFFF;
  --font:"Assistant",Arial,sans-serif;--hand:"Amatic SC",cursive;
  --wrap:1240px;--gut:32px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--ink);background:var(--paper);font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:var(--forest)}a:hover{color:var(--terra)}
h1,h2,h3{color:var(--forest);line-height:1.1;font-weight:800}
p{max-width:68ch}
:focus-visible{outline:3px solid var(--terra);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.skip{position:absolute;right:12px;top:-80px;background:var(--forest);color:var(--paper);padding:10px 16px;border-radius:10px;z-index:200}
.skip:focus{top:8px}
.hand{font-family:var(--hand);font-weight:700;line-height:1;color:var(--terra)}
.eyebrow{font-size:16px;font-weight:800;color:var(--terra)}
.muted{color:var(--muted)}
.link{font-weight:800;text-underline-offset:6px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;background:var(--terra);color:#fff;font-weight:800;font-size:18px;text-decoration:none;border:0;font-family:inherit;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--terra-dark);color:#fff}
.btn.sm{min-height:46px;font-size:16px;padding:0 22px}
.btn.dark{background:var(--forest)}.btn.dark:hover{background:var(--forest-2)}

/* header */
.site-header{position:sticky;top:0;z-index:60;background:rgba(251,246,238,.96);border-bottom:1.5px solid var(--forest)}
.nav{max-width:var(--wrap);margin:0 auto;padding:16px var(--gut);display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.logo{text-decoration:none;display:flex;align-items:center;gap:12px}
.logo svg{width:40px;height:40px;flex:none}
.logo b{display:block;font-size:23px;font-weight:800;color:var(--forest);line-height:1.15}
.logo small{display:block;font-size:14px;font-weight:600;color:var(--muted);line-height:1.2}
.menu{display:flex;flex-wrap:wrap;gap:22px;font-weight:700;font-size:17px;align-items:center}
.menu a{text-decoration:none}
.menu a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--peach);text-decoration-thickness:4px;text-underline-offset:8px}
.has-sub{position:relative}
.has-sub>button{font:inherit;font-weight:700;color:var(--forest);background:none;border:0;cursor:pointer;display:flex;align-items:center;gap:6px;min-height:44px}
.has-sub>button::after{content:"";width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg) translateY(-3px)}
.sub{display:none;position:absolute;top:100%;right:-18px;background:#fff;border:1.5px solid var(--forest);border-radius:20px;padding:12px;min-width:270px;z-index:70;flex-direction:column}
.sub a{padding:9px 12px;border-radius:12px;font-weight:600}
.sub a:hover{background:var(--sand);color:var(--forest)}
.has-sub.open .sub{display:flex}
@media (hover:hover){.has-sub:hover .sub{display:flex}}
.menu-toggle{display:none;width:48px;height:48px;border-radius:50%;border:1.5px solid var(--forest);background:transparent;align-items:center;justify-content:center;cursor:pointer;color:var(--forest)}
.menu-toggle svg{width:22px;height:22px}

@media (max-width:980px){
  .menu{display:none}
  .menu-toggle{display:inline-flex}
  .nav .btn.sm{display:none}
  .menu.open{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;top:100%;right:0;left:0;background:var(--paper);border-bottom:1.5px solid var(--forest);padding:8px var(--gut) 18px;max-height:80vh;overflow:auto}
  .menu.open>a,.menu.open .has-sub>button{padding:14px 0;border-top:1px solid #D9CCBA;width:100%;justify-content:space-between}
  .menu.open .sub{position:static;border:0;padding:0 12px 8px;min-width:0;background:transparent}
  .menu.open .menu-cta{margin-top:14px}
}
.menu-cta{display:none}
@media (max-width:980px){.menu-cta{display:flex}}

/* layout helpers */
.sec{padding:96px 0}
.sec.tight{padding:64px 0}
.bg-white{background:#fff}.bg-sand{background:var(--sand)}.bg-forest{background:var(--forest);color:var(--paper)}
.bg-forest h1,.bg-forest h2,.bg-forest h3{color:var(--paper)}
.split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.split>*{min-width:0}
.h1{font-size:clamp(42px,6vw,72px);line-height:1.04;letter-spacing:-1px}
.h2{font-size:clamp(32px,4vw,46px)}
.lead{font-size:21px}
.stack{display:flex;flex-direction:column;gap:18px}

/* brush underline */
.brush{position:relative;display:inline-block}
.brush svg{position:absolute;right:0;bottom:-6px;width:100%;height:18px}

/* worksheet card */
.sheet{position:relative;background:#fff;border-radius:20px;padding:36px 36px 30px;transform:rotate(-1.5deg);box-shadow:0 18px 40px rgba(30,38,34,.10);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#EFE5D7 37px,#EFE5D7 38px)}
.sheet .row{display:flex;flex-direction:column;gap:4px;padding:14px 0;border-bottom:1.5px dashed var(--dash)}
.sheet .row:last-of-type{border-bottom:0}
.sheet .row b{font-size:14px;color:var(--terra);font-weight:800}
.sheet .answer{margin-top:14px;font-family:var(--hand);font-weight:700;font-size:38px;line-height:1.1;color:var(--terra)}

/* taped photo */
.photo{position:relative;background:#fff;padding:12px 12px 14px;border-radius:6px;box-shadow:0 14px 32px rgba(30,38,34,.12)}
.photo img{width:100%;height:100%;object-fit:cover;border-radius:3px}
.photo::before{content:"";position:absolute;top:-14px;right:50%;width:96px;height:28px;margin-right:-48px;background:rgba(242,201,168,.85);transform:rotate(-3deg);border-radius:2px}
.photo.tilt-l{transform:rotate(-2deg)}.photo.tilt-r{transform:rotate(1.8deg)}
.photo figcaption{font-size:14px;font-weight:600;color:var(--muted);padding-top:8px}
.blob-img{overflow:hidden;border-radius:56% 44% 48% 52%/46% 52% 48% 54%}
.blob-img img{width:100%;height:100%;object-fit:cover}

/* placeholders for Yarden's own photos */
.ph{background:var(--peach);display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;padding:32px;color:var(--ink)}

/* credentials strip */
.creds{background:var(--forest-2);color:var(--paper)}
.creds .wrap{padding-top:22px;padding-bottom:22px;display:flex;flex-wrap:wrap;gap:14px 40px;justify-content:space-between;font-size:16px;font-weight:700}

/* mood strip */
.mood{display:grid;grid-template-columns:1.1fr .8fr 1fr;gap:40px;align-items:center}
.mood>figure:first-child{aspect-ratio:4/3}
.mood>figure:last-child{aspect-ratio:4/5}
@media (max-width:760px){
  .mood{grid-template-columns:1fr 1fr;gap:28px 18px}
  .mood>figure:first-child{aspect-ratio:4/5}
  .mood>div{grid-column:span 2;order:3}
}

/* topic list */
.topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
.topics a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;border-top:1.5px solid var(--line);text-decoration:none;color:var(--ink);font-size:clamp(22px,2.4vw,30px);font-weight:800}
.topics a:hover{color:var(--terra)}
@media (max-width:640px){.topics{grid-template-columns:1fr}}

/* chips */
.chips{display:flex;flex-wrap:wrap;gap:12px}
.chip{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:999px;border:1.5px solid var(--forest);background:#fff;text-decoration:none;color:var(--ink);font-weight:700;font-size:17px}
.chip:hover{background:var(--forest);color:var(--paper)}

/* bento */
.bento{display:grid;grid-template-columns:1.3fr 1fr;gap:28px}
.bento .tall{grid-row:span 2}
.card{border-radius:32px;padding:40px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden}
.card.white{background:#fff}.card.forest{background:var(--forest-2);color:var(--paper)}.card.peach{background:var(--peach)}.card.line{border:2px solid var(--forest);background:transparent}
.card.forest h2,.card.forest h3,.card.forest strong{color:var(--paper)}
.card h3{font-size:28px}
.card .deco{position:absolute;bottom:-50px;left:-40px;width:180px;height:180px;pointer-events:none}
@media (max-width:860px){.bento{grid-template-columns:1fr}.bento .tall{grid-row:auto}.card{padding:28px}}

/* service cards */
.ways{display:flex;flex-wrap:wrap;gap:24px}
.ways>*{min-width:0}
.way-main{flex:1.5 1 440px}
.way-side{flex:1 1 300px;display:flex;flex-direction:column;gap:24px}
.way-img{aspect-ratio:16/9;border-radius:22px;overflow:hidden;margin-bottom:6px}
.way-img img{width:100%;height:100%;object-fit:cover}
.mini{display:flex;gap:16px;align-items:center;text-decoration:none;color:var(--ink);border-radius:28px;padding:22px}
.mini .thumb{flex:none;width:96px;height:96px;border-radius:50% 44% 52% 48%/48% 54% 46% 52%;overflow:hidden}
.mini .thumb img{width:100%;height:100%;object-fit:cover}
.ic{width:44px;height:44px;flex:none}

/* steps */
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.steps li{border-top:2px solid var(--forest);padding-top:22px;display:flex;flex-direction:column;gap:8px}
.steps b{font-size:15px;color:var(--terra)}
.steps strong{font-size:24px;line-height:1.25}
@media (max-width:760px){.steps{grid-template-columns:1fr}}

/* lines list (what it feels like) */
.lines{list-style:none;display:flex;flex-direction:column}
.lines li{padding:16px 0;border-top:1.5px solid var(--line);font-size:20px;font-weight:600}
.lines li:last-child{border-bottom:1.5px solid var(--line)}

/* quote */
.quote{background:var(--sand);border-radius:36px;padding:48px;display:flex;flex-direction:column;gap:14px}
.quote blockquote{font-size:clamp(26px,3vw,34px);line-height:1.3;font-weight:800;color:var(--forest)}
.quote figcaption{font-size:16px;font-weight:600}

/* triangle */
.tri{display:flex;gap:18px;align-items:center}
.tri svg{flex:none}

/* faq */
details{border-top:1.5px solid var(--line);padding:18px 0}
details:last-of-type{border-bottom:1.5px solid var(--line)}
summary{font-weight:800;font-size:20px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:44px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:28px;font-weight:600;color:var(--terra);line-height:1}
details[open] summary::after{content:"−"}
details p{margin-top:10px}

/* forms */
.field{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:16px}
.inp{width:100%;min-height:52px;border:1.5px solid var(--ink);border-radius:14px;padding:0 16px;font-family:inherit;font-size:17px;background:#fff;color:var(--ink);min-width:0}
textarea.inp{min-height:110px;padding:12px 16px;resize:vertical}
.quick{display:flex;flex-wrap:wrap;gap:10px;max-width:580px}
.quick .inp{flex:1 1 150px;width:auto}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.row2{display:flex;flex-wrap:wrap;gap:14px}
.row2>*{flex:1 1 180px}
.privacy-note{font-size:15px;color:var(--muted)}

/* contact band */
.contact-band{background:var(--forest-2);color:var(--paper);border-radius:40px;padding:64px;display:flex;flex-wrap:wrap;gap:48px}
.contact-band>*{min-width:0}
.contact-band h2{color:var(--paper)}
.contact-band form{flex:1.2 1 420px;background:var(--paper);color:var(--ink);border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:16px}
.contact-band .side{flex:1 1 340px;display:flex;flex-direction:column;gap:16px}
.ticks{list-style:none;display:flex;flex-direction:column;gap:10px}
.ticks li{display:flex;gap:10px;align-items:center}
.ticks img{width:26px;height:26px;background:var(--paper);border-radius:50%}
@media (max-width:640px){.contact-band{padding:28px 20px;border-radius:28px}.contact-band form{padding:22px}}

/* page hero for inner pages */
.page-hero{padding:72px 0 56px}
.page-hero .split{align-items:flex-start}
.crumbs{font-size:15px;font-weight:600;margin-bottom:14px}
.crumbs a{text-decoration:none}
.prose{display:flex;flex-direction:column;gap:16px;max-width:720px}
.prose h2{font-size:clamp(28px,3vw,36px);margin-top:24px}
.prose h3{font-size:22px;margin-top:10px}
.prose ul{padding-right:22px;display:flex;flex-direction:column;gap:6px}
.note{background:var(--sand);border-radius:20px;padding:22px 26px;font-size:16px}

/* footer */
.site-footer{border-top:1.5px solid var(--forest);margin-top:0}
.foot-grid{max-width:var(--wrap);margin:0 auto;padding:56px var(--gut) 36px;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px;border-bottom:1px solid #D9CDBD;position:relative}
.foot-grid>div{display:flex;flex-direction:column;gap:12px;min-width:0}
.foot-grid strong{font-size:17px;color:var(--forest)}
.foot-grid a{text-decoration:none;font-size:15px;font-weight:600}
.foot-blob{position:absolute;pointer-events:none}
.foot-bottom{max-width:var(--wrap);margin:0 auto;padding:28px var(--gut) 36px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;font-size:15px;font-weight:600}
.foot-bottom a{text-decoration:none}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}.foot-grid>div:first-child{grid-column:span 2}}
@media (max-width:480px){.foot-grid{grid-template-columns:1fr}.foot-grid>div:first-child{grid-column:auto}}

/* popup */
.dg-modal{position:fixed;inset:0;z-index:1000;background:rgba(30,38,34,.55);display:none;align-items:center;justify-content:center;padding:20px}
.dg-modal.show{display:flex}
.dg-card{background:var(--paper);border-radius:32px;max-width:560px;width:100%;padding:44px 40px 34px;position:relative;box-shadow:0 24px 60px rgba(30,38,34,.25);max-height:92vh;overflow:auto;display:flex;flex-direction:column;gap:14px}
.dg-card .deco{position:absolute;top:-50px;left:-40px;width:160px;height:160px;pointer-events:none}
.dg-close{position:absolute;top:18px;left:18px;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--forest);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.dg-card h2{font-size:36px;position:relative}
.dg-card form{display:flex;flex-direction:column;gap:14px;position:relative}
.dg-thanks{display:none;flex-direction:column;gap:14px;padding:16px 0 4px}
.dg-card.sent .dg-form-wrap{display:none}
.dg-card.sent .dg-thanks{display:flex}
@media (max-width:480px){.dg-card{padding:36px 20px 24px;border-radius:24px}.dg-card h2{font-size:30px}}

/* sticky mobile bar */
.mbar{display:none}
@media (max-width:760px){
  .mbar{display:block;position:fixed;bottom:0;right:0;left:0;z-index:80;background:var(--paper);border-top:1.5px solid var(--forest);padding:10px 16px;transform:translateY(110%);transition:transform .25s ease}
  .mbar.show{transform:none}
  .mbar .btn{width:100%}
  body{padding-bottom:76px}
}

/* responsive type and spacing */
@media (max-width:760px){
  :root{--gut:20px}
  body{font-size:17px}
  .sec{padding:56px 0}
  .lead{font-size:18px}
  .split{gap:36px}
  .sheet{padding:24px 22px;transform:rotate(-1deg)}
  .sheet .answer{font-size:31px}
  .quote{padding:28px;border-radius:28px}
  .page-hero{padding:40px 0 32px}
  .logo b{font-size:20px}.logo small{font-size:13px}.logo svg{width:32px;height:32px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
main,.site-footer{overflow-x:clip}
@media (max-width:760px){
  .hero-photo{margin:0 0 0 24px!important}
  .hero-sheet{margin:-56px 8px 0 0!important}
}
@media (max-width:760px){.page-hero .photo{aspect-ratio:4/3!important;max-width:100%!important}}

/* contact band: growth and nature, a branch with leaves behind the text */
.contact-band{position:relative;overflow:hidden;background:#2F5745}
.contact-band>.side,.contact-band>form{position:relative;z-index:1}
.band-leaves{position:absolute;left:-30px;bottom:-40px;width:300px;height:600px;pointer-events:none}
.band-sprout{position:absolute;right:46%;top:-6px;width:90px;height:90px;pointer-events:none;opacity:.9}
.contact-band::before{content:"";position:absolute;width:420px;height:420px;right:-140px;bottom:-180px;border-radius:56% 44% 48% 52%/46% 52% 48% 54%;background:#3A6552;pointer-events:none}
@media (max-width:860px){.band-leaves{width:200px;height:400px;left:-50px;bottom:auto;top:40%;opacity:.7}.band-sprout{display:none}}
.band-leaves{left:auto;right:56px;bottom:-40px;width:200px;height:400px}
.band-leaves path{opacity:.85}
.band-sprout{display:none}
.contact-band::before{right:auto;bottom:auto;left:-150px;top:-170px;background:#3A6552}
@media (max-width:860px){.band-leaves{right:-30px;top:auto;bottom:-60px;width:160px;height:320px;opacity:.6}}
.band-leaves{right:72px;bottom:-50px;width:150px;height:300px}
@media (max-width:860px){.band-leaves{right:-30px;bottom:-60px;width:140px;height:280px;opacity:.55}}

/* credentials: four even columns with a divider */
.creds-list{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-top:26px;padding-bottom:26px}
.creds-list li{display:flex;flex-direction:column;gap:2px;padding:0 22px;border-inline-start:1px solid rgba(251,246,238,.35)}
.creds-list li:first-child{border-inline-start:0;padding-inline-start:0}
.creds-list b{font-size:17px;font-weight:800;color:var(--paper)}
.creds-list span{font-size:15px;font-weight:600;color:#DCE7DE}
@media (max-width:860px){.creds-list{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.creds-list li:nth-child(3){border-inline-start:0;padding-inline-start:0}}

/* icon thumbs in the side cards */
.mini .icon-thumb{background:var(--paper);display:flex;align-items:center;justify-content:center}
.mini .icon-thumb img{width:48px;height:48px}

/* contact band: a forest at the bottom, a fern at the side */
.contact-band{padding-bottom:180px}
.band-forest{position:absolute;left:0;right:0;bottom:0;width:100%;height:240px;pointer-events:none}
.band-fern{position:absolute;right:40px;bottom:120px;width:150px;height:240px;pointer-events:none}
@media (max-width:860px){.contact-band{padding-bottom:140px}.band-forest{height:170px}.band-fern{display:none}}

/* footer: whatsapp and credit */
.foot-wa{font-weight:700!important;color:var(--forest)}
.credit a{font-weight:800;text-decoration:underline;text-underline-offset:4px}

/* cookie note */
.cookie-note{position:fixed;z-index:90;right:16px;left:auto;bottom:16px;max-width:420px;background:#fff;color:var(--ink);border:1.5px solid var(--forest);border-radius:20px;padding:16px 18px;display:flex;gap:14px;align-items:center;box-shadow:0 12px 30px rgba(30,38,34,.15);font-size:15px;line-height:1.5}
.cookie-note[hidden]{display:none}
.cookie-note p{margin:0}
.cookie-note .btn{flex:none}
@media (max-width:760px){.cookie-note{right:12px;left:12px;bottom:88px;max-width:none}}
