/* namu.club — naturalist community pinboard
   Palette:
     #f9f6f0 Natural Paper, #2d3b2d Deep Leaf, #5a7c4f Canopy Green,
     #8b6f47 Branch Brown, #d4c9a8 Dried Leaf, #e8a87c Autumn Peach,
     #f0ebe0 Pale Bark
   Fonts: Amatic SC (display), Lato (body), Kalam (field notes)
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: #2d3b2d;
    background-color: #f9f6f0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ============ TOPBAR ============ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 48px;
    background-color: rgba(249, 246, 240, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px dashed rgba(139, 111, 71, 0.35);
}

.topbar-inner {
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: "Amatic SC", "Lato", sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    letter-spacing: 0.04em;
    color: #2d3b2d;
    line-height: 1;
}

.brand::before {
    content: "✿";
    color: #5a7c4f;
    margin-right: 0.4rem;
    font-size: 0.85em;
    opacity: 0.75;
}

.hamburger {
    width: 32px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.hamburger span {
    display: block;
    height: 1.5px;
    background-color: #2d3b2d;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 75%; align-self: flex-end; }
.hamburger span:nth-child(3) { width: 90%; }

.hamburger.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    width: 100%;
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    width: 100%;
}

/* Drawer menu */
.drawer {
    position: absolute;
    top: 48px;
    right: 0;
    width: min(320px, 92vw);
    background-color: #f9f6f0;
    border: 1.5px dashed #8b6f47;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 12px;
    padding: 1.5rem 1.75rem 1.75rem;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 0.6, 0.3, 1), opacity 0.3s ease;
    box-shadow: -10px 14px 40px -22px rgba(45, 59, 45, 0.4);
}

.drawer.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.drawer ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.drawer ul a {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #2d3b2d;
    letter-spacing: 0.03em;
    display: inline-block;
    padding: 0.15rem 0;
    border-bottom: 1.5px dashed transparent;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.drawer ul a:hover {
    color: #5a7c4f;
    border-bottom-color: #8b6f47;
    transform: translateX(4px);
}

.drawer-note {
    font-family: "Kalam", cursive;
    font-size: 0.95rem;
    color: #8b6f47;
    line-height: 1.5;
    border-top: 1px dashed rgba(139, 111, 71, 0.4);
    padding-top: 1rem;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 78vh;
    padding: 4rem 1.25rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(139, 111, 71, 0.06) 48%, rgba(139, 111, 71, 0.06) 49%, transparent 49%),
        linear-gradient(150deg, transparent 48%, rgba(139, 111, 71, 0.06) 48%, rgba(139, 111, 71, 0.06) 49%, transparent 49%),
        linear-gradient(60deg, transparent 48%, rgba(90, 124, 79, 0.05) 48%, rgba(90, 124, 79, 0.05) 49%, transparent 49%);
    background-size: 80px 80px, 80px 80px, 110px 110px;
    animation: pattern-drift 60s linear infinite;
}

@keyframes pattern-drift {
    0%   { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 160px 80px, -160px 80px, 220px -110px; }
}

.hero-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.leaf {
    position: absolute;
    width: 22px;
    height: 36px;
    background: #5a7c4f;
    border-radius: 50% 0 50% 0;
    opacity: 0.18;
    transform-origin: center;
}

.leaf-1 { top: 12%;  left: 8%;  transform: rotate(-30deg); animation: leaf-sway 8s ease-in-out infinite; }
.leaf-2 { top: 20%;  right: 12%; width: 16px; height: 26px; background: #e8a87c; opacity: 0.32; transform: rotate(45deg); animation: leaf-sway 10s ease-in-out -2s infinite; }
.leaf-3 { bottom: 22%; left: 18%; width: 18px; height: 30px; background: #8b6f47; opacity: 0.28; transform: rotate(60deg); animation: leaf-sway 12s ease-in-out -4s infinite; }
.leaf-4 { bottom: 12%; right: 8%; transform: rotate(-15deg); animation: leaf-sway 9s ease-in-out -1s infinite; }

@keyframes leaf-sway {
    0%, 100% { transform: rotate(var(--r, -30deg)) translateY(0); }
    50%      { transform: rotate(calc(var(--r, -30deg) + 8deg)) translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
}

.hero-title {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 12vw, 8rem);
    line-height: 0.95;
    color: #2d3b2d;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: "Kalam", cursive;
    font-weight: 400;
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    color: #8b6f47;
    margin-bottom: 2.25rem;
    line-height: 1.5;
}

.hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.25rem;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a7c4f;
    border: 1.5px dashed #8b6f47;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    background-color: rgba(249, 246, 240, 0.5);
}

.hero-meta > span:not(.dot) {
    margin-right: 0.5rem;
}

/* ============ SEASON DOTS ============ */
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
    flex-shrink: 0;
}

.dot-spring { background-color: #5a7c4f; }
.dot-summer { background-color: #2d3b2d; }
.dot-autumn { background-color: #e8a87c; }
.dot-winter { background-color: #8b6f47; }

/* ============ BOARD (Field Notes) ============ */
.board {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4.5rem 1.25rem 3rem;
}

.board-header {
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.board-title {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #2d3b2d;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.board-sub {
    font-family: "Kalam", cursive;
    color: #8b6f47;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-pill {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #2d3b2d;
    padding: 0.4rem 1rem;
    border: 1.5px dashed #8b6f47;
    border-radius: 999px;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.filter-pill:hover {
    background-color: rgba(212, 201, 168, 0.45);
    transform: translateY(-1px);
}

.filter-pill.active {
    background-color: #5a7c4f;
    color: #f9f6f0;
    border-color: #5a7c4f;
    border-style: solid;
}

.filter-pill.active .dot {
    box-shadow: 0 0 0 1.5px #f9f6f0;
}

/* Masonry */
.masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 980px) {
    .masonry { column-count: 2; }
}
@media (max-width: 620px) {
    .masonry { column-count: 1; }
}

.card {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
    border: 1.5px dashed #8b6f47;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.card-pale  { background-color: #f0ebe0; }
.card-dried { background-color: #d4c9a8; }

.card:hover {
    transform: translateY(-3px) rotate(-0.25deg);
    box-shadow: 0 14px 30px -22px rgba(45, 59, 45, 0.45);
    border-color: #5a7c4f;
}

.card.featured::before,
.card.featured::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 24px;
    background: #5a7c4f;
    border-radius: 50% 0 50% 0;
    opacity: 0.32;
    pointer-events: none;
}

.card.featured::before {
    top: -6px;
    left: -6px;
    transform: rotate(30deg);
}

.card.featured::after {
    bottom: -6px;
    right: -6px;
    transform: rotate(210deg);
    background: #e8a87c;
    opacity: 0.42;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b6f47;
    margin-bottom: 0.85rem;
}

.card-title {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1;
    color: #2d3b2d;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.card-meta {
    font-family: "Kalam", cursive;
    font-size: 0.92rem;
    color: #5a7c4f;
    margin-bottom: 0.85rem;
}

.card-body {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #2d3b2d;
    margin-bottom: 0.85rem;
}

.card-note {
    font-family: "Kalam", cursive;
    font-size: 0.95rem;
    color: #8b6f47;
    line-height: 1.55;
    padding-left: 0.85rem;
    border-left: 2px dashed rgba(139, 111, 71, 0.45);
    margin-bottom: 0.85rem;
}

.card-list {
    margin-bottom: 0.85rem;
    border-top: 1px dashed rgba(139, 111, 71, 0.35);
    padding-top: 0.5rem;
}

.card-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.25rem 0;
    border-bottom: 1px dashed rgba(139, 111, 71, 0.18);
    font-size: 0.92rem;
}

.card-list li:last-child { border-bottom: none; }

.card-list li span {
    font-family: "Kalam", cursive;
    color: #5a7c4f;
}

.card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Kalam", cursive;
    font-size: 0.85rem;
    color: #8b6f47;
    border-top: 1px dashed rgba(139, 111, 71, 0.4);
    padding-top: 0.65rem;
    margin-top: 0.25rem;
}

/* hidden card state */
.card.is-hidden {
    display: none;
}

/* reveal animation on load/filter */
.card.reveal {
    animation: card-reveal 0.55s ease both;
}

@keyframes card-reveal {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============ BLOCK GENERIC ============ */
.block {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.block-header {
    margin-bottom: 2.5rem;
    max-width: 720px;
}

.block-title {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    color: #2d3b2d;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.block-sub {
    font-family: "Kalam", cursive;
    color: #8b6f47;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* ============ SPECIES INDEX ============ */
.species {
    background-color: #f0ebe0;
    max-width: none;
    padding: 4.5rem 1.25rem;
}

.species .block-header {
    max-width: 1280px;
    margin: 0 auto 2.5rem;
}

.species-list {
    max-width: 1280px;
    margin: 0 auto;
    column-count: 2;
    column-gap: 2.5rem;
    border-top: 1.5px dashed #8b6f47;
}

@media (max-width: 720px) {
    .species-list { column-count: 1; }
}

.species-list li {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    column-gap: 0.8rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px dashed rgba(139, 111, 71, 0.4);
    break-inside: avoid;
    transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.species-list li:hover {
    background-color: rgba(212, 201, 168, 0.55);
    padding-left: 0.5rem;
}

.sp-name {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: italic;
    color: #2d3b2d;
    font-size: 1rem;
}

.sp-common {
    font-family: "Kalam", cursive;
    color: #5a7c4f;
    font-size: 0.95rem;
    margin-left: 0.4rem;
}

.sp-count {
    font-family: "Lato", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #8b6f47;
    text-transform: uppercase;
}

/* ============ SEASONS ============ */
.seasons {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.season-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 980px) {
    .season-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .season-cards { grid-template-columns: 1fr; }
}

.season-card {
    border: 1.5px dashed #8b6f47;
    border-radius: 8px;
    padding: 1.6rem 1.5rem;
    background-color: #f0ebe0;
    position: relative;
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.season-card:hover {
    transform: translateY(-4px);
    background-color: #d4c9a8;
}

.season-card.s-spring  { border-top: 4px solid #5a7c4f; }
.season-card.s-summer  { border-top: 4px solid #2d3b2d; }
.season-card.s-autumn  { border-top: 4px solid #e8a87c; }
.season-card.s-winter  { border-top: 4px solid #8b6f47; }

.season-mark {
    display: inline-flex;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6f47;
    margin-bottom: 0.75rem;
}

.season-title {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1;
    color: #2d3b2d;
    margin-bottom: 0.65rem;
}

.season-body {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #2d3b2d;
    margin-bottom: 0.85rem;
}

.season-quote {
    font-family: "Kalam", cursive;
    color: #5a7c4f;
    font-size: 0.95rem;
    line-height: 1.5;
    border-top: 1px dashed rgba(139, 111, 71, 0.4);
    padding-top: 0.65rem;
}

/* ============ SKETCHBOOK ============ */
.sketchbook {
    background-color: #f0ebe0;
    max-width: none;
    padding: 5rem 1.25rem;
}

.sketchbook .block-header {
    max-width: 1280px;
    margin: 0 auto 2.5rem;
}

.sketch-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 880px) {
    .sketch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .sketch-grid { grid-template-columns: 1fr; }
}

.sketch {
    background-color: #f9f6f0;
    border: 1.5px dashed #8b6f47;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    transition: transform 0.4s ease;
}

.sketch:hover {
    transform: rotate(-0.5deg) translateY(-3px);
}

.sketch::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 12px;
    background-color: #e8a87c;
    opacity: 0.6;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(45, 59, 45, 0.18);
}

.sketch-art {
    aspect-ratio: 5 / 6;
    background-color: rgba(249, 246, 240, 0.7);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background-image:
        linear-gradient(rgba(139, 111, 71, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 111, 71, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
}

.sketch-svg {
    width: 78%;
    height: auto;
}

.sketch figcaption {
    font-family: "Kalam", cursive;
    text-align: center;
    color: #5a7c4f;
    font-size: 0.95rem;
}

/* ============ GATHERING ============ */
.gathering {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 760px) {
    .event-list { grid-template-columns: 1fr; }
}

.event {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1.25rem;
    align-items: stretch;
    border: 1.5px dashed #8b6f47;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    background-color: #f0ebe0;
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.event:hover {
    transform: translateY(-2px);
    background-color: #d4c9a8;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1.5px dashed rgba(139, 111, 71, 0.55);
    padding-right: 1rem;
    text-align: center;
}

.event-day {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1;
    color: #2d3b2d;
}

.event-mon {
    font-family: "Lato", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6f47;
    margin-top: 0.25rem;
}

.event-body h3 {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1;
    color: #2d3b2d;
    margin-bottom: 0.4rem;
}

.event-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.event-loc {
    font-family: "Kalam", cursive;
    color: #5a7c4f;
    font-size: 0.9rem;
}

/* ============ JOIN ============ */
.join {
    background-color: #d4c9a8;
    max-width: none;
    padding: 5rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.join-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 820px) {
    .join-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.join-art {
    position: relative;
    height: 280px;
    border: 1.5px dashed #8b6f47;
    border-radius: 8px;
    background-color: #f9f6f0;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(139, 111, 71, 0.08) 48%, rgba(139, 111, 71, 0.08) 49%, transparent 49%),
        linear-gradient(150deg, transparent 48%, rgba(139, 111, 71, 0.08) 48%, rgba(139, 111, 71, 0.08) 49%, transparent 49%);
    background-size: 60px 60px;
    overflow: hidden;
}

.join-leaf {
    position: absolute;
    width: 32px;
    height: 50px;
    opacity: 0.55;
}

.join-leaf-1 { top: 18%;  left: 22%; background: #5a7c4f; transform: rotate(-25deg); }
.join-leaf-2 { top: 48%;  right: 18%; background: #e8a87c; transform: rotate(40deg); width: 26px; height: 40px; }
.join-leaf-3 { bottom: 14%; left: 38%; background: #8b6f47; transform: rotate(-15deg); width: 28px; height: 44px; }

.join-text .block-title {
    color: #2d3b2d;
}

.join-text .block-sub {
    color: #2d3b2d;
    margin-bottom: 1.5rem;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.join-label > span {
    font-family: "Kalam", cursive;
    color: #2d3b2d;
    font-size: 0.95rem;
    line-height: 1.3;
}

.join-form input,
.join-form select {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #2d3b2d;
    background-color: #f9f6f0;
    border: 1.5px dashed #8b6f47;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.join-form input::placeholder {
    color: rgba(139, 111, 71, 0.65);
    font-style: italic;
}

.join-form input:focus,
.join-form select:focus {
    border-color: #5a7c4f;
    border-style: solid;
    background-color: #ffffff;
}

.join-button {
    margin-top: 0.5rem;
    align-self: flex-start;
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: #f9f6f0;
    background-color: #5a7c4f;
    border-radius: 999px;
    padding: 0.55rem 1.8rem;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.join-button:hover {
    background-color: #2d3b2d;
    transform: translateY(-2px);
}

.join-message {
    font-family: "Kalam", cursive;
    color: #2d3b2d;
    font-size: 1rem;
    background-color: rgba(249, 246, 240, 0.7);
    border: 1.5px dashed #5a7c4f;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    line-height: 1.5;
}

/* ============ FOOTER ============ */
.footer {
    background-color: #2d3b2d;
    color: #f9f6f0;
    padding: 3rem 1.25rem 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-name {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: 0.03em;
    line-height: 1;
}

.footer-tag {
    font-family: "Kalam", cursive;
    color: #d4c9a8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 720px) {
    .footer-links { justify-content: flex-start; }
}

.footer-links a {
    font-family: "Lato", sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4c9a8;
    transition: color 0.25s ease;
    border-bottom: 1px dashed transparent;
    padding-bottom: 2px;
}

.footer-links a:hover {
    color: #e8a87c;
    border-bottom-color: #e8a87c;
}

.footer-credit {
    grid-column: 1 / -1;
    font-family: "Kalam", cursive;
    font-size: 0.85rem;
    color: #d4c9a8;
    border-top: 1px dashed rgba(212, 201, 168, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* ============ Reveal on scroll ============ */
.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* selection */
::selection {
    background: rgba(232, 168, 124, 0.55);
    color: #2d3b2d;
}
