:root{
  --bg:#ffffff;
  --bg-tint:#eef6f1;
  --green-deep:#1f5c3f;
  --green-deep2:#173f2b;
  --green:#2f8f5b;
  --green-bright:#3fae72;
  --ink:#1c2b24;
  --ink-dim:#5b6b62;
  --ink-faint:#8a9a91;
  --line:#dde8e1;
  --radius:6px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  min-height:100vh;
}
h1,h2,h3{font-family:'Manrope',sans-serif;}

/* HEADER */
.site-header{
  position:relative; z-index:5; display:flex; align-items:center; justify-content:center;
  padding:26px 24px; background:#fff; border-bottom:1px solid var(--line);
}
.site-header img{height:92px; width:auto; display:block;}
.hero{
  position:relative;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px 24px 20px;
  overflow:hidden;
  background:linear-gradient(160deg, var(--green-deep) 0%, var(--green-deep2) 100%);
  color:#fff;
}
.node-field{position:absolute; inset:0; z-index:0; opacity:.9;}
.node-field circle{fill:none; stroke:rgba(255,255,255,0.28); }
.node-field .dot{fill:rgba(255,255,255,0.55); stroke:none;}
.node-field .dot.big{fill:#ffffff;}
.node-field line{stroke:rgba(255,255,255,0.22); stroke-width:1;}
.node-field .pulse{animation:pulseDot 2.6s ease-in-out infinite;}
@keyframes pulseDot{0%,100%{opacity:.4; r:3;}50%{opacity:1; r:5;}}
.node-field .drift{animation:drift 14s ease-in-out infinite;}
@keyframes drift{0%,100%{transform:translateY(0px);}50%{transform:translateY(-14px);}}

.hero-inner{position:relative; z-index:2; max-width:720px; margin:0 auto; width:100%; display:flex; flex-direction:column; align-items:center;}
.eyebrow{
  font-size:12px; letter-spacing:0.2em; text-transform:uppercase;
  color:#bfe6cf; margin-bottom:14px;
  opacity:0; transform:translateY(8px);
  animation:rise .7s ease forwards; animation-delay:.3s;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.eyebrow .dash{width:22px; height:2px; background:#bfe6cf; display:inline-block;}
.hero h1{
  font-size:clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight:800; line-height:1.08; letter-spacing:-0.01em;
  max-width:24ch;
  opacity:0; transform:translateY(14px);
  animation:rise .8s ease forwards; animation-delay:.5s;
}
.hero p{
  margin-top:16px; font-size:16px; color:#d7ecdf; max-width:46ch; line-height:1.6;
  opacity:0; transform:translateY(10px);
  animation:rise .8s ease forwards; animation-delay:.75s;
}
.hero-scroll{
  margin-top:18px; font-size:12px; letter-spacing:0.1em; color:#bfe6cf;
  opacity:0; animation:fadeIn .8s ease forwards; animation-delay:1.2s;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.hero-scroll .stem{width:1px; height:22px; background:linear-gradient(#bfe6cf, transparent); animation:pulseStem 2s ease-in-out infinite;}
@keyframes pulseStem{0%,100%{opacity:.3;}50%{opacity:1;}}
@keyframes rise{to{opacity:1; transform:translateY(0);}}
@keyframes fadeIn{to{opacity:1;}}

/* SECTION HEADER */
.section{position:relative; z-index:1; padding:96px 24px 40px; max-width:1180px; margin:0 auto;}
.section-head{margin-bottom:52px;}
.section-head .tag{
  font-size:13px; letter-spacing:0.04em; color:var(--green); text-transform:uppercase;
  display:flex; align-items:center; gap:10px; margin-bottom:18px; font-weight:600;
}
.section-head .tag .dash{width:26px; height:3px; background:var(--green); display:inline-block; border-radius:2px;}
.section-head h2{font-size:clamp(1.7rem,3.4vw,2.6rem); font-weight:800; max-width:22ch; letter-spacing:-0.01em; color:var(--ink);}
.section-head .tag.tag-heading{
  font-family:'Manrope',sans-serif;
  font-size:clamp(1.5rem,3vw,2.3rem); font-weight:800; color:var(--ink);
  letter-spacing:0.02em; margin-bottom:8px;
}
.section-head .tag.tag-heading .dash{height:4px; width:32px;}
.section-head .sub{margin-top:14px; color:var(--ink-dim); max-width:56ch; line-height:1.6; font-size:15.5px;}

/* SOLUTIONS DIAGRAM */
.diagram-panel{
  position:relative;
  width:100%;
}
.diagram-svg{position:absolute; inset:0; width:100%; height:100%; z-index:1; overflow:visible;}
.conn-line{
  fill:none; stroke:#a9d2bc; stroke-width:1.8;
  stroke-dasharray:5 7;
  animation:flowLine 1.6s linear infinite;
  transition:stroke .25s ease, stroke-width .25s ease;
}
.conn-line.active{stroke:var(--green); stroke-width:2.4;}
@keyframes flowLine{ to{ stroke-dashoffset:-36; } }

.hub{
  position:absolute; z-index:3; transform:translate(-50%,-50%);
  border-radius:50%;
  background:#fff;
  border:1.5px solid var(--green);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px;
  text-align:center;
  box-shadow:0 6px 20px -8px rgba(31,92,63,0.3);
}
.hub .ring{position:absolute; inset:0; border-radius:50%; border:1.5px solid rgba(47,143,91,0.4); animation:hubRing 2.8s ease-out infinite;}
.hub .ring:nth-child(2){animation-delay:.9s;}
.hub .ring:nth-child(3){animation-delay:1.8s;}
@keyframes hubRing{
  0%{ transform:scale(1); opacity:.7; }
  100%{ transform:scale(1.7); opacity:0; }
}
.hub img{position:relative; z-index:2; width:76%; height:auto; display:block;}

.node{
  position:absolute; z-index:4; transform:translate(-50%,-50%);
  display:flex; flex-direction:column; align-items:center; gap:9px;
  cursor:pointer; opacity:0; transition:opacity .5s ease;
}
.node.in{opacity:1;}
.node .dot-btn{
  border-radius:50%; background:#fff;
  border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition:all .25s ease;
  box-shadow:0 4px 14px -6px rgba(28,43,36,0.18);
}
.node .dot-btn svg{stroke:var(--green-deep); transition:stroke .25s ease;}
.node:hover .dot-btn, .node:focus-visible .dot-btn, .node:active .dot-btn{
  background:var(--bg-tint); border-color:var(--green);
  box-shadow:0 0 0 8px rgba(47,143,91,0.12);
  transform:scale(1.06);
}
.node:hover .dot-btn svg{stroke:var(--green);}
.node .label{
  font-size:13.5px; font-weight:700; color:var(--ink); text-align:center; line-height:1.25;
}
.node .quick-actions{
  display:flex; gap:8px; margin-top:3px; flex-wrap:nowrap;
}
.node .qbtn{
  font-family:'Inter',sans-serif; font-size:12px; font-weight:700;
  cursor:pointer; border-radius:999px; padding:8px 13px;
  display:inline-flex; align-items:center; gap:5px; white-space:nowrap;
  transition:all .2s ease; border:1.5px solid var(--green);
}
.node .qbtn.watch{background:var(--green); color:#fff; box-shadow:0 4px 12px -5px rgba(47,143,91,0.55);}
.node .qbtn.watch:hover{background:var(--green-deep); border-color:var(--green-deep); transform:translateY(-1px);}
.node .qbtn.pdf{background:#fff; color:var(--green-deep);}
.node .qbtn.pdf:hover{background:var(--bg-tint); transform:translateY(-1px);}
.node .qbtn svg{width:12px; height:12px; stroke:currentColor;}

@media (max-width:760px){
  .node{gap:6px;}
  .node .label{font-size:11.5px;}
  .node .quick-actions{gap:6px;}
  .node .qbtn{font-size:11px; padding:6px 10px;}

  /* general mobile spacing */
  .hero{padding:20px 18px 16px;}
  .hero-scroll{margin-top:10px;}
  .hero-scroll .stem{height:14px;}
  .hero p{font-size:14px;}
  .section{padding:64px 18px 32px;}
  .section-head{margin-bottom:36px;}
  .section-head h2{font-size:1.45rem;}
  .section-head .sub{font-size:14px;}
  .site-header img{height:68px;}

}

.diagram-hint{
  position:relative; z-index:1; text-align:center; padding-top:64px; font-size:13px; color:var(--ink-faint);
}

/* MODAL */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(23,63,43,0.55); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; z-index:100;
  opacity:0; pointer-events:none; transition:opacity .25s ease; padding:24px;
}
.modal-backdrop.open{opacity:1; pointer-events:auto;}
.modal{
  background:#fff; border:1px solid var(--line); border-radius:12px; max-width:720px; width:100%;
  padding:36px; position:relative; transform:scale(.96); transition:transform .25s ease, max-width .2s ease;
  max-height:90vh; overflow-y:auto;
}
.modal.pdf-mode{max-width:960px;}
.modal-backdrop.open .modal{transform:scale(1);}
.modal-head{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px;}
.modal-head h3{margin-bottom:0;}
.modal-close{
  background:none; border:none; color:var(--ink-faint);
  font-size:20px; cursor:pointer; line-height:1; padding:4px; flex:none;
}
.modal-close:hover{color:var(--ink);}
.media-row{display:flex; gap:14px; flex-wrap:wrap; margin-top:6px;}
.media-card{
  flex:1 1 200px; min-width:180px; position:relative;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  background:var(--bg-tint); border:1.5px solid var(--line); border-radius:10px;
  padding:16px 14px; cursor:pointer; font-family:'Inter',sans-serif;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.media-card:hover{border-color:var(--green); box-shadow:0 4px 16px -8px rgba(31,92,63,0.35);}
.media-card .play-ic{
  width:48px; height:48px; border-radius:50%; background:var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:15px;
}
.media-card .media-label{font-size:14px; font-weight:700; color:var(--ink);}
.media-card .media-sub{font-size:11.5px; color:var(--ink-faint);}
.media-card .thumb{
  width:110px; border-radius:4px; overflow:hidden; background:#fff;
  border:1px solid var(--line); min-height:70px;
  display:flex; align-items:center; justify-content:center;
}
.media-card .thumb canvas{width:100%; height:auto; display:block;}
.dl-ic{
  position:absolute; top:8px; right:8px; width:30px; height:30px; border-radius:6px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--green-deep); background:#fff; border:1px solid var(--line);
  transition:background .2s ease, color .2s ease;
}
.dl-ic:hover{background:var(--green); color:#fff;}
.dl-ic svg{width:15px; height:15px; stroke:currentColor;}
@media (max-width:760px){
  .modal{padding:18px 16px;}
  .modal-head h3{font-size:17px;}
  .modal .desc-full{font-size:13.5px; margin-bottom:14px;}
}

/* FULL-SCREEN CONTENT VIEWER */
.fs-viewer{
  position:fixed; inset:0; z-index:300; background:#0e1f16;
  display:none; flex-direction:column;
}
.fs-viewer.open{display:flex;}
.fs-bar{
  display:flex; align-items:center; gap:6px; padding:10px 14px;
  background:rgba(0,0,0,0.4); color:#fff; flex:none;
}
.fs-title{
  flex:1; font-family:'Manrope',sans-serif; font-size:14px; font-weight:700;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.fs-ibtn{
  background:none; border:none; color:#fff; cursor:pointer; padding:8px;
  display:inline-flex; align-items:center; justify-content:center; border-radius:8px;
  text-decoration:none;
}
.fs-ibtn:hover{background:rgba(255,255,255,0.14);}
.fs-ibtn svg{width:20px; height:20px; stroke:currentColor;}
.fs-body{flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch;}
.fs-body.video{display:flex; align-items:center; justify-content:center; padding:0; overflow:hidden;}
.fs-video{width:100%; height:100%; max-width:100%; display:flex; align-items:center; justify-content:center;}
.fs-video iframe{width:100%; height:100%; border:0;}
.fs-video.vertical iframe{max-width:min(100%, calc(100vh * 9 / 16)); margin:0 auto;}
.fs-body.pdf{padding:14px; text-align:center;}
.fs-body.pdf canvas{max-width:100%; height:auto; margin:0 auto 12px; display:block; box-shadow:0 2px 14px rgba(0,0,0,0.45); border-radius:2px; background:#fff;}
.fs-body .pdf-loading{padding:50px 0; font-size:13px; color:#cfe4d7;}

.guide-media{display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; margin-top:4px;}
.guide-media-item{cursor:pointer; display:flex; flex-direction:column; gap:8px;}
.guide-media-item:hover .guide-thumb, .guide-media-item:hover .guide-video-thumb{border-color:var(--green);}
.guide-media-label{font-size:12px; font-weight:600; color:var(--green-deep);}
.guide-video-thumb{
  position:relative; width:160px; border-radius:6px; overflow:hidden;
  border:1px solid var(--line); background:#000;
}
.guide-video-thumb img{width:100%; display:block;}
.play-badge{
  position:absolute; inset:0; margin:auto; width:38px; height:38px; border-radius:50%;
  background:rgba(0,0,0,0.55); color:#fff; display:flex; align-items:center; justify-content:center;
}
.play-badge svg{margin-left:2px;}
.guide-thumb{
  width:96px; border-radius:6px; overflow:hidden; background:#fff;
  border:1px solid var(--line); min-height:62px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.guide-thumb canvas{width:100%; height:auto; display:block;}
.modal .idx{font-size:12px; color:var(--green); margin-bottom:10px; display:block; font-weight:700; letter-spacing:.05em;}
.modal h3{font-size:24px; margin-bottom:14px; font-weight:800;}
.video-frame{
  width:100%; aspect-ratio:16/9; background:var(--bg-tint); border:1px solid var(--line); border-radius:8px;
  display:flex; align-items:center; justify-content:center; margin:20px 0; position:relative; overflow:hidden;
}
.video-frame iframe{width:100%; height:100%; border:0; display:block;}
.video-frame.vertical{aspect-ratio:9/16; max-width:340px; margin-left:auto; margin-right:auto;}
.video-frame .play{
  width:56px; height:56px; border-radius:50%; background:var(--green);
  display:flex; align-items:center; justify-content:center; color:#fff;
  font-size:14px; z-index:2;
}
.video-frame .placeholder-label{position:absolute; bottom:14px; left:14px; font-size:11px; color:var(--ink-faint);}
.modal .desc-full{color:var(--ink-dim); font-size:14.5px; line-height:1.7; margin-bottom:22px;}
.pdf-frame{
  width:100%; max-height:78vh; overflow-y:auto; border:1px solid var(--line); border-radius:8px; margin:20px 0;
  background:var(--bg-tint); padding:12px; text-align:center;
}
.pdf-frame canvas{max-width:100%; height:auto; margin-bottom:10px; box-shadow:0 2px 10px -4px rgba(0,0,0,0.25); border-radius:2px;}
.pdf-frame .pdf-loading{padding:40px 0; font-size:13px; color:var(--ink-dim);}
.btn{
  font-family:'Inter',sans-serif; font-weight:600; font-size:13px; letter-spacing:0.01em;
  color:var(--green-deep); background:transparent; border:none;
  text-decoration:underline; text-underline-offset:3px;
  display:inline-flex; align-items:center; gap:7px; cursor:pointer; padding:0;
  transition:color .2s ease;
}
.btn .arrow{
  width:20px; height:20px; border-radius:50%; background:var(--green);
  display:inline-flex; align-items:center; justify-content:center; color:#fff; font-size:10px;
  transition:transform .2s ease, background .2s ease;
}
.btn:hover{color:var(--green);}
.btn:hover .arrow{transform:translateX(2px); background:var(--green-deep);}

/* FOOTER */
footer{
  position:relative; z-index:1; padding:52px 24px 40px; text-align:center;
  border-top:1px solid var(--line); margin-top:60px; background:var(--bg-tint);
}
footer .footer-inner{max-width:640px; margin:0 auto;}
footer .footer-logo{height:22px; width:auto; margin-bottom:18px; opacity:.85;}
footer p{font-size:12px; color:var(--ink-faint); line-height:1.7; margin-bottom:10px;}
footer .copyright{font-size:12px; font-weight:600; color:var(--ink-dim); margin-bottom:14px;}
.contact-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:22px;}
.vcard-btn{display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border:1px solid var(--green-deep); border-radius:999px; background:var(--green-deep); color:#fff; font-size:12px; font-weight:600; text-decoration:none; transition:opacity .2s;}
.vcard-btn:hover{opacity:.85;}
.vcard-btn.outline{background:transparent; color:var(--green-deep); transition:background .2s,color .2s;}
.vcard-btn.outline:hover{background:var(--green-deep); color:#fff; opacity:1;}

/* GUIDE WIDGET */
.guide-card{
  background:var(--bg-tint); border:1px solid var(--line); border-radius:16px;
  padding:36px 30px; max-width:680px; margin:0 auto;
}
.guide-bubble{
  display:flex; gap:14px; align-items:flex-start;
}
.guide-avatar{
  width:38px; height:38px; border-radius:50%; background:var(--green-deep); flex:none;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.guide-avatar img{width:100%; height:100%; object-fit:cover;}
.guide-msg{
  background:#fff; border:1px solid var(--line); border-radius:12px 12px 12px 2px;
  padding:14px 18px; font-size:14.5px; line-height:1.55; color:var(--ink); max-width:100%;
}
.guide-options{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; margin-left:52px;
}
.guide-opt{
  font-family:'Inter',sans-serif; font-weight:600; font-size:13.5px; color:var(--green-deep);
  background:#fff; border:1.5px solid var(--green); border-radius:999px; padding:9px 16px;
  cursor:pointer; transition:all .2s ease;
}
.guide-opt:hover{background:var(--green); color:#fff;}
.guide-result{margin-top:18px; margin-left:52px; display:none;}
.guide-result.show{display:block;}
.guide-result-card{
  background:#fff; border:1.5px solid var(--green); border-radius:12px; padding:20px;
}
.guide-result-card .rtag{font-size:11.5px; font-weight:700; color:var(--green); letter-spacing:.04em; text-transform:uppercase;}
.guide-result-card h4{font-size:17px; font-weight:800; margin:6px 0 8px;}
.guide-result-card p{font-size:13.5px; color:var(--ink-dim); line-height:1.5; margin-bottom:16px;}
.guide-result-card .actions{display:flex; gap:10px; flex-wrap:wrap;}
.guide-restart{
  margin-top:12px; margin-left:52px; font-size:12.5px; color:var(--ink-faint); background:none;
  border:none; cursor:pointer; text-decoration:underline;
}
.meeting-card{
  background:var(--bg-tint); border:1px solid var(--line); border-radius:16px;
  padding:44px 32px; text-align:center;
}
.meeting-card .sub{margin-left:auto; margin-right:auto;}
.calendly-wrap{
  margin-top:30px; border-radius:12px; overflow:hidden; border:1px solid var(--line);
  background:#fff; text-align:left;
}
.meeting-fallback{
  margin-top:16px; font-size:13px; color:var(--ink-dim);
}
.meeting-fallback a{color:var(--green-deep); font-weight:600;}

@media (max-width:760px){
  /* guide section: mimic the desktop layout, just compact */
  .guide-card{padding:22px 16px;}
  .guide-msg{font-size:14px; padding:12px 14px;}
  .guide-options{margin-left:0; gap:8px;}
  .guide-opt{
    font-size:13px; padding:9px 14px; border-radius:14px;
    text-align:left; line-height:1.35; width:100%;
  }
  .guide-result{margin-left:0;}
  .guide-restart{margin-left:0;}
  .guide-result-card .actions{flex-direction:column;}
  .guide-result-card .actions .qbtn,
  .guide-result-card .actions a,
  .guide-result-card .actions button{justify-content:center;}
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}

/* TDD TODAY: two-column overview */
.ov-grid{display:grid; grid-template-columns:var(--grid-cols, 2fr 1fr); gap:28px; align-items:stretch;}
.ov-col{
  background:var(--bg-tint); border:1px solid var(--line); border-radius:16px;
  padding:26px 24px 24px; display:flex; flex-direction:column;
}
.ov-col-title{
  font-family:'Manrope',sans-serif; font-size:clamp(1.1rem,1.7vw,1.35rem); font-weight:800;
  color:var(--ink); line-height:1.3; margin-bottom:20px; letter-spacing:-0.005em;
  display:flex; gap:12px; align-items:flex-start;
}
.ov-col-title .dash{flex:none; width:26px; height:4px; background:var(--green); border-radius:2px; margin-top:.6em;}
.ov-items{display:grid; grid-template-columns:repeat(var(--cols,1), minmax(0,1fr)); gap:18px; flex:1;}
.ov-item{
  background:#fff; border:1.5px solid var(--line); border-radius:12px; overflow:hidden;
  display:flex; flex-direction:column; cursor:pointer; position:relative;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  text-align:left; font-family:'Inter',sans-serif; padding:0;
}
.ov-item:hover, .ov-item:focus-visible{border-color:var(--green); box-shadow:0 8px 24px -12px rgba(31,92,63,0.45); transform:translateY(-2px); outline:none;}
.ov-thumb{aspect-ratio:16/9; background:#f4f7f5; border-bottom:1px solid var(--line); overflow:hidden;}
.ov-thumb img, .ov-thumb video{width:100%; height:100%; object-fit:cover; display:block; pointer-events:none;}
.ov-body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:4px; flex:1;}
.ov-label{font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--green);}
.ov-name{font-family:'Manrope',sans-serif; font-size:15.5px; font-weight:800; color:var(--ink); line-height:1.3;}
.ov-cta{margin-top:auto; padding-top:10px; font-size:12.5px; font-weight:600; color:var(--green-deep); display:flex; align-items:center; gap:6px;}
.ov-item .dl-ic{top:10px; right:10px;}
@media (max-width:900px){
  .ov-grid{grid-template-columns:1fr; gap:20px;}
}
@media (max-width:560px){
  .ov-col{padding:20px 16px 18px;}
  .ov-col .ov-items{--cols:1 !important;}
  .ov-name{font-size:15px;}
}

/* full-screen slide image */
.fs-body.image{display:flex; align-items:center; justify-content:center; padding:14px; overflow:auto;}
.fs-body.image img{max-width:100%; max-height:100%; height:auto; display:block; background:#fff; box-shadow:0 2px 14px rgba(0,0,0,0.45); border-radius:2px; cursor:zoom-in;}
.fs-body.image.zoomed{display:block;}
.fs-body.image.zoomed img{max-width:none; max-height:none; width:2400px; cursor:zoom-out;}
.fs-hint{position:absolute; bottom:14px; left:50%; transform:translateX(-50%); font-size:12px; color:#cfe4d7; background:rgba(0,0,0,0.45); padding:6px 12px; border-radius:20px; pointer-events:none;}

.guide-slide-thumb{width:200px; border-radius:6px; overflow:hidden; border:1px solid var(--line); background:#fff;}
.guide-slide-thumb img{width:100%; display:block;}
.guide-media-item:hover .guide-slide-thumb{border-color:var(--green);}
.guide-dl{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:var(--green-deep); text-decoration:none; align-self:flex-end; padding:6px 0;}
.guide-dl svg{width:14px; height:14px; stroke:currentColor;}
.guide-dl:hover{color:var(--green);}

#fbToggle{
  position:fixed; bottom:22px; right:22px; z-index:9000;
  display:flex; align-items:center; gap:8px;
  background:#1b5e3a; color:#fff; border:none; border-radius:28px;
  padding:12px 20px; font-family:inherit; font-size:14px; font-weight:600;
  cursor:pointer; box-shadow:0 6px 20px rgba(0,0,0,0.25);
  transition:background 0.2s, transform 0.15s;
}
#fbToggle:hover{transform:translateY(-2px);}
#fbToggle.active{background:#c0392b;}
body.fb-mode [data-fb-label]{
  outline:2px dashed rgba(27,94,58,0.55); outline-offset:-2px;
  cursor:pointer; position:relative;
}
body.fb-mode [data-fb-label]:hover{
  outline-color:#1b5e3a; outline-style:solid;
  box-shadow:inset 0 0 0 9999px rgba(27,94,58,0.07);
}
#fbBanner{
  position:fixed; top:14px; left:50%; transform:translateX(-50%); z-index:9000;
  background:#123b26; color:#e7f1ea; font-size:13px; padding:9px 20px;
  border-radius:20px; box-shadow:0 4px 14px rgba(0,0,0,0.25); display:none;
}
body.fb-mode #fbBanner{display:block;}
#fbOverlay{
  position:fixed; inset:0; background:rgba(10,25,17,0.55); z-index:9100;
  display:none; align-items:center; justify-content:center; padding:20px;
}
#fbOverlay.open{display:flex;}
#fbModal{
  background:#fff; border-radius:14px; max-width:440px; width:100%;
  padding:26px 26px 22px; font-family:inherit; color:#16281e;
  box-shadow:0 18px 50px rgba(0,0,0,0.35);
}
#fbModal h3{font-size:18px; color:#123b26; margin:0 0 4px;}
#fbModal .fb-section{font-size:13px; color:#1b5e3a; font-weight:600; margin-bottom:16px;}
#fbModal label{display:block; font-size:12px; font-weight:600; color:#40584a; margin:12px 0 4px; letter-spacing:0.04em;}
#fbModal input, #fbModal textarea{
  width:100%; box-sizing:border-box; border:1px solid #c8d8cd; border-radius:8px;
  padding:9px 11px; font-family:inherit; font-size:14px; color:#16281e;
}
#fbModal textarea{min-height:110px; resize:vertical;}
#fbModal input:focus, #fbModal textarea:focus{outline:2px solid #1b5e3a; border-color:#1b5e3a;}
.fb-actions{display:flex; gap:10px; justify-content:flex-end; margin-top:18px;}
.fb-actions button{
  border-radius:20px; padding:9px 18px; font-size:14px; font-family:inherit; cursor:pointer;
}
#fbCancel{background:none; border:1px solid #c8d8cd; color:#40584a;}
#fbSubmit{background:#1b5e3a; border:none; color:#fff; font-weight:600;}
#fbSubmit:disabled{opacity:0.6; cursor:default;}
#fbToast{
  position:fixed; bottom:84px; right:22px; z-index:9200; background:#123b26; color:#e7f1ea;
  padding:11px 18px; border-radius:10px; font-size:14px; box-shadow:0 6px 20px rgba(0,0,0,0.3);
  opacity:0; transition:opacity 0.3s; pointer-events:none;
}
#fbToast.show{opacity:1;}

/* Generalised content blocks (admin-managed pages) */
.ov-grid.single{grid-template-columns:1fr;}
.ov-thumb canvas{width:100%; height:100%; object-fit:cover; display:block;}
.ov-thumb .ov-ph{width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--green-deep); font-family:'Manrope',sans-serif; font-weight:800; font-size:14px; letter-spacing:.08em; background:var(--bg-tint);}
.ov-thumb .ov-ph svg{width:40px; height:40px; stroke:var(--green);}
.fs-video video{width:100%; height:100%; background:#000;}
.guide-file-video{width:160px; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; background:#0e1f16; border-radius:6px; border:1px solid var(--line); position:relative;}
.nf-wrap{max-width:560px; margin:0 auto; padding:110px 24px 120px; text-align:center;}
.nf-wrap h1{font-size:clamp(1.6rem,3vw,2.2rem); font-weight:800; margin-bottom:12px;}
.nf-wrap p{color:var(--ink-dim); line-height:1.6;}
.preview-bar{position:sticky; top:0; z-index:400; background:#7a4b00; color:#fff7e6; font:600 13px 'Inter',sans-serif; padding:9px 16px; display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap;}
.preview-bar a{color:#fff; text-decoration:underline;}

/* item links + extra downloads (admin-added content) */
.ov-link{display:inline-flex; align-items:center; gap:6px; margin-top:8px; font-size:12.5px; font-weight:600; color:var(--green-deep); text-decoration:none; align-self:flex-start;}
.ov-link svg{width:14px; height:14px; stroke:currentColor;}
.ov-link:hover{color:var(--green); text-decoration:underline;}
.media-card .play-ic svg{width:18px; height:18px; stroke:currentColor;}
.modal-dls{display:flex; flex-wrap:wrap; gap:4px 18px; margin-top:14px;}
.guide-link{align-self:flex-start; margin-top:6px;}

/* ===== Announcement (bar + popup) ===== */
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
.preview-ann-note{flex-basis:100%; text-align:center; font-weight:500; opacity:.92;}

/* The bar sits in the normal page flow above the header, so it never covers content. */
.ann-bar{
  position:relative; z-index:6; display:flex; align-items:center; gap:10px;
  background:var(--ann-bg); color:var(--ann-fg); font:500 14px/1.4 'Inter',sans-serif;
  padding:8px 10px 8px 0; min-height:42px;
}
.ann-track{flex:1; min-width:0; overflow:hidden; cursor:default; outline-offset:-3px;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image:linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);}
.ann-scroll{display:inline-flex; white-space:nowrap; animation:ann-marquee 20s linear infinite; will-change:transform;}
.ann-text{padding:0 64px 0 24px;}
.ann-text b{font-weight:700;}
.ann-bar:hover .ann-scroll, .ann-bar.paused .ann-scroll, .ann-track:focus-within .ann-scroll, .ann-track:focus .ann-scroll{animation-play-state:paused;}
@keyframes ann-marquee{from{transform:translateX(0);} to{transform:translateX(-50%);}}
/* Short messages that fit don't need to move. */
.ann-bar.static .ann-scroll{animation:none; display:block; text-align:center;}
.ann-bar.static .ann-text + .ann-text{display:none;}
.ann-bar-link{
  flex:none; color:var(--ann-bg); background:var(--ann-fg); text-decoration:none; font-weight:700; font-size:13px;
  padding:6px 14px; border-radius:999px; white-space:nowrap;
}
.ann-bar-link:hover{opacity:.9;}
.ann-bar-link:focus-visible, .ann-x:focus-visible, .ann-pop-link:focus-visible{outline:3px solid var(--ann-fg); outline-offset:2px;}
.ann-x{
  flex:none; display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px;
  border:0; border-radius:50%; background:transparent; color:inherit; cursor:pointer;
}
.ann-x:hover{background:rgba(127,127,127,.22);}

.ann-pop-backdrop{
  position:fixed; inset:0; z-index:900; background:rgba(12,24,18,.55);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; transition:opacity .25s ease;
}
.ann-pop-backdrop[hidden]{display:none;}
.ann-pop-backdrop.open{opacity:1;}
.ann-pop{
  position:relative; width:100%; max-width:440px; max-height:calc(100vh - 40px); overflow:auto;
  background:#fff; color:var(--ink); border-radius:16px; box-shadow:0 24px 60px rgba(0,0,0,.28);
  border-top:6px solid var(--ann-bg); outline:none;
  transform:translateY(12px) scale(.98); transition:transform .25s ease;
}
.ann-pop-backdrop.open .ann-pop{transform:none;}
.ann-pop .ann-x{position:absolute; top:10px; right:10px; z-index:1; background:rgba(255,255,255,.92); color:var(--ink); box-shadow:0 1px 4px rgba(0,0,0,.15);}
.ann-pop .ann-x:focus-visible{outline-color:var(--ann-bg);}
/* Show the whole uploaded picture (no cropping); letterbox on a light tint if needed. */
.ann-pop-img{display:block; width:100%; height:auto; max-height:min(340px, 45vh); object-fit:contain; background:var(--bg-tint);}
.ann-pop-body{padding:24px 26px 26px;}
.ann-pop-body h2{font-size:22px; line-height:1.25; color:var(--green-deep2); margin-bottom:10px; padding-right:28px;}
.ann-pop-img + .ann-pop-body h2{padding-right:0;}
.ann-pop-body p{font-size:15px; line-height:1.6; color:var(--ink-dim); white-space:pre-line;}
.ann-pop-link{
  display:inline-block; margin-top:18px; background:var(--ann-bg); color:var(--ann-fg);
  font:700 14px 'Manrope',sans-serif; text-decoration:none; padding:11px 22px; border-radius:999px;
}
.ann-pop-link:hover{filter:brightness(1.08);}
.ann-pop-link:focus-visible{outline-color:var(--ann-bg);}

/* Event details + add to calendar (pop-up and page section) */
.ann-ev{margin-top:16px; padding:14px 16px; background:var(--bg-tint); border:1px solid var(--line); border-radius:12px;}
.ann-ev .ann-ev-row{display:flex; gap:9px; align-items:flex-start; font-size:14.5px; line-height:1.45; color:var(--ink); margin:0 0 8px; white-space:normal;}
.ann-ev-row svg{flex-shrink:0; margin-top:2px; color:var(--ann-bg);}
.ann-ev-row a{color:var(--green-deep2); font-weight:700;}
.ann-cal{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px;}
.ann-cal-btn{
  display:inline-flex; align-items:center; gap:7px; min-height:40px; padding:8px 15px; border-radius:999px;
  font:700 13.5px 'Manrope',sans-serif; text-decoration:none; color:var(--green-deep2);
  background:#fff; border:1.5px solid var(--line);
}
.ann-cal-btn:hover{border-color:var(--ann-bg);}
.ann-cal-btn.primary{background:var(--ann-bg); color:var(--ann-fg); border-color:var(--ann-bg);}
.ann-cal-btn.primary:hover{filter:brightness(1.08);}
.ann-cal-btn:focus-visible{outline:3px solid var(--ann-bg); outline-offset:2px;}
.ann-ev .ann-cal-hint{font-size:12px; color:var(--ink-dim); margin:8px 0 0; line-height:1.4;}
.ann-bar-when{font-weight:700;}

/* Announcement shown as a section on the page */
.ann-section-wrap{padding-bottom:0;}
.ann-section{
  background:#fff; border:1px solid var(--line); border-left:6px solid var(--ann-bg); border-radius:16px;
  box-shadow:0 10px 30px rgba(15,40,28,.07); padding:24px 30px;
}
.ann-section-head h2{font-size:24px; line-height:1.25; color:var(--green-deep2); margin:8px 0 6px; max-width:none;}
.ann-section-when{display:flex; gap:8px; align-items:flex-start; font-size:14.5px; line-height:1.45; color:var(--ink); margin:4px 0 0;}
.ann-section-when svg{flex-shrink:0; margin-top:2px; color:var(--ann-bg);}
.ann-section-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px;}
.ann-more-btn{
  display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:8px 18px; border-radius:999px; cursor:pointer;
  font:700 14px 'Manrope',sans-serif; color:var(--green-deep2); background:#fff; border:1.5px solid var(--line);
}
.ann-more-btn[hidden]{display:none;}
.ann-more-btn:hover{border-color:var(--ann-bg);}
.ann-more-btn.primary{background:var(--ann-bg); color:var(--ann-fg); border-color:var(--ann-bg);}
.ann-more-btn.primary:hover{filter:brightness(1.08);}
.ann-more-btn:focus-visible{outline:3px solid var(--ann-bg); outline-offset:2px;}
.ann-more-btn svg{transition:transform .2s ease;}
.ann-section.open [data-ann-expand=""] svg{transform:rotate(180deg);}
.ann-section-more{margin-top:20px; padding-top:20px; border-top:1px solid var(--line);}
.ann-section-more[hidden]{display:none;}
.ann-section-imgwrap{background:var(--bg-tint); border-radius:12px; overflow:hidden; margin-bottom:18px; text-align:center;}
.ann-section-img{display:inline-block; max-width:100%; height:auto; max-height:480px; object-fit:contain; vertical-align:top;}
.ann-section-msg{font-size:16px; line-height:1.65; color:var(--ink-dim); white-space:pre-line; max-width:680px;}
.ann-section .ann-ev{max-width:560px;}
.ann-inline{margin:22px 0 30px; text-align:left;}

/* Sign-up form inside the popup */
.ann-su{margin-top:20px; padding-top:18px; border-top:1px solid var(--line);}
.ann-su-title{font-size:16px; color:var(--green-deep2); margin-bottom:12px;}
.ann-su-field{margin-bottom:12px;}
.ann-su-field label, .ann-su-method legend{display:block; font-size:13px; font-weight:700; color:var(--ink); margin-bottom:5px;}
.ann-su .opt{font-weight:400; color:var(--ink-dim);}
.ann-su-field input{
  width:100%; box-sizing:border-box; font:inherit; font-size:16px; padding:10px 12px;
  border:1.5px solid var(--line); border-radius:10px; background:#fff; color:var(--ink);
}
.ann-su-field input:focus{outline:none; border-color:var(--ann-bg); box-shadow:0 0 0 3px rgba(47,143,91,.18);}
.ann-su [aria-invalid="true"]{border-color:#b0392b; outline:2px solid #b0392b; outline-offset:1px;}
.ann-su-method{border:0; padding:0; margin:0 0 12px;}
.ann-su-method label{display:inline-flex; align-items:center; gap:7px; margin-right:18px; font-size:14.5px; min-height:32px; cursor:pointer;}
.ann-su-method input, .ann-su-consent input{width:18px; height:18px; accent-color:var(--ann-bg); flex-shrink:0;}
.ann-su-consent{display:flex; gap:9px; align-items:flex-start; font-size:13px; line-height:1.45; color:var(--ink-dim); margin-bottom:10px; cursor:pointer;}
.ann-su-consent input{margin-top:1px;}
.ann-su-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.ann-su-status{display:none; font-size:13.5px; line-height:1.45; border-radius:8px; padding:9px 12px; margin:6px 0 10px;}
.ann-su-status.show{display:block;}
.ann-su-status.err{background:#fdecea; color:#8a2a1f;}
.ann-su-submit{
  width:100%; margin-top:4px; background:var(--ann-bg); color:var(--ann-fg); border:0; cursor:pointer;
  font:700 15px 'Manrope',sans-serif; padding:12px 22px; border-radius:999px;
}
.ann-su-submit:hover:not([disabled]){filter:brightness(1.08);}
.ann-su-submit[disabled]{opacity:.6; cursor:not-allowed;}
.ann-su-submit:focus-visible{outline:3px solid var(--ann-bg); outline-offset:2px;}
.ann-su-done{font-size:15px; line-height:1.5; color:var(--green-deep2); background:#e9f5ee; border-radius:10px; padding:14px 16px; outline:none;}

@media (max-width:640px){
  .ann-bar{font-size:13px; gap:6px; padding-right:6px;}
  .ann-bar-link{padding:5px 11px; font-size:12px;}
  .ann-pop-body{padding:20px 20px 22px;}
  .ann-pop-body h2{font-size:19px;}
  .ann-section{padding:20px 18px;}
  .ann-section-head h2{font-size:20px;}
  .ann-section-img{max-height:360px;}
  .ann-more-btn{flex:1 1 auto; justify-content:center;}
  .ann-cal-btn{flex:1 1 auto; justify-content:center;}
  .ann-pop-backdrop{padding:12px;}
  .ann-pop{max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px);}
}

/* Visitors who prefer less motion get a still bar that wraps instead of scrolling. */
@media (prefers-reduced-motion: reduce){
  .ann-scroll{animation:none !important; display:block; white-space:normal;}
  .ann-track{-webkit-mask-image:none; mask-image:none;}
  .ann-text{display:block; padding:0 12px;}
  .ann-text + .ann-text{display:none;}
}

.ann-eyebrow{display:flex; align-items:center; gap:10px; font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--green-deep2);}
.ann-eyebrow .dash{width:26px; height:3px; border-radius:2px; background:var(--ann-bg); display:inline-block;}
