body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #D8EEFF;
  color: #222;
  overflow-x: hidden;
  flex: 1;
}

main.container {
  padding-top: 1rem;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

dialog {
  border: none;
  padding: 0;
  background: transparent;
  cursor: default;
}

dialog img {
  max-width: 90vw;
  max-height: 90vh;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  cursor: pointer;
}


h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

a {
  color: #3366cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav.debug ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.container {
  position: relative;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  max-width: 70ch;   /* or 65–75ch depending on feel */
}

.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
}

.content-image {
  max-width: 60ch;   /* or 100%, or 800px — your choice */
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  cursor: zoom-in;
}

.image-modal {
  padding: 0;
  border: none;
  max-width: 90vw;
  max-height: 90vh;
}

.image-modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.image-modal img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: auto;
}

.modal-frame {
  background: #f8f8f8;        /* light panel */
  padding: 1rem;
  border-radius: 14px;
  max-width: 92vw;
  max-height: 92vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-frame img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  background: transparent;
}

.modal-frame.dark {
  background: #111;
}


.clickable {
  cursor: zoom-in;
  /*cursor: url("/images/cursor-magnify-gold.png") 16 16, zoom-in; <- Add my own later (32×32 or 48×48)*/
}

.modal-close {
  margin-top: 0.75rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}


.intro {
  font-size: 1.05rem;
  line-height: 1.6;
}

.quiet {
  color: #555;
  font-size: 0.9rem;
  max-width: 60ch;
}


.logo {
  /*max-width: 800px;*/
  width: 100%;
  height: auto;
}

.nav-main {
  background: white;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  position: relative;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  position: relative; /* 👈 THIS is the anchor */
}


.nav-list a {
  top: 100%; /* directly under nav-bar */
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  display: block;
  color: #355B4A;
  font-weight: 600;
}

.nav-list {
  display: none;


  top: calc(100% - 0.5rem);
  left: 0;
  /*right: 0;*/

  list-style: none;
  margin: 0;
  padding: 0;

  flex-direction: column;
  background: white;
  /*padding: 0.25rem 0.25rem 0.5rem;*/

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 0 0 12px 12px;
  z-index: 999;
}

.nav-list li {
  list-style: none;
}

.nav-list li::marker {
  content: none;
}

  .nav-toggle {
    display: none; /* hidden on desktop */
    z-index: 1000;
    position: relative;
  }

.nav-logo-wrap {
  position: relative;
  display: inline-block;
}

/* Desktop dropdown: hover */
@media (min-width: 769px) {

  .nav-bar {
    justify-content: flex-start;
    padding-bottom: 0.75rem; /* creates breathing room */
  }

  .nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* space between logo and nav */
  }

  .nav-list {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.25rem;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .has-dropdown {
    position: relative;
  }

  .has-dropdown > .dropdown {
    position: absolute;
    top: 100%;          /* attach directly below parent */
    left: 0;
    margin-top: 0;      /* IMPORTANT: no gap */
    padding-top: 0.5rem; /* internal spacing instead */
  }

  .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border: 1px solid #ddd;
    min-width: 200px;
    top: calc(100% + 10px);
  }

  .has-dropdown:hover .dropdown {
    display: block;
  }

  .has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 8px;
  width: 100%;
}


  /* 🔑 IMPORTANT: hide hamburger on desktop */
  .nav-toggle {
    display: none;
  }
/* Desktop: footer spreads out slightly */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;          /* directly under nav bar */
    left: 0;            /* align with logo */
    width: 100%;        /* same width as nav-bar */

    background: white;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 0 0 12px 12px;
    z-index: 999;
  }

  .nav-list.open {
    display: flex;
    flex-direction: column;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1.4rem;

    background: white;

    border: 1px solid #ddd; 
    border-radius: 10px;

    padding: 0.25rem 0.55rem;   /* 👈 tighter, lighter feel */

    margin-left: auto;
    cursor: pointer;
  }

  .nav-list li + li {
    border-top: 1px solid #eee;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid #355B4A;
    outline-offset: 2px;
  }
}

/* Mobile accordion control */
.has-dropdown .dropdown {
  display: none;
}

.has-dropdown.open .dropdown {
  display: block;
} 

/* Dropdown Bars */
.dropdown li {
  position: relative;
  padding: 0.5rem 0;
}

.dropdown li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;          /* controls left inset */
  right: 1.5rem;         /* controls right inset */
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}


/* Kill browser default list bullets completely */
#primary-nav,
#primary-nav li {
  list-style: none;
  /*margin: 0;
  padding: 0;
  padding-top: 2px;*/
}

/*
#primary-nav {
  top: -6px;
}*/

#primary-nav li:first-child a {
  padding-top: 6px;
}

#primary-nav li::marker {
  content: none;
}

.nav-logo {
  opacity: 0.9;
}

.nav-logo img {
  height: 24px;     /* controls vertical size */
  width: auto;      /* preserves aspect ratio */
  display: block;
}

/* Debug navigation (temporary / dev only) */
nav.debug ul {
  list-style-position: outside;
  list-style: disc;
  padding: 0;
  margin-top: 2rem;
  padding-left: 1.25rem;
}

nav.debug ul ul {
  list-style: circle;
}

nav.debug ul ul ul {
  list-style: square;
}

nav.debug li {
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.debug {
  display: none;
}

body.dev .debug {
  display: block;
}

.beta-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem; /* was likely ~2–3rem */
  align-items: stretch;

  background: rgba(230, 217, 242, 0.4); /* faint lavender */
  padding: .4rem .25rem .75rem .75rem; /* top right bottom left */
  border-radius: 18px;
  margin-top: 3rem;
}
/*
.beta-figure img {
  max-height: 300px;
  object-fit: contain;
  margin-left: -0.25rem;  tiny tuck-in 
  pointer-events: none;  she’s informational, not clickable 
}*/

.beta-figure {
  position: absolute;
  right: 1rem;
  bottom: 0;

  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.beta-figure img {
  max-height: 200px;   /* match the content box 220 */
  width: auto;
  object-fit: contain;
  pointer-events: none;
  bottom: -6px;
}


.beta-note h2 {
  font-size: 1.4rem; /* smaller, calmer */
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #9b8211; /* soft gold */
}

.beta-note p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  color: #b79570; /* Text */
}

.beta-content {
  position: relative;

  background: #e6d9f2;
  padding: .5rem 9.5rem .5rem 1.25rem; /* top right bottom left */
  border-radius: 14px;

  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.6),
    inset -1px -1px 0 rgba(0,0,0,0.08),
    0 6px 16px rgba(0,0,0,0.12);

  border: 1px solid rgba(160, 130, 190, 0.35);
  min-height: 220px;
}



/* Feet Stuff */
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.footer-inner {
  max-width: 60ch;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.9rem;
  color: #555;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: #355B4A;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}


