/*
Theme Name: Grow&Bless Digital Marketing (v4 Editorial)
Theme URI: https://growandbless.com
Author: Grow & Bless
Author URI: https://growandbless.com
Description: Custom WordPress theme for Grow & Bless, a digital marketing agency serving B2B businesses, banks, and enterprise clients across Indonesia and Southeast Asia.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: growandbless-v2
Tags: dark, agency, marketing, one-page
*/

/* ============================================================
   BASE RESET — Tailwind's preflight equivalents for WordPress
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0A;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================================
   STITCH CUSTOM CSS
   ============================================================ */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* The legacy atmospheric backdrops (hero radials, grid/node patterns)
   were deleted 2026-07-05 per DESIGN.md "delete on sight" — unported
   templates that still reference those classes simply render flat
   canvas, which is the intended end state anyway. */

.logo-carousel {
    display: flex;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    /* Slowed 40s → 70s (T&P: the marquee stays but reads subtle) */
    animation: scroll 70s linear infinite;
}

.circuit-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0A0A0A;
}

/* The rotating green beam (::before conic-gradient + blur) was removed
   2026-07-05 — animated luminous accents are banned on the matte dark
   side. Cards lift via the surface ladder + hairlines instead. */

.circuit-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #0A0A0A;
    border-radius: inherit;
    z-index: 2;
}

.circuit-card>* {
    position: relative;
    z-index: 3;
}

.hardware-icon {
    background: #111111;
    border: 1px solid #1A1A1A;
    position: relative;
}

/* Static green status dot — a sanctioned small mark; its halo was removed */
.hardware-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 4px;
    height: 4px;
    background: #05D000;
    border-radius: 50%;
    opacity: 0.6;
}

.group:hover .hardware-icon::after {
    opacity: 1;
}

/* De-glowed: the hover lift is a hairline notch, never a shadow */
.service-card-glow {
    transition: border-color 0.3s ease, background 0.3s ease;
}

.service-card-glow:hover {
    border-color: #262A28;
    background: #111111;
}

details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary .icon-plus {
    display: none;
}

details:not([open]) summary .icon-minus {
    display: none;
}

/* ============================================================
   PREMIUM FAQ ACCORDION
   ============================================================ */

/* Open state — border tint only. (The open-state luminous shadow was
   removed globally per DESIGN.md "delete on sight" — the dark side is
   matte.) */
.gnb-faq-item[data-open] {
    border-color: rgba(5, 208, 0, 0.3);
}

/* Open state — accent bar scales in */
.gnb-faq-item[data-open] .gnb-faq-accent {
    transform: scaleY(1);
}

/* Open state — number lights up */
.gnb-faq-item[data-open] .gnb-faq-num {
    color: #05D000;
}

/* Open state — icon rotates to X */
.gnb-faq-item[data-open] .gnb-faq-icon {
    transform: rotate(135deg);
}

/* Open state — content fades in and slides up */
.gnb-faq-item[data-open] .gnb-faq-content {
    opacity: 1;
    transform: translateY(0);
}

/* Sibling dimming — when any item is open, dim the rest */
.gnb-faq-list.has-open .gnb-faq-item:not([data-open]) {
    opacity: 0.55;
}

.gnb-faq-list.has-open .gnb-faq-item:not([data-open]):hover {
    opacity: 0.85;
}

/* Smooth opacity transitions on all items */
.gnb-faq-item {
    transition: all 0.3s ease, opacity 0.4s ease;
}


/* ============================================================
   FLUENT FORMS — Dark Theme
   ============================================================ */

.gnb-fluent-form .ff-el-input--label label {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.gnb-fluent-form .ff-el-form-control,
.gnb-fluent-form input[type="text"],
.gnb-fluent-form input[type="email"],
.gnb-fluent-form input[type="tel"],
.gnb-fluent-form input[type="url"],
.gnb-fluent-form input[type="number"],
.gnb-fluent-form textarea,
.gnb-fluent-form select {
    background-color: #000000;
    border: 1px solid #1A1A1A;
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: border-color 0.2s ease;
}

.gnb-fluent-form .ff-el-form-control:focus,
.gnb-fluent-form input:focus,
.gnb-fluent-form textarea:focus,
.gnb-fluent-form select:focus {
    border-color: #05D000;
    outline: none;
    box-shadow: 0 0 0 1px #05D000;
}

.gnb-fluent-form .ff-el-form-control::placeholder,
.gnb-fluent-form input::placeholder,
.gnb-fluent-form textarea::placeholder {
    color: #9CA3AF;
}

.gnb-fluent-form .ff-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    color: #0A0A0A;
    background-color: #05B900;
    cursor: pointer;
    border: 0;
    box-shadow: none;
    transition: background 0.2s ease-out;
}

.gnb-fluent-form .ff-btn-submit:hover {
    background-color: #04A600;
}

.gnb-fluent-form .ff-btn-submit:active {
    background-color: #04A000;
    transform: translateY(1px);
}

.gnb-fluent-form .ff-el-group {
    margin-bottom: 1.25rem;
}

.gnb-fluent-form .ff-el-is-error .ff-el-form-control {
    border-color: #ef4444;
}

.gnb-fluent-form .ff-el-is-error .error {
    color: #f87171;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 0.25rem;
}

.gnb-fluent-form .ff-message-success {
    background-color: rgba(5, 208, 0, 0.1);
    border: 1px solid rgba(5, 208, 0, 0.3);
    color: #05D000;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
}

.gnb-fluent-form .ff-el-form-check label {
    color: #9CA3AF;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.gnb-fluent-form .ff-step-header {
    color: #ffffff;
}

.gnb-fluent-form .fluentform .ff-el-form-control {
    background-color: #000000;
    color: #ffffff;
    border-color: #1A1A1A;
}

.gnb-fluent-form .fluentform .ff-el-form-control:focus {
    border-color: #05D000;
    box-shadow: 0 0 0 1px #05D000;
}

.gnb-fluent-form select option {
    background-color: #0A0A0A;
    color: white;
}

.gnb-fluent-form .ff-el-form-check-input {
    border-color: #1A1A1A;
    background-color: #000000;
}

.gnb-fluent-form .ff-el-form-check-input:checked {
    background-color: #05D000;
    border-color: #05D000;
}


/* ============================================================
   BLOG POST CONTENT — Premium Reading Prose
   ============================================================ */

.gnb-post-content {
    color: #9CA3AF;
    line-height: 1.85;
    font-size: 1.0625rem;
    /* 17px — optimal reading size */
}

@media (min-width: 768px) {
    .gnb-post-content {
        font-size: 1.125rem;
        /* 18px on desktop */
        line-height: 1.9;
    }
}

.gnb-post-content>*:first-child {
    margin-top: 0;
}

.gnb-post-content p {
    margin-bottom: 1.75rem;
}

/* Drop cap on first paragraph */
.gnb-post-content>p:first-of-type::first-letter {
    color: #ffffff;
    font-weight: 900;
    float: left;
    font-size: 3.5rem;
    line-height: 0.85;
    margin-right: 0.6rem;
    margin-top: 0.15rem;
}

.gnb-post-content h2 {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}

@media (min-width: 768px) {
    .gnb-post-content h2 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.gnb-post-content h3 {
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .gnb-post-content h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.gnb-post-content h4 {
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .gnb-post-content h4 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

/* {components.link-inline}: inline body links are ink + persistent
   underline, never green text. On dark the underline may turn green
   on hover (a small mark). */
.gnb-post-content a {
    color: #D1D5DB;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(209, 213, 219, 0.4);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.gnb-post-content a:hover {
    color: #ffffff;
    text-decoration-color: #05B900;
}

.gnb-post-content ul,
.gnb-post-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.gnb-post-content ul {
    list-style-type: disc;
}

.gnb-post-content ol {
    list-style-type: decimal;
}

.gnb-post-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    line-height: 1.75;
}

.gnb-post-content li::marker {
    color: #05D000;
}

.gnb-post-content blockquote {
    border-left: 3px solid #05D000;
    padding-left: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
}

.gnb-post-content blockquote p:last-child {
    margin-bottom: 0;
}

.gnb-post-content img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.gnb-post-content figure {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.gnb-post-content figcaption {
    color: #9CA3AF;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.gnb-post-content pre {
    background-color: #000000;
    border: 1px solid #1A1A1A;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 768px) {
    .gnb-post-content pre {
        padding: 2rem;
    }
}

.gnb-post-content code {
    background-color: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    color: #05D000;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
}

.gnb-post-content pre code {
    background-color: transparent;
    border: 0;
    padding: 0;
    color: #9CA3AF;
}

.gnb-post-content hr {
    border: 0;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    height: 1px;
    background: linear-gradient(to right, transparent, #1A1A1A, rgba(5, 208, 0, 0.2), #1A1A1A, transparent);
}

.gnb-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.gnb-post-content th {
    background-color: #000000;
    border: 1px solid #1A1A1A;
    padding: 0.875rem 1.25rem;
    text-align: left;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gnb-post-content td {
    border: 1px solid #1A1A1A;
    padding: 0.875rem 1.25rem;
    color: #9CA3AF;
}

.gnb-post-content tr:hover td {
    background-color: rgba(10, 10, 10, 0.5);
}

.gnb-post-content strong {
    color: #ffffff;
    font-weight: 700;
}

.gnb-post-content em {
    font-style: italic;
}

/* WP embed/video responsive */
.gnb-post-content .wp-block-embed,
.gnb-post-content iframe {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
}

.gnb-post-content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.gnb-post-content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}


/* ============================================================
   PAGINATION — Dark Theme
   ============================================================ */

.gnb-pagination-item a,
.gnb-pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.gnb-pagination-item a {
    background-color: #0A0A0A;
    border: 1px solid #1A1A1A;
    color: #9CA3AF;
}

.gnb-pagination-item a:hover {
    color: #ffffff;
    border-color: #262A28;
}

/* Active page = one surface-ladder notch, never a green fill */
.gnb-pagination-item span.current {
    background-color: #17191B;
    color: #ffffff;
    font-weight: 700;
    border: 1px solid #262A28;
}

.gnb-pagination-item a.prev,
.gnb-pagination-item a.next {
    background-color: #0A0A0A;
    border: 1px solid #1A1A1A;
    color: #9CA3AF;
}

.gnb-pagination-item a.prev:hover,
.gnb-pagination-item a.next:hover {
    color: #ffffff;
    border-color: #262A28;
}

.gnb-pagination-item span.dots {
    color: #9CA3AF;
    border: 0;
    background-color: transparent;
}


/* ============================================================
   CATEGORY FILTER — Scrollbar Hide
   ============================================================ */

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* ============================================================
   TABLE OF CONTENTS — Sidebar
   ============================================================ */

.gnb-toc-link {
    display: block;
    padding: 0.375rem 0;
    padding-left: 0.75rem;
    color: #9CA3AF;
    font-size: 0.8125rem;
    line-height: 1.5;
    border-left: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.gnb-toc-link:hover {
    color: #ffffff;
}

.gnb-toc-link.active {
    color: #05D000;
    border-left-color: #05D000;
}

.gnb-toc-link.gnb-toc-h3 {
    padding-left: 1.5rem;
    font-size: 0.75rem;
}

/* ============================================================
   PREMIUM BUTTON — Uiverse.io Style
   ============================================================ */

.cssbuttons-io-button {
    background: #05D000;
    color: #000000;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    font-weight: 800;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
    transition: all 0.3s;
    width: fit-content;
}

/* The luminous .glow variant rules were deleted 2026-07-05 (DESIGN.md:
   the matte system presses, it never lights up). Unported templates
   still carrying the class render the flat base button. */

.btn-secondary-simple {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: inherit;
    padding: 0 2.2em;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary-simple:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.cssbuttons-io-button .icon {
    background: #000000;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: none;
    right: 0.3em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover: label stays readable. The icon chip's arrow slides; no shadow
   change (matte rule). */

.cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #05D000;
}

.cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.25em);
}

.cssbuttons-io-button:active {
    transform: translateY(0);
}

.cssbuttons-io-button:active .icon {
    transform: scale(0.95);
}

/* ============================================================
   POLISH LAYER — selection, scrollbar, focus, reduced motion
   ============================================================ */

/* Selection is inverse video, the terminal way (DESIGN.md Selection):
   dark bands select as paper-on-ink; paper bands invert (see
   .gnb-paper-section ::selection). Never browser blue, never green —
   selection spends no accent budget. */
::selection {
    background: #F4F2EC;
    color: #0A0A0A;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1A1A1A;
    border-radius: 5px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(5, 208, 0, 0.4);
}

:focus-visible {
    outline: 2px solid #05D000;
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: #05D000;
    color: #000;
    font-weight: 700;
    border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

@media (prefers-reduced-motion: reduce) {

    .animate-marquee,
    .circuit-card::before,
    .gnb-pulse-dot {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================================
   DISPLAY SERIF — editorial accent (echoes the serif wordmark)
   ============================================================ */

.font-display-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.01em;
    /* Italic Playfair swashes its glyphs past the text box (the 'g' tail
       reaches down AND to the left). With bg-clip-text the gradient only
       paints inside that box, so those overhangs get cropped. Worst case is
       the wrapped "growth" line, where the left-swashing 'g' is the first
       glyph. box-decoration-break: clone applies the padding to every
       wrapped line, giving the swashes room on all sides without shifting
       page layout. */
    line-height: 1.1;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 0.18em 0.7em;
}

/* ============================================================
   HERO DASHBOARD — Location Intelligence mock
   ============================================================ */

.gnb-dash {
    background: #111111;
    border: 1px solid #1A1A1A;
    box-shadow: none;
}

.gnb-dash-cell {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.35);
}

.gnb-pulse-dot {
    animation: gnb-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gnb-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* Bars in the mini chart grow in when revealed */
.gnb-bar {
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.gnb-dash.is-revealed .gnb-bar {
    transform: scaleY(1);
}

/* Service card: visible affordance on desktop */
.gnb-card-cta {
    transition: gap 0.2s ease, color 0.2s ease;
}

.circuit-card:hover .gnb-card-cta {
    gap: 0.75rem;
}

/* ============================================================
   HERO MAP — archipelago backdrop, sequenced dots, city tips
   ============================================================ */

/* Fade is baked into the image itself (pure black edges) — no mask, no seams */
.gnb-night-img {
    opacity: 1;
}

.gnb-night-wrap svg {
    z-index: 2;
}

.gnb-map-dot {
    opacity: 0.2;
    transition: opacity 0.5s ease;
}

.gnb-map-dot.lit {
    opacity: 1;
}

.gnb-map-halo {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.gnb-map-dot.lit+.gnb-map-halo,
.gnb-map-group.lit .gnb-map-halo {
    opacity: 1;
}

.gnb-map-tip {
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.gnb-map-city {
    pointer-events: all;
    cursor: default;
}

.gnb-map-city:hover .gnb-map-tip {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .gnb-map-dot {
        opacity: 1;
    }
}

/* Marquee pauses while inspecting logos */
.logo-carousel:hover {
    animation-play-state: paused;
}

/* ============================================================
   SERVICES — numbered editorial list
   ============================================================ */

.gnb-svc-row {
    border-top: 1px solid #1A1A1A;
    transition: background 0.25s ease;
}

.gnb-svc-row:last-child {
    border-bottom: 1px solid #1A1A1A;
}

.gnb-svc-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.gnb-svc-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #2A2A2A;
    transition: color 0.25s ease;
}

.gnb-svc-row:hover .gnb-svc-num,
.gnb-svc-row[data-open] .gnb-svc-num {
    color: #05D000;
}

.gnb-svc-chevron {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gnb-svc-row[data-open] .gnb-svc-chevron {
    transform: rotate(45deg);
}

.gnb-svc-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gnb-svc-chip {
    border: 1px solid #1A1A1A;
    background: #0A0A0A;
    color: #9CA3AF;
}

/* WhatsApp goal-picker chips (front-page close band; main.js waGoalChips).
   44px touch floor per DESIGN.md {a11y.touch-targets}. */
.gnb-wa-chip {
    border: 1px solid #1A1A1A;
    background: #0A0A0A;
    color: #9CA3AF;
    border-radius: 9999px;
    padding: 10px 18px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.gnb-wa-chip:hover {
    color: #FFFFFF;
    border-color: #333333;
}

.gnb-wa-chip.is-active {
    color: #05D000;
    border-color: rgba(5, 185, 0, 0.55);
    background: rgba(5, 185, 0, 0.08);
}

/* ============================================================
   PAPER — the report artifact section (Terminal & Paper)
   ============================================================ */

.gnb-paper-section {
    background: #F4F2EC;
    color: #0a0a0a;
}

.gnb-paper-section ::selection {
    background: #0A0A0A;
    color: #F4F2EC;
}

.gnb-deck {
    position: relative;
    aspect-ratio: 16 / 10;
}

.gnb-slide {
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    border-radius: 6px;
    padding: clamp(16px, 3.2vw, 34px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gnb-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.gnb-slide .eyebrow {
    color: #0a8a00;
    font-size: clamp(9px, 1.1vw, 12px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gnb-slide .eyebrow .num {
    color: #9a9a9a;
    margin-right: 0.6em;
}

.gnb-slide h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(17px, 2.6vw, 30px);
    letter-spacing: -0.01em;
    color: #0a0a0a;
    margin-top: 0.35em;
    line-height: 1.12;
}

.gnb-slide .rule {
    border: 0;
    height: 1px;
    background: #d2d2d2;
    margin: clamp(8px, 1.4vw, 16px) 0;
}

.gnb-slide .hl {
    display: flex;
    gap: clamp(10px, 2vw, 26px);
    flex-wrap: wrap;
    margin-bottom: clamp(8px, 1.6vw, 18px);
}

.gnb-slide .hl .item b {
    display: block;
    font-size: clamp(16px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gnb-slide .hl .item span {
    display: block;
    font-size: clamp(8px, 1vw, 11px);
    color: #565656;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.gnb-slide .d {
    font-weight: 700;
    font-size: clamp(8px, 1vw, 11px);
    text-transform: none;
    letter-spacing: 0;
}

.gnb-slide .d.up {
    color: #0a8a00 !important;
}

.gnb-slide .d.down {
    color: #b91c1c !important;
}

.gnb-slide .bar-row {
    display: grid;
    grid-template-columns: minmax(80px, 130px) 1fr auto;
    align-items: center;
    gap: clamp(6px, 1.2vw, 14px);
    margin-bottom: clamp(6px, 1vw, 10px);
    font-size: clamp(9px, 1.15vw, 13px);
}

.gnb-slide .bar-name {
    color: #0a0a0a;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gnb-slide .bar-track {
    background: #efefef;
    border-radius: 99px;
    height: clamp(6px, 0.9vw, 10px);
    overflow: hidden;
}

.gnb-slide .bar-fill {
    height: 100%;
    border-radius: 99px;
    background: #05b900;
}

.gnb-slide .bar-val {
    color: #565656;
    white-space: nowrap;
}

.gnb-slide .gnb-slide-body p {
    font-size: clamp(10px, 1.25vw, 14px);
    line-height: 1.65;
    color: #2c2c2c;
    max-width: 62ch;
}

.gnb-slide .callout {
    background: #0a0a0a;
    color: #eee;
    padding: clamp(10px, 1.6vw, 18px) clamp(12px, 1.8vw, 20px);
    border-radius: 4px;
    font-size: clamp(9px, 1.15vw, 13px);
    line-height: 1.55;
}

.gnb-slide .action-row {
    display: flex;
    gap: 10px;
    align-items: baseline;
    font-size: clamp(10px, 1.25vw, 14px);
    line-height: 1.55;
    color: #2c2c2c;
    margin-bottom: clamp(6px, 1vw, 10px);
}

.gnb-slide .action-row .anum {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #0a8a00;
    font-weight: 600;
    flex: none;
}

.gnb-slide .slide-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(8px, 0.95vw, 10px);
    color: #9a9a9a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gnb-deck-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #c9c5ba;
    background: #FFFFFF;
    color: #0a0a0a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gnb-deck-btn:hover {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
}

.gnb-deck-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.gnb-deck-btn:disabled:hover {
    background: #FFFFFF;
    color: #0a0a0a;
    border-color: #c9c5ba;
}

.gnb-deck-dot {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #c9c5ba;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 0;
    padding: 0;
}

.gnb-deck-dot.active {
    background: #0a0a0a;
    width: 22px;
}

/* ============================================================
   HERO SEARCH DEMO — the product, demonstrated
   ============================================================ */

.gnb-search {
    background: #FFFFFF;
    border-radius: 999px;
    padding: 16px 24px;
    /* the ONE sanctioned box-shadow: paper artifact floated on dark */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.gnb-search-text {
    color: #0a0a0a;
    font-weight: 500;
    min-height: 1.5em;
}

.gnb-search-caret {
    width: 2px;
    height: 1.25em;
    background: #0a8a00;
    display: inline-block;
    animation: gnb-blink 1s steps(1) infinite;
}

@keyframes gnb-blink {
    50% {
        opacity: 0;
    }
}

.gnb-search-result {
    background: #0A0A0A;
    border: 1px solid #262A28;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gnb-search-result.on {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .gnb-search-caret {
        animation: none;
    }

    .gnb-search-result {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   CTA VARIANTS — Chart Draw + Position Climber (lab winners)
   ============================================================ */

.gnb-btn-chart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 1.6em;
    height: 2.8em;
    border-radius: 0.9em;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease;
}

.gnb-btn-chart .chart-box {
    position: relative;
    width: 56px;
    height: 22px;
    display: inline-block;
}

.gnb-btn-chart .chart-line {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    transition: stroke-dashoffset 0.5s cubic-bezier(0.45, 0, 0.2, 1);
}

.gnb-btn-chart .chart-val {
    position: absolute;
    right: -6px;
    top: -13px;
    font-size: 10px;
    font-weight: 800;
    color: #05D000;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease 0.4s, transform 0.25s ease 0.4s;
}

.gnb-btn-chart:hover,
.gnb-btn-chart:focus-visible {
    border-color: rgba(5, 208, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.gnb-btn-chart:hover .chart-line,
.gnb-btn-chart:focus-visible .chart-line {
    stroke-dashoffset: 0;
}

.gnb-btn-chart:hover .chart-val,
.gnb-btn-chart:focus-visible .chart-val {
    opacity: 1;
    transform: translateY(0);
}

.gnb-btn-rank {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7em 1.4em;
    border-radius: 0.7em;
    font-size: 15px;
    font-weight: 800;
    background: #0A0A0A;
    color: #fff;
    border: 1px solid #1A1A1A;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
    width: fit-content;
}

.gnb-btn-rank .rank-chip {
    background: rgba(5, 208, 0, 0.12);
    border: 1px solid rgba(5, 208, 0, 0.35);
    color: #05D000;
    border-radius: 7px;
    padding: 2px 9px;
    font-size: 13px;
    font-weight: 800;
    min-width: 42px;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.gnb-btn-rank:hover,
.gnb-btn-rank:focus-visible {
    border-color: rgba(5, 208, 0, 0.4);
}

.gnb-btn-rank .rank-chip.at-one {
    background: #05D000;
    color: #000;
}

/* Honest Reveal: the label flips to the promise (closing CTA) */
.gnb-btn-honest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95em 1.8em;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #05B900;
    color: #0A0A0A;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.22s ease;
}

.gnb-btn-honest:hover,
.gnb-btn-honest:focus-visible {
    background: #04A600;
}

.gnb-btn-honest .honest-stack {
    display: inline-block;
    position: relative;
    height: 1.3em;
    overflow: hidden;
    text-align: center;
}

.gnb-btn-honest .honest-main,
.gnb-btn-honest .honest-sub {
    display: block;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.gnb-btn-honest .honest-sub {
    position: absolute;
    inset: 0;
    transform: translateY(120%);
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
}

.gnb-btn-honest:hover .honest-main,
.gnb-btn-honest:focus-visible .honest-main {
    transform: translateY(-120%);
}

.gnb-btn-honest:hover .honest-sub,
.gnb-btn-honest:focus-visible .honest-sub {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .gnb-btn-honest .honest-main,
    .gnb-btn-honest .honest-sub {
        transition: none;
    }
}

/* ============================================================
   INTERSTITIAL + FOUNDER CLOSE
   ============================================================ */

.gnb-interstitial {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.gnb-sign {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: 0.01em;
}

/* ============================================================
   TERMINAL & PAPER v2 — BUTTON PRIMARY
   {components.button-primary} per DESIGN.md front matter.
   Matte system: it presses, it never lights up. No glow, ever.
   Hover = darker green + 4px arrow nudge; press sits at the
   green floor (#04A000), arrow does not nudge further.
   First used by page-seo-services.php (Phase-1 exemplar).
   ============================================================ */

.gnb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: #05B900;
    color: #0A0A0A;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease-out;
}

.gnb-btn-primary .gnb-btn-arr {
    display: inline-block;
    transition: transform 0.2s ease-out;
}

.gnb-btn-primary:hover {
    background: #04A600;
    color: #0A0A0A;
}

.gnb-btn-primary:hover .gnb-btn-arr {
    transform: translateX(4px);
}

.gnb-btn-primary:active {
    background: #04A000;
    transform: translateY(1px);
    transition-duration: 0.08s;
}

/* Press does not nudge the arrow further than hover */
.gnb-btn-primary:active .gnb-btn-arr {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {

    .gnb-btn-primary,
    .gnb-btn-primary .gnb-btn-arr {
        transition: none;
    }
}

/* ============================================================
   TERMINAL & PAPER v2 — PAPER ARTIFACT CHART (recovery line)
   {components.paper-artifact-card} chart draw-in, keyed off the
   data-gnb-reveal system: main.js adds .gnb-revealed to the
   [data-gnb-reveal] ancestor, which releases the stroke draw.
   Scoped under html.gnb-js so no-JS (and Googlebot) always sees
   the chart fully drawn. Static under prefers-reduced-motion.
   First used by page-seo-services.php (Phase-1 exemplar).
   ============================================================ */

html.gnb-js .gnb-recovery-chart .gnb-chart-line {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
}

html.gnb-js .gnb-revealed .gnb-recovery-chart .gnb-chart-line {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The green climb starts after the grey flatline finishes drawing */
html.gnb-js .gnb-revealed .gnb-recovery-chart .gnb-chart-line--rise {
    transition-duration: 1.6s;
    transition-delay: 0.4s;
}

html.gnb-js .gnb-recovery-chart .gnb-chart-mark {
    opacity: 0;
}

html.gnb-js .gnb-revealed .gnb-recovery-chart .gnb-chart-mark {
    opacity: 1;
    transition: opacity 0.4s ease-out 1.9s;
}

@media (prefers-reduced-motion: reduce) {

    html.gnb-js .gnb-recovery-chart .gnb-chart-line {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        transition: none;
    }

    html.gnb-js .gnb-recovery-chart .gnb-chart-mark {
        opacity: 1;
        transition: none;
    }
}

/* ============================================================
   T&P v2 — CHROME
   Site chrome for the Terminal & Paper system (2026-07-05):
   1. {components.logo-tile} — ONE monochrome treatment for the
      trust-bar marquee, optional color on hover.
   2. WhatsApp FAB (desktop >=768px) — flat circle, no glow, no
      pulse ring; arms after ~600px scroll (main.js stickyCtaChrome)
      so the hero keeps the first viewport's only green.
   3. {components.sticky-mobile-cta} (<768px) — solid canvas bar,
      top hairline, primary + WhatsApp secondary pill, >=48px.
   ============================================================ */

/* 1 — Logo tiles: grayscale at rest, full color + opacity on hover */
.gnb-logo-tile img {
    filter: grayscale(1) brightness(1.6);
    opacity: 0.55;
    transition: filter 0.2s ease-out, opacity 0.2s ease-out;
}

.gnb-logo-tile:hover img {
    filter: none;
    opacity: 1;
}

/* 2 — WhatsApp FAB (desktop). {components.button-whatsapp} colors:
   primary fill, on-primary glyph, pill. Matte: hover shifts one green
   step, never a shadow. Hidden until armed. */
.gnb-wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: #05B900;
    color: #0A0A0A;
    box-shadow: none;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.2s ease-out;
}

@media (min-width: 768px) {
    .gnb-wa-fab {
        display: inline-flex;
    }
}

.gnb-wa-fab:hover {
    background: #04A600;
}

.gnb-wa-fab:active {
    background: #04A000;
    transform: translateY(1px);
}

.gnb-wa-fab.is-armed {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.gnb-wa-fab.is-armed:active {
    transform: translateY(1px);
}

/* 3 — Sticky mobile CTA bar (<768px). Solid canvas + top hairline
   (overlays elevate by being solid, never by shadow). Slides up when
   armed; both controls >=48px tall. */
.gnb-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: #0A0A0A;
    border-top: 1px solid #262A28;
    transform: translateY(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .gnb-sticky-cta {
        display: none;
    }
}

.gnb-sticky-cta.is-armed {
    transform: none;
}

.gnb-sticky-cta .gnb-btn-primary {
    flex: 1 1 auto;
    height: 48px;
    padding: 0 20px;
}

/* WhatsApp secondary pill: surface-1 + hairline-strong, never green
   (the bar's one green belongs to the primary beside it) */
.gnb-sticky-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 48px;
    padding: 0 22px;
    border-radius: 9999px;
    background: #111111;
    border: 1px solid #262A28;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s ease-out;
}

.gnb-sticky-wa:hover {
    background: #17191B;
}

@media (prefers-reduced-motion: reduce) {

    .gnb-wa-fab,
    .gnb-sticky-cta,
    .gnb-logo-tile img {
        transition: none;
    }
}
/* ============================================================
   T&P v2 — ARTICLE READING PROGRESS
   Thin bar pinned under the 72px header; fill width set by JS
   (assets/js/main.js → readProgress). Green mark is legitimate
   (a small progress indicator, not a glow/fill decoration).
   ============================================================ */
.gnb-read-progress {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 40;
    background: transparent;
    pointer-events: none;
}

.gnb-read-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: #05B900;
    transform-origin: left center;
    transition: width 90ms linear;
}

@media (prefers-reduced-motion: reduce) {
    .gnb-read-progress-fill {
        transition: none;
    }
}
