/* =========================================
   0) Base / Reset / Accessibility
   ========================================= */
html, body { margin: 0; padding: 0; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, picture, video { max-width: 100%; height: auto; }
p, li, a { overflow-wrap: anywhere; }

:focus-visible { outline: 3px solid #00a97a; outline-offset: 2px; }

body {
  font-family: nunito, sans-serif;
  margin: 0;
  background-color: #dfeee8;
  color: #111111;
  text-align: center;
}

/* =========================================
   1) Typography
   ========================================= */
h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

/* =========================================
   2) Layout Containers
   ========================================= */
.container { max-width: 1100px; margin-inline: auto; padding-inline: 1rem; text-align: left; }
.main {
  padding: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* =========================================
   3) Skip Link
   ========================================= */
.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: #222;
  color: #fff;
  padding: 8px;
  z-index: 100;
}
.skip:focus { top: 0; }

/* =========================================
   4) Header / Logo
   ========================================= */
:root { --nav-h: 68px; } /* adjust if your nav is taller/shorter */

header.container { padding: 1.25rem 0; }

.logo-link { display: block; text-align: center; }

.logo-crop {
  position: relative;
  overflow: hidden;
  margin: 12px auto;
  max-width: clamp(280px, 40vw, 560px); /* non-home size you liked */
  aspect-ratio: 800 / 200;              /* keep for banner crop; remove if not wanted */
  z-index: 0;                           /* keep logo under nav’s stacking */
}

.logo-crop img.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* if you remove aspect-ratio above, change to height:auto; */
  object-position: center;
}

/* =========================================
   5) Navbar (full-bleed bar + centred links)
   ========================================= */
/* Nav stays sticky and creates its own stacking context */
nav.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;          /* lets ::before sit behind safely */
}

/* Paint a full-bleed green bar behind the nav’s content */
nav.navbar::before {
  content: "";
  position: absolute;
  inset: 0;                    /* match nav’s height */
  left: 50%;
  width: 100vw;                /* full viewport width */
  margin-left: -50vw;          /* break out of centered layout */
  background: #00a97a;
  z-index: -1;                 /* behind the links/content */
}

nav.navbar ul {
  display: flex;
  justify-content:center;
  text-align: center;
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1100px;     /* matches your .container */
  margin-inline: auto;   /* center the list within the band */
  padding-inline: 1rem;  /* match container side padding */
  background: none;      /* make sure the UL itself isn’t painting green */
}

.navbar a { display: block; padding: 12px 16px; color: #111111; text-decoration: none; }
.navbar a:hover,
.navbar a:focus-visible { text-decoration: underline; }

/* Utility: full-bleed band (make the element stick out edge-to-edge) */
.full-band {
  background: #00a97a;
  width: 100vw;
  margin-top: 20px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 0;
}

/* =========================================
   6) Dropdown Menu
   ========================================= */
.dropdown { position: relative; display: inline-block; color: #111111; }

.dropbtn {
  background-color: #00a97a;
  color: #111111;
  display: inline-flex; /* prevent full-width buttons in the bar */
  align-items: center;
  width: auto;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.dropbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  background-color: rgba(255,255,255,.03);
  text-decoration: underline;
}
.dropbtn:focus-visible {
  outline: 3px solid #F8F8F8;
  outline-offset: 3px;
}

.dropdown-content {
  display: none;                 /* hidden by default */
  position: absolute;
  top: 100%; left: 0;            /* sit directly below the button */
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,.2);
  z-index: 9999;                 /* above the green bar */
}
.dropdown-content.show { display: block; }
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* =========================================
   7) Links & Buttons
   ========================================= */
a {
  color: #111111;
  text-decoration: none;
  padding: 14px 20px;
  display: inline-block;
}
a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  background-color: rgba(255,255,255,.03);
}
a:focus-visible {
  outline: 3px solid #F8F8F8;
  outline-offset: 3px;
}

/* link styled as plain text inside paragraphs */
.ignore { color: #111111; text-decoration: none; padding: 0; display: inline-block; }
a.ignore:hover, a.ignore:focus-visible { text-decoration: underline; }

button.see-more,
a.see-more {
  display: inline-block;
  background-color: #00a97a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
}
button.see-more:hover,
button.see-more:focus-visible { background-color: #008f68; }

/* =========================================
   8) Cards / Sections
   ========================================= */
.intro { 
  margin: 40px 0 20px 0; 
}
#tools {
  margin-bottom: 10px;
}
.tool-blurb {
  border: 2px solid #00a97a;
  border-radius: 8px;
  padding: 20px;
  margin: 10px 20px 40px 20px;
  background-color: #f0fdfa;
  display: block;
}
.blurb-p { margin-bottom: 8px; }
.details {
  text-align: center;
  margin: 10px 0 0 0;
  padding: 10px;
  border-radius: 8px;
  background-color: #ccfbf1;
  display: block;
}
.details:hover { background-color: #99f6e4; }
[hidden] { display: none !important; }

@media (min-width: 760px) {
  .tool-cards { flex-direction: row; }
  .tool-card  { flex: 1; }
}

.quotebox {
    display:flex;
    flex-direction: column;
    justify-content:center;
    max-width: 500px;
    margin: 3rem auto;
    background: #e0f7f1;
    color: #003b2e;
    font-size: 15px;
    line-height: 1.2;
    border: 2px solid #00a97a;
    padding: 10px
}

.quotebox p {
    margin: 0;
    flex: 1 1 auto;
    font-style: italic;
    font-weight: 500; 
}

.quotebox blockquote {
    font-weight: bold;
    padding: 6px;
    margin: 0;
}

.quotebox .by {
    padding: 6px;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    display: block;
    margin-top: .5rem;
    color: #007c63;
}

/* =========================================
   9) Forms
   ========================================= */
#contact-disclaimer {
  font-size: 0.9rem;
  color: #555555;
  margin-top: 10px;
  text-align: left;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
#submit-btn { display: block; margin: 5px auto; max-width: 150px; }

form div { margin-bottom: 1em; }
label { display: inline-block; width: 100px; }
input, textarea { width: 250px; max-width: 100%; }

/* =========================================
   10) Icons / Footer
   ========================================= */
.icon {
  height: 50px;
  margin: 10px auto 10px auto;
  display: block;
}

#privacy-footer {
  font-style: italic;
}

/* =========================================
   11) Mobile Tweaks
   ========================================= */
@media (max-width: 700px) {
  nav.navbar ul { flex-direction: column; align-items: stretch; }
  nav.navbar a { padding: .75rem 1rem; } /* comfy tap targets */
  button, .btn, nav a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* =========================================
   12) Images
   ========================================= */

#tom-img-container {
  display: flex;
  flex-direction: column;
}

#tom-img {
  width: 200px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: solid 2px #00a97a;
  border-radius: 10px;
  outline: 2px solid rgba(0,169,122,.25);
  outline-offset: 3px; 
  box-shadow: 0 8px 24px rgba(0,0,0,.12),
              0 2px 6px rgba(0,0,0,.08); 
  margin: 0 auto 0 auto;
}