/* cards generic panel */
section,
.card {
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* nav "pill" button (visuals only) */
/* nav list and layout lives in layout.css */
#nav_menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 1rem;
    font-weight: 600;
    color: var(--sage);
    background: rgba(255, 255, 255, .7);
    border: 2px solid var(--sage);
    border-radius: 999px;
    transition: transform .25s, color .25s, box-shadow .25s;
    will-change: transform;
}

#nav_menu .current a {
    background: var(--sage);
    color: #fff;
}

#nav_menu a:hover,
#nav_menu a:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

/* home hero avatar + tagline */
.home-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    padding: 2rem;
    border-radius: 1rem;
}

.profile-pic {
    width: 180px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--soft);
    box-shadow: 0 0 0 3px rgba(216, 226, 220, .35);
}

.home-intro .profile-pic {
    flex: 0 0 180px;
}

.intro-text {
    max-width: 420px;
}

.home-intro .intro-text {
    flex: 1;
    max-width: 600px;
}

.intro-text h2 {
    color: var(--coral);
}

/* stack on small screens */
@media (max-width:600px) {
    .home-intro {
        flex-direction: column;
        text-align: center;
    }
}

/* blog and link wrappers + posts */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.post {
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.article .post+.post {
    margin-top: 1.25rem;
}

.post h2 {
    margin-bottom: .25rem;
}

.meta {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: .5rem;
}

/* links panel and link grid cards */
.links {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.link-list {
    line-height: 1.9;
}

.link-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.link-grid a {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: .25rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--soft);
    border-radius: 16px;
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform .15s, box-shadow .2s, border-color .2s;
}

.link-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    border-color: var(--sage);
}

.lg-emoji {
    font-size: 1.4rem;
}

.lg-title {
    font-weight: 700;
    color: var(--sage);
}

.lg-sub {
    font-size: .9rem;
    color: var(--muted);
}

/* progress bars */
.progress {
    height: 8px;
    background: rgba(132, 165, 157, .18);
    border-radius: 999px;
    overflow: hidden;
    margin-top: .35rem;
}

.progress-bar {
    height: 100%;
    width: var(--pct, 0%);
    background: var(--sage);
    border-radius: inherit;
    transition: width .4s;
}

.progress.done .progress-bar {
    background: var(--coral);
}

.progress.in-progress .progress-bar {
    background: var(--sage);
}

.progress.not-started .progress-bar {
    background: var(--border);
}

.progress-label {
    font-size: .85rem;
    color: var(--muted);
    margin-top: .25rem;
}

/* progress bar tweaks  */
.progress {
    height: 8px;
    background: rgba(132, 165, 157, .18);
    border-radius: 999px;
    overflow: hidden;
    margin-top: .35rem;
}

.progress-bar {
    height: 100%;
    width: var(--pct, 0%);
    background: var(--sage);
    border-radius: inherit;
    transition: width .4s;
}

.progress.done .progress-bar {
    background: var(--coral);
}

.progress.not-started .progress-bar {
    background: var(--border);
}

.progress-label {
    font-size: .85rem;
    color: var(--muted);
}

/* about page layout + music/video components */
@media (min-width:900px) {
    .intro {
        display: grid;
        grid-template-columns: minmax(420px, 1fr) 360px;
        gap: 2rem;
        align-items: start;
    }
}

.about-extra {
    max-width: 1100px;
    margin: 1rem auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width:900px) {
    .about-extra {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width:900px) {
    .about-intro {
        display: grid;
        grid-template-columns: minmax(420px, 1fr) 360px;
        gap: 2rem;
        align-items: start;
    }
}

/* music card */
.music-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .7);
    box-shadow: var(--shadow);
}

.music-card h4 {
    font-size: .95rem;
    letter-spacing: .3px;
    color: var(--muted);
    text-align: center;
    margin: 0 0 4px;
}

.music-card img {
    display: block;
    margin: 0 auto;
    width: 180px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.music-card iframe {
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 12px;
}

.music-thumb {
    display: block;
    max-width: 200px;
    height: auto;
    margin: 0 auto 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* responsive 16:9 */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1rem;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* lists inside about intro text */
.intro-text ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: .25rem 0 .75rem;
}

.intro-text li {
    margin: .15rem 0;
}


/* guestbook form */
.form-card {
    max-width: 720px;
    margin: 2rem auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
}

.form-title {
    font-family: "Poppins", system-ui, sans-serif;
    margin-bottom: .25rem;
}

.form-subtitle,
.privacy-note {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 1rem;
}

.guestbook-form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: .35rem;
    font-weight: 600;
}

.guestbook-form input[type="text"],
.guestbook-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem .9rem;
    font: inherit;
    background: #fff;
}

.guestbook-form textarea {
    resize: vertical;
}

.btn {
    margin-top: 1rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--sage);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(.95);
}

/* honeypot */
.hp {
    position: absolute;
    left: -5000px;
    height: 0;
    width: 0;
    opacity: 0;
}

/* about: equal-height rows */
.about-intro {
    display: grid;
    grid-template-columns: 1fr;
    /* stack on mobile */
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .about-intro {
        grid-template-columns: minmax(420px, 1fr) 360px;
    }
}

.about-extra {
    /* stack on mobile */
    display: grid;
    grid-template-columns: 1fr;
    /* equal height */
    gap: 1.25rem;
    align-items: stretch;

}

@media (min-width: 900px) {
    .about-extra {
        grid-template-columns: 1fr 1fr;
    }
}

/* make each card fill the row track height */
.about-intro .card,
.about-extra .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* responsive video that fits in card */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: .75rem;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.alien-img {
    width: 50%;
    height: auto;
}

.book-link {
    color: var(--sage);
}

details {
    margin: 1em 0;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fdfdfd;
    /* adjust to your cream background */
}

summary {
    font-weight: bold;
    cursor: pointer;
    color: #444;
}

details[open] {
    background-color: #f7f7f7;
    /* subtle contrast when open */
}

.blog img {
    max-width: 80%;
    margin: 2rem auto;
    display: block;
    border: 4px solid #fff;
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(-1.5deg);
}

.blog img:nth-child(even) {
    transform: rotate(1.5deg);
}

.plant-photo {
    text-align: center;
    margin: 1.5rem 0;
}

.plant-photo img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0, 0.15);
}

.plant-photo figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--soft-);
    font-style: italic;
}

.highlight-link {
  color: var(--sage);
  text-decoration: underline;
}
.highlight-link:hover {
  color: #5e7d75; /* darker sage for hover */
}

/* remove normal bullets */
.fancy-list {
  list-style-type: none;
  padding-left: 0;
}

/* add emoji bullets */
.fancy-list li::before {
  content: "🍄";
  color: var(--coral); /* from your tokens.css */
}

.tip {
  margin: 1rem 0;
  padding: .6rem .8rem;
  background: #fff;
  border: 1px dashed var(--sage);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .9rem;
}

.explain {
  margin: 1rem 0 1rem 1.25rem;
  list-style-type: disc;
}

.explain li {
  margin-bottom: .35rem;
}

.post h2 {
  font-size: 1.3rem;
  border-bottom: 2px solid var(--sage);
  padding-bottom: .25rem;
  margin-top: 1.5rem;
}

.post h3 {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.post pre {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
  line-height: 1.4;
}

.gas-list {
  list-style: none;        
}

.gas-list li {
  margin: 0.25em 0;        
}
