/*
Theme Name: Stuff Toucher Field Guide
Theme URI: https://stufftoucher.com
Author: pcpimp
Author URI: https://stufftoucher.com
Description: A flashy dark field-guide theme for Stuff Touchers "in their natural habitat." High-contrast black, electric-blue and grey palette with glows, gradients and glassy specimen cards. Fully responsive classic PHP theme with widgets, custom logo, and menu support.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stufftoucher-fieldguide
Tags: blog, grid-layout, custom-logo, custom-menu, featured-images, threaded-comments, editor-style, right-sidebar, dark-mode
*/

/* ==========================================================================
   Design Tokens  —  Black / Blue / Grey
   ========================================================================== */
:root {
    --fg-black:      #05070d;
    --fg-bg:         #0a0e17;
    --fg-bg-alt:     #0f1420;
    --fg-card:       #131a29;
    --fg-card-hi:    #1a2334;
    --fg-line:       #26314a;
    --fg-line-soft:  #1b2233;

    --fg-white:      #eef4ff;
    --fg-grey:       #9fb0cc;
    --fg-grey-dim:   #6b7a96;
    --fg-grey-dark:  #46536e;

    --fg-blue:       #2f8bff;
    --fg-blue-hi:    #4fa8ff;
    --fg-blue-neon:  #38d6ff;
    --fg-blue-deep:  #0a3a86;

    --fg-glow:       0 0 0 1px rgba(56,214,255,0.15), 0 0 24px rgba(47,139,255,0.28);
    --fg-glow-soft:  0 8px 30px rgba(0,0,0,0.55), 0 0 0 1px rgba(47,139,255,0.10);
    --fg-grad:       linear-gradient(135deg, var(--fg-blue) 0%, var(--fg-blue-neon) 100%);
    --fg-grad-dark:  linear-gradient(180deg, #0f1524 0%, #0a0e17 100%);

    --fg-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --fg-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fg-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --fg-wrap: 1180px;
    --fg-content: 760px;
    --fg-radius: 12px;
    --fg-radius-sm: 8px;
    --fg-gap: clamp(1.25rem, 3vw, 2.25rem);
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background-color: var(--fg-bg);
    background-image:
        radial-gradient(1200px 600px at 15% -10%, rgba(47,139,255,0.16), transparent 60%),
        radial-gradient(1000px 500px at 100% 0%, rgba(56,214,255,0.10), transparent 55%),
        linear-gradient(rgba(38,49,74,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38,49,74,0.35) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px, 44px 44px;
    background-attachment: fixed, fixed, scroll, scroll;
    color: var(--fg-grey);
    font-family: var(--fg-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg-blue-hi); text-decoration-color: rgba(56,214,255,0.5); text-underline-offset: 3px; transition: color 0.15s ease; }
a:hover { color: var(--fg-blue-neon); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fg-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--fg-white);
    margin: 0 0 0.5em;
    letter-spacing: -0.015em;
}
p { margin: 0 0 1.25em; }
strong { color: var(--fg-white); }
blockquote {
    margin: 1.75em 0;
    padding: 1em 1.4em;
    border-left: 3px solid transparent;
    border-image: var(--fg-grad) 1;
    background: linear-gradient(90deg, rgba(47,139,255,0.10), transparent);
    font-family: var(--fg-display);
    font-size: 1.2rem;
    color: var(--fg-white);
    border-radius: 0 var(--fg-radius-sm) var(--fg-radius-sm) 0;
}
code, pre, kbd { font-family: var(--fg-mono); font-size: 0.9em; }
code { background: var(--fg-bg-alt); color: var(--fg-blue-neon); padding: 0.15em 0.4em; border-radius: 4px; }
pre { background: var(--fg-black); color: #cfe6ff; padding: 1.25em; border-radius: var(--fg-radius-sm); overflow-x: auto; border: 1px solid var(--fg-line); }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--fg-line), transparent); margin: 2.5em 0; }
:focus-visible { outline: 2px solid var(--fg-blue-neon); outline-offset: 3px; }
::selection { background: rgba(47,139,255,0.35); color: #fff; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--fg-blue); color: #fff; padding: 0.75em 1.25em; border-radius: var(--fg-radius-sm); box-shadow: var(--fg-glow); }

/* ==========================================================================
   Layout
   ========================================================================== */
.st-site-wrapper { overflow-x: hidden; }
.st-container { width: min(100% - 2.5rem, var(--fg-wrap)); margin-inline: auto; }
.st-content-area { width: min(100% - 2.5rem, var(--fg-wrap)); margin: var(--fg-gap) auto; }
.st-content-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--fg-gap); align-items: start; }
.st-content-layout.no-sidebar { grid-template-columns: minmax(0,1fr); }
@media (max-width: 880px) { .st-content-layout { grid-template-columns: 1fr; } }

/* ==========================================================================
   Header
   ========================================================================== */
.st-header {
    position: relative;
    background:
        radial-gradient(900px 400px at 50% -60%, rgba(56,214,255,0.22), transparent 65%),
        var(--fg-grad-dark);
    color: var(--fg-white);
    border-bottom: 1px solid var(--fg-line);
    overflow: hidden;
}
.st-header::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(47,139,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(47,139,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px; mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 75%);
    pointer-events: none;
}
.st-header::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
    background: var(--fg-grad); box-shadow: 0 0 18px rgba(56,214,255,0.7);
}
.st-header-inner {
    position: relative; z-index: 1;
    width: min(100% - 2.5rem, var(--fg-wrap));
    margin-inline: auto;
    padding: 2.5rem 0 2.25rem;
    text-align: center;
}
.st-eyebrow {
    display: inline-block;
    font-family: var(--fg-mono);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fg-blue-neon);
    background: rgba(56,214,255,0.08);
    border: 1px solid rgba(56,214,255,0.35);
    padding: 0.35em 1em;
    border-radius: 100px;
    margin-bottom: 1.1rem;
    box-shadow: 0 0 18px rgba(56,214,255,0.25);
}
.st-custom-logo img { margin: 0 auto 1rem; filter: drop-shadow(0 0 12px rgba(47,139,255,0.5)); }
.st-site-title {
    font-family: var(--fg-display);
    font-size: clamp(2.3rem, 6.5vw, 4.2rem);
    line-height: 1;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.st-site-title a {
    background: linear-gradient(180deg, #ffffff 0%, #a9c8ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    /* drop-shadow works on gradient-clipped text where text-shadow won't; layered for a fuller glow */
    filter:
        drop-shadow(0 0 14px rgba(56,214,255,0.55))
        drop-shadow(0 0 34px rgba(47,139,255,0.45));
}
.st-site-title a:hover {
    filter:
        brightness(1.12)
        drop-shadow(0 0 16px rgba(56,214,255,0.65))
        drop-shadow(0 0 40px rgba(47,139,255,0.5));
}
.st-site-description {
    font-family: var(--fg-mono);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--fg-grey);
    margin: 0.75rem 0 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.st-nav-wrapper {
    background: rgba(10,14,23,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fg-line);
    position: sticky; top: 0; z-index: 50;
}
.st-nav-inner {
    width: min(100% - 2.5rem, var(--fg-wrap));
    margin-inline: auto;
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    min-height: 56px;
}
.st-primary-menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; margin: 0; padding: 0; }
.st-primary-menu li { position: relative; }
.st-primary-menu a {
    display: block; position: relative;
    color: var(--fg-grey);
    text-decoration: none;
    font-family: var(--fg-sans); font-weight: 600; font-size: 0.82rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 1rem 1.1rem;
    transition: color 0.15s ease;
}
.st-primary-menu a::after {
    content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0.7rem; height: 2px;
    background: var(--fg-grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.st-primary-menu a:hover, .st-primary-menu .current-menu-item > a { color: var(--fg-white); }
.st-primary-menu a:hover::after, .st-primary-menu .current-menu-item > a::after { transform: scaleX(1); }
.st-primary-menu .sub-menu {
    list-style: none; margin: 0; padding: 0.4rem 0;
    position: absolute; left: 0; top: 100%; min-width: 210px;
    background: var(--fg-card); border: 1px solid var(--fg-line);
    border-radius: var(--fg-radius-sm); box-shadow: var(--fg-glow-soft);
    display: none; z-index: 60;
}
.st-primary-menu li:hover > .sub-menu, .st-primary-menu li:focus-within > .sub-menu { display: block; }
.st-primary-menu .sub-menu a { text-transform: none; letter-spacing: 0; font-weight: 500; padding: 0.55rem 1.1rem; }
.st-primary-menu .sub-menu a::after { display: none; }

.st-menu-toggle {
    display: none;
    background: rgba(47,139,255,0.10); border: 1px solid rgba(56,214,255,0.35);
    color: var(--fg-white); font-family: var(--fg-sans); font-weight: 600;
    padding: 0.5rem 1rem; border-radius: 100px; cursor: pointer;
    text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.1em;
}
@media (max-width: 720px) {
    .st-nav-inner { justify-content: space-between; }
    .st-menu-toggle { display: block; }
    .st-primary-menu { display: none; width: 100%; flex-direction: column; padding-bottom: 0.5rem; }
    .st-primary-menu.is-open { display: flex; }
    .st-primary-menu a::after { display: none; }
    .st-primary-menu .sub-menu { position: static; display: block; box-shadow: none; padding-left: 1rem; background: transparent; border: 0; }
}

/* ==========================================================================
   Page intro / archive header
   ========================================================================== */
.st-page-intro { text-align: center; margin: 0 auto var(--fg-gap); max-width: var(--fg-content); }
.st-page-intro .st-kicker {
    font-family: var(--fg-mono); font-size: 0.72rem; letter-spacing: 0.26em;
    text-transform: uppercase; color: var(--fg-blue-neon);
}
.st-page-intro h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-top: 0.4rem; }
.st-page-intro h1 span { color: var(--fg-blue-hi); }
.st-page-intro .st-taxonomy-desc { color: var(--fg-grey); }

/* ==========================================================================
   Specimen grid (post listing)
   ========================================================================== */
.st-specimen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--fg-gap);
}
.st-specimen {
    position: relative;
    background: var(--fg-card);
    border: 1px solid var(--fg-line);
    border-radius: var(--fg-radius);
    box-shadow: var(--fg-glow-soft);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.st-specimen::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--fg-radius);
    padding: 1px; background: var(--fg-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.22s ease; pointer-events: none; z-index: 3;
}
.st-specimen:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 18px 44px rgba(0,0,0,0.6), 0 0 26px rgba(47,139,255,0.35); }
.st-specimen:hover::before { opacity: 1; }
.st-specimen-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--fg-bg-alt); display: block; }
.st-specimen-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease, filter 0.45s ease; filter: saturate(0.9) contrast(1.05); }
.st-specimen:hover .st-specimen-media img { transform: scale(1.06); filter: saturate(1.1); }
.st-specimen-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,7,13,0.65) 100%); }
.st-specimen-media .st-no-photo {
    display: flex; align-items: center; justify-content: center; height: 100%;
    font-family: var(--fg-mono); font-size: 0.8rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--fg-grey-dark);
    background: repeating-linear-gradient(45deg, #0d1320 0 12px, #101728 12px 24px);
}
.st-specimen-tag {
    position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2;
    background: var(--fg-grad); color: #04121f;
    font-family: var(--fg-mono); font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.35em 0.75em; border-radius: 100px;
    box-shadow: 0 0 16px rgba(56,214,255,0.6);
}
.st-specimen-body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 2; }
.st-specimen-body .st-classification {
    font-family: var(--fg-mono); font-size: 0.68rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--fg-grey-dim); margin-bottom: 0.55rem;
    display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.st-specimen-body h2, .st-specimen-body h3 { font-size: 1.42rem; margin: 0 0 0.5rem; }
.st-specimen-body h2 a, .st-specimen-body h3 a { color: var(--fg-white); text-decoration: none; }
.st-specimen-body h2 a:hover, .st-specimen-body h3 a:hover { color: var(--fg-blue-neon); }
.st-specimen-excerpt { color: var(--fg-grey); font-size: 0.98rem; margin-bottom: 1.15rem; }
.st-specimen-footer { margin-top: auto; }

.st-btn {
    display: inline-block; position: relative;
    font-family: var(--fg-sans); font-weight: 600; font-size: 0.8rem;
    letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
    color: var(--fg-white);
    background: rgba(47,139,255,0.10);
    border: 1px solid rgba(56,214,255,0.4);
    padding: 0.6em 1.25em; border-radius: 100px;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.st-btn:hover { color: #04121f; background: var(--fg-grad); box-shadow: 0 0 22px rgba(56,214,255,0.55); transform: translateY(-1px); }

/* ==========================================================================
   Single post / page
   ========================================================================== */
.st-article {
    position: relative;
    background: var(--fg-card);
    border: 1px solid var(--fg-line);
    border-radius: var(--fg-radius);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--fg-glow-soft);
}
.st-article-header { margin-bottom: 1.75rem; text-align: center; }
.st-article-header h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.st-post-meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.2rem;
    font-family: var(--fg-mono); font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--fg-grey-dim); margin-top: 0.85rem;
}
.st-post-meta a { color: var(--fg-blue-hi); text-decoration: none; }
.st-post-meta a:hover { color: var(--fg-blue-neon); }
.st-featured-media { margin: 0 0 1.75rem; border-radius: var(--fg-radius); overflow: hidden; border: 1px solid var(--fg-line); box-shadow: 0 0 30px rgba(47,139,255,0.18); }
.st-featured-media img { width: 100%; }

.st-entry-content { max-width: var(--fg-content); margin-inline: auto; color: var(--fg-grey); }
.st-entry-content > * { margin-left: auto; margin-right: auto; }
.st-entry-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.st-entry-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.st-entry-content ul, .st-entry-content ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.st-entry-content li { margin-bottom: 0.4em; }
.st-entry-content li::marker { color: var(--fg-blue); }
.st-entry-content figure { margin: 1.75em 0; }
.st-entry-content img { border-radius: var(--fg-radius-sm); }
.st-entry-content figcaption {
    font-family: var(--fg-mono); font-size: 0.78rem; color: var(--fg-grey-dim);
    text-align: center; margin-top: 0.5rem;
}
.st-entry-content a { font-weight: 500; }
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.st-post-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.st-post-tags a {
    font-family: var(--fg-mono); font-size: 0.72rem; text-decoration: none;
    background: var(--fg-bg-alt); color: var(--fg-grey);
    padding: 0.35em 0.85em; border-radius: 100px; border: 1px solid var(--fg-line);
    transition: all 0.15s ease;
}
.st-post-tags a:hover { background: var(--fg-grad); color: #04121f; border-color: transparent; box-shadow: 0 0 14px rgba(56,214,255,0.5); }
.st-post-tags a::before { content: "#"; opacity: 0.6; }

.st-post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.st-post-nav a { text-decoration: none; background: var(--fg-card); border: 1px solid var(--fg-line); border-radius: var(--fg-radius-sm); padding: 0.9rem 1.2rem; flex: 1 1 220px; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.st-post-nav a:hover { border-color: rgba(56,214,255,0.5); box-shadow: 0 0 18px rgba(47,139,255,0.25); }
.st-post-nav .st-nav-label { display: block; font-family: var(--fg-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-blue-hi); }
.st-post-nav .st-nav-title { font-family: var(--fg-display); font-size: 1.05rem; color: var(--fg-white); }

/* ==========================================================================
   Pagination
   ========================================================================== */
.st-pagination { margin: var(--fg-gap) 0 0; }
.st-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.st-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.6em; height: 2.6em; padding: 0 0.7em;
    text-decoration: none; font-family: var(--fg-mono); font-size: 0.85rem;
    background: var(--fg-card); border: 1px solid var(--fg-line); border-radius: var(--fg-radius-sm);
    color: var(--fg-grey); transition: all 0.15s ease;
}
.st-pagination .page-numbers.current { background: var(--fg-grad); color: #04121f; border-color: transparent; box-shadow: 0 0 18px rgba(56,214,255,0.5); }
.st-pagination .page-numbers:hover:not(.current) { border-color: rgba(56,214,255,0.5); color: var(--fg-white); }

/* ==========================================================================
   Sidebar / Widgets
   ========================================================================== */
.st-sidebar .widget {
    background: var(--fg-card);
    border: 1px solid var(--fg-line);
    border-radius: var(--fg-radius);
    padding: 1.4rem 1.45rem;
    margin-bottom: var(--fg-gap);
    box-shadow: var(--fg-glow-soft);
}
.widget-title {
    font-family: var(--fg-display); font-size: 1.15rem; color: var(--fg-white); margin: 0 0 1rem;
    padding-bottom: 0.6rem; position: relative;
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: var(--fg-grad); box-shadow: 0 0 10px rgba(56,214,255,0.6); }
.st-sidebar ul { list-style: none; margin: 0; padding: 0; }
.st-sidebar li { padding: 0.45rem 0; border-bottom: 1px solid var(--fg-line-soft); }
.st-sidebar li:last-child { border-bottom: 0; }
.st-sidebar a { text-decoration: none; color: var(--fg-grey); }
.st-sidebar a:hover { color: var(--fg-blue-neon); }

.st-search-form { display: flex; gap: 0.4rem; }
.st-search-form .search-field {
    flex: 1; padding: 0.65em 0.85em; border: 1px solid var(--fg-line);
    border-radius: var(--fg-radius-sm); background: var(--fg-bg); font: inherit; color: var(--fg-white);
}
.st-search-form .search-field::placeholder { color: var(--fg-grey-dark); }
.st-search-form .search-field:focus { outline: none; border-color: var(--fg-blue); box-shadow: 0 0 14px rgba(47,139,255,0.35); }
.st-search-form .search-submit {
    border: 0; background: var(--fg-grad); color: #04121f;
    padding: 0 1.1em; border-radius: var(--fg-radius-sm); cursor: pointer; font-weight: 700;
}
.st-search-form .search-submit:hover { box-shadow: 0 0 16px rgba(56,214,255,0.6); }

/* ==========================================================================
   Comments
   ========================================================================== */
.st-comments { margin-top: 2.5rem; background: var(--fg-card); border: 1px solid var(--fg-line); border-radius: var(--fg-radius); padding: clamp(1.5rem,4vw,2.5rem); box-shadow: var(--fg-glow-soft); }
.st-comments .comment-list { list-style: none; margin: 0; padding: 0; }
.st-comments .comment-list ol { list-style: none; padding-left: 1.5rem; }
.st-comments .comment-body { padding: 1rem 0; border-bottom: 1px solid var(--fg-line-soft); }
.st-comments .comment-author { font-weight: 600; font-family: var(--fg-display); color: var(--fg-white); }
.st-comments .comment-metadata { font-family: var(--fg-mono); font-size: 0.7rem; color: var(--fg-grey-dim); }
.st-comments .comment-metadata a { color: var(--fg-grey-dim); }
.st-comments .comment-respond { margin-top: 1.5rem; }
.st-comments label { color: var(--fg-grey); font-size: 0.85rem; }
.st-comments input[type=text], .st-comments input[type=email], .st-comments input[type=url], .st-comments textarea {
    width: 100%; padding: 0.75em 0.9em; border: 1px solid var(--fg-line);
    border-radius: var(--fg-radius-sm); background: var(--fg-bg); color: var(--fg-white); font: inherit; margin-bottom: 1rem;
}
.st-comments input:focus, .st-comments textarea:focus { outline: none; border-color: var(--fg-blue); box-shadow: 0 0 14px rgba(47,139,255,0.3); }
.st-comments .submit {
    background: var(--fg-grad); color: #04121f; border: 0;
    padding: 0.75em 1.7em; border-radius: 100px; font-weight: 700; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem;
}
.st-comments .submit:hover { box-shadow: 0 0 20px rgba(56,214,255,0.6); }

/* ==========================================================================
   404 / no results
   ========================================================================== */
.st-notfound { text-align: center; background: var(--fg-card); border: 1px solid var(--fg-line); border-radius: var(--fg-radius); padding: clamp(2rem,6vw,4rem); box-shadow: var(--fg-glow-soft); }
.st-notfound .st-big {
    font-family: var(--fg-display); font-weight: 700; font-size: clamp(4rem,14vw,9rem); line-height: 1;
    background: var(--fg-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(47,139,255,0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.st-footer { position: relative; background: var(--fg-black); color: var(--fg-grey); border-top: 1px solid var(--fg-line); margin-top: calc(var(--fg-gap) * 1.5); }
.st-footer::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--fg-grad); box-shadow: 0 0 18px rgba(56,214,255,0.6); }
.st-footer-inner { width: min(100% - 2.5rem, var(--fg-wrap)); margin-inline: auto; padding: 2.75rem 0; }
.st-footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: var(--fg-gap); }
.st-footer .widget { background: transparent; border: 0; box-shadow: none; padding: 0; }
.st-footer .widget-title { color: var(--fg-white); }
.st-footer a { color: var(--fg-grey); }
.st-footer a:hover { color: var(--fg-blue-neon); }
.st-footer .st-sidebar li, .st-footer li { border-color: rgba(255,255,255,0.06); }
.st-colophon { text-align: center; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.06); font-family: var(--fg-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--fg-grey-dim); }
.st-colophon a { color: var(--fg-blue-hi); text-decoration: none; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.st-sticky-badge { display: inline-block; background: var(--fg-grad); color: #04121f; font-family: var(--fg-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25em 0.65em; border-radius: 100px; margin-left: 0.5rem; vertical-align: middle; box-shadow: 0 0 12px rgba(56,214,255,0.5); }
