/* ──────────────────────────────────────────────────────────── */
/* Gorilla Returns — main stylesheet                            */
/* ──────────────────────────────────────────────────────────── */

:root {
    --ink:         #0a1a15;
    --ink-soft:    #1e2b25;
    --paper:       #ffffff;
    --soft:        #f6f8f7;
    --muted:       #5b6b63;
    --line:        #e4e9e6;
    --brand:       #2d5a4f;
    --brand-dk:    #1e4038;
    --brand-lt:    #d1e5dd;
    --brand-glow:  #4ade80;
    --accent:      #f59e0b;
    --danger:      #dc2626;
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(10, 26, 21, 0.06);
    --shadow:    0 4px 24px rgba(10, 26, 21, 0.08);
    --shadow-lg: 0 20px 60px rgba(10, 26, 21, 0.12);
    --wp--preset--color--brand: #2d5a4f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-dk); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; color: inherit; margin-top: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin: 0 0 16px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin: 0 0 12px; }

.lede { font-size: 1.2rem; color: var(--muted); line-height: 1.55; max-width: 720px; }
.eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; color: var(--brand); margin-bottom: 14px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform .12s, background .12s, color .12s;
    font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(45, 90, 79, 0.25); }
.btn-primary:hover { background: var(--brand-dk); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 12px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }

/* ─── Site header ─── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(228, 233, 230, 0.6);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
/* Custom-logo sizing: constrain to a sensible header height. Height
   caps at 40px on desktop, 32px on mobile; width stays auto so the
   aspect ratio of whatever the merchant uploaded is preserved. Covers
   our own .site-logo-img class and WP's native .custom-logo class in
   case a child theme or plugin renders it the default way. */
.logo .site-logo-img,
.logo .custom-logo { display: block; height: 40px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 600px) {
    .logo .site-logo-img,
    .logo .custom-logo { height: 32px; max-width: 180px; }
}
.logo-mark {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--brand); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px;
}
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .current-menu-item a, .nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }
@media (max-width: 760px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav-links.is-open { display: flex; }
    .menu-toggle { display: block; }
}

/* ─── Hero ─── */
.hero {
    position: relative;
    background: radial-gradient(ellipse at top, #0f2b24 0%, var(--ink) 55%);
    color: #fff;
    overflow: hidden;
    padding: 90px 0 120px;
}
.hero::before { content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 100%; background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, transparent 60%); pointer-events: none; }
.hero::after  { content: ""; position: absolute; bottom: -40%; left: -20%; width: 60%; height: 100%; background: radial-gradient(circle, rgba(45, 90, 79, 0.25) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 50px; } }
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(120deg, var(--brand-lt) 0%, var(--brand-glow) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: rgba(255, 255, 255, 0.78); }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-cta .btn-primary { background: #fff; color: var(--ink); }
.hero-cta .btn-primary:hover { background: var(--brand-lt); color: var(--ink); }
.hero-cta .btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.hero-trust { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--brand-glow); font-weight: 700; }

.hero-mockup {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #2d5a4f 0%, #1e4038 100%);
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255,255,255,0.08);
}
.hero-mockup img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Section base ─── */
section.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head .lede { margin: 16px auto 0; }

/* ─── Problem ─── */
.problem { background: var(--soft); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .15s, box-shadow .15s; }
.pain-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pain-card .icon { width: 48px; height: 48px; background: #fef2f2; color: var(--danger); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.pain-card h3 { margin-bottom: 8px; }
.pain-card p { color: var(--muted); margin: 0; }

/* ─── Features ─── */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.feature { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s, border-color .15s; }
.feature:hover { transform: translateY(-2px); border-color: var(--brand-lt); box-shadow: var(--shadow); }
.feature .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-lt); color: var(--brand-dk); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* ─── Showcase ─── */
.showcase { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.showcase-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.showcase-row:last-child { border-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1.2fr 1fr; }
.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-row.reverse .showcase-img { order: 1; }
@media (max-width: 860px) {
    .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 30px; }
    .showcase-row.reverse .showcase-copy, .showcase-row.reverse .showcase-img { order: unset; }
}
.showcase-copy h3 { font-size: 1.75rem; margin-bottom: 14px; }
.showcase-copy p { color: var(--muted); font-size: 16px; }
.showcase-copy ul { list-style: none; padding: 0; margin: 20px 0 0; }
.showcase-copy ul li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--ink); }
.showcase-copy ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.showcase-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.showcase-img img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; background: #f1f5f9; }

/* ─── How it works ─── */
.how-it-works { background: var(--ink); color: #fff; }
.how-it-works h2, .how-it-works h3 { color: #fff; }
.how-it-works .eyebrow { color: var(--brand-glow); }
.how-it-works .lede { color: rgba(255,255,255,0.7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); list-style: none; }
.step-num { display: inline-flex; width: 36px; height: 36px; background: var(--brand); color: #fff; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; margin-bottom: 16px; font-size: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,0.65); font-size: 14.5px; margin: 0; line-height: 1.6; }

/* ─── EasyPost disclosure ─── */
.easypost { background: var(--soft); }
.easypost-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 36px 40px; display: grid; grid-template-columns: 70px 1fr; gap: 24px; align-items: start; max-width: 920px; margin: 0 auto; }
@media (max-width: 600px) { .easypost-box { grid-template-columns: 1fr; padding: 28px; } }
.easypost-icon { width: 56px; height: 56px; background: #fef3c7; color: var(--accent); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; }
.easypost-box h3 { margin-bottom: 8px; }
.easypost-box p { color: var(--muted); margin: 0 0 10px; }
.easypost-box .future-note { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--brand-dk); }

/* Scan-billing callout: promoted sub-box inside the EasyPost section.
   Uses the brand green as a tinted background so it reads as "the good
   news" visually, not just another paragraph. */
.scan-billing-callout { margin-top: 20px; padding: 20px 24px; background: linear-gradient(180deg, rgba(45,90,79,0.06), rgba(45,90,79,0.03)); border: 1px solid rgba(45,90,79,0.18); border-radius: calc(var(--radius) - 4px); }
.scan-billing-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.scan-billing-mark { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--brand); color: #fff; border-radius: 50%; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.scan-billing-callout strong { color: var(--brand-dk); font-size: 1.05rem; line-height: 1.3; }
.scan-billing-callout p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.55; }

/* ─── Support — real humans, no chatbot pitch ─── */
/* Standout dark-forest treatment with cream typography and a tan
   accent on the headline and the dot-prefix eyebrow. Sits between the
   EasyPost disclosure and pricing specifically to build trust right
   before the price is shown. No icons — the type does the work. */
.support { background: linear-gradient(170deg, #2d5a4f 0%, #1f4038 100%); color: #faf8f3; padding-block: 112px; position: relative; overflow: hidden; }
.support::before { content: ""; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,164,107,0.12) 0%, transparent 70%); pointer-events: none; }
.support-inner { position: relative; max-width: 1020px; margin: 0 auto; }
.support-head { text-align: center; max-width: 780px; margin: 0 auto 72px; }
.support-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #c9a46b; font-weight: 600; margin-bottom: 28px; }
.support-eyebrow-dot { width: 10px; height: 10px; background: #c9a46b; border-radius: 50%; flex-shrink: 0; }
.support-headline { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: #faf8f3; margin: 0 0 24px; }
.support-headline-accent { color: #c9a46b; }
.support-lede { font-size: 1.125rem; line-height: 1.6; color: rgba(250,248,243,0.82); margin: 0; }

.support-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
@media (max-width: 820px) { .support-points { grid-template-columns: 1fr; gap: 28px; } }
.support-point { padding: 28px 28px 30px; background: rgba(250,248,243,0.04); border: 1px solid rgba(250,248,243,0.08); border-radius: var(--radius); }
.support-point h3 { color: #faf8f3; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; }
.support-point h3::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #c9a46b; border-radius: 50%; margin-right: 10px; vertical-align: middle; transform: translateY(-2px); }
.support-point p { color: rgba(250,248,243,0.78); font-size: 15px; line-height: 1.6; margin: 0; }

.support-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.support-cta-note { font-size: 13px; color: rgba(250,248,243,0.6); }
.btn-ghost-light { background: transparent; color: #faf8f3; border: 1.5px solid rgba(250,248,243,0.4); padding: 14px 32px; font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; display: inline-block; transition: background 0.15s, border-color 0.15s; }
.btn-ghost-light:hover { background: rgba(250,248,243,0.08); border-color: #c9a46b; color: #faf8f3; }

/* ─── Pricing ─── */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; position: relative; display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dk) 100%); color: #fff; border-color: var(--brand-dk); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card .plan-name { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; opacity: 0.8; }
.price-card .price { font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.price-card .price small { font-size: 1rem; font-weight: 500; opacity: 0.6; margin-left: 4px; }
.price-card .price-sub { opacity: 0.7; margin: 8px 0 24px; font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.price-card ul li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.price-card.featured ul li::before { color: var(--brand-glow); }
.price-card:not(.featured) ul li::before { color: var(--brand); }
.price-card .btn { width: 100%; justify-content: center; }
.price-card.featured .btn-primary { background: #fff; color: var(--brand-dk); }
.price-card.featured .btn-primary:hover { background: var(--brand-lt); }
.price-badge { position: absolute; top: -14px; right: 32px; background: var(--accent); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── FAQ ─── */
.faq { background: var(--soft); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 28px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-size: 24px; font-weight: 300; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--soft); }
.faq-body { padding: 0 28px 24px; color: var(--muted); line-height: 1.7; }
.faq-body code { background: var(--soft); padding: 2px 6px; border-radius: 3px; font-size: 14px; }

/* ─── Contact ─── */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; max-width: 980px; margin: 0 auto; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-left h2 { margin-bottom: 20px; }
.contact-left p { color: var(--muted); }
/* Contact info — clean typographic definition list. No icons; the
   eyebrow-style labels do the work. Email address is split into user
   and domain spans and reassembled in JS to avoid bot harvesting;
   CSS fallback below shows a human-readable form if JS is off. */
.contact-info { margin-top: 32px; padding: 28px 28px 26px; background: var(--soft); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-info dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 4px; }
.contact-info dt + dd { margin-bottom: 20px; }
.contact-info dd { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.45; }
.contact-info dd:last-child { margin-bottom: 0; }
.contact-info dd a { color: var(--brand-dk); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.contact-info dd a:hover { color: var(--brand); }

/* Obfuscated email fallback: when the JS hasn't rewritten the link,
   show "hello (at) gorillapublic.com" via a pseudo-element. Once JS
   runs, it adds a `is-restored` class and these rules stop applying. */
.obfuscated-email .oe-at::before { content: " (at) "; color: var(--muted); }
.obfuscated-email.is-restored .oe-at::before { content: "@"; color: inherit; }
.obfuscated-email.is-restored { }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; font-family: inherit; background: #fff; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-lt); }
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; }

.contact-success {
    padding: 16px 20px;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 10px;
    margin-bottom: 20px;
}
.contact-error {
    padding: 16px 20px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ─── Final CTA ─── */
.final-cta { background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dk) 100%); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta .lede { color: rgba(255,255,255,0.85); margin: 20px auto 32px; }
.final-cta .btn-primary { background: #fff; color: var(--brand-dk); }
.final-cta .btn-primary:hover { background: var(--brand-lt); }

/* ─── Site footer ─── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 60px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 12px 0 0; color: rgba(255,255,255,0.55); max-width: 340px; line-height: 1.6; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: rgba(255,255,255,0.4); font-size: 13px; }

/* ─── Blog / page / single content ─── */
.page-header { background: var(--soft); padding: 60px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
.page-header .page-meta { color: var(--muted); font-size: 14px; }

.content-single { padding: 60px 0 100px; }
.content-single article { max-width: 760px; margin: 0 auto; }
.content-single article p, .content-single article li { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.content-single article h2 { margin-top: 42px; }
.content-single article h3 { margin-top: 32px; }
.content-single article blockquote { border-left: 4px solid var(--brand); padding: 4px 24px; margin: 24px 0; color: var(--muted); font-style: italic; background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; }
.content-single article pre { background: var(--ink); color: var(--brand-lt); padding: 20px; border-radius: var(--radius); overflow-x: auto; }
.content-single article code { background: var(--soft); padding: 2px 6px; border-radius: 3px; font-size: 14px; }
.content-single article img { border-radius: var(--radius); margin: 20px 0; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; padding: 60px 0 100px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.blog-card .meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); text-decoration: none; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 404 */
.error-404 { text-align: center; padding: 100px 20px; }
.error-404 h1 { font-size: 6rem; color: var(--brand); margin: 0; }

/* WP admin bar */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
