/* Tiny Tree Heroes shared theme + shell (live strip, menu, phone menu, journey bar, footer, cookie notice).
   Used by React pages and static pages through /shell.js. Every shell class is prefixed tth- . */
:root{
  --green-dark:#2F6B3A;--green-deep:#1F3A24;--green-mid:#5FA03A;--green-leaf:#8CC63F;--green-pale:#B9DC8E;
  --green-mist:#EEF6E4;--green-wash:#F5FAEF;--red:#E5484D;--red-shadow:#B9363B;--red-tint:#FDECEC;
  --brown:#6B4A2B;--tth-sun:#FFF6DB;/* named --sun in the brief; renamed here because the existing site already uses --sun for its yellow */--page:#FBFDF8;--muted-text:#4B6450;
  --tth-display:'Baloo 2','Nunito',sans-serif;--tth-body:'Nunito',system-ui,sans-serif;
}
.tth-mount,.tth-header{display:contents}
.tth-shell,.tth-shell *{box-sizing:border-box}
.tth-shell{font-family:var(--tth-body);color:var(--green-deep);font-size:18px;line-height:1.6}
.tth-shell a{color:inherit}
.tth-shell button{font-family:inherit;cursor:pointer}
.tth-shell svg{display:block;flex:none}
.tth-ico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tth-wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 24px}
.tth-shell :focus-visible{outline:3px solid #F6C343;outline-offset:2px;box-shadow:0 0 0 5px var(--green-deep);border-radius:12px}
.tth-footer :focus-visible,.tth-strip :focus-visible{box-shadow:0 0 0 5px #fff}

/* 1 live strip */
.tth-strip{background:var(--green-dark);color:#fff;font-size:15px;line-height:1.3}
.tth-strip .tth-wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding-top:0;padding-bottom:0}
.tth-live{display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;min-width:0}
.tth-pill{background:var(--green-leaf);color:var(--green-deep);font-size:13px;font-weight:800;letter-spacing:.04em;padding:3px 11px;border-radius:999px;white-space:nowrap}
.tth-live a{font-weight:700;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.tth-live strong{font-weight:600}
.tth-adults{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;margin-left:auto}
.tth-adults span{color:#CDE8A8}
.tth-adults a{font-weight:700;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.tth-adults a:hover{text-decoration:underline}
.tth-strip[hidden],.tth-live[hidden]{display:none}

/* 2 main bar */
.tth-bar{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 6px 18px rgba(31,58,36,.10)}
.tth-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;padding-top:8px;padding-bottom:8px}
.tth-logo{display:flex;align-items:center;flex:none;border-radius:12px}
.tth-logo img{height:60px;width:auto;max-width:none}
.tth-menu{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0}
.tth-menu>li{margin:0}
.tth-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:84px;min-height:64px;padding:8px 12px 7px;border:0;border-radius:18px;background:transparent;color:var(--green-deep);font-size:16px;font-weight:800;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s}
.tth-item:hover{background:var(--green-wash)}
.tth-item.is-current,.tth-item[aria-expanded=true]{background:var(--green-mist);color:var(--green-dark)}
.tth-item .tth-label{display:inline-flex;align-items:center;gap:3px}
.tth-item .tth-chev{width:12px;height:12px;stroke-width:3;transition:transform .15s}
.tth-item[aria-expanded=true] .tth-chev{transform:rotate(180deg)}
.tth-line{display:block;width:22px;height:4px;border-radius:4px;background:transparent}
.tth-item.is-current .tth-line{background:var(--red)}
.tth-dot{position:absolute;top:6px;right:9px;width:10px;height:10px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px #fff}
.tth-btn-red{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:14px 26px;border-radius:999px;background:var(--red);color:#fff!important;font-family:var(--tth-body);font-size:19px;font-weight:800;line-height:1.1;text-decoration:none!important;box-shadow:0 5px 0 var(--red-shadow);border:0;transition:transform .12s,box-shadow .12s;white-space:nowrap}
.tth-btn-red:hover{transform:translateY(2px);box-shadow:0 3px 0 var(--red-shadow)}
.tth-btn-red:active{transform:translateY(5px);box-shadow:0 0 0 var(--red-shadow)}
.tth-btn-red .tth-ico{width:20px;height:20px}
.tth-join{flex:none}
.tth-burger{display:none;align-items:center;gap:8px;min-height:48px;padding:8px 18px;border:2px solid var(--green-dark);border-radius:999px;background:#fff;color:var(--green-dark);font-size:17px;font-weight:800}

/* dropdown panel */
.tth-panel-host{position:absolute;left:0;right:0;top:100%;display:flex;justify-content:center;pointer-events:none;padding:10px 24px 0}
.tth-panel{pointer-events:auto;width:100%;max-width:1192px;background:#fff;border:2px solid #E4F0D8;border-radius:28px;box-shadow:0 30px 70px rgba(31,58,36,.22);padding:28px;display:grid;grid-template-columns:2fr 1fr;gap:28px;animation:tth-drop .18s ease-out}
.tth-panel[hidden]{display:none}
/* Keep the menu opaque throughout its entrance so page text never bleeds through. */
@keyframes tth-drop{from{transform:translateY(-8px)}to{transform:none}}
.tth-panel h2{font-family:var(--tth-display);font-weight:800;font-size:26px;line-height:1.2;color:var(--green-dark);margin:2px 0 16px}
.tth-tiles{display:grid;grid-template-columns:1fr 1fr;gap:14px;list-style:none;margin:0;padding:0}
.tth-tile{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:start;min-height:64px;height:100%;padding:14px 18px;border-radius:18px;background:var(--green-wash);text-decoration:none;color:var(--green-deep);transition:background .15s,transform .15s}
.tth-tile:hover{background:var(--green-mist);transform:translateY(-2px)}
.tth-tile b{display:block;font-size:18px;font-weight:800;line-height:1.25}
.tth-tile .tth-d{display:block;font-size:14px;line-height:1.4;color:var(--muted-text)}
.tth-leafdot{width:11px;height:11px;margin-top:7px;border-radius:50% 0 50% 0;background:var(--green-dark)}
.tth-leafdot.c1{background:var(--green-mid)}.tth-leafdot.c2{background:var(--red)}.tth-leafdot.c3{background:var(--brown)}
.tth-feature{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:230px;padding:26px;border-radius:22px;background:var(--green-dark);color:#fff}
.tth-feature .tth-kicker{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--green-leaf)}
.tth-feature .tth-big{font-family:var(--tth-display);font-weight:800;font-size:26px;line-height:1.15;margin:6px 0 8px;max-width:75%}
.tth-feature p{margin:0;font-size:16px;max-width:65%}
.tth-feature a.tth-cta{position:relative;z-index:1;align-self:flex-start;margin-top:22px;color:#fff;font-weight:800;font-size:16px;text-decoration:underline;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}
.tth-feature img{position:absolute;right:-6px;bottom:-4px;width:112px;height:auto;pointer-events:none}

/* 3 phone menu */
.tth-overlay{position:fixed;inset:0;z-index:100;background:var(--page);overflow-y:auto;overscroll-behavior:contain;display:none;flex-direction:column}
.tth-overlay.is-open{display:flex}
.tth-overlay-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#fff;box-shadow:0 4px 12px rgba(31,58,36,.08)}
.tth-overlay-top .tth-logo img{height:48px}
.tth-close{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:2px solid var(--green-pale);background:var(--green-mist);color:var(--green-dark)}
.tth-ov-body{padding:16px 18px 40px;max-width:560px;width:100%;margin:0 auto;display:grid;gap:12px}
.tth-row{border-radius:18px;background:var(--green-wash);border:2px solid transparent}
.tth-row.is-open{background:var(--green-mist);border-color:var(--green-leaf)}
.tth-row-head{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:12px 16px;border:0;background:transparent;border-radius:16px;color:var(--green-deep);font-size:19px;font-weight:800;text-align:left;text-decoration:none}
.tth-row-head .tth-ico{color:var(--green-dark)}
.tth-row.is-open .tth-row-head{color:var(--green-dark)}
.tth-row-head .tth-grow{flex:1}
.tth-row-head .tth-dot{position:static;box-shadow:none}
.tth-row-head .tth-chev{width:18px;height:18px;stroke-width:3;transition:transform .15s}
.tth-row.is-open .tth-chev{transform:rotate(180deg)}
.tth-row.is-current:not(.is-open){border-color:var(--green-pale)}
.tth-sub{list-style:none;margin:0;padding:0 16px 12px 54px}
.tth-sub[hidden]{display:none}
.tth-sub a{display:flex;align-items:center;min-height:44px;font-size:17px;font-weight:700;color:var(--green-deep);text-decoration:none}
.tth-sub a:hover{text-decoration:underline}
.tth-ov-adults{border:2px dashed var(--green-pale);border-radius:18px;padding:16px 18px}
.tth-ov-adults b{display:block;font-size:16px;color:var(--green-dark);font-weight:800}
.tth-ov-adults div{display:flex;flex-wrap:wrap;gap:0 18px}
.tth-ov-adults a,.tth-ov-adults button{display:inline-flex;align-items:center;min-height:44px;font-size:17px;font-weight:700;color:var(--green-deep);text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0}
.tth-overlay .tth-btn-red{width:100%;margin-top:6px}
html.tth-lock{overflow:hidden}

/* 4 journey bar */
.tth-journey{background:var(--green-mist)}
.tth-journey .tth-wrap{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
.tth-journey-label{font-weight:800;color:var(--green-dark);font-size:16px;margin-right:2px}
.tth-journey ol{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.tth-journey a{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 18px;border-radius:999px;background:#fff;border:2px solid var(--green-pale);color:var(--green-dark);font-size:16px;font-weight:800;text-decoration:none;transition:transform .12s}
.tth-journey a:hover{transform:translateY(-2px)}
.tth-journey a[aria-current=step]{background:var(--green-dark);border-color:var(--green-dark);color:#fff}
.tth-journey a i{font-style:normal;font-family:var(--tth-display)}

/* 5 footer */
.tth-footer{margin-top:56px;color:#DCEBCD;font-size:16px;line-height:1.6;text-align:left}
.tth-hill{height:14px;background:var(--green-leaf);border-radius:0 0 50% 50%/0 0 100% 100%}
.tth-foot-body{background:var(--green-deep);padding:44px 0 0;margin-top:-1px}
.tth-foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px 44px}
.tth-foot-tile{display:inline-flex;background:transparent;border-radius:18px;padding:12px 18px;margin-bottom:20px}
.tth-foot-tile img{height:52px;width:auto;max-width:100%}
.tth-foot-lead{color:#fff;font-weight:800;font-size:19px;line-height:1.45;margin:0 0 12px;max-width:30em}
.tth-footer p{margin:0 0 14px;max-width:34em}
.tth-mail{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:800;min-height:44px}
.tth-mail .tth-ico{width:18px;height:18px}
.tth-footer h2{font-family:var(--tth-display);font-weight:800;font-size:20px;color:#fff;margin:4px 0 10px;line-height:1.3}
.tth-footer ul{list-style:none;margin:0;padding:0}
.tth-footer li a,.tth-footer li button{display:inline-flex;align-items:center;min-height:44px;color:#DCEBCD;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0;font-size:16px;font-weight:600}
.tth-footer a:hover,.tth-footer li button:hover{color:#fff}
.tth-note{margin-top:30px;background:rgba(255,255,255,.09);border-radius:20px;padding:16px 24px;font-size:15.5px}
.tth-note p{margin:0;max-width:none}
.tth-note b{color:#fff}
.tth-foot-bottom{margin-top:28px;border-top:1px solid rgba(220,235,205,.22)}
.tth-foot-bottom .tth-wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 24px;padding-top:12px;padding-bottom:max(16px,env(safe-area-inset-bottom,0px));font-size:14.5px;color:var(--green-pale)}
.tth-foot-bottom a{color:#fff;font-weight:800;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}

/* 6 cookie notice (React keeps its own provider; static pages build the same markup) */
.cookie-notice,.tth-cookie{position:relative;background:#fff;color:var(--green-deep);border:2px solid var(--green-pale);border-radius:24px;box-shadow:0 22px 56px rgba(31,58,36,.28);padding:22px 24px;max-width:460px;font-family:var(--tth-body)}
.tth-cookie{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));width:calc(100% - 32px);z-index:90;font-size:16px;line-height:1.5}
.tth-cookie h2{font-family:var(--tth-display);font-weight:800;font-size:24px;color:var(--green-dark);margin:0 0 8px;line-height:1.2;padding-right:44px}
.tth-cookie p{margin:0 0 10px}
.tth-cookie-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px}
.tth-cookie-ok{min-height:48px;padding:10px 26px;border:0;border-radius:999px;background:var(--green-dark);color:#fff;font-size:17px;font-weight:800}
.tth-cookie-actions a{color:var(--green-dark);font-weight:800;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.tth-cookie-x{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--green-mist);color:var(--green-dark)}
.tth-cookie[hidden]{display:none}

/* fallback shown only if the shared shell script cannot load */
.tth-fallback{font-family:var(--tth-body);background:#fff;color:var(--green-deep);border-bottom:3px solid var(--green-pale);padding:12px 0}
.tth-fallback .tth-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.tth-fallback a,.tth-fallback button{display:inline-flex;align-items:center;min-height:44px;font-size:17px;font-weight:800;color:var(--green-dark);text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0 4px;cursor:pointer;font-family:inherit}
.tth-fallback p{margin:0;flex:1 1 100%;font-size:16px;color:var(--muted-text)}
.tth-fallback.is-footer{background:var(--green-deep);color:#DCEBCD;margin-top:56px;padding:28px 0}
.tth-fallback.is-footer a,.tth-fallback.is-footer button{color:#fff}
.tth-fallback.is-footer p{color:#DCEBCD}

/* responsive */
@media(min-width:1080px) and (max-width:1239.98px){
  .tth-wrap{padding:0 16px}
  .tth-bar-inner{gap:10px}
  .tth-logo img{height:46px}
  .tth-menu{gap:2px}
  .tth-item{min-width:0;padding:8px 6px 7px}
  .tth-btn-red.tth-join{padding:12px 18px}
  .tth-join .tth-ico{display:none}
  .tth-panel-host{padding-left:16px;padding-right:16px}
}
@media(max-width:1079.98px){
  .tth-adults,.tth-menu,.tth-join,.tth-panel-host{display:none}
  .tth-burger{display:inline-flex}
  .tth-logo img{height:52px}
  .tth-bar-inner{min-height:72px}
  .tth-foot-grid{grid-template-columns:1fr 1fr 1fr}
  .tth-foot-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:640px){
  .tth-wrap{padding:0 18px}
  .tth-foot-grid{grid-template-columns:1fr 1fr}
  .tth-journey-label{width:100%}
  .tth-journey a{padding:8px 14px}
}
@media(max-width:380px){.tth-foot-grid{grid-template-columns:1fr}.tth-logo img{height:44px}}
@media(prefers-reduced-motion:reduce){
  .tth-panel,.tth-tile,.tth-btn-red,.tth-journey a,.tth-chev{animation:none!important;transition:none!important}
}
/* Shared chrome must not add pages around printable certificates. */
@media print{
  .tth-shell,.tth-fallback,.site-notices{display:none!important}
}
