/* Hendrix Gardens: self-contained logo animation on every page. */
.hg-site-header {
 --hg-gold:#C08E00;
}
/* SVG paths use pathLength=1, so animation requires no JavaScript measurements. */
.hg-site-header .draw-line {
 stroke-dasharray:1 !important;
 stroke-dashoffset:1;
 animation:hg-draw 3.65s cubic-bezier(.4,.02,.3,1) both;
}
.hg-site-header .draw-line:nth-of-type(1) {animation-delay:.08s;animation-duration:3.65s;}
.hg-site-header .draw-line:nth-of-type(2) {animation-delay:.55s;animation-duration:3.05s;}
.hg-site-header .draw-line:nth-of-type(3) {animation-delay:.8s;animation-duration:2.95s;}
@keyframes hg-draw {from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.hg-site-header .wordmark {opacity:1;animation:hg-appear .65s ease 4.05s both;}
@keyframes hg-appear {from{opacity:0}to{opacity:1}}
@media (min-width:992px) and (prefers-reduced-motion:no-preference) {
 .hg-site-header .hg-main-nav {opacity:1;animation:hg-appear .8s ease 5.1s both;}
}
/* Hand-drawn, gently curved menu underlines. */
.hg-site-header .hg-hover-curve path {
 stroke-dasharray:160;stroke-dashoffset:160;
 transition:stroke-dashoffset .65s cubic-bezier(.32,.05,.3,1);
}
.hg-site-header .nav-link:hover .hg-hover-curve path,
.hg-site-header .nav-link:focus-visible .hg-hover-curve path {stroke-dashoffset:0;}
@media (prefers-reduced-motion:reduce) {
 .hg-site-header .draw-line {animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;}
 .hg-site-header .wordmark,.hg-site-header .hg-main-nav {animation:none!important;opacity:1!important;}
 .hg-site-header .hg-hover-curve path {transition:none!important;}
}

/* ===== Homepage-only full-screen logo introduction ===== */
.hg-intro{display:none;position:fixed;inset:0;z-index:99999;background:#17263a;align-items:center;justify-content:center;opacity:1;visibility:visible;pointer-events:auto;}
html.hg-intro-playing .hg-intro{display:flex;}
.hg-intro-art{width:min(1450px,96vw);margin:auto;line-height:0;}
.hg-intro-logo{display:block;width:100%;height:auto;overflow:visible;}
.hg-intro-logo .hg-wordmark-mobile-wrap{transform:none!important;}
/* Intro paths are measured and drawn directly by site.js. */
.hg-intro-logo .draw-line{animation:none!important;visibility:hidden;}
html.hg-intro-playing .hg-intro-logo .draw-line.hg-trace-ready{visibility:visible;}
.hg-intro-logo .wordmark{opacity:0;animation:hg-appear .75s ease 3.45s both!important;}
html.hg-intro-fading .hg-intro{opacity:0;transition:opacity 1.65s ease-in-out;pointer-events:none;}
/* Only the homepage header is static. Inner-page header animations remain unchanged. */
.home-page .hg-site-header .draw-line{animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;}
.home-page .hg-site-header .wordmark,.home-page .hg-site-header .hg-main-nav{animation:none!important;opacity:1!important;}
/* Mobile intro: original side-by-side vector logo, shorter curves and enlarged original wordmark. */
.hg-intro-logo-mobile{display:none;}
@media(max-width:600px){
 .hg-intro{overflow:hidden;}
 .hg-intro-art{width:min(96vw,680px);max-width:none;flex:0 1 auto;position:relative;left:auto;}
 .hg-intro-logo-desktop{display:none;}
 .hg-intro-logo-mobile{display:block;}
}
@media(prefers-reduced-motion:reduce){html.hg-intro-playing .hg-intro{display:none!important;}.hg-intro-logo .draw-line,.hg-intro-logo .wordmark{animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;opacity:1!important;}}

/* Mobile opening logo: give the fine gold curves the same visual strength as the solid lettering.
   Both remain the exact brand gold #C08E00. Desktop and header logos are untouched. */
@media (max-width:600px){
  .hg-intro-logo-mobile path.draw-line{stroke:#C08E00!important;stroke-width:4.35!important;}
}
