/* ═══════════════════════════════════════════════════════════════════
   VARIANT A — Neighborhoody / Whimsy
   Bulletin board meets Northeast Minneapolis zine culture.
   Warm. Handmade. Pinned-up. Like your cool neighbor made it.
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.bunny.net/css?family=fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&display=swap');
@import url('https://fonts.bunny.net/css?family=lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
@import url('https://fonts.bunny.net/css?family=dm-mono:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Palette ─────────────────────────────────────────────────────── */
html.variant-a {
    --va-cream:      #FAF7F2;
    --va-paper:      #F2EBE0;
    --va-tan:        #E0D5C4;
    --va-green:      #2A5C45;
    --va-green-mid:  #3D7A5E;
    --va-brick:      #C4622D;
    --va-yellow:     #F0BE3C;
    --va-ink:        #1E1A14;
    --va-muted:      #7A6850;

    --color-primary-text:   var(--va-ink);
    --color-secondary-text: var(--va-muted);
    --color-border:         rgba(42,92,69,0.15);
    --background-color:     var(--va-cream);
    --ghost-accent-color:   var(--va-green);
    --gh-font-heading: 'Fraunces', Georgia, serif;
    --gh-font-body:    'Lora', Georgia, serif;
}

html.variant-a body {
    background-color: var(--va-cream);
    /* Subtle dot grid — like graph paper */
    background-image: radial-gradient(circle, rgba(42,92,69,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--va-ink);
}

/* ── Navigation — neighborhood marquee sign ──────────────────────── */
html.variant-a .gh-navigation {
    background-color: var(--va-green);
    border-bottom: 5px solid var(--va-yellow);
    position: relative;
}

html.variant-a .gh-navigation::before {
    content: '★  MINNESORTA  ★  YOUR TWIN CITIES  ★';
    display: block;
    background: var(--va-yellow);
    color: var(--va-ink);
    font-family: 'DM Mono', monospace;
    font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    padding: 5px 0;
}

html.variant-a .gh-navigation-inner { padding: 12px 40px; }

html.variant-a .gh-navigation-logo {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 800;
    font-style: italic;
    color: var(--va-cream) !important;
    letter-spacing: -0.02em;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

html.variant-a .gh-navigation-logo:hover { color: var(--va-yellow) !important; }

html.variant-a .gh-navigation :is(.gh-navigation-logo, a:not(.gh-button), .gh-icon-button) {
    color: rgba(250,247,242,0.85);
}

html.variant-a .gh-navigation .nav a {
    font-family: 'DM Mono', monospace;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(250,247,242,0.85) !important;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

html.variant-a .gh-navigation .nav a:hover {
    color: var(--va-yellow) !important;
    border-bottom-color: var(--va-yellow);
}

html.variant-a .gh-navigation-actions { background: transparent; }

html.variant-a .gh-navigation .gh-button {
    background: var(--va-yellow);
    color: var(--va-ink) !important;
    font-family: 'DM Mono', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
    transition: transform 0.1s, box-shadow 0.1s;
}

html.variant-a .gh-navigation .gh-button:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.25);
    background: var(--va-yellow);
}

/* ── Post cards — pinned notes on a bulletin board ───────────────── */
html.variant-a .gh-feed {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

/* First card is the hero — spans 2 cols */
html.variant-a .gh-feed .gh-card:first-child {
    grid-column: span 2;
}

@media (max-width: 768px) {
    html.variant-a .gh-feed .gh-card:first-child { grid-column: span 1; }
}

/* Every card: looks like a pinned note */
html.variant-a .gh-card {
    background: #fff;
    border: 2px solid var(--va-tan);
    border-radius: 3px;
    box-shadow: 4px 5px 0 var(--va-tan);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
    position: relative;
    overflow: visible !important;
}

/* Pushpin dot */
html.variant-a .gh-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--va-brick);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Alternate pin colors */
html.variant-a .gh-card:nth-child(2)::before { background: var(--va-green); }
html.variant-a .gh-card:nth-child(3)::before { background: var(--va-yellow); border-color: var(--va-tan); }
html.variant-a .gh-card:nth-child(4)::before { background: var(--va-ink); }
html.variant-a .gh-card:nth-child(5)::before { background: var(--va-brick); }

/* Slight random rotations — every other tilts different way */
html.variant-a .gh-card:nth-child(odd)  { transform: rotate(-0.8deg); }
html.variant-a .gh-card:nth-child(even) { transform: rotate(0.6deg); }

html.variant-a .gh-card:hover {
    transform: rotate(0deg) translate(-3px,-4px) !important;
    box-shadow: 7px 9px 0 var(--va-green);
    border-color: var(--va-green);
    z-index: 10;
}

html.variant-a .gh-card-link { text-decoration: none; color: inherit; }

html.variant-a .gh-card-image {
    border-bottom: 2px solid var(--va-tan);
    overflow: hidden;
}

html.variant-a .gh-card-image img {
    transition: transform 0.3s ease;
    display: block;
}

html.variant-a .gh-card:hover .gh-card-image img { transform: scale(1.04); }

html.variant-a .gh-card-wrapper { padding: 20px 20px 16px; }

/* Rubber stamp tag */
html.variant-a .gh-card-tag {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 1.0rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--va-brick);
    background: transparent;
    border: 1.5px solid var(--va-brick);
    border-radius: 2px;
    padding: 2px 8px;
    margin-bottom: 10px;
    opacity: 0.85;
}

html.variant-a .gh-card-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.0rem;
    font-weight: 700;
    font-variation-settings: 'opsz' 20, 'WONK' 1;
    color: var(--va-ink);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

html.variant-a .gh-card:first-child .gh-card-title {
    font-size: 2.8rem;
    font-variation-settings: 'opsz' 36, 'WONK' 1;
}

html.variant-a .gh-card-excerpt {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.4rem;
    color: var(--va-muted);
    line-height: 1.6;
    font-style: italic;
}

html.variant-a .gh-card-meta {
    font-family: 'DM Mono', monospace;
    font-size: 1.05rem;
    color: var(--va-muted);
    border-top: 1.5px dashed var(--va-tan);
    padding-top: 10px;
    margin-top: 12px;
}

/* ── Article page ────────────────────────────────────────────────── */
html.variant-a .gh-article-header {
    border-bottom: 4px solid var(--va-yellow);
    padding-bottom: 36px;
    margin-bottom: 44px;
    position: relative;
}

html.variant-a .gh-article-tag {
    font-family: 'DM Mono', monospace;
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--va-brick);
    border: 1.5px solid var(--va-brick);
    border-radius: 2px;
    padding: 3px 10px;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 18px;
}

html.variant-a .gh-article-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(3.4rem, 5.5vw, 6rem);
    font-weight: 900;
    font-variation-settings: 'opsz' 72, 'WONK' 1;
    color: var(--va-ink);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 16ch;
}

html.variant-a .gh-article-excerpt {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.9rem;
    font-style: italic;
    color: var(--va-muted);
    border-left: 4px solid var(--va-yellow);
    padding-left: 18px;
    margin-top: 18px;
}

html.variant-a .gh-content {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.8rem;
    line-height: 1.78;
}

html.variant-a .gh-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-variation-settings: 'opsz' 36, 'WONK' 1;
    color: var(--va-green);
    font-size: 2.8rem;
    border-left: 5px solid var(--va-yellow);
    padding-left: 16px;
    margin-top: 52px;
}

html.variant-a .gh-content h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--va-ink);
    margin-top: 40px;
}

html.variant-a .gh-content a {
    color: var(--va-green);
    text-decoration-color: var(--va-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

html.variant-a .gh-content a:hover { color: var(--va-brick); }

html.variant-a .gh-content blockquote {
    border-left: 5px solid var(--va-brick);
    background: var(--va-paper);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--va-muted);
}

/* ── Buttons ─────────────────────────────────────────────────────── */
html.variant-a .gh-button {
    background: var(--va-green);
    color: var(--va-cream) !important;
    font-family: 'DM Mono', monospace;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    transition: transform 0.1s, box-shadow 0.1s;
}

html.variant-a .gh-button:hover {
    transform: translate(-2px,-2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
    background: var(--va-green);
}

/* ── Footer ──────────────────────────────────────────────────────── */
html.variant-a .gh-footer {
    background: var(--va-ink);
    color: var(--va-paper);
    border-top: 5px solid var(--va-yellow);
}

html.variant-a .gh-footer a { color: var(--va-paper); }
html.variant-a .gh-footer a:hover { color: var(--va-yellow); }
html.variant-a .gh-footer-inner {
    font-family: 'DM Mono', monospace;
    font-size: 1.15rem;
}

/* ── Section titles ──────────────────────────────────────────────── */
html.variant-a .gh-container-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-style: italic;
    font-size: 3rem;
    color: var(--va-green);
    font-variation-settings: 'opsz' 36;
}

/* ── Share + misc ────────────────────────────────────────────────── */
html.variant-a .mn-share-label {
    font-family: 'DM Mono', monospace;
    font-size: 1.0rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

html.variant-a .mn-share-btn {
    background: var(--va-paper);
    border: 1.5px solid var(--va-tan);
}

html.variant-a .mn-share-more summary {
    background: var(--va-paper);
    border: 1.5px solid var(--va-tan);
}
