/* R22: original implementation informed by the public Skiper38 Apple Navbar demo. */
:root{--apple-nav-height:78px;--apple-nav-ink:#f1f2f3;--apple-nav-muted:#a6aab0;--apple-nav-surface:#1b1d20;--apple-nav-ease:cubic-bezier(.22,1,.36,1)}
html{scroll-padding-top:calc(var(--apple-nav-height) + 24px)}
body .masthead.apple-header{position:fixed;inset:0 0 auto;z-index:90;background:rgba(25,28,31,.86);color:var(--apple-nav-ink);border:0;backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);transition:background .24s ease,box-shadow .24s ease}
body .apple-header.is-open,body .apple-header.mobile-open{background:#1b1d20;box-shadow:0 20px 48px #00000026}
body .apple-header .masthead-inner{height:var(--apple-nav-height);border:0;display:flex;align-items:center;gap:36px;position:relative;z-index:2}
body .apple-header .brand{flex:none;gap:12px;margin-right:auto;min-width:0;position:relative;z-index:3}
body .apple-header .brand-mark{display:block;width:auto;height:44px;object-fit:contain}
body .apple-header .brand-name{font-size:23px;line-height:27px}
body .apple-header .brand-company{font-size:9px;line-height:12px;margin-top:0;color:#bac0c6}
body .apple-header .brand-words{display:grid;width:146px;height:44px;grid-template-rows:27px 12px;gap:5px;align-content:center;color:#f2f3f4}
body .apple-header .main-nav.apple-links{position:static;display:flex;align-items:center;gap:14px;padding:0;margin:0;background:none;border:0;box-shadow:none;width:auto;flex:none}
.apple-nav-trigger{appearance:none;border:0;background:transparent;color:#c9cdd1;font:inherit;font-size:13px;font-weight:400;line-height:1;padding:0 20px;min-height:48px;border-radius:12px;position:relative;cursor:pointer;transition:color .18s ease,background .18s ease,transform .18s ease}
.apple-nav-trigger:after{content:'';position:absolute;bottom:7px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:999px;background:#f3b43f;opacity:0;pointer-events:none;transition:width .34s cubic-bezier(.22,1,.36,1),height .34s cubic-bezier(.22,1,.36,1),opacity .22s ease}
.apple-nav-trigger[data-indicator=dot]:after{opacity:1}
.apple-nav-trigger[data-indicator=bar]:after{width:24px;height:3px;opacity:1}
.apple-nav-trigger:hover,.apple-nav-trigger[aria-expanded=true]{color:#fff}
.apple-nav-trigger:active{transform:scale(.94);background:#ffffff09;transition-duration:.1s}
.apple-chevron{display:none}
body .apple-header .header-contact{font-size:12px;border:1px solid #ffffff30;padding:0 16px;min-height:36px;border-radius:999px;background:#ffffff08;color:#e1e4e7;white-space:nowrap;transition:background .2s ease,transform .15s ease}
body .apple-header .header-contact:hover{background:#ffffff16}
body .apple-header .header-contact:active{transform:scale(.96)}
.apple-menu-toggle,.apple-menu-back{display:none}
.apple-menu-body{height:0;overflow:hidden;visibility:hidden;transition:height .42s var(--apple-nav-ease),visibility 0s .42s;position:relative}
.apple-header.is-open .apple-menu-body{height:var(--menu-height,360px);visibility:visible;transition:height .42s var(--apple-nav-ease),visibility 0s}
.apple-menu-container{padding-top:30px;padding-bottom:50px}
.apple-panel[hidden]{display:none!important}
.apple-panel{opacity:0;transform:translateY(-8px);transition:opacity .2s ease,transform .32s var(--apple-nav-ease)}
.apple-header.is-open .apple-panel:not([hidden]){opacity:1;transform:none}
.apple-panel-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:70px}
.apple-menu-label{margin:0 0 18px;color:var(--apple-nav-muted);font-size:11px;line-height:1.6;letter-spacing:.025em}
.apple-menu-link{display:block;width:fit-content;color:#d7dade;text-decoration:none;font-size:13px;line-height:1.6;padding:5px 0;transition:color .16s ease,transform .16s ease}
.apple-menu-link.major{font-size:24px;line-height:1.45;letter-spacing:-.025em;font-weight:600;padding:4px 0}
.apple-menu-link:hover{color:#f3b43f}
.apple-menu-link:active{transform:translateX(3px)}
.apple-menu-note{padding-top:0;max-width:270px}
.apple-menu-note h2{font-size:22px;line-height:1.5;font-weight:500;letter-spacing:-.02em;margin:0 0 12px}
.apple-menu-note>p:not(.apple-menu-label){font-size:12px;line-height:1.9;color:#a6aab0;margin:0 0 14px}
.apple-menu-note>.apple-menu-link{color:#dfb873}
.apple-nav-scrim{position:fixed;inset:var(--apple-nav-height) 0 0;z-index:89;opacity:0;pointer-events:none;background:#1012144d;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);transition:opacity .35s ease}
.apple-header.is-open+.apple-nav-scrim{opacity:1;pointer-events:auto}
.apple-header button:focus-visible,.apple-header a:focus-visible{outline:2px solid #f3b43f;outline-offset:5px}
body.catalog-page:not(.catalog-embedded){padding-top:var(--apple-nav-height)}
body.catalog-embedded .apple-header,body.catalog-embedded .apple-nav-scrim{display:none}
@media(min-width:901px) and (max-width:1150px){body .apple-header .masthead-inner{gap:20px}body .apple-header .main-nav.apple-links{gap:2px}.apple-nav-trigger{padding-inline:16px}.apple-panel-grid{gap:40px}}
@media(max-width:900px){
 :root{--apple-nav-height:72px}
 body .apple-header .masthead-inner{gap:16px;width:calc(100% - 40px)}
 body .apple-header .brand{gap:10px}
 body .apple-header .brand-words{width:128px;height:40px;grid-template-rows:24px 11px}
 body .apple-header .brand-name{font-size:21px;line-height:24px}
 body .apple-header .brand-company{font-size:8px;line-height:11px}
 body .apple-header .brand-mark{width:auto;height:40px}
 body .apple-header .header-contact{margin-left:auto;font-size:11px;padding-inline:13px;min-height:34px}
 .apple-menu-toggle{display:grid;place-content:center;gap:6px;width:44px;height:44px;flex:none;border:0;border-radius:12px;background:none;color:#f5f5f7;cursor:pointer;position:relative;z-index:4}
 .apple-menu-toggle span{display:block;width:18px;height:1.5px;background:currentColor;border-radius:2px;transition:transform .3s var(--apple-nav-ease)}
 .apple-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}
 .apple-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
 .apple-menu-toggle:active{background:#ffffff12}
 body .masthead.apple-header.mobile-open{height:100dvh;background:#1b1d20;overflow:auto;overscroll-behavior:contain}
 body .apple-header .main-nav.apple-links{display:flex;align-items:stretch;flex-direction:column;gap:5px;position:fixed;inset:var(--apple-nav-height) 0 0;padding:28px 40px 45px;overflow:auto;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-10px);transition:opacity .25s ease,transform .35s var(--apple-nav-ease),visibility 0s .35s}
 body .apple-header.mobile-open[data-mobile-view=root] .main-nav.apple-links{visibility:visible;opacity:1;pointer-events:auto;transform:none;transition-delay:0s}
 .apple-nav-trigger{font-size:29px;font-weight:600;min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:8px 2px;flex:none;text-align:left;border-radius:12px;color:#e9ebed}
 .apple-nav-trigger:after{bottom:5px;left:22px;top:auto}
 .apple-chevron{display:block;font-size:28px;font-weight:300;color:#858b91;transform:translateX(0);transition:transform .2s ease}
 .apple-nav-trigger:active .apple-chevron{transform:translateX(4px)}
 .apple-menu-body{display:none;position:absolute;inset:var(--apple-nav-height) 0 0;overflow:auto;overscroll-behavior:contain;height:auto!important;visibility:visible}
 .apple-header.mobile-open[data-mobile-view=detail] .apple-menu-body{display:block}
 .apple-menu-container{width:calc(100% - 80px);padding-top:8px;padding-bottom:60px}
 .apple-menu-back{display:flex;align-items:center;gap:10px;background:none;border:0;padding:5px 0;margin:0 0 25px;font:inherit;font-size:12px;min-height:44px;color:#b8bdc3;cursor:pointer}
 .apple-menu-back span{font-size:24px;line-height:1}
 .apple-panel-grid{grid-template-columns:1fr;gap:28px}
 .apple-menu-link{font-size:14px;padding:7px 0;min-height:36px}
 .apple-menu-link.major{font-size:25px;min-height:45px}
 .apple-menu-label{margin-bottom:10px}
 .apple-menu-note{max-width:360px;padding-top:22px;border-top:1px solid #ffffff14}
 .apple-menu-note h2{font-size:20px}
 .apple-nav-scrim{display:none}
}
@media(max-width:420px){body .apple-header .masthead-inner{width:calc(100% - 32px);gap:9px}body .apple-header .header-contact{padding:0 10px;font-size:10px}body .apple-header .header-contact span{display:none}.apple-menu-container{width:calc(100% - 56px)}body .apple-header .main-nav.apple-links{padding-inline:30px}}
@media(prefers-reduced-motion:reduce){.apple-header *,.apple-nav-trigger:after,.apple-nav-scrim{transition:none!important;animation:none!important}.apple-panel,.apple-header .main-nav.apple-links{transform:none!important}}
@media(prefers-reduced-transparency:reduce){body .masthead.apple-header{background:#1b1d20;backdrop-filter:none}.apple-nav-scrim{background:#101214b3;backdrop-filter:none}}
@media(prefers-contrast:more){body .masthead.apple-header{background:#151719;border-bottom:1px solid #747a80}.apple-menu-label,.apple-menu-note>p:not(.apple-menu-label){color:#d1d5da}}
