:root{
  --green-dark:#3f4a2e;
  --green-mid:#5a6b3f;
  --green-pale:#e7e3d4;
  --cream:#f4f1e8;
  --gold:#c9a227;
  --maroon:#7a2e2e;
  --text-dark:#2c3320;
  --text-light:#f4f1e8;
  --radius:14px;
  --max-w:1240px;
  --header-h-desktop:74px;
  --header-h-mobile:64px;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html,body{
  overflow-x:hidden;
  width:100%;
  max-width:100vw;
}
body{
  font-family:'Jost',sans-serif;
  color:var(--text-dark);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  padding-top:var(--header-h-desktop);
}
h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:500;
}
img{display:block;width:100%;height:100%;object-fit:cover;}
a,
a:link,
a:visited,
a:hover,
a:active{
  text-decoration:none;
  color:inherit;
}
.wrap{max-width:var(--max-w);margin:0 auto;padding:0 32px;}

/* ===== Image placeholders ===== */
.img-box{
  position:relative;
  overflow:hidden;
  background:repeating-linear-gradient(45deg,#ded8c4,#ded8c4 10px,#e7e2d0 10px,#e7e2d0 20px);
}
.img-box::before{
  content:attr(data-label);
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:8px;
  font-size:12px;
  letter-spacing:.05em;
  color:#8a8268;
  background:rgba(244,241,232,.55);
  font-family:'Jost',sans-serif;
}
.img-box img{position:relative;z-index:1;}
.img-box img:not([src]),
.img-box img[src=""]{display:none;}

/* ===== Header ===== */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 32px;
  background:#5a6f27;
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:100;
}
.logo{
  font-size:25px;
  font-weight:500;
  color:white;
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.logo img{
  width:48px;
  height:28px;
  object-fit:contain;
}
nav.main-nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav-btn{
  padding:10px 20px;
  border-radius:10px;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  border:1px solid transparent;
  cursor:pointer;
}
.nav-btn.outline{background:#fcfcfc; border:1px solid black;color:black;}
.nav-btn.outline:hover{background: #3f4a2e; color:white;}
.nav-btn.gold{background:#ac9129; border:1px solid #ac9129;color:#fff;}
.nav-btn.gold:hover{background: #3f4a2e; border-color:#3f4a2e; color:white;}
.nav-btn.maroon{background:var(--maroon);color:#fff;border:1px solid var(--maroon);}
.nav-btn.maroon:hover{background: #3f4a2e; border:1px solid #3f4a2e; color:white;}
.nav-btn.blue{background-color: #a8c7fa; color: black;}
.nav-btn.blue:hover{background: #3f4a2e; color:white;}
.icon-btn{
  width:38px;height:38px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #d8d2bd;
  background:#fff;
  cursor:pointer;
  font-size:18px;
}

/* ===== Introduction to NestAway dropdown ===== */
.intro-menu{position:relative;}
.intro-btn{
  font-family:inherit;
  display:flex;
  align-items:center;
  gap:8px;
}
.intro-chevron{
  flex-shrink:0;
  transition:transform .2s ease;
}
.intro-btn[aria-expanded="true"] .intro-chevron{
  transform:rotate(180deg);
}
@media(min-width:901px){
  .intro-menu:hover .intro-chevron{
    transform:rotate(180deg);
  }
  /* Invisible bridge that fills the gap between the button and the dropdown
     so hovering from one to the other doesn't briefly leave .intro-menu
     and cause the dropdown to close. */
  .intro-menu::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    top:100%;
    height:10px;
  }
}
.intro-dropdown{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  background:#fff;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  padding:8px;
  min-width:160px;
  display:none;
  flex-direction:column;
  gap:2px;
  z-index:200;
}
.intro-dropdown.open{display:flex;}
.intro-dropdown a{
  display:block;
  padding:10px 14px;
  border-radius:8px;
  font-size:14px;
  font-weight:500;
  color:var(--text-dark);
  transition:background .15s ease;
}
.intro-dropdown a:hover{background:var(--green-pale);}
@media(min-width:901px){
  .intro-menu:hover .intro-dropdown{display:flex;}
}

/* Mobile variant: expands inline under the button instead of floating */
.intro-menu--mobile{position:static;}
.intro-dropdown--mobile{
  position:static;
  box-shadow:none;
  border:1px solid #ddd8c6;
  margin-top:6px;
}

.nav-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px;height:38px;
  border-radius:50%;
  border:1px solid #d8d2bd;
  background:#fff;
  cursor:pointer;
  padding:0 10px;
  flex-shrink:0;
}
.hamburger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--green-dark);
  border-radius:2px;
  transition:all .25s;
}
.mobile-nav{
  display:none;
  flex-direction:column;
  gap:10px;
  background:var(--cream);
  padding:20px 32px 24px;
  border-top:1px solid #ddd8c6;
  position:absolute;
  top:100%;left:0;right:0;
  z-index:99;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.mobile-nav.open{display:flex;}
.mobile-nav .nav-btn{display:block;text-align:center;padding:12px 20px;}

/* ===== Sub-page hero ===== */
.subhero{
  position:relative;
  height:340px;
  overflow:hidden;
  width:100%;
}
.subhero-img{
  position:absolute;
  inset:0;
}
.subhero-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.subhero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(20,30,15,.55) 0%,rgba(20,30,15,.15) 55%,rgba(20,30,15,0) 75%);
  z-index:2;
}
.subhero-content{
  position:relative;
  z-index:3;
  height:100%;
  max-width:var(--max-w);
  margin:0 auto;
  padding:40px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.subhero-content--single{
  justify-content:flex-start;
  padding-top:56px;
}
.subhero-title{
  color:#ffffff;
  font-size:clamp(24px, 3.2vw, 36px);
  line-height:1.25;
  max-width:420px;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.subhero-title--single{
  font-size:clamp(26px, 4.4vw, 44px);
  max-width:600px;
}

@media(min-width:1024px){
  .subhero{height:400px;}
}

/* ===== Intro copy ===== */
.intro-section{
  background:#d3d1c3;
  padding:56px 0 70px;
}
.intro-heading{
  color:#5a6f27;
  font-family:'Jost',serif;
  font-size:clamp(26px, 3.4vw, 36px);
  font-weight:800;
  margin-bottom:24px;
}
.intro-inner{
  max-width:820px;
  margin:0 auto;
}
.intro-copy{
  margin-bottom:40px;
}
.intro-copy p{
  font-size:15px;
  line-height:1.7;
  color:#4b5a38;
  margin-bottom:16px;
}
.intro-copy p:last-child{margin-bottom:0;}
.intro-copy b{color:#3d5022;}

/* ===== Join us buttons (designer-supplied images) ===== */
.join-image-btn{
  display:block;
  margin-bottom:20px;
}
.join-image-btn img{
  display:block;
  width:100%;
  height:auto;
}

.join-triple{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

/* ===== Footer ===== */
footer{
  background:#42532f;
  color:var(--text-light);
  padding:50px 0 30px;
  text-align:center;
}
footer h2{
  font-size:24px;
  margin-bottom:36px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.footer-brand{font-weight:600;}
.footer-tagline{font-weight:300;}
.footer-bottom{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:12px;
  opacity:.85;
  text-align:left;
}
.footer-contact{
  text-align:left;
  line-height:1.6;
  flex:1;
  color:rgb(255,255,255);
}
.footer-logo-mark{
  display:flex;
  justify-content:center;
  flex:1;
}
.social-icons{display:flex;gap:10px;justify-content:flex-end;flex:1;}
.social-icons a{
  width:32px;height:32px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.4);
  display:flex;align-items:center;justify-content:center;
  transition:background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-icons a:hover{
  background-color:var(--text-light);
  color:var(--green-dark);
  border-color:var(--text-light);
  transform:translateY(-2px);
}

/* ===== Responsive ===== */
@media(max-width:900px){
  nav.main-nav{display:none;}
  .hamburger{display:flex;}
  .subhero{height:320px;}
  .subhero-content--single{padding-top:40px;}
  .intro-heading{font-size:28px;}
  .intro-copy p{font-size:14px;}
}

@media(max-width:560px){
  body{padding-top:var(--header-h-mobile);}
  header{padding:14px 20px;}
  .mobile-nav{padding:16px 20px 20px;}
  .wrap{padding:0 20px;}
  .subhero{height:280px;}
  .subhero-content--single{padding:24px 20px 0;}
  .subhero-title--single{font-size:24px;}
  .intro-section{padding:40px 0 50px;}
  .intro-heading{font-size:22px;margin-bottom:16px;}
  .intro-copy{margin-bottom:26px;}
  .intro-copy p{font-size:13px;margin-bottom:12px;}
  .join-triple{gap:10px;}
  footer h2{font-size:20px;}
  .footer-bottom{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
  }
  .footer-contact{text-align:center;flex:none;}
  .footer-logo-mark{flex:none;}
  .social-icons{justify-content:center;flex:none;}
}