/* Shared styles for the harbour theme pages (it, nature, photography, return_to_harbour) — loaded after base.css */
/* ---------- Base (harbour variant) ---------- */
/* Final menu current-state refinement */
/* =======================================================
   HARBOUR PNG ICON FIX
   Uses the Behind The Sail harbour.png icon and wider menu.
======================================================= */
/* ---------- Behind the sail popup ---------- */
@property --sail-popup-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
/* ---------- Leaving harbour layout ---------- */
html,body{min-height:100%}
body{margin:0;min-height:100vh;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;color:#fff}
body:after{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 24%,rgba(214,238,214,.10),transparent 30%),linear-gradient(180deg,rgba(23,64,43,.05),rgba(7,26,22,.16));mix-blend-mode:multiply;z-index:0}
/* Keep original menu, only make Nature current status clearly readable */
.header{position:relative;z-index:2;padding:16px 56px 4px;display:flex;justify-content:center}
.logo-stage{position:relative;display:inline-grid;place-items:center;isolation:isolate;padding:18px 34px}
.logo{width:clamp(210px,25vw,360px);height:auto;z-index:2;animation:logoBreathing 7.8s ease-in-out infinite;filter:drop-shadow(0 12px 20px rgba(47,83,24,.10))}
@keyframes logoBreathing{0%,100%{transform:scale(1);opacity:.93}50%{transform:scale(1.072);opacity:1;filter:drop-shadow(0 22px 38px rgba(90,143,36,.25))}}
.fireflies{position:absolute;inset:-70px -100px;z-index:1;pointer-events:none}
.firefly{position:absolute;width:6px;height:6px;border-radius:999px;background:rgba(206,226,145,.74);box-shadow:0 0 8px rgba(196,226,145,.55),0 0 18px rgba(90,143,36,.28);animation:fly 8s ease-in-out infinite,pulse 3.8s ease-in-out infinite}
.firefly:nth-child(1){left:26%;top:41%;animation-delay:-0.7s,-0.3s;animation-duration:9s,3.7s}
.firefly:nth-child(2){left:49%;top:78%;animation-delay:-1.3s,-0.6s;animation-duration:10s,4.1s}
.firefly:nth-child(3){left:72%;top:27%;animation-delay:-2.0s,-0.9s;animation-duration:11s,4.6s}
.firefly:nth-child(4){left:95%;top:64%;animation-delay:-2.7s,-1.2s;animation-duration:12s,3.2s}
.firefly:nth-child(5){left:24%;top:13%;animation-delay:-3.4s,-1.6s;animation-duration:8s,3.7s}
.firefly:nth-child(6){left:47%;top:50%;animation-delay:-4.0s,-1.9s;animation-duration:9s,4.1s}
.firefly:nth-child(7){left:70%;top:87%;animation-delay:-4.7s,-2.2s;animation-duration:10s,4.6s}
.firefly:nth-child(8){left:93%;top:36%;animation-delay:-5.4s,-2.5s;animation-duration:11s,3.2s}
.firefly:nth-child(9){left:22%;top:73%;animation-delay:-6.0s,-2.8s;animation-duration:12s,3.7s}
.firefly:nth-child(10){left:45%;top:22%;animation-delay:-6.7s,-3.1s;animation-duration:8s,4.1s}
.firefly:nth-child(11){left:68%;top:59%;animation-delay:-0.4s,-3.4s;animation-duration:9s,4.6s}
.firefly:nth-child(12){left:91%;top:8%;animation-delay:-1.0s,-3.7s;animation-duration:10s,3.2s}
.firefly:nth-child(13){left:20%;top:45%;animation-delay:-1.7s,-0.0s;animation-duration:11s,3.7s}
.firefly:nth-child(14){left:43%;top:82%;animation-delay:-2.4s,-0.3s;animation-duration:12s,4.1s}
.firefly:nth-child(15){left:66%;top:31%;animation-delay:-3.1s,-0.7s;animation-duration:8s,4.6s}
.firefly:nth-child(16){left:89%;top:68%;animation-delay:-3.7s,-1.0s;animation-duration:9s,3.2s}
.firefly:nth-child(17){left:18%;top:17%;animation-delay:-4.4s,-1.3s;animation-duration:10s,3.7s}
.firefly:nth-child(18){left:41%;top:54%;animation-delay:-5.1s,-1.6s;animation-duration:11s,4.1s}
.firefly:nth-child(19){left:64%;top:91%;animation-delay:-5.7s,-1.9s;animation-duration:12s,4.6s}
.firefly:nth-child(20){left:87%;top:40%;animation-delay:-6.4s,-2.2s;animation-duration:8s,3.2s}
.firefly:nth-child(21){left:16%;top:77%;animation-delay:-0.1s,-2.5s;animation-duration:9s,3.7s}
.firefly:nth-child(22){left:39%;top:26%;animation-delay:-0.7s,-2.8s;animation-duration:10s,4.1s}
.firefly:nth-child(23){left:62%;top:63%;animation-delay:-1.4s,-3.1s;animation-duration:11s,4.6s}
.firefly:nth-child(24){left:85%;top:12%;animation-delay:-2.1s,-3.4s;animation-duration:12s,3.2s}
.firefly:nth-child(25){left:14%;top:49%;animation-delay:-2.8s,-3.8s;animation-duration:8s,3.7s}
.firefly:nth-child(26){left:37%;top:86%;animation-delay:-3.4s,-0.1s;animation-duration:9s,4.1s}
.firefly:nth-child(27){left:60%;top:35%;animation-delay:-4.1s,-0.4s;animation-duration:10s,4.6s}
.firefly:nth-child(28){left:83%;top:72%;animation-delay:-4.8s,-0.7s;animation-duration:11s,3.2s}
.firefly:nth-child(29){left:12%;top:21%;animation-delay:-5.4s,-1.0s;animation-duration:12s,3.7s}
.firefly:nth-child(30){left:35%;top:58%;animation-delay:-6.1s,-1.3s;animation-duration:8s,4.1s}
.firefly:nth-child(31){left:58%;top:7%;animation-delay:-6.8s,-1.6s;animation-duration:9s,4.6s}
.firefly:nth-child(32){left:81%;top:44%;animation-delay:-0.4s,-1.9s;animation-duration:10s,3.2s}
.firefly:nth-child(33){left:10%;top:81%;animation-delay:-1.1s,-2.2s;animation-duration:11s,3.7s}
.firefly:nth-child(34){left:33%;top:30%;animation-delay:-1.8s,-2.5s;animation-duration:12s,4.1s}
.firefly:nth-child(35){left:56%;top:67%;animation-delay:-2.5s,-2.8s;animation-duration:8s,4.6s}
.firefly:nth-child(36){left:79%;top:16%;animation-delay:-3.1s,-3.2s;animation-duration:9s,3.2s}
.firefly:nth-child(37){left:8%;top:53%;animation-delay:-3.8s,-3.5s;animation-duration:10s,3.7s}
.firefly:nth-child(38){left:31%;top:90%;animation-delay:-4.5s,-3.8s;animation-duration:11s,4.1s}
.firefly:nth-child(39){left:54%;top:39%;animation-delay:-5.1s,-0.1s;animation-duration:12s,4.6s}
.firefly:nth-child(40){left:77%;top:76%;animation-delay:-5.8s,-0.4s;animation-duration:8s,3.2s}
@keyframes fly{0%,100%{transform:translate3d(0,0,0) scale(.72)}30%{transform:translate3d(10px,-16px,0)}65%{transform:translate3d(-8px,10px,0) scale(1.05)}}
@keyframes pulse{0%,100%{opacity:.18}45%{opacity:.88}70%{opacity:.34}}
main{position:relative;z-index:2;flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:30px 6vw 120px;min-height:0}
.content{width:min(680px,92vw);animation:quietFadeIn 1.8s ease both}
@keyframes quietFadeIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
h1{font-family:"Harbour Serif",Georgia,"Times New Roman",serif;font-size:clamp(36px,5vw,60px);font-weight:400;letter-spacing:.04em;text-shadow:0 20px 55px rgba(0,0,0,.25);margin:0}
.message{margin:12px auto 0;color:rgba(255,255,255,.84);font-size:clamp(14px,1.55vw,17px);font-weight:300}
.message strong{font-weight:400;color:#fff}
.transition{width:min(360px,86vw);margin:22px auto 0}
.trail-awaits{margin:0 auto 14px;color:rgba(255,255,255,.76);font-family:"Harbour Serif",Georgia,"Times New Roman",serif;font-size:clamp(12px,1.05vw,15px);font-style:italic;letter-spacing:.08em;animation:trailGlow 6.4s ease-in-out infinite}
@keyframes trailGlow{0%,100%{opacity:.54;transform:translateY(0)}50%{opacity:1;transform:translateY(-1px);text-shadow:0 0 10px rgba(223,240,204,.46),0 0 20px rgba(90,143,36,.22)}}
@keyframes fill{to{width:100%}}
.seconds-line{margin-top:11px;color:rgba(255,255,255,.76);font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.seconds-line span{color:#fff}
.final-message{margin-top:10px;color:rgba(255,255,255,.84);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;opacity:0;transform:translateY(6px);transition:.7s}
.final-message.is-visible{opacity:1;transform:none}
.site-footer{position:relative!important;z-index:2!important;padding:26px 20px!important;margin-top:0!important;text-align:center!important;background:transparent!important;overflow:visible!important}
.site-footer:before{display:none!important}
.footer-copy{margin:0!important;color:rgba(255,255,255,.96)!important;font-size:13px!important;letter-spacing:.24em!important;text-transform:uppercase!important;text-shadow:0 2px 10px rgba(0,0,0,.25)!important}
.footer-tagline{margin:8px 0 0!important;color:rgba(255,255,255,.78)!important;font-size:11px!important;letter-spacing:.26em!important;text-transform:uppercase!important}
/* Forest sounds button restored, separate from original menu audio framework */
.forest-sound-toggle{position:fixed;left:24px;bottom:24px;z-index:1001;display:inline-flex;align-items:center;gap:12px;min-height:54px;padding:8px 18px 8px 12px;border-radius:999px;border:1px solid rgba(223,240,204,.42);background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(255,255,255,.16)),linear-gradient(135deg,rgba(47,83,24,.28),rgba(90,143,36,.16));color:#fff;backdrop-filter:blur(14px);box-shadow:0 20px 54px rgba(7,17,28,.22),0 0 34px rgba(223,240,204,.14),inset 0 1px 0 rgba(255,255,255,.20);cursor:pointer;overflow:hidden;isolation:isolate;animation:forestReadyBounce 5.2s ease-in-out infinite;transform-origin:left bottom}
.forest-sound-toggle:before{content:"";position:absolute;inset:-60% auto -60% -40%;width:44%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);transform:skewX(-18deg);animation:forestReadySheen 4.8s ease-in-out infinite;z-index:-1}
.forest-sound-toggle:hover{animation-play-state:paused;transform:translateY(-2px) scale(1.015)}
.forest-sound-orb{width:31px;height:31px;display:grid;place-items:center;border-radius:999px;background:radial-gradient(circle,rgba(223,240,204,.26),rgba(90,143,36,.14) 58%,rgba(255,255,255,.10));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 18px rgba(223,240,204,.16);position:relative;flex:0 0 31px}
.forest-sound-orb:before{content:"";position:absolute;inset:-5px;border-radius:999px;border:1px solid rgba(223,240,204,.22);animation:forestRing 2.8s ease-in-out infinite}
.forest-sound-dot{width:9px;height:9px;border-radius:999px;background:#dff0cc;box-shadow:0 0 0 4px rgba(223,240,204,.12),0 0 18px rgba(223,240,204,.74),0 0 34px rgba(90,143,36,.30);animation:forestDotPulse 2.4s ease-in-out infinite}
.forest-sound-copy{display:grid;gap:3px;text-align:left;line-height:1}
.forest-sound-text{font-size:11px;font-weight:950;letter-spacing:.18em;text-transform:uppercase;text-shadow:0 2px 12px rgba(0,0,0,.20)}
.forest-sound-hint{font-family:"Harbour Serif",Georgia,"Times New Roman",serif;font-size:11px;font-style:italic;color:rgba(255,255,255,.72);letter-spacing:.04em;white-space:nowrap}
.forest-sound-toggle.is-on{animation:none;background:linear-gradient(135deg,rgba(223,240,204,.31),rgba(255,255,255,.15)),linear-gradient(135deg,rgba(47,83,24,.38),rgba(90,143,36,.28))}
.forest-sound-toggle.is-on .forest-sound-hint{display:none}
@keyframes forestReadyBounce{0%,72%,100%{transform:translateY(0) scale(1)}76%{transform:translateY(-7px) scale(1.018)}80%{transform:translateY(0) scale(.996)}84%{transform:translateY(-3px) scale(1.008)}88%{transform:translateY(0) scale(1)}}
@keyframes forestReadySheen{0%,58%,100%{transform:translateX(0) skewX(-18deg);opacity:0}18%{opacity:.52}38%{transform:translateX(430%) skewX(-18deg);opacity:0}}
@keyframes forestRing{0%,100%{transform:scale(.92);opacity:.42}50%{transform:scale(1.11);opacity:.88}}
@keyframes forestDotPulse{0%,100%{transform:scale(.88);opacity:.70}50%{transform:scale(1.22);opacity:1}}
@media(max-width:768px){
  .forest-sound-toggle{left:16px;bottom:16px;min-height:48px;padding:7px 13px 7px 10px;gap:9px}
  .forest-sound-text{font-size:11px}
  .forest-sound-hint{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .logo,.firefly,.trail-awaits,.forest-sound-toggle,.forest-sound-toggle:before,.forest-sound-orb:before,.forest-sound-dot{animation:none!important}
}
