/* Soft cloud banks connect the film banners and the ivory content. */
.hero::after,
.page-hero.has-video-banner::after{
  left:-5%;right:-5%;bottom:-2px;width:auto;border:0;box-shadow:none;
  pointer-events:none;
  background:
    radial-gradient(ellipse 17% 35% at 5% 75%,#fffdf4 7%,#fffdf4cc 38%,transparent 85%),
    radial-gradient(ellipse 23% 31% at 25% 73%,#fff9e9ed 8%,#fff9e9aa 43%,transparent 88%),
    radial-gradient(ellipse 17% 37% at 48% 67%,#fffdf5e8 4%,#fffdf5a8 42%,transparent 86%),
    radial-gradient(ellipse 22% 32% at 73% 75%,#fff9e9eb 6%,#fff9e9a8 44%,transparent 88%),
    radial-gradient(ellipse 19% 39% at 97% 70%,#fffdf4ee 5%,#fffdf4a3 41%,transparent 85%),
    linear-gradient(to bottom,transparent 5%,#faf7f133 45%,#faf7f1c9 78%,#faf7f1 100%);
  background-repeat:no-repeat;
}
.hero::after{height:clamp(150px,19vw,275px)}
.page-hero.has-video-banner::after{
  left:0;right:0;bottom:-1px;height:280px;top:auto;border-radius:0;transform:none;opacity:1;
  background-image:linear-gradient(to bottom,rgba(250,247,241,0) 64%,#faf7f1 97%),url('../img/home-clouds.png');
  background-size:100% 100%;background-repeat:no-repeat;
}
.page-hero.has-video-banner .page-hero-content{padding-bottom:190px}

/* Continuous public-section backgrounds; the fades stay in section padding. */
main > .section:not(.dark){background:#faf7f1}
main > .section.dark{
  background:
    linear-gradient(to bottom,#faf7f1 0 38px,#faf7f100 75px) top/100% 75px no-repeat,
    url('../img/cloud-transition.svg?v=2') top/100% 195px no-repeat,
    radial-gradient(ellipse 31% 105px at 20% 100%,#faf7f1 30%,#faf7f1b0 68%,transparent 100%) bottom/100% 150px no-repeat,
    radial-gradient(ellipse 34% 78px at 48% 100%,#faf7f1 32%,#faf7f1bd 66%,transparent 100%) bottom/100% 135px no-repeat,
    radial-gradient(ellipse 38% 115px at 82% 100%,#faf7f1 30%,#faf7f1bc 67%,transparent 100%) bottom/100% 165px no-repeat,
    linear-gradient(to top,#faf7f1 0 3px,transparent 5px) bottom/100% 5px no-repeat,
    radial-gradient(ellipse at 75% 35%,#2b261d,#111316 55%,#090b0d);
  padding-top:165px;padding-bottom:155px;
}
main > .section:not(.dark) + .section:not(.dark){
  background:linear-gradient(to bottom,#faf7f1,#f4eddf 70px,#faf7f1 160px);
}
.partner-section{
  border-top:0;
  background:linear-gradient(to bottom,#faf7f1,#fff 65px,#fff calc(100% - 60px),#faf7f1);
  padding-top:70px;padding-bottom:75px;
}
.footer{
  position:relative;isolation:isolate;
  background:linear-gradient(to bottom,#faf7f1 259px,#0d0f12 259px);
  padding-top:280px;
}
/* Upright dark clouds shared by every public footer. */
.footer::before{
  content:'';position:absolute;top:0;left:0;right:0;height:260px;z-index:-1;pointer-events:none;
  background-image:linear-gradient(to bottom,rgba(13,15,18,0) 65%,#0d0f12 97%),url('../img/footer-dark-clouds.png');
  background-size:100% 100%;background-repeat:no-repeat;
}
@media(max-width:680px){
  .hero::after{height:150px}
  .page-hero.has-video-banner::after{height:210px}
  .page-hero.has-video-banner .page-hero-content{padding-bottom:150px}
  main > .section.dark{padding-top:125px;padding-bottom:120px}
  .footer{padding-top:240px;background:linear-gradient(to bottom,#faf7f1 219px,#0d0f12 219px)}
  .footer::before{height:220px}
}

/* Consultation: explain the help available before inviting a conversation. */
.consult-panel{position:relative;gap:40px;padding:44px;border:1px solid #d8bd8670;border-radius:26px;background:radial-gradient(ellipse at top right,#edce8b38,transparent 65%),linear-gradient(120deg,#fffdf8,#f6eddd);box-shadow:0 14px 45px #7853210a}
.consult-copy{max-width:650px}
.consult-copy h2{font-size:clamp(30px,3.5vw,46px);line-height:1.15}
.consult-copy>p:not(.eyebrow){font-size:15px;line-height:1.8;color:#716653;margin:20px 0}
.consult-topics{display:flex;flex-wrap:wrap;gap:10px 18px;color:#82612c;font-size:12px}
.consult-topics span::before{content:'✦';margin-right:7px;color:#b88a3c}
.consult-actions{display:flex;flex-direction:column;gap:12px;flex:0 0 255px}
.consult-actions .btn{min-height:46px;text-align:center}
.consult-actions small{text-align:center;color:#80735e;font-size:11px;line-height:1.65;padding:0 8px}
@media(max-width:850px){.consult-panel{flex-direction:column;align-items:stretch;padding:28px;gap:26px}.consult-actions{flex-basis:auto}.consult-actions small{max-width:330px;align-self:center}}
@media(max-width:680px){.consult-panel{padding:25px 20px}.consult-copy>p:not(.eyebrow){font-size:14px}.consult-topics{font-size:11px;gap:10px}}

/* Cover fractional-pixel seams where the dark background meets ivory. */
main > .section.dark{border:0;box-shadow:inset 0 2px #faf7f1,inset 0 -2px #faf7f1}
.social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.footer .social-link{display:grid;place-items:center;width:44px;height:44px;padding:9px;border:1px solid #c7a26966;border-radius:12px;color:#f5e7c6;background:#ffffff08;transition:background .2s,border-color .2s,transform .2s}.footer .social-link:hover{background:#c7a26922;border-color:#c7a269;transform:translateY(-2px)}.footer .social-link:focus-visible{outline:2px solid #f1c56b;outline-offset:3px}.social-link img,.social-icon{width:22px;height:22px;object-fit:contain}.social-symbol{display:grid;place-items:center;width:22px;height:22px;font-size:21px}.about-image.cms-about-image{overflow:hidden}.about-image.cms-about-image img{width:100%;height:100%;min-height:360px;object-fit:cover}
/* Official brochures remain readable rather than being cropped like photos. */
.package-image:has(img[src*="packages-official/"]){height:auto;aspect-ratio:4/5;background:#f3efe7}
.package-image img[src*="packages-official/"]{object-fit:contain}
.footer .footer-contact{min-width:0}.footer-contact-row,.footer a.footer-contact-row{display:flex;align-items:flex-start;gap:12px;margin:13px 0;color:#c9c2b5;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.footer a.footer-contact-row:hover{color:#f1c56b}.footer-contact-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#c7a2691c;border:1px solid #c7a26930;color:#edc776}.footer-contact-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.footer-contact-row>span:last-child{padding-top:7px}
.detail-image:has(img[src*="packages-official/"]){align-self:start;height:auto;min-height:0;background:#f7f2e8}
.detail-image img[src*="packages-official/"]{height:auto;width:100%;object-fit:contain}

/* Gold scrollbar, with a simple color fallback for Firefox. */
html{scrollbar-color:#d6ad50 #201b13;scrollbar-width:auto}
@supports selector(::-webkit-scrollbar){
  html{scrollbar-color:auto;scrollbar-width:auto}
  ::-webkit-scrollbar{width:12px;height:12px}
  ::-webkit-scrollbar-track{background:linear-gradient(90deg,#15130f,#302719,#15130f);box-shadow:inset 1px 0 3px #0006}
  ::-webkit-scrollbar-thumb{min-height:45px;border:2px solid #241e14;border-radius:20px;background:linear-gradient(90deg,#93651c 0%,#ddb653 28%,#fff0ab 52%,#e1b64d 72%,#a77724 100%);box-shadow:inset 0 0 3px #fff5cb,0 0 5px #e8b54c80}
  ::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#bb8c30,#ffe394 35%,#fff8d3 52%,#f1cd6a 75%,#c49436);box-shadow:inset 0 0 4px #fff8db,0 0 7px #f0c768}
  ::-webkit-scrollbar-thumb:active{background:linear-gradient(90deg,#b5872c,#fff0ac,#d8a843)}
  ::-webkit-scrollbar-corner{background:#201b13}
}
@media(forced-colors:active){html{scrollbar-color:auto}}
