/* Only the decorative bar animates; scrolling stays native throughout. */
@view-transition { navigation: none }
html::after { content:''; position:fixed; inset:0 0 auto; height:3px; z-index:200; pointer-events:none; background:linear-gradient(90deg,#a47a31,#f3d888); transform-origin:left; transform:scaleX(0); opacity:0 }
html.nav-progress::after { opacity:1; transform:scaleX(var(--nav-progress,.12)) }
html.nav-complete::after { transform:scaleX(1); opacity:0; transition:transform 210ms ease-out,opacity 145ms ease-in 215ms }
@media(prefers-reduced-motion:reduce){html::after{display:none}}
.top-links { display:flex; align-items:center; gap:1rem }
.top-links a:first-child { color:#f0d99d; font-weight:650 }
.tracking-page { max-width:600px; padding-block:clamp(55px,10vh,120px) }
.tracking-page h1 { font-size:clamp(38px,6vw,62px); line-height:1.08; letter-spacing:-.05em; margin:16px 0 }
.tracking-form { display:grid; gap:16px; margin:28px 0 14px; padding:clamp(18px,4vw,32px); background:white; border:1px solid #e6dcc8; border-radius:18px }
.tracking-form label { display:grid; gap:6px; font-weight:650; font-size:.9rem }
.tracking-form input { padding:.8em 1em; border:1px solid #c5bdad; border-radius:8px; font:inherit }
#tracking-result:not(:empty) { padding:1em; border-left:3px solid #a98338; background:#f9f4e8 }
@media(max-width:680px){.topbar .wrap{justify-content:space-between}.top-links a:first-child{display:inline}.top-links a[href^="mailto"]{display:none}}
@media(max-width:360px){.header .nav{gap:8px}}

@media(max-width:940px){
  .header .nav #navigation{
    display:flex;flex-direction:column;align-items:stretch;gap:0;top:100%;
    max-height:calc(100dvh - var(--masthead-height,136px));overflow-y:auto;
    visibility:hidden;pointer-events:none;opacity:0;
    transform:translateY(-8px);clip-path:inset(0 0 100% 0);
    transition:clip-path .24s cubic-bezier(.2,.75,.25,1),transform .24s ease-out,opacity .18s ease-out,visibility 0s .24s;
  }
  .header .nav #navigation.open{
    visibility:visible;pointer-events:auto;opacity:1;transform:translateY(0);clip-path:inset(0);
    transition-delay:0s;
  }
  .menu-toggle span{transition:transform .2s ease}
  .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3px) rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3px) rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){
  .header .nav #navigation,.menu-toggle span{transition:none}
}

/* Keep the utility switch and the primary navigation together while scrolling. */
html:has(.site-masthead){--masthead-height:136px;scroll-padding-top:calc(var(--masthead-height) + 12px)}
.site-masthead{position:sticky;top:0;z-index:30}
.site-masthead .header{position:relative;top:auto}
body .hp-section-nav{top:var(--masthead-height)}
body .hosting-product section[id]{scroll-margin-top:54px}
body .legal-document :is(.legal-section,.legal-content h3,.legal-content h4){scroll-margin-top:0}
body .legal-document .legal-sidebar,body .order-summary,body .purchase-box{top:calc(var(--masthead-height) + 12px)}
@media print{.site-masthead{display:none}}

