/* Oak Therapy intro popup — reference-matched spacing on responsive split design (v1.3.6).
 * The default image is a full rectangular photograph, NOT a decorated image
 * with rounded white corners baked into its pixels.
 */
.oakp-announcement{position:relative;z-index:55;background:#be4530;text-align:center;color:#fff;font-family:'DM Sans',Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.4;padding:11px 14px}
.oakp-announcement a{color:#fff!important;text-decoration:none!important;display:inline-block}
.oakp-announcement a:hover,.oakp-announcement a:focus-visible{text-decoration:underline!important;text-underline-offset:3px}
.oakp-backdrop[hidden]{display:none!important}
.oakp-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(21,18,15,.54);display:flex;justify-content:center;align-items:center;padding:24px;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
/* The whole card scales down according to both viewport width AND height.
 * This prevents the right image becoming an oversized, cropped, or distorted panel
 * when viewed on very wide screens or short laptop screens. */
.oakp-modal{
 position:relative;isolation:isolate;container-type:inline-size;
 display:grid;grid-template-columns:52.5% 47.5%;
 width:min(1468px, calc((100vh - 60px) * 1.68), calc(100vw - 48px));
 width:min(1468px, calc((100dvh - 60px) * 1.68), calc(100vw - 48px));
 aspect-ratio:1.68;
 min-height:0;max-height:none;height:auto;
 overflow:hidden;border-radius:30px;background:#fff;
 box-shadow:0 18px 40px rgba(22,21,18,.19);
 font-family:'DM Sans',Arial,sans-serif;color:#261c1d;box-sizing:border-box
}
.oakp-close{position:absolute;right:clamp(12px,2cqw,26px);top:clamp(12px,1.7cqw,22px);z-index:3;display:grid;place-items:center;width:clamp(42px,4cqw,58px);height:clamp(42px,4cqw,58px);padding:0;border:0;border-radius:50%;background:#fff;color:#291a1c;box-shadow:0 3px 14px rgba(0,0,0,.07);cursor:pointer}
.oakp-close:hover{background:#fff5f1}.oakp-close:focus-visible,.oakp-book:focus-visible{outline:3px solid #c0472e;outline-offset:3px}
.oakp-content{box-sizing:border-box;min-width:0;padding:clamp(32px,6.8cqw,100px) clamp(34px,8.8cqw,129px) clamp(32px,7cqw,102px) clamp(34px,4.65cqw,68px);display:flex;flex-direction:column;align-items:stretch;justify-content:center}
.oakp-eyebrow{font-family:'DM Sans',Arial,sans-serif;font-size:clamp(12px,1.36cqw,20px);line-height:1.3;letter-spacing:.16em;font-weight:700;color:#b7422c;margin:0 0 clamp(22px,4cqw,58px);text-transform:uppercase;white-space:nowrap}
.oakp-content h2{font-family:'DM Serif Display',Georgia,serif!important;font-weight:400!important;font-size:clamp(52px,5.9cqw,88px)!important;letter-spacing:-.026em!important;line-height:1.02!important;margin:0!important;color:#260f14!important}
.oakp-content h2 em{color:#c13f27;font-weight:400;font-style:italic;white-space:nowrap}
.oakp-content p{font-family:'DM Sans',Arial,sans-serif;color:#725e61;font-size:clamp(17px,2.15cqw,31px);line-height:1.4;margin:clamp(22px,3.4cqw,50px) 0 clamp(16px,2.9cqw,43px);white-space:normal}
.oakp-book{align-self:center;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:clamp(9px,1.1cqw,18px);width:100%;max-width:100%;margin-top:clamp(4px,.8cqw,12px);min-height:clamp(58px,6.6cqw,97px);padding:14px 18px;border-radius:99px;background:#c43d25;color:#fff!important;text-decoration:none!important;font-size:clamp(18px,2cqw,26px);font-weight:700;line-height:1.2;box-shadow:0 3px 0 rgba(0,0,0,.04);transition:background .2s;white-space:normal;text-align:center}
.oakp-book:hover{background:#a92f1b;color:#fff!important}
.oakp-book svg{flex:none;width:clamp(22px,2.4cqw,36px);height:clamp(22px,2.4cqw,36px)}
.oakp-phone{display:block;color:#725e61!important;text-decoration:none!important;font-size:clamp(18px,2.13cqw,31px);line-height:1.4;align-self:center;margin:clamp(14px,2cqw,30px) 0 0;white-space:nowrap}
.oakp-phone:hover{text-decoration:underline!important}
/* No individual radius, mask, clip-path or decoration applied to the photo.
 * The parent shell alone has rounded OUTER corners. */
.oakp-photo{display:block;min-width:0;min-height:0;width:100%;height:100%;border-radius:0!important;clip-path:none!important;mask-image:none!important;background-color:#f3e9db;background-position:center;background-repeat:no-repeat;background-size:cover;align-self:stretch}
body.oakp-scroll-lock{overflow:hidden!important}
/* Switch to a scrollable stacked design only on narrow screens. */
@media(max-width:760px){
 .oakp-announcement{font-size:12px;padding:10px 12px}
 .oakp-backdrop{padding:14px;align-items:center}
 .oakp-modal{display:flex;flex-direction:column;width:min(510px,100%);aspect-ratio:auto;min-height:0;max-height:calc(100dvh - 28px);overflow-y:auto;border-radius:22px}
 .oakp-content{padding:30px 25px 30px;order:2;align-items:stretch;justify-content:flex-start}
 .oakp-photo{width:100%;flex:none;height:clamp(155px,25vh,225px);order:1;background-position:center 47%;border-radius:0!important}
 .oakp-close{top:12px;right:12px;width:42px;height:42px}
 .oakp-eyebrow{font-size:11px;margin-bottom:25px;letter-spacing:.14em;white-space:normal}
 .oakp-content h2{font-size:clamp(40px,10.8vw,56px)!important;line-height:1.03!important}
 .oakp-content h2 em{white-space:normal}
 .oakp-content p{font-size:16px;line-height:1.45;margin:18px 0 24px;white-space:normal}
 .oakp-book{font-size:15px;min-height:56px;padding:12px 15px;margin-top:12px;width:100%;max-width:100%;gap:10px;white-space:normal}
 .oakp-book svg{width:23px;height:23px}
 .oakp-phone{font-size:16px;margin-top:16px}
}
@media(prefers-reduced-motion:reduce){.oakp-book{transition:none}}

/* Compact desktop/tablet widths: maintain space below the phone number. */
@media (min-width:761px) and (max-width:900px){
 .oakp-content{padding-top:clamp(26px,4.5cqw,40px);padding-bottom:clamp(24px,4.5cqw,40px)}
 .oakp-eyebrow{margin-bottom:clamp(22px,3.5cqw,36px)}
 .oakp-content h2{font-size:clamp(40px,5cqw,52px)!important}
 .oakp-content p{margin:clamp(13px,2cqw,20px) 0 clamp(16px,2.5cqw,25px)}
 .oakp-book{min-height:56px;margin-top:10px}
 .oakp-phone{margin-top:12px}
}

/* Smaller laptop heights: prevent type from overflowing the proportional popup. */
@media (min-width:761px) and (max-height:580px){
 .oakp-eyebrow{font-size:12px}
 .oakp-content h2{font-size:clamp(37px,4.65cqw,49px)!important}
 .oakp-content p{font-size:16px}
 .oakp-book{font-size:15px}
 .oakp-phone{font-size:16px}
 .oakp-eyebrow{margin-bottom:18px}
 .oakp-book{margin-top:6px}
}

/* v1.9.1: Button-only update. All other modal proportions, photo, typography,
   close control, and mobile stacking are the original v1.8.0 appearance. */
.oakp-actions{display:flex;flex-direction:column;align-items:stretch;gap:clamp(10px,1.2cqw,16px);width:100%}
.oakp-actions .oakp-book{
  min-height:clamp(54px,5.9cqw,88px);
}
.oakp-actions .oakp-phone{
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  align-self:stretch;gap:clamp(9px,1.1cqw,18px);width:100%;
  min-height:clamp(54px,5.9cqw,88px);margin:0;padding:12px 18px;
  border-radius:99px;background:#c43d25;color:#fff!important;
  font-family:'DM Sans',Arial,sans-serif;font-size:clamp(18px,2cqw,26px);
  font-weight:700;line-height:1.2;white-space:normal;
  text-decoration:none!important;text-align:center;
  transition:background .2s;
}
.oakp-actions .oakp-phone svg{
  flex:none;width:clamp(22px,2.4cqw,36px);height:clamp(22px,2.4cqw,36px)
}
.oakp-actions .oakp-phone:hover{background:#a92f1b;color:#fff!important;text-decoration:none!important}
.oakp-actions .oakp-phone:focus-visible{outline:3px solid #c0472e;outline-offset:3px}
@media(max-width:760px){
  .oakp-actions{gap:11px}
  .oakp-actions .oakp-book,.oakp-actions .oakp-phone{min-height:54px}
  .oakp-actions .oakp-phone{font-size:15px;padding:12px 15px}
  .oakp-actions .oakp-phone svg{width:23px;height:23px}
}
@media (min-width:761px) and (max-width:900px){
  .oakp-actions .oakp-book,.oakp-actions .oakp-phone{min-height:53px}
}
@media (min-width:761px) and (max-height:580px){
  .oakp-actions{gap:8px}
  .oakp-actions .oakp-book,.oakp-actions .oakp-phone{min-height:48px}
  .oakp-actions .oakp-phone{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.oakp-actions .oakp-phone{transition:none}}
