  
    /* ====== Palette (apothecary / cozy) ====== */
    :root{
      --bg: #0f1411;          /* deep forest */
      --panel: #151c17;       /* slightly lighter */
      --text: #e8efe7;        /* warm parchment */
      --muted: #b9c8bb;       /* soft sage text */
      --accent: #97b59a;      /* sage */
      --accent2: #d6c6a8;     /* parchment gold */
	  --accent3: #bcdbb6; 	  /* pale pastel green */
      --line: rgba(232,239,231,.12);
      --shadow: rgba(0,0,0,.35);
	  --main-font: 'Cormorant Garamond', serif;
	  --body-font: 'Libre Baskerville', serif;
      --accent-color: #4a5d4f;
    }

    /* ====== Base ====== */
    * { box-sizing: border-box; }
    body {
  margin: 0;
  font-family: var(--body-font), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;

  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(151,181,154,.10), transparent 60%),
    radial-gradient(1000px 600px at 80% 20%, rgba(214,198,168,.08), transparent 55%),
    var(--bg);

  position: relative;
  z-index: 0;
    }
	
	body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("parchment2.jpg");
  background-repeat: repeat;
  background-size: 1000px auto;

  opacity: 0.90;            /* <-- change this to tune parchment strength */
  pointer-events: none;
  z-index: -1;
}

    a { color: var(--accent2); text-decoration: none; }
    a:hover { text-decoration: underline; }


/* ====== Lab Notes Cards ====== */	
.foxglove-card {
  position: relative;
	}

.foxglove-card::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;

  background-image: url("images/plant2.png");
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 0.5;
  pointer-events: none;
	}


	/* ====== Herbarium Cards ====== */	
.plant-card {
  position: relative;
	}

.plant-card::before {
  content: "";
  position: absolute;
  top: 15px;
  right: -15px;
  width: 125px;
  height: 125px;

  background-image: url("images/plant2.png");
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 0.5;
  pointer-events: none;
	}


	/* ====== Grimoire Cards ====== */	

.foxglove-card {
  position: relative;
	}

.foxglove-card::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;

  background-image: url("images/plant2.png");
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 0.5;
  pointer-events: none;
	}


    /* ====== Header / Banner ====== */
    header{
      border-bottom: 1px solid var(--line);
      background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.10));
    }

    .banner{
      width: 100%;
      height: auto;             /* keeps aspect ratio */
      display: block;           /* removes image baseline gap */
      height: 350px; 		/* optional: prevents huge banners */
	  max-width: 1400px;	 
      object-fit: cover;        /* crops nicely if banner is tall */
	  margin: 0 auto;  		    /* centers it */
    }

    /* ====== Nav ====== */
    nav{
      display: flex;
      justify-content: center;
      gap: .75rem;
      padding: .75rem 1rem;
      background: rgba(21,28,23,.65);
      backdrop-filter: blur(6px);
    }

    nav a{
      padding: .45rem .75rem;
      border: 1px solid transparent;
      border-radius: 999px;
      color: var(--text);
      letter-spacing: .3px;
      font-weight: 600;
      font-size: .95rem;
    }

    nav a:hover{
      border-color: rgba(151,181,154,.55);
      background: rgba(151,181,154,.10);
      text-decoration: none;
    }

	nav a.active{
	  border-color: rgba(151,181,154,.75);
	  background: rgba(151,181,154,.18);
	 }
	 
	nav a.inactive {
		pointer-events: none;
		cursor: not-allowed;	
	}
	
    /* ====== Layout ====== */
    .wrap{
      max-width: 1100px;
      margin: 1.25rem auto 3rem;
      padding: 0;
    }

    .card{
      background: rgba(21,28,23,.75);
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: 0 10px 90px var(--shadow);
      padding: 1.1rem 1.4rem;
      margin-top: 1rem;
    }

    h1, h2 { margin: 0 0 .5rem; }
    .muted{ color: var(--muted); }
	
	h3, h4 { margin: 0 0 .5rem; }
	.toned{ color: var(--accent3); }
	
	p {text-align: justify;
	text-indent: 2em;
}

    /* ====== Mobile tweaks ====== */
    @media (max-width: 600px){
      nav{
        flex-wrap: wrap;       /* nav buttons wrap on small screens */
        gap: .5rem;
      }
      .banner{
        max-height: 200px;
      }
    }

/* ===== Ambient Music Button ===== */

.music-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;

  padding: 8px 18px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  letter-spacing: 0.4px;

  color: var(--accent2);
  background: rgba(21, 28, 23, 0.75);
  opacity: 0.9;

  border: 1px solid rgba(214,198,168,0.35);
  border-radius: 999px;

  backdrop-filter: blur(6px);

  cursor: pointer;
  transition: all 0.25s ease;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Hover */
.music-btn:hover {
  background: rgba(151,181,154,0.50);
  border-color: rgba(151,181,154,0.6);
  color: var(--text);
  transform: translateY(-2px);
   opacity: 1;
}

/* Active click */
.music-btn:active {
  transform: translateY(0.5px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Optional “playing” look */
.music-btn.is-playing {
  border-color: rgba(151,181,154,0.75);
  background: rgba(151,181,154,0.90);
  opacity: 0.95;
  color: var(--text);
}

/* ===== Floating Note Animation ===== */
.music-note {
  position: fixed; /* so it floats over everything */
  z-index: 9999;
  pointer-events: none;

  font-family: var(--body-font);
  font-size: var(--note-size, 0.95rem);

  color: rgba(60,72,61,0.85);
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);

   animation: floatNote var(--note-dur, 1.8s) ease-out forwards;
  animation-delay: var(--note-delay, 0s);
}

@keyframes floatNote {
  0%   { transform: translate(0, 0) scale(0.95); opacity: 0.3; }
  10%  { opacity: 1; }
  100% { transform: translate(-12px, -70px) scale(1.05); opacity: 0.3; }
}


/* ===== Tables ===== */
table {
  border-collapse: collapse;
  margin: 1rem auto;
  background: rgba(21,28,23,.55);
  table-layout: fixed;
}

th, td {
  border: 1px solid var(--line);
  padding: 10px 10px;
  text-align: center;
}

th {
  background: rgba(151,181,154,.12);
  color: var(--accent3);
}

.card table {
  width: 100%;
  margin: 0;
}

/* Column widths */
th:nth-child(1),
td:nth-child(1) {
  width: 25%;
}

th:nth-child(2),
td:nth-child(2) {
  width: 35%;
}

th:nth-child(3),
td:nth-child(3) {
  width: 40%;  /* Right column wider */
}

.padded-image {
    display: inline-block; /* Ensures proper rendering of padding/margin */
    padding: 30px;  /* Adds 10px of space around the image */
    /* Or use margin: 10px; for the same effect outside the image border */
    height: auto;
    width: 350px;
    border-radius: 2px;
  }
  
  td img {
   display: inline-block;
   margin: 5px;
}