/* HGM multilingual editorial mega navigation and hero system */
:root{--hgm-gold:#c8a97e;--hgm-bronze:#8a7356;--hgm-ink:#10100f;--hgm-cream:#fbf9f5;--hgm-header-bottom:116px}
.site-header{z-index:999!important;position:sticky;top:0;isolation:isolate}
.hgm-mega-nav{display:flex;align-items:center;justify-content:center;gap:clamp(.55rem,1.6vw,1.8rem);direction:ltr}
.hgm-mega-item{position:static}
.hgm-mega-trigger{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap;border:0;background:transparent;padding:.8rem .35rem;color:inherit;font:500 .69rem/1.2 'Montserrat',system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;cursor:pointer;transition:color .2s ease}
.hgm-mega-trigger:hover,.hgm-mega-trigger[aria-expanded=true]{color:var(--hgm-bronze)}
.hgm-mega-chevron{display:inline-block;font-size:1.05rem;transition:transform .25s ease}.hgm-mega-trigger[aria-expanded=true] .hgm-mega-chevron{transform:rotate(180deg)}
.hgm-mega-panel[hidden]{display:none!important}
.hgm-mega-panel{position:fixed;inset:var(--hgm-header-bottom) 0 0;z-index:1200;overflow:auto;overscroll-behavior:contain;padding:clamp(1rem,4vw,3.5rem);background:rgba(13,13,12,.91);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);animation:hgmOverlayIn .16s ease both}
.hgm-mega-panel-inner{position:relative;max-width:1200px;margin:0 auto;padding:clamp(1rem,3vw,2.6rem);display:grid;grid-template-columns:minmax(240px,1.25fr) repeat(2,minmax(180px,1fr));gap:clamp(1rem,3vw,3.5rem);background:var(--hgm-cream);box-shadow:0 35px 80px #0005;border:1px solid #e8e0d2;text-align:left;direction:ltr}
.hgm-mega-feature{min-height:320px;background:linear-gradient(165deg,#131311b8,#131311ee),url('/assets/hero-coast.jpg') center/cover;color:white;padding:clamp(1.5rem,2.5vw,2.8rem);display:flex;flex-direction:column;justify-content:flex-end;gap:1rem}
.hgm-mega-eyebrow{font:600 .64rem/1.3 'Montserrat',system-ui,sans-serif;letter-spacing:.2em;color:var(--hgm-gold)}
.hgm-mega-feature strong{font:400 clamp(2rem,3vw,3.3rem)/1.04 'Cormorant Garamond',Georgia,serif}
.hgm-mega-feature p{font:400 .86rem/1.65 'Montserrat',system-ui,sans-serif;color:#ffffffc9;margin:0}
.hgm-mega-feature a{color:#e7cfa8;align-self:flex-start;font-size:.8rem;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:.2rem}
.hgm-mega-column{padding-top:1.3rem}.hgm-mega-column h3,.hgm-mega-column-title{font:600 .65rem/1.4 'Montserrat',system-ui,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:var(--hgm-bronze);border-bottom:1px solid #dfd7c9;padding-bottom:1rem;margin:0 0 1rem}
.hgm-mega-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid #e8e2d8;color:var(--hgm-ink);text-decoration:none;font:500 .88rem/1.4 'Montserrat',system-ui,sans-serif;transition:color .2s,transform .2s}
.hgm-mega-link:hover{color:var(--hgm-bronze);transform:translateX(4px)}.hgm-mega-link small{display:block;font-size:.7rem;font-weight:400;color:#6b675f}
.hgm-mega-close{position:absolute;right:1rem;top:.55rem;border:0;background:transparent;font-size:2rem;cursor:pointer;color:var(--hgm-ink);padding:.3rem .7rem}
body.hgm-mega-open{overflow:hidden}
@keyframes hgmOverlayIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
/* Existing homepage videos/goal-picker retained, with elevated text motion */
.hero-intro .hero-intro-content>*{animation:hgmHeroRise .8s cubic-bezier(.22,1,.36,1) both}
.hero-intro .hero-intro-content>*:nth-child(2){animation-delay:.1s}.hero-intro .hero-intro-content>*:nth-child(3){animation-delay:.2s}.hero-intro .hero-intro-content>*:nth-child(4){animation-delay:.3s}.hero-intro .hero-intro-content>*:nth-child(5){animation-delay:.4s}
/* Inner page hero: refined photo, animated light and fine architecture lines */
.page-hero.hgm-animated-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(420px,58vh,670px);display:flex;flex-direction:column;justify-content:center;border:1px solid #e5e0d8;padding-block:clamp(3rem,7vw,7rem);background:#111311;color:#fff}
.page-hero.hgm-animated-hero::before{content:"";position:absolute;inset:-4%;z-index:-2;background:linear-gradient(94deg,rgba(9,12,13,.93) 0%,rgba(10,13,14,.81) 53%,rgba(9,12,13,.48) 100%),url('/assets/hero-coast.jpg') center/cover no-repeat;animation:hgmAmbientDrift 22s ease-in-out infinite alternate}
.page-hero.hgm-animated-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent calc(25% - 1px),#fff1 25%,transparent calc(25% + 1px)),linear-gradient(90deg,transparent calc(50% - 1px),#fff1 50%,transparent calc(50% + 1px)),radial-gradient(ellipse at 78% 25%,rgba(200,169,126,.12),transparent 48%);background-size:100% 100%}
.page-hero.hgm-animated-hero h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;line-height:1.06;font-size:clamp(2.7rem,5vw,5rem);letter-spacing:-.018em;color:#fff;max-width:950px;text-wrap:balance;text-shadow:0 4px 35px #0006}
.page-hero.hgm-animated-hero .eyebrow,.page-hero.hgm-animated-hero .breadcrumbs,.page-hero.hgm-animated-hero .breadcrumbs a{color:#e0c59b}
.page-hero.hgm-animated-hero .lede,.page-hero.hgm-animated-hero .hero-context>p:not(.eyebrow){color:#f4eee6;max-width:740px}
.page-hero.hgm-animated-hero .hero-context>*{animation:hgmHeroRise .85s cubic-bezier(.22,1,.36,1) both}
.page-hero.hgm-animated-hero .hero-context>*:nth-child(2){animation-delay:.12s}.page-hero.hgm-animated-hero .hero-context>*:nth-child(3){animation-delay:.24s}
.page-hero.hgm-animated-hero .hero-funnel{color:#161616;animation:hgmHeroRise 1s .3s both}
.page-hero.hgm-animated-hero .hero-funnel h2,.page-hero.hgm-animated-hero .hero-funnel p{color:inherit}
@keyframes hgmAmbientDrift{0%{transform:scale(1) translate3d(0,0,0)}100%{transform:scale(1.09) translate3d(-1%,1%,0)}}
@keyframes hgmHeroRise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.hgm-mega-nav{gap:.35rem}.hgm-mega-trigger{font-size:.63rem;padding-inline:.1rem;letter-spacing:.02em}}
@media(max-width:850px){.site-header .hgm-mega-nav{display:none}.site-header.hgm-mobile-expanded .hgm-mega-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;top:100%;left:0;right:0;padding:1rem 1.4rem;max-height:calc(100dvh - var(--hgm-header-bottom));overflow:auto;background:#fbf9f5;box-shadow:0 12px 22px #0002}.hgm-mega-trigger{width:100%;justify-content:space-between;padding:1rem .6rem;font-size:.82rem}.hgm-mega-panel{position:static;inset:auto;overflow:visible;background:transparent;backdrop-filter:none;padding:0;animation:none}.hgm-mega-panel-inner{grid-template-columns:1fr;padding:.5rem;gap:.5rem;box-shadow:none;border:0}.hgm-mega-feature{min-height:150px}.hgm-mega-column{padding:1rem}.hgm-mega-close{display:none}.page-hero.hgm-animated-hero{min-height:440px}.page-hero.hgm-animated-hero h1{font-size:clamp(2.35rem,8vw,3.6rem)}}
@media(prefers-reduced-motion:reduce){.hgm-mega-panel,.hero-intro .hero-intro-content>*,.page-hero.hgm-animated-hero::before,.page-hero.hgm-animated-hero .hero-context>*,.page-hero.hgm-animated-hero .hero-funnel{animation:none!important;transition:none!important}}
/* Full-bleed hero canvas while maintaining centered reading measure. */
.page-hero.hgm-animated-hero.wrap{max-width:none;width:100%;margin-inline:0;padding-inline:max(1.5rem,calc((100vw - 1200px)/2))}
@media(max-width:850px){.page-hero.hgm-animated-hero.wrap{padding-inline:1.4rem}}
