/* Shared desktop and mobile navigation component. */
.brand{text-transform:uppercase}
.site-header{width:min(var(--header-width),calc(100% - 64px));margin-top:25px;transition:border-radius .22s,box-shadow .22s}
.mega-menu{top:100%;gap:20px;padding:14px 24px 24px;border-radius:0 0 12px 12px;box-shadow:0 20px 25px #07123018;opacity:0;transform:translateY(-7px);transition:opacity .22s ease,transform .22s var(--panel-ease);pointer-events:none;max-height:calc(100dvh - 145px)}
.mega-menu.is-open{opacity:1;transform:translateY(0);pointer-events:auto}
.site-header.mega-expanded{border-radius:12px 12px 0 0}
.nav-group:has(.nav-trigger[aria-expanded=true])::after{display:none}
.mega-fly{grid-template-columns:1.4fr 1fr}.mega-links{gap:20px}.mega-card{padding:22px 18px;min-height:160px;border-radius:16px}.mega-icon .icon{width:74px;height:74px}.mega-strip{background:#072b6d;color:white;padding:12px 15px;min-height:62px}.mega-strip strong{background:white;color:#0e2456;padding:10px 30px;border-radius:5px;box-shadow:0 3px 10px #0002}.mega-strip>.icon{width:28px;height:28px}.mega-about .mega-strip strong{padding-inline:22px}
.desktop-nav>a,.nav-trigger,.header-social a{transition:color .18s,transform .18s}.desktop-nav>a:hover,.header-social a:hover{transform:translateY(-2px)}
.hamburger{display:block;position:relative;width:28px;height:24px}.hamburger>span{position:absolute;left:0;width:100%;height:2px;border-radius:2px;background:currentColor;transition:transform .3s var(--panel-ease),opacity .2s,top .3s var(--panel-ease)}.hamburger>span:nth-child(1){top:3px}.hamburger>span:nth-child(2){top:11px}.hamburger>span:nth-child(3){top:19px}
.mobile-toggle[aria-expanded=true] .hamburger>span:nth-child(1),.mobile-drawer.is-open .hamburger>span:nth-child(1){top:11px;transform:rotate(45deg)}.mobile-toggle[aria-expanded=true] .hamburger>span:nth-child(2),.mobile-drawer.is-open .hamburger>span:nth-child(2){opacity:0;transform:translateX(8px)}.mobile-toggle[aria-expanded=true] .hamburger>span:nth-child(3),.mobile-drawer.is-open .hamburger>span:nth-child(3){top:11px;transform:rotate(-45deg)}
/* A soft drop-in keeps the hamburger morph visible as the menu opens. */
.mobile-drawer,.mobile-drawer[open]{animation:none;width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;margin:0;padding:0;border:0;border-radius:0;color:#f3f6ff;background:#00172f;opacity:0;transform:translateY(-24px);transition:opacity .32s ease,transform .48s cubic-bezier(.22,1,.36,1)}
.mobile-drawer[open]{display:flex;flex-direction:column}.mobile-drawer.is-open{opacity:1;transform:translateY(0)}.mobile-drawer::backdrop{background:transparent}.mobile-drawer.is-open::backdrop{background:#00113099}
.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:77px;padding:12px 20px;flex-shrink:0}
.drawer-heading .brand{color:white;font-size:17px;line-height:1.02;gap:12px}.drawer-heading .brand img{width:49px;height:49px}
.drawer-close{position:static;flex-shrink:0;padding:10px;color:#f3f6ff;min-width:48px;min-height:44px}
.drawer-close:focus-visible{outline:0;border-radius:7px;background:#10365b}
.drawer-back{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 8px;border:0;background:none;color:inherit;font-size:15px}.drawer-back>span{color:#ffda39;font-size:28px}
.drawer-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:14px}
.drawer-pages,.drawer-actions{width:calc(100% - 24px);margin-inline:12px}
.drawer-pages{position:relative;isolation:isolate;overflow:hidden;flex-shrink:0}
.mobile-drawer .drawer-page h2{display:flex;align-items:center;gap:20px;font-size:23px;text-transform:none;color:white;margin:0;padding:12px 14px 20px;min-height:66px;border-bottom:1px solid #163956}
.drawer-page h2 .icon{width:30px;height:30px}
.drawer-row{display:flex;align-items:center;gap:20px;width:100%;min-height:56px;padding:12px 14px;border:0;border-bottom:1px solid #163956;border-radius:0;background:transparent;color:inherit;text-align:left;font-size:16px;line-height:1.35}
.mobile-drawer.is-open .drawer-page:not([hidden])>.drawer-row{animation:menu-drop-in .46s cubic-bezier(.22,1,.36,1) both}
.mobile-drawer.is-open .drawer-page>.drawer-row:nth-child(1){animation-delay:70ms}
.mobile-drawer.is-open .drawer-page>.drawer-row:nth-child(2){animation-delay:110ms}
.mobile-drawer.is-open .drawer-page>.drawer-row:nth-child(3){animation-delay:150ms}
.mobile-drawer.is-open .drawer-page>.drawer-row:nth-child(4){animation-delay:190ms}
.mobile-drawer.is-open .drawer-page>.drawer-row:nth-child(5){animation-delay:230ms}
.mobile-drawer.is-open .drawer-page>.drawer-row:nth-child(6){animation-delay:270ms}
.mobile-drawer.is-open .drawer-actions{animation:menu-drop-in .5s .25s cubic-bezier(.22,1,.36,1) both}
@keyframes menu-drop-in{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.mobile-drawer.is-open .drawer-page:not([hidden])>.drawer-row,.mobile-drawer.is-open .drawer-actions{animation:none}}
.drawer-row>span:not(.drawer-home-symbol){flex:1}.drawer-row>.icon{width:25px;height:25px}.drawer-row>.icon:last-child{width:13px;height:17px;margin-left:auto}
.drawer-home-symbol{width:25px;font-size:32px;line-height:25px;text-align:center}
.drawer-row:hover,.drawer-row[aria-current],.drawer-row:focus-visible{color:white;background:#10365b;border-radius:7px}
.drawer-actions{display:grid;gap:12px;padding-top:12px;flex-shrink:0}
.drawer-member{background:#0c2b4a;border:0;border-radius:7px;font-size:14px}
.drawer-member-logout{margin:0}.drawer-member-logout .drawer-row{cursor:pointer}
.drawer-trial-bar{padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:#00172f;flex-shrink:0}
.drawer-trial.button{width:100%;min-height:54px;background:linear-gradient(110deg,#ffdf48,#ffd02b);color:#002143;font-weight:700;font-size:17px;border:1px solid #ffe785;box-shadow:0 6px 22px #0002;gap:18px}
.drawer-trial.button:hover{background:#ffe66c}.drawer-trial>span{font-size:26px;line-height:1}
.drawer-landscape{flex:1 0 140px;min-height:140px;margin-top:4px;background:linear-gradient(#00172f 0%,#00172f00 40%,#00172f30 70%,#00172f 100%),url('/assets/lmfk_bg_02.jpg') center 65%/cover}
.drawer-follow{display:flex;align-items:center;justify-content:center;gap:16px;min-height:54px;padding:0 12px;flex-shrink:0}
.drawer-follow a{display:grid;place-items:center;min-width:44px;min-height:44px}.drawer-follow a:hover{color:#ffda39}.drawer-follow .icon{width:29px;height:29px}.drawer-follow p{font-size:12px;line-height:1.5;margin:0}
@media(max-width:400px){.drawer-heading .brand{font-size:15px}.drawer-heading .brand img{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.mobile-drawer,.mobile-drawer[open]{transition:none}}
@media(max-width:1150px){.site-header{gap:20px}.desktop-nav{gap:22px}.mega-icon .icon{width:55px;height:55px}.mega-card{padding:20px 15px}.mega-strip strong{padding-inline:20px}.mega-strip{font-size:13px}}
@media(min-width:961px){.site-header{position:sticky;top:12px;box-shadow:0 6px 28px #07123020}.public-site .site-header{position:fixed;top:0}.public-site:has(.preview) .site-header{top:0}.mega-menu{max-height:calc(100dvh - 130px)}html{scroll-padding-top:120px}}
@media(max-width:400px){.site-header .brand{font-size:15px}.site-header{gap:10px}.site-header .brand img{width:46px;height:46px}}
/* Detached panels retain a traversable hover bridge and balanced columns. */
.mega-menu{top:calc(100% + 12px);padding:24px;border-radius:18px;box-shadow:0 16px 35px #07123026;overflow:visible}
.site-header.mega-expanded{border-radius:12px}
.mega-menu::before{content:'';position:absolute;left:0;right:0;top:-14px;height:16px}
.mega-about .mega-links{flex:1}.mega-about .mega-card{padding:14px 0}.mega-strip{margin-top:20px}.mega-fly .mega-card{min-height:160px}.mega-strip strong{flex-shrink:0}.mega-about{grid-template-columns:1fr 1fr}
@media(max-width:1150px) and (min-width:961px){.mega-menu{gap:20px;padding:20px}.mega-card h3{font-size:19px}.mega-strip{gap:10px}.mega-strip strong{padding-inline:15px}}
/* Drawer rows span the screen with the same compact gutter as the action spacing. */
.drawer-pages,.drawer-actions{width:calc(100% - 24px);margin-inline:12px}
.drawer-heading{padding-inline:clamp(20px,4vw,42px)}

/* Keep the navigation surface readable as it follows the viewport. */
@media(min-width:961px){.site-header,.public-site .site-header{background:#fff}}
@media(max-width:960px){.site-header,.public-site .site-header{position:sticky;top:0;left:auto;right:auto;z-index:40;background:#fff;box-shadow:0 5px 20px #0712301f}.public-site:has(.preview) .site-header{top:0}html{scroll-padding-top:76px}}
/* Keep the compact club identity identical in every mobile header and drawer. */
@media(max-width:680px){.site-header{height:77px;padding:12px 18px}.site-header .brand,.drawer-heading .brand{gap:10px;font-size:13px;font-weight:400;line-height:1.02}.site-header .brand img,.drawer-heading .brand img{width:43px;height:43px}.drawer-heading{min-height:77px;padding:12px 18px}}

/* Photo-led desktop mega menus share the same editorial card language as the front page. */
@media(min-width:961px){
  .mega-menu.mega-fly,.mega-menu.mega-about{display:flex;flex-direction:column;gap:0;padding:22px;background:#f8fbff;border:1px solid #d8e5f5;overflow:auto}
  .mega-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:16px;padding-inline:2px}
  .mega-heading>div>span{display:block;margin-bottom:3px;color:#0873eb;font-size:11px;font-weight:800;letter-spacing:.055em}
  .mega-heading h2,.mega-about .mega-heading h2{margin:0;color:#092568;font-family:'Roboto Condensed',Arial,sans-serif;font-size:25px;line-height:1.08}
  .mega-heading>a{display:inline-flex;align-items:center;gap:10px;padding:6px 2px;color:#075ddd;font-size:13px;font-weight:700;white-space:nowrap}
  .mega-heading>a:hover{color:#003fa6}
  .mega-menu .mega-links,.mega-about .mega-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex:none}
  .mega-menu .mega-card,.mega-about .mega-card{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0;overflow:hidden;border:1px solid #dce6f2;border-radius:12px;background:white;box-shadow:0 5px 16px #0a28500d;transition:transform .2s var(--panel-ease),box-shadow .2s ease,border-color .2s ease}
  .mega-menu .mega-card:hover,.mega-menu .mega-card:focus-visible{color:#092568;background:white;border-color:#b9d2ef;box-shadow:0 10px 24px #0a28501c;transform:translateY(-3px)}
  .mega-card-media{display:block;width:100%;height:118px;flex:0 0 118px;background-repeat:no-repeat;background-size:200% 200%;background-color:#dce9f6}
  .mega-fly .mega-card-media{background-image:url('/assets/mega-fly-v1.webp')}
  .mega-about .mega-card-media{background-image:url('/assets/mega-about-v1.webp')}
  .mega-links .mega-card:nth-child(1) .mega-card-media{background-position:0 0}
  .mega-links .mega-card:nth-child(2) .mega-card-media{background-position:100% 0}
  .mega-links .mega-card:nth-child(3) .mega-card-media{background-position:0 100%}
  .mega-links .mega-card:nth-child(4) .mega-card-media{background-position:100% 100%}
  .mega-card-copy{position:relative;display:grid;grid-template-columns:1fr auto;gap:3px 12px;width:100%;min-height:128px;padding:31px 14px 13px 22px}
  .mega-icon{position:absolute;top:-23px;left:21px;display:grid;place-items:center;width:45px;height:45px;border:3px solid white;border-radius:50%;background:#082a75;color:white;box-shadow:0 3px 10px #071d4930}
  .mega-card:first-child .mega-icon{color:white}
  .mega-icon .icon,.mega-about .mega-icon .icon{width:21px;height:21px}
  .mega-card-title{display:block;min-width:0}
  .mega-card-title strong{display:block;margin-bottom:5px;color:#092568;font-family:'Roboto Condensed',Arial,sans-serif;font-size:19px;line-height:1.16}
  .mega-card-title small{display:block;color:#3e5e91;font-size:13px;font-weight:400;line-height:1.4}
  .mega-card-arrow{align-self:end;color:#092568;font-size:21px;font-weight:700;line-height:1}
  .mega-menu .mega-strip{display:flex;align-items:center;gap:12px;min-height:58px;margin-top:14px;padding:9px 12px;border-radius:9px;background:#e6f1ff;color:#092568}
  .mega-strip>.icon{width:28px;height:28px;color:#0873eb}
  .mega-strip>span{display:grid;gap:0;line-height:1.25}
  .mega-strip>span strong{margin:0;padding:0;background:none;color:#092568;box-shadow:none;font-size:13px}
  .mega-strip>span small{color:#47658f;font-size:11px}
  .mega-strip>b{margin-left:auto;padding:10px 18px;border-radius:6px;background:#082a75;color:white;font-size:12px;white-space:nowrap}
  .mega-strip:hover b{background:#075ddd}
}
@media(max-width:1100px) and (min-width:961px){
  .mega-menu.mega-fly,.mega-menu.mega-about{padding:18px}
  .mega-card-media{height:102px;flex-basis:102px}
  .mega-card-copy{min-height:126px;padding-right:12px;padding-left:20px}
  .mega-icon{left:19px}
  .mega-card-title strong{font-size:18px}
  .mega-card-title small{font-size:12px}
}

/* The Om menu follows the owner's two-column editorial reference. */
@media(min-width:961px){
  .mega-menu.mega-about{display:grid;grid-template-columns:minmax(235px,.72fr) minmax(0,1.55fr);gap:16px 24px;padding:22px}
  .mega-about-intro{padding:5px 4px 0}
  .mega-about-intro>span{display:block;margin-bottom:7px;color:#0873eb;font-size:11px;font-weight:800;letter-spacing:.055em}
  .mega-about-intro h2{margin:0 0 14px;color:#092568;font-family:'Roboto Condensed',Arial,sans-serif;font-size:30px;line-height:1.08}
  .mega-about-intro p{max-width:265px;margin:0;color:#3e5e91;font-size:13px;line-height:1.48}
  .mega-about .mega-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .mega-about .mega-card{min-width:0}
  .mega-about .mega-card-media{background-image:url('/assets/mega-about-v1.webp')}
  .mega-about .about-field{background-position:0 0}
  .mega-about .about-club{background-position:100% 0}
  .mega-about .about-boat{background-position:0 100%}
  .mega-about .about-history{background-position:100% 100%;filter:grayscale(.88) contrast(.93)}
  .mega-about .about-map{background:url('/assets/lmfk_karta.jpg') center/cover no-repeat;filter:saturate(.8)}
  .mega-about .about-simulator{background:url('/assets/ss_b3f18c070f341e819cea45a2ce24acf5e89b9a20.1920x1080.jpg') center/cover no-repeat}
  .mega-about .mega-card-arrow{display:none}
  .mega-about .mega-strip{grid-column:1/-1;min-height:60px;margin-top:0;padding-inline:13px}
  .mega-about .mega-strip>.icon{width:25px;height:25px}
  .mega-about .mega-strip>span{gap:2px;align-content:center}
  .mega-about .mega-strip>span strong{font-family:'Roboto Condensed',Arial,sans-serif;font-size:14px;line-height:1.05}
  .mega-about .mega-strip>span small{font-size:11px;line-height:1.2}
}
@media(max-width:1100px) and (min-width:961px){
  .mega-menu.mega-about{grid-template-columns:minmax(210px,.68fr) minmax(0,1.6fr);gap:14px 18px;padding:18px}
  .mega-about-intro h2{font-size:26px}
  .mega-about-intro p{font-size:12px}
}
