/* =========================================================
   NORTH COUNTRY KEEPSTONES — CLEAN CORE STYLES
========================================================= */

/* ===== ROOT ===== */
:root {
  --forest: #3F6B63;
  --forest-deep: #2F544D;
  --sage: #AFCFC6;
  --mist: #f5f2eb;
  --stone: #2E2E2E;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  font-family: Georgia, serif;
  background: var(--mist);
  color: var(--stone);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3 {
  font-weight: 500;
}

p {
  font-size: 0.95rem;
}

/* =========================================================
   HEADER
========================================================= */
/* ===== HEADER TUNING ===== */

.site-header {
	  min-height: 80px;   /* adjust if needed */
  background: var(--forest-deep);
  padding: 5px 15px;

    position: relative;   /* 🔥 anchor for absolute positioning */
  top: 0;
  z-index: 1000;
}


.header-inner {
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5px;   /* 🔥 controls left/right edge spacing */
}


/* ===== LOGO (move slightly left) ===== */
.logo {
  margin-left: -10px;   /* 🔥 nudge left (adjust -5 to -20) */
}

/* ===== NAV CONTAINER (push right) ===== */
.nav {
  margin-left: auto;   /* pushes nav to the right */
  gap: 3px;           /* 🔥 tighter spacing (was ~30px) */
}

/* ===== NAV LINKS (fine tune spacing) ===== */
.nav a {
  padding: 3px 2px;   /* tighter clickable area */
  letter-spacing: 1.2px; /* slightly tighter */
}
}

.site-header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav {
  gap: 16px;
}

.nav a {
  padding: 10px 10px;
}
/* =========================================================
MENU
========================================================= */

/* ===== FIX PAGE SHIFT (SCROLLBAR) ===== */
html {
  overflow-y: scroll;
}



/* 👇 THIS is the key */



.nav {
  display: flex;
  flex-direction: row;   /* 🔥 THIS FIXES IT */
  gap: 30px;
  margin-left: auto;
}

.nav a:hover {
  color: #fff;
}


.nav a {
  position: relative;
  padding-bottom: 6px;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

/* underline */


/* clean centered line */


.nav a.active {
  color: #fff;
}

.nav a {
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}


.nav.active {
  display: block;
  flex-direction: column;
  width: 100%;
  background: var(--forest-deep);

  position: absolute;   /* 🔥 THIS stops the jiggle */
  top: 100%;
  left: 0;
}

/* ===== NAV LINKS (CLEAN) ===== */

.nav a {
  display: block;
  text-align: center;
  padding: 14px 0;

  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.5px;

  position: relative;
  transition: color 0.3s ease;
}

/* DESKTOP underline (subtle) */
@media (min-width: 769px) {
  .nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;

    width: 70%;
    height: 2px;
    background: var(--sage);

    opacity: 0;
    transition: 0.3s;
  }

  .nav a:hover::after,
  .nav a.active::after {
    opacity: 1;
  }
  
  .menu-toggle {
  display: none;
}
}

/* MOBILE underline (clean + consistent) */
@media (max-width: 768px) {

  .nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2px;

    width: 110px;
    height: 3px;
    background: rgba(255,255,255,0.35);
  }

  .nav a:last-child::after {
    display: none;
  }
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}
}





/* =========================================================
   HERO
========================================================= */



.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.hero img {
	 object-position: center 20%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero + .content h2 {
  margin-top: 0;
}

/* ===== TIGHTEN HERO → FIRST SECTION ===== */
.hero + .content {
  padding-top: 20px;   /* 🔥 reduce this (try 10–30px) */
}


/* ===== HERO MIST (TOP + BOTTOM) ===== */

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    rgba(245,242,235,1),
    rgba(245,242,235,0)
  );

  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to top,
    rgba(245,242,235,1),
    rgba(245,242,235,0)
  );

  pointer-events: none;
}


/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
}

.hero-text {
  position: absolute;   /* 🔥 key fix */
  top: 78%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 90%;
  max-width: 700px;

  text-align: center;
  color: white;

  z-index: 2;           /* 🔥 ensures it's above image */

 opacity: 0;
  animation: heroFade 0.6s ease forwards;
  animation-delay: 0.1s;
}





.hero-text p {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 500;

  text-shadow:
  0 0 2px rgba(0,0,0,0.9),
    0 2px 6px rgba(0,0,0,0.9),
    0 8px 18px rgba(0,0,0,0.7); 
}

/* ===== CENTER PAGE HEADLINES ===== */
.about-page h1,
.testimonials-page h1 {
  text-align: center;
}


.about-page p {
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
/* ===== TIGHTEN ABOUT HEADLINE SPACING ===== */


.about-page h2 {
  margin-top: 30px;     /* space between sections */
  margin-bottom: -5px;   /* tight to paragraph */
}
/* ===== FIX ABOUT PAGE SPACING (REAL FIX) ===== */
.about-page p {
  margin-top: -5px;
  margin-bottom: 12px;   /* 🔥 reduce this */
}


/* ===== CENTER SUBHEADLINE ===== */
.about-page p,
.testimonials-page p {
  text-align: center;
}

/* ===== TESTIMONIAL STYLING ===== */

/* quotes */
.testimonial-card {
  font-style: italic;
}

/* author names */
.author {
  color: var(--forest);
}




/* ===== ABOUT PAGE — FINAL RHYTHM POLISH ===== */

/*.about-page h1 {
  margin-bottom: 12px;
}

.about-page h2 {
  margin-top: 45px;     /* 🔥 more separation between sections */
 /* margin-bottom: 6px;   /* tight to text */
 /* letter-spacing: 0.5px;
}

.about-page p {
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.7;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}*/

/* =========================================================
   CONTENT
========================================================= */
.content {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.content h2,
.content p {
  color: var(--forest);
}


/* =========================================================
   FEATURED GALLERY (CLEAN + FINAL)
========================================================= */


.featured-gallery {
padding: 10px 20px 20px;   /* 🔥 reduce padding Top - Middle - Bottom */
}

.featured-gallery h2 {
  margin-bottom: 8px;
}

.gallery-intro {
  margin-bottom: 15px;
}

/* GRID */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.showcase-item {
  overflow: hidden;   /* 🔥 prevents spill */
}

/* CARD (YOUR FINAL DESIGN — KEEP THIS) */
.showcase-item {
  background: var(--mist);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

/* IMAGE */
.showcase-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   CTA BUTTON
========================================================= */
/* ===== PREMIUM CTA BUTTON ===== */



.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--forest);
  color: white;

  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 1.5px;

  text-decoration: none;   /* 🔥 THIS REMOVES UNDERLINE */

  transition: 0.25s ease;
}





/* hover */
.cta-button:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* click */
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(63,107,99,0.25);
}

/* =========================================================
   PROCESS
========================================================= */

.process-section {
  padding: -40px 20px -10px;   /* 🔥 reduce padding Top - Middle - Bottom */
   color: var(--forest);
}

.process-section h2 {
  margin-bottom: 2px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step p {
  max-width: 250px;
  margin: auto;
}


/* =========================================================
   PRICING
========================================================= */
.pricing-section {
  padding: 0px 20px 0px;   /* 🔥 reduce padding Top - Middle - Bottom */
   color: var(--forest);
  
}

.pricing-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  margin: auto;
}

/* ===== PRICING SECTION DIVIDERS ===== */

.pricing-section {
  position: relative;
}

/* top line */
.pricing-section::before,
.pricing-section::after {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  background: rgba(0,0,0,0.15);
  margin: 0 auto;
}

/* spacing */
.pricing-section::before {
  margin-bottom: 20px;
}

.pricing-section::after {
  margin-top: 20px;
}

*/
/* =========================================================
   TESTIMONIAL
========================================================= */
.testimonial-highlight {
  padding: 40px 20px;
  text-align: center;
  color: var(--forest);
}

/* FIX THE REAL ISSUE — override global p styles */
.testimonial-highlight p {
  text-align: center;
  color: var(--forest);
}

/* polish */
.testimonial-highlight .quote {
  max-width: 700px;
  margin: 0 auto 10px;
  font-style: italic;
}

.testimonial-highlight .author {
  margin-top: 5px;
  opacity: 0.8;
}







/* =========================================================
   FINAL CTA
========================================================= */



/* ===== FINAL CTA — PREMIUM ===== */
.final-cta {
  padding: 60px 20px;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 10px;
  color: var(--forest);
}

.cta-main {
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.cta-note {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* BUTTON POLISH */
.btn {
  margin-top: 10px;
}

/* ===== TIGHTEN HEADING → TEXT ===== */

.featured-gallery h2,
.final-cta h2 {
  margin-bottom: 6px;   /* 🔥 tighten this */
}

.featured-gallery p,
.final-cta p {
  margin-top: 0;        /* removes default gap */
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--forest-deep);
  color: var(--sage);
  text-align: center;
  padding: 40px 20px;
}

/* =========================================================
   MOBILE
========================================================= */
 {
  .showcase-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;  /* 🔥 keeps it inside screen */
  }
}

@media (max-width: 768px) {

  .site-header {
    padding: 12px 16px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
	  overflow: hidden;   /* 🔥 stops tiny overflow */
  }



  .logo {
    max-width: 70%;
    overflow: hidden;
  }

  /* 🔥 THIS IS THE KEY FIX */
  .nav {
    display: none;
  }

  .nav.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--forest-deep);
  }

  .nav a {
    padding: 14px 0;
    text-align: center;
  }




.nav a {
  display: block;
  text-align: center;
  padding: 14px 0;
}

/* line under each item */
/* ===== MOBILE MENU UNDERLINES (FINAL CLEAN) ===== */

.nav a {
  display: block;
  text-align: center;
  padding: 14px 0;
  position: relative;
}

/* override ANY previous underline rules */
.nav a::before,
.nav a::after {
  content: none;
}

/* rebuild clean line */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;

  width: 110px;           /* consistent length */
  height: 3px;            /* 🔥 thicker */
  background: rgba(255,255,255,0.35);
}

/* remove last one */
.nav a:last-child::after {
  display: none;
}
/* remove last one */
.nav a:last-child::after {
  display: none;
}




}


/* ===== LOGO ===== */

.logo {
  text-decoration: none;
  padding-left: 12px;
  position: relative;
}



/* TEXT */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* MAIN LINE */
.brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: white;
}

/* SUB LINE */
.brand-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--sage);
}
/* ===== LOGO TAGLINE (3rd LINE) ===== */

.brand-tag {
  font-family: Arial, Helvetica, sans-serif; /* clean sans serif */
  font-size: 0.7rem;                         /* slightly smaller */
  letter-spacing: 2px;                       /* 🔥 airy spacing */
  
  color: #c8d6d1;                            /* slightly darker than sage */
  
  margin-top: 4px;                           /* 🔥 separation from Keepstones */
  
  text-transform: uppercase;                 /* optional but looks great */
}

/* ===== LOGO DIVIDER LINE ===== */
/* ===== TAGLINE WITH MATCHING LINE ===== */

.brand-tag {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #c8d6d1;
  margin-top: 6px;

  display: inline-block;   /* 🔥 critical */
  position: relative;
}

/* the line */
.brand-tag::before {
  content: "";
  position: absolute;
  top: -6px;              /* space above text */
  left: 0;

  width: 100%;            /* 🔥 EXACT match to text width */
  height: 1px;

  background: rgba(255,255,255,0.35);
}

/* ===== GALLERY PAGE GRID (RESTORED) ===== */

.showcase-item {
  background: var(--mist);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

.showcase-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


  /* ===== text-align: center; ===== */
/* ===== GALLERY HEADER CENTER ===== */

.gallery-header {
  text-align: center;
  max-width: 900px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

.gallery-header h1 {
  margin-bottom: 10px;
}

.gallery-header p {
  margin: 0 auto;
  max-width: 600px;
}

./* ===== SHOWCASE GRID (FIX) ===== */


.showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 🔥 3 per row */
  gap: 25px;
  gap: 25px;

  max-width: 1100px;
  margin: 40px auto;
}




.showcase-item {
  background: var(--mist);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
   width: 100%;
}

.showcase-item img {
  width: 100%;
  height: 250px;
  object-fit: contain;   /* 🔥 shows full image */
  background: #f5f2eb;   /* fills empty space nicely */
  border-radius: 8px;
}

/* ===== FINAL GALLERY FIX ===== */

.showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
}

.showcase-item {
  width: 100%;
}

/* ===== LIGHTBOX ===== */
/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.9);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

/* image */
.lightbox img {
  width: auto;
  height: auto;

  max-width: 200vw;   /* 🔥 viewport width */
  max-height: 190vh;  /* 🔥 viewport height */

  object-fit: contain;

  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}



/* arrows */
.lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;

  padding: 10px 15px;
  transition: 0.2s;
}

.lightbox .arrow:hover {
  color: var(--sage);
}

/* left / right positioning */
.lightbox .left {
  left: 30px;
}

.lightbox .right {
  right: 30px;
}


.lightbox {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
}

.lightbox {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
}
/* ===== LIGHTBOX END ===== */


/* ===== CTA SECTION ===== */

.cta-section {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 20px;
}

.cta-section h2 {
  margin-bottom: 10px;
}

.cta-section p {
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



/* ===== CONTACT FORM ===== */

.contact-wrapper {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* heading */
.contact-form h2 {
  text-align: center;
  color: var(--forest);
  margin-bottom: 5px;
}

.form-intro {
  text-align: center;
  margin-bottom: 15px;
  color: #6b6257;
}

/* inputs */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

/* textarea */
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* focus state */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 2px rgba(63,107,99,0.15);
}

/* notes */
.small-note,
.upload-note {
  font-size: 0.8rem;
  color: #7a7268;
  margin-top: -6px;
}

/* button */
.contact-form button {
  margin-top: 10px;
  align-self: center;
}


/* ===== TESTIMONIAL FORM SECTION ===== */

/* ===== FORCE NARROW FORM ===== */

.testimonial-form {
  max-width: 520px;
  margin: 0 auto;
}

.testimonial-form-section {
  margin: 60px auto;
  padding: 40px 20px;
  background: #f8f6f1;
}

.testimonial-form-inner {
  max-width: 400px;
  margin: auto;
  text-align: center;
}

/* heading */
.testimonial-form-inner h2 {
  color: var(--forest);
  margin-bottom: 10px;
}

.testimonial-form-inner p {
  margin-bottom: 20px;
  color: #6b6257;
}

/* form card */
.testimonial-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* inputs */
.testimonial-form input,
.testimonial-form select,
.testimonial-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

/* textarea */
.testimonial-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* focus */
.testimonial-form input:focus,
.testimonial-form select:focus,
.testimonial-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 2px rgba(63,107,99,0.15);
}

/* button */
.testimonial-form button {
  align-self: center;
  margin-top: 10px;
}

/* success message */
.success-message {
  display: none;
  margin-top: 20px;
  text-align: center;
}

.success-message h2 {
  color: var(--forest);
}
#image-preview img {
  transition: transform 0.2s ease;
}

#image-preview img:hover {
  transform: scale(1.05);
}



/* ===== HAMBURGER (CLEAN RESET) ===== */

.menu-toggle {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;

}

/* lines */
.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: white;
  left: 0;

  transition: all 0.3s ease;
}

/* exact positions */
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ===== ACTIVE (X) ===== */

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}



.nav.active {
  position: absolute;
  top: 100%;        /* sits directly under header */
  padding-top: 10px;   /* 🔥 prevents crowding */

  border-top: 1px solid rgba(255,255,255,0.15);

  left: 0;
  width: 100%;

  background: var(--forest-deep);
  z-index: 9999;
}





/* ===== Shifting Gallery Page Mobile) ===== */

/* ===== FINAL LAYOUT FIXES ===== */
.showcase-item {
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;

  max-width: 1100px;
  margin: 40px auto;

  padding: 0 12px;        /* 🔥 reduce side push */
  box-sizing: border-box; /* 🔥 critical */
}
.showcase-item {
  width: 100%;
  max-width: 100%;
  

}

.showcase-item {
  position: relative;
  overflow: hidden;

  background: transparent;   /* 🔥 remove box */
  padding: 0;                /* 🔥 remove spacing */

  box-shadow: none;          /* optional: cleaner look */

  transition: transform 0.3s ease;
}


/* ===== FIX HEADER JUMP (FINAL SIMPLE FIX) ===== */

body {
  display: block;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;
}

.nav {
  display: flex;
  gap: 12px;         /* adjust tighter if you want */
  margin-left: auto; /* keeps menu right */
}

/* ===== NAV FINAL FIX (STABLE WIDTH) ===== */



/* ===== LOCK NAV WIDTH (NO SHRINK EVER) ===== */

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.nav a {
  display: inline-block;
  min-width: 70px;      /* 🔥 key fix */
  text-align: center;
  padding: 10px 12px;
  white-space: nowrap;
}


/* ===== MOBILE HEADER FIX (FINAL) ===== */
@media (max-width: 768px) {

  /* allow header to grow naturally */
  .site-header {
    padding: 12px 16px;
  }

  .header-inner {
    align-items: flex-start;   /* 🔥 allows logo to stack properly */
  }

  /* fix logo clipping */
  .logo {
    max-width: 70%;
  }

  .logo-text {
    line-height: 1.1;
  }

  .brand-main {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.75rem;
  }

  .brand-tag {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  /* ===== MOBILE MENU DROPDOWN ===== */
  .nav.active {
    position: absolute;
    top: 100%;     /* sits below header */
    left: 0;
    width: 100%;

    background: var(--forest-deep);
    padding-top: 10px;

    z-index: 9999;
  }

  /* ===== FIX MENU ITEM SPACING ===== */
  .nav a {
    padding: 14px 0;
    display: block;
    text-align: center;
    position: relative;
  }

  /* ===== FIX UNDERLINE ISSUE ===== */
  .nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;

    width: 100px;              /* 🔥 shorter so they don’t connect */
    height: 2px;

    background: rgba(255,255,255,0.3);
  }

  .nav a:last-child::after {
    display: none;
  }
}

/* ===== MOBILE HEADER — CLEAN FIX ===== */
@media (max-width: 768px) {

  /* stack header */
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* LOGO */
  .logo {
    max-width: 70%;
  }

  .logo-text {
    line-height: 1.05;
  }

  .brand-main {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.7rem;
  }

  .brand-tag {
    font-size: 0.55rem;
    letter-spacing: 1.2px;
  }

  /* 🔥 THIS IS KEY — hide full nav */
  .nav {
    display: none;
  }

  /* show hamburger */
  .menu-toggle {
    display: block;
  }

  /* dropdown menu */
  .nav.active {
    display: flex;
    flex-direction: column;

    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--forest-deep);
    padding-top: 10px;
  }

  /* clean menu items */
  .nav a {
    padding: 14px 0;
    text-align: center;
  }

  /* FIX THE “CONTINUOUS LINE” ISSUE */
  .nav a::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    margin: 6px auto 0;
    background: rgba(255,255,255,0.3);
  }

  .nav a:last-child::after {
    display: none;
  }
  
    .footer-crest {
    position: static;
    display: block;
    margin: 30px auto 0;
    width: 220px;
  }
}

}









/* ===== FOOTER CREST OVERLAP ===== */

footer {
  position: relative;
  overflow: visible;
}

.footer-crest {
  position: absolute;
  right: 40px;
  top: -80px; /* controls overlap height */

  width: 320px; /* adjust size */
  max-width: 40%;

  z-index: 2;
}
/* ===== DEBUG LINES ===== */
/*.about-page h2 {
  outline: 2px solid red;
}

.about-page p {
  outline: 2px solid blue;
}*/