/* =====================================================================
   Monir Hasan — Premium Theme (iMonetizeIt inspired)
   Dark UI · cyan→teal→green gradient accents · glassmorphism · animations
   Class names kept identical so every page is restyled automatically.
   ===================================================================== */

:root {
    /* Backgrounds */
    --bg: #070a14;
    --bg-2: #0b1020;
    --bg-alt: #0a0f1e;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --surface-solid: #101627;

    /* Text */
    --text: #eef2fb;
    --heading: #ffffff;
    --muted: #96a2bd;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Brand — iMonetizeIt cyan · teal · green */
    --accent: #0ca9e1;          /* primary sky/cyan blue */
    --accent-2: #68c950;        /* fresh green */
    --accent-3: #2fd0c7;        /* bright teal (legible on dark) */
    --primary: #0ca9e1;
    --primary-dark: #0a90c2;
    --brand: #0ca9e1;
    --brand-soft: rgba(12, 169, 225, 0.12);

    /* RGB channels for inline rgba() glows */
    --accent-rgb: 12, 169, 225;
    --accent2-rgb: 104, 201, 80;
    --accent3-rgb: 48, 179, 165;

    --grad: linear-gradient(120deg, #0ca9e1 0%, #30b3a5 50%, #68c950 100%);
    --grad-soft: linear-gradient(120deg, rgba(12, 169, 225, 0.16), rgba(104, 201, 80, 0.16));
    --glow: 0 0 0 1px rgba(var(--accent-rgb), 0.2), 0 18px 50px -12px rgba(var(--accent-rgb), 0.45);

    /* Feedback */
    --success: #6ee7b7;
    --success-bg: rgba(16, 185, 129, 0.14);
    --error: #fca5a5;
    --error-bg: rgba(239, 68, 68, 0.14);
    --warning-bg: rgba(var(--accent3-rgb), 0.12);

    --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    --radius: 20px;
    --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-head: 'Manrope', 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Live weather scene uses gradient layers so it stays lightweight. */
.storm-background {
    --cloud-speed: 40s;
    --sky-top: #14263a;
    --sky-bottom: #07101d;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse at 72% 0%, rgba(83, 130, 163, 0.34), transparent 48%), linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
    transition: background 1.6s ease;
}
.weather-morning { --sky-top: #5587a1; --sky-bottom: #182f45; }
.weather-afternoon { --sky-top: #176ba0; --sky-bottom: #113650; }
.weather-evening { --sky-top: #4d526f; --sky-bottom: #251d34; }
.weather-night { --sky-top: #071426; --sky-bottom: #030711; }
.weather-rain, .weather-storm { --sky-top: #172635; --sky-bottom: #070d16; }
.weather-fog { --sky-top: #60717b; --sky-bottom: #293640; }
.weather-clear.weather-morning { --sky-top: #5d9db9; --sky-bottom: #233d55; }
.weather-clear.weather-afternoon { --sky-top: #147bb6; --sky-bottom: #164566; }
.weather-clear.weather-evening { --sky-top: #875b67; --sky-bottom: #29243b; }
.weather-clear.weather-night { --sky-top: #07182e; --sky-bottom: #020610; }
.weather-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(2, 7, 15, 0.36));
}
.storm-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 68% 22%, rgba(133, 178, 204, 0.16), transparent 30%);
    transition: background 1.6s ease;
}
.weather-morning .storm-glow { background: radial-gradient(circle at 18% 18%, rgba(255, 197, 129, 0.4), transparent 31%); }
.weather-afternoon .storm-glow { background: radial-gradient(circle at 75% 14%, rgba(170, 224, 255, 0.3), transparent 32%); }
.weather-evening .storm-glow { background: radial-gradient(circle at 82% 30%, rgba(255, 142, 80, 0.32), transparent 35%); }
.weather-stars {
    position: absolute;
    inset: 0 0 42%;
    opacity: 0;
    background-image: radial-gradient(circle at 8% 26%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 23% 64%, #d9efff 0 1px, transparent 1.5px), radial-gradient(circle at 38% 18%, #fff 0 1.2px, transparent 1.7px), radial-gradient(circle at 57% 48%, #d9efff 0 0.8px, transparent 1.4px), radial-gradient(circle at 72% 15%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 88% 57%, #d9efff 0 1.2px, transparent 1.7px);
    background-size: 260px 190px;
    transition: opacity 1.5s ease;
    animation: star-twinkle 4s ease-in-out infinite alternate;
}
.weather-night .weather-stars { opacity: 0.72; }
.weather-celestial {
    position: absolute;
    z-index: 1;
    width: clamp(64px, 8vw, 110px);
    aspect-ratio: 1;
    border-radius: 50%;
    transition: opacity 1.5s ease, transform 1.5s ease;
}
.weather-sun {
    top: 10%;
    right: 12%;
    opacity: 0;
    background: #fff1af;
    box-shadow: 0 0 35px 9px rgba(255, 221, 118, 0.5), 0 0 100px 30px rgba(255, 197, 74, 0.2);
}
.weather-sun::before {
    content: '';
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 235, 157, 0.34) 0 4deg, transparent 4deg 13deg);
    -webkit-mask: radial-gradient(circle, transparent 0 38%, #000 40% 100%);
    mask: radial-gradient(circle, transparent 0 38%, #000 40% 100%);
    animation: sun-rays-spin 42s linear infinite;
}
.weather-sun::after {
    content: '';
    position: absolute;
    inset: -65px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 230, 142, 0.3), rgba(255, 205, 95, 0.1) 40%, transparent 68%);
    animation: sun-breathe 5s ease-in-out infinite alternate;
}
.weather-clear.weather-morning .weather-sun, .weather-clear.weather-afternoon .weather-sun, .weather-clear.weather-evening .weather-sun { opacity: 0.88; }
.weather-morning .weather-sun { top: 22%; left: 12%; right: auto; transform: scale(0.8); }
.weather-evening .weather-sun { top: 29%; transform: scale(0.86); background: #ffc078; }
.weather-moon {
    --moon-light: 0.5;
    --moon-shift: 20px;
    top: 10%;
    right: 13%;
    opacity: 0;
    overflow: hidden;
    background: #e7f0ed;
    box-shadow: 0 0 25px 4px rgba(203, 226, 239, 0.35);
}
.weather-moon::after {
    content: '';
    position: absolute;
    inset: -3%;
    border-radius: 50%;
    background: #0a182a;
    transform: translateX(var(--moon-shift));
    opacity: calc(1 - var(--moon-light));
}
.weather-night.weather-clear .weather-moon, .weather-night.weather-cloudy .weather-moon { opacity: calc(0.28 + var(--moon-light) * 0.7); }
.weather-night.weather-cloudy .weather-moon { filter: blur(1px); }
.weather-rain .weather-celestial, .weather-storm .weather-celestial, .weather-fog .weather-celestial { opacity: 0; }
.weather-sun-visible:not(.weather-clear) .weather-sun { opacity: var(--sun-through-cloud, 0.25); }
.weather-sunbeams {
    position: absolute;
    z-index: 1;
    inset: -20%;
    opacity: 0;
    background: conic-gradient(from 205deg at 72% 0%, transparent 0 7deg, rgba(255, 235, 173, 0.08) 9deg 18deg, transparent 20deg 31deg, rgba(255, 238, 186, 0.06) 33deg 42deg, transparent 44deg 360deg);
    filter: blur(5px);
    transition: opacity 1.8s ease;
    animation: sunbeam-drift 15s ease-in-out infinite alternate;
}
.weather-morning.weather-clear .weather-sunbeams,
.weather-afternoon.weather-clear .weather-sunbeams,
.weather-evening.weather-clear .weather-sunbeams,
.weather-sun-visible .weather-sunbeams { opacity: 0.75; }
.cloud-bank {
    position: absolute;
    z-index: 2;
    left: -20%;
    width: 140%;
    opacity: 0;
    background-repeat: repeat-x;
    will-change: transform;
    transition: opacity 1.5s ease;
}
.cloud-bank-back {
    top: -12%;
    height: 62%;
    filter: blur(28px);
    background: radial-gradient(ellipse at 8% 48%, #496075 0 8%, transparent 24%), radial-gradient(ellipse at 27% 28%, #34495d 0 10%, transparent 26%), radial-gradient(ellipse at 48% 52%, #536779 0 10%, transparent 28%), radial-gradient(ellipse at 69% 25%, #3b5063 0 9%, transparent 26%), radial-gradient(ellipse at 91% 50%, #536878 0 11%, transparent 29%);
    animation: cloud-drift-back var(--cloud-speed) ease-in-out infinite alternate;
}
.cloud-bank-front {
    top: 8%;
    height: 70%;
    filter: blur(38px);
    background: radial-gradient(ellipse at 4% 36%, #24394e 0 12%, transparent 30%), radial-gradient(ellipse at 23% 55%, #455a6c 0 12%, transparent 31%), radial-gradient(ellipse at 46% 30%, #283e52 0 13%, transparent 32%), radial-gradient(ellipse at 72% 58%, #485d6e 0 12%, transparent 31%), radial-gradient(ellipse at 96% 32%, #2a4155 0 13%, transparent 32%);
    animation: cloud-drift-front calc(var(--cloud-speed) * 0.72) ease-in-out infinite alternate-reverse;
}
.weather-cloudy .cloud-bank-back, .weather-rain .cloud-bank-back, .weather-storm .cloud-bank-back, .weather-fog .cloud-bank-back { opacity: 0.58; }
.weather-cloudy .cloud-bank-front, .weather-rain .cloud-bank-front, .weather-storm .cloud-bank-front { opacity: 0.38; }
.weather-clear .cloud-bank-back { opacity: 0.1; }
.weather-cloudy .cloud-bank,
.weather-rain .cloud-bank,
.weather-storm .cloud-bank { filter: blur(24px) drop-shadow(0 28px 35px rgba(0, 0, 0, 0.28)); }
.weather-wind-lines {
    position: absolute;
    z-index: 3;
    inset: 8% 0 12%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease;
}
.weather-windy .weather-wind-lines { opacity: 0.65; }
.weather-wind-lines i {
    position: absolute;
    left: -35vw;
    width: clamp(180px, 28vw, 460px);
    height: 18px;
    border-top: 1px solid rgba(222, 241, 249, 0.38);
    border-radius: 50%;
    filter: blur(0.2px);
    animation: weather-gust 4.8s linear infinite;
}
.weather-wind-lines i:nth-child(1) { top: 16%; animation-delay: -1.2s; }
.weather-wind-lines i:nth-child(2) { top: 39%; width: 22vw; animation-delay: -3.7s; animation-duration: 3.9s; }
.weather-wind-lines i:nth-child(3) { top: 64%; animation-delay: -2.1s; animation-duration: 5.6s; }
.weather-wind-lines i:nth-child(4) { top: 82%; width: 34vw; animation-delay: -.4s; animation-duration: 4.3s; }
.weather-gale .weather-wind-lines i { animation-duration: 2.5s; border-color: rgba(228, 245, 251, 0.52); }
#weather-canvas { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: 0.72; }
.weather-heavy-rain #weather-canvas { opacity: 0.95; }
.lightning-flash {
    position: absolute;
    z-index: 3;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at 65% 10%, rgba(225, 242, 255, 0.5), rgba(153, 199, 227, 0.12) 30%, transparent 62%);
}
.lightning-flash.active { animation: lightning-flash 420ms ease-out; }
.weather-mist {
    position: absolute;
    z-index: 3;
    inset: 18% -20% 0;
    opacity: 0;
    background: linear-gradient(175deg, transparent 12%, rgba(225, 235, 238, 0.21) 35%, transparent 55%), linear-gradient(185deg, transparent 34%, rgba(216, 229, 233, 0.16) 54%, transparent 75%);
    filter: blur(18px);
    animation: fog-drift 18s ease-in-out infinite alternate;
}
.weather-background.weather-fog .weather-mist { opacity: 0.82; }
.weather-rain-haze,
.weather-ground-sheen {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.weather-rain-haze {
    z-index: 3;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(173, 207, 222, 0.06) 42%, transparent 58%), linear-gradient(180deg, transparent 50%, rgba(127, 167, 185, 0.13));
    animation: rain-haze-shift 7s ease-in-out infinite alternate;
}
.weather-ground-sheen {
    z-index: 3;
    left: -10%;
    right: -10%;
    bottom: -8%;
    height: 30%;
    background: radial-gradient(ellipse at 50% 100%, rgba(158, 199, 219, 0.2), transparent 65%);
    filter: blur(16px);
}
.weather-rain .weather-rain-haze,
.weather-storm .weather-rain-haze { opacity: 0.85; }
.weather-rain .weather-ground-sheen,
.weather-storm .weather-ground-sheen { opacity: 0.7; }
.weather-status {
    position: fixed;
    z-index: 90;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: min(430px, calc(100vw - 36px));
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #eff9ff;
    background: rgba(5, 14, 23, 0.62);
    box-shadow: 0 10px 35px rgba(0,0,0,.18);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    font-size: .72rem;
    line-height: 1.2;
}
.weather-status[hidden] { display: none; }
.weather-status-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #72e8a0;
    box-shadow: 0 0 0 4px rgba(114,232,160,.12), 0 0 12px rgba(114,232,160,.8);
}
.weather-status[data-condition="rain"] .weather-status-dot,
.weather-status[data-condition="storm"] .weather-status-dot { background: #70cfff; box-shadow: 0 0 0 4px rgba(112,207,255,.12), 0 0 12px rgba(112,207,255,.8); }
.weather-data-credit { color: var(--muted); font-size: 0.64rem; opacity: 0.62; }
.site-header,
.page-content,
.site-footer { position: relative; z-index: 1; }

/* Animated ambient background orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -2;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
}
body::before {
    top: -180px; right: -120px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), transparent 70%);
    animation: float-orb 16s ease-in-out infinite;
}
body::after {
    bottom: -220px; left: -140px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(var(--accent2-rgb), 0.45), transparent 70%);
    animation: float-orb 20s ease-in-out infinite reverse;
}

/* subtle grid overlay */
.page-content { position: relative; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); letter-spacing: -0.02em; }

a { color: var(--accent-3); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ================= Header ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 12, 22, 0.6);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
    background: rgba(8, 11, 20, 0.9);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
}

.brand a { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: #fff; }
.brand span { display: block; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.02em; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a {
    color: var(--muted);
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.site-nav a.active { color: #fff; background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ================= Hero ================= */
.hero { padding: 84px 0 56px; position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 400px;
    gap: 48px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.04;
    font-weight: 800;
}
.hero-lead { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.hero-lead strong { color: #fff; font-weight: 600; }

.hero-buttons { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.list-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--grad-soft);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent-3);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    text-transform: uppercase;
}
.list-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse-dot 2s infinite;
}

/* ================= Buttons ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--grad);
    background-size: 160% 160%;
    color: #fff;
    font-weight: 600;
    font-size: 0.96rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), 0.6);
    transition: transform 0.18s ease, box-shadow 0.25s ease, background-position 0.5s ease;
    min-height: 46px;
    line-height: 1.2;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn:hover { transform: translateY(-2px); color: #fff; background-position: 100% 0; box-shadow: 0 20px 44px -12px rgba(var(--accent-rgb), 0.7); }
.btn:hover::after { left: 130%; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn.secondary {
    background: var(--surface-2);
    border-color: var(--border-strong);
    color: #fff;
    box-shadow: none;
}
.btn.secondary::after { display: none; }
.btn.secondary:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: var(--accent); }

.btn.btn-light { background: #fff; color: #1a1207; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.btn.btn-light:hover { color: #000; }

button, input, select, textarea { touch-action: manipulation; }

/* ================= Profile card ================= */
.profile-card {
    position: relative;
    background: var(--surface);
    padding: 36px 30px;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    backdrop-filter: blur(10px);
    animation: float-card 6s ease-in-out infinite;
}
.profile-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

.profile-avatar {
    width: 172px;
    height: 172px;
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--grad) border-box;
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15), 0 20px 50px -12px rgba(var(--accent-rgb), 0.55);
}
.profile-avatar-sm { width: 140px; height: 140px; flex-shrink: 0; }

.profile-card h2 { margin: 0 0 6px; font-size: 1.5rem; }
.profile-role { color: var(--accent-3); font-weight: 600; margin: 0 0 4px; }
.profile-company { color: var(--muted); margin: 0 0 18px; }

.profile-facts { list-style: none; padding: 0; margin: 0; text-align: left; font-size: 0.9rem; color: var(--muted); }
.profile-facts li { margin-bottom: 10px; padding-left: 18px; position: relative; }
.profile-facts li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.profile-facts strong { color: #d7deee; font-weight: 600; }

.about-intro { display: flex; gap: 32px; align-items: flex-start; }

/* ================= Stats band ================= */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 12px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.4); box-shadow: var(--glow); }
.stat-number { font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

/* ================= Sections ================= */
.section { padding: 72px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title h1, .section-title h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
.section-title p { margin: 14px auto 0; max-width: 640px; color: var(--muted); }

/* ================= Cards ================= */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card, .feature-card, .info-box, .highlight-box {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}
.card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.card:hover, .feature-card:hover, .info-box:hover, .highlight-box:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: var(--glow);
}
.card:hover::before, .feature-card:hover::before { transform: scaleX(1); }

.card h3, .info-box h3, .feature-card h4, .highlight-box h3 { margin-top: 0; color: #fff; }
.card p, .feature-card p, .info-box p { color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr; gap: 28px; align-items: start; }

.highlight-box { background: var(--grad-soft); border-color: rgba(var(--accent-rgb), 0.25); }
.expertise-list { padding-left: 4px; color: var(--muted); margin: 0; list-style: none; }
.expertise-list li { margin-bottom: 12px; padding-left: 26px; position: relative; }
.expertise-list li::before {
    content: '✦';
    position: absolute; left: 0;
    color: var(--accent);
}

/* ================= Tags ================= */
.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: #cdd6ea;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s, color 0.2s, border-color 0.2s, background 0.2s;
}
.tag:hover { transform: translateY(-3px); color: #fff; border-color: rgba(var(--accent-rgb), 0.5); background: var(--brand-soft); }

/* ================= Blog zig-zag ================= */
.zigzag { display: grid; gap: 30px; }
.post-card {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), 0.3); box-shadow: var(--glow); }
.post-card.reverse { grid-template-columns: 340px 1fr; direction: rtl; }
.post-card.reverse > * { direction: ltr; }
.post-card-content { min-width: 0; }
.post-card h3 { margin-top: 0; }
.post-card h3 a { color: #fff; transition: color 0.2s; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--muted); margin: 14px 0 24px; }

.post-thumbnail {
    width: 100%;
    height: 230px;
    border-radius: 18px;
    background: var(--grad);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px -14px rgba(var(--accent-rgb), 0.5);
}
.post-thumbnail::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
}
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }

/* Branded cover shown when a post has no featured image */
.thumb-label {
    position: relative;
    z-index: 2;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.thumb-brand {
    position: absolute;
    z-index: 2;
    bottom: 14px; left: 0; right: 0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.post-meta { color: var(--accent-3); font-size: 0.86rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

.post-body { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); }
.post-body p { margin: 0 0 12px; }
.post-body-inline { margin-top: 12px; color: var(--muted); }
.post-body-full { margin-top: 24px; color: var(--text); font-size: 1.03rem; }
.post-body-full p { margin: 0 0 16px; }

.post-full {
    background: var(--surface);
    border-radius: 24px;
    padding: 44px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    max-width: 840px;
    margin: 0 auto;
}
.post-full h1 { margin: 16px 0; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; }
.post-lead { font-size: 1.12rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 18px; margin: 0 0 26px; }

/* ================= Wiki article ================= */
.wiki-article {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    margin-top: 32px;
}
.wiki-article h3 {
    margin: 32px 0 14px;
    padding-bottom: 10px;
    position: relative;
    color: #fff;
}
.wiki-article h3::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 56px; height: 3px;
    background: var(--grad);
    border-radius: 3px;
}
.wiki-article h3:first-child { margin-top: 0; }
.wiki-article p { color: var(--muted); margin: 0 0 16px; }

.wiki-quote {
    margin: 34px 0 0;
    padding: 24px 28px;
    background: var(--grad-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 14px 14px 0;
    font-style: italic;
    font-size: 1.08rem;
    color: #e6ebf6;
}
.wiki-quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--accent-3); font-size: 0.95rem; }

/* ================= CTA ================= */
.cta-section {
    position: relative;
    background: var(--grad);
    color: #fff;
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 70px -24px rgba(var(--accent-rgb), 0.6);
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.28), transparent 45%);
}
.cta-section h2 { margin: 0 0 14px; color: #fff; position: relative; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-section p { margin: 0 auto 26px; max-width: 620px; position: relative; }
.cta-section .btn-light { position: relative; }

/* ================= Contact ================= */
.contact-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.92rem; color: #d7deee; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    margin-bottom: 18px;
    font: inherit;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6c7793; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14);
}
.contact-form select option { background: var(--surface-solid); color: #fff; }

.social-list { list-style: none; padding: 0; margin: 0; }
.social-list li { margin-bottom: 10px; }

/* ================= Alerts ================= */
.alert { padding: 15px 18px; border-radius: 12px; margin-bottom: 22px; border: 1px solid transparent; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(110, 231, 183, 0.3); }
.alert-error { background: var(--error-bg); color: var(--error); border-color: rgba(252, 165, 165, 0.3); }
.alert-warning { background: var(--warning-bg); color: var(--accent-3); border-color: rgba(var(--accent3-rgb), 0.3); }

/* ================= Scam list ================= */
.scam-alert-list { list-style: none; padding: 0; margin: 0; }
.scam-alert-list li { margin-bottom: 16px; padding-left: 30px; position: relative; color: var(--muted); }
.scam-alert-list li::before { content: '⚠'; position: absolute; left: 0; color: var(--accent-3); font-size: 1.1rem; }

/* ================= Services & Testimonials ================= */
.service-card { position: relative; }
.service-icon {
    display: inline-flex;
    width: 52px; height: 52px;
    align-items: center;
    justify-content: center;
    background: var(--grad-soft);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px;
    margin: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    position: relative;
    transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 8px; right: 22px;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(var(--accent-rgb), 0.22);
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), 0.3); box-shadow: var(--glow); }
.testimonial-quote { color: #e2e8f5; font-size: 1rem; line-height: 1.75; margin: 0 0 22px; }
.testimonial-card footer { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--border); padding-top: 16px; }
.testimonial-card footer strong { color: #fff; }
.testimonial-card footer span { color: var(--muted); font-size: 0.9rem; }

/* ================= FAQ accordion ================= */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 4px 22px;
    backdrop-filter: blur(8px);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] { border-color: rgba(var(--accent-rgb), 0.35); box-shadow: var(--glow); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 34px 18px 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.03rem;
    color: #fff;
    position: relative;
    outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: '\2212'; transform: translateY(-50%) rotate(180deg); }
.faq-item summary:focus-visible { color: var(--accent-3); }
.faq-answer { color: var(--muted); padding: 0 0 20px; line-height: 1.7; animation: faq-open 0.3s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Generic content wrapper (used by some pages) */
.content { padding: 0; }
.social-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ================= Footer ================= */
.site-footer {
    padding: 56px 0 40px;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    margin-top: 40px;
    position: relative;
}
.footer-inner { display: grid; gap: 24px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.footer-brand p { color: var(--muted); margin: 6px 0 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-social a {
    font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}
.footer-social a:hover { color: var(--accent); }
.footer-copy { color: #6c7793; font-size: 0.9rem; margin: 0; }

/* ================= Floating chat ================= */
.chat-float {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 18px 48px -10px rgba(var(--accent-rgb), 0.6);
    z-index: 200;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.chat-float::before {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(var(--accent-rgb), 0.5);
    animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.chat-float:hover { transform: scale(1.08); box-shadow: 0 24px 58px -10px rgba(var(--accent-rgb), 0.7); }

.chat-panel {
    position: fixed;
    right: 22px; bottom: 96px;
    width: min(420px, calc(100vw - 44px));
    background: var(--surface-solid);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    z-index: 201;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.24s ease, transform 0.24s ease;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); }
.chat-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--grad);
    color: #fff;
}
.chat-panel-header strong { font-family: var(--font-head); }
.chat-panel-header span { display: block; font-size: 0.82rem; opacity: 0.9; }
.chat-close { background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.chat-messages {
    height: 340px;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-2);
    scroll-behavior: smooth;
}
.chat-messages-embed { height: 300px; border-radius: 16px 16px 0 0; }
.chat-bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 0.94rem; line-height: 1.6; }
.chat-bubble.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.chat-bubble.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 6px; }
.chat-bubble.loading { opacity: 0.75; font-style: italic; }
.chat-input-row { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); background: var(--surface-solid); }
.chat-input-row input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font: inherit;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input-row input::placeholder { color: #6c7793; }
.chat-input-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12); }
.chat-input-row .btn { padding: 10px 20px; }

.chat-embed { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }

/* ================= Back to top ================= */
.back-to-top {
    position: fixed;
    left: 24px; bottom: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
    z-index: 120;
}
.back-to-top:hover { background: var(--brand-soft); border-color: var(--accent); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }

/* ================= Floating contact buttons ================= */
.float-contacts {
    position: fixed;
    right: 24px;
    bottom: 94px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { transform: scale(1.08); color: #fff; box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6); }
.float-whatsapp { background: #25d366; }
.float-telegram { background: #229ed9; }

/* ================= CTA button group + outline-light ================= */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.btn.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.65); color: #fff; box-shadow: none; }
.btn.btn-outline-light::after { display: none; }
.btn.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ================= Blog search / pagination / category ================= */
.blog-search { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 24px; flex-wrap: wrap; }
.blog-search input {
    flex: 1; min-width: 200px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: #fff;
    font: inherit;
}
.blog-search input::placeholder { color: #6c7793; }
.blog-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14); }

.post-category {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    color: var(--accent-3);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 44px; }
.page-num {
    min-width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
}
.page-num:hover { color: #fff; border-color: rgba(var(--accent-rgb), 0.4); }
.page-num.active { background: var(--grad); color: #fff; border-color: transparent; }

/* ================= Share bar ================= */
.share-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-label { color: var(--muted); font-weight: 600; }
.share-btn {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: #cdd6ea;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s, color 0.2s, border-color 0.2s;
}
.share-btn:hover { transform: translateY(-2px); color: #fff; border-color: rgba(var(--accent-rgb), 0.5); }

/* ================= Admin messages ================= */
.msg-item { border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; background: #fff; }
.msg-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; color: #0f172a; }
.msg-subject { color: #475569; margin-bottom: 8px; font-size: 0.92rem; }
.msg-body { color: #334155; white-space: pre-wrap; margin: 0 0 14px; }

/* ================= Scroll reveal ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ================= Keyframes ================= */
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.1); }
}
@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    75%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes cloud-drift-back {
    from { transform: translate3d(-3%, -2%, 0) scale(1.05); }
    to { transform: translate3d(8%, 4%, 0) scale(1.12); }
}
@keyframes cloud-drift-front {
    from { transform: translate3d(-7%, 2%, 0) scale(1.08); }
    to { transform: translate3d(5%, -3%, 0) scale(1.16); }
}
@keyframes star-twinkle {
    from { filter: brightness(0.72); }
    to { filter: brightness(1.2); }
}
@keyframes fog-drift {
    from { transform: translate3d(-3%, 0, 0) scale(1.02); }
    to { transform: translate3d(4%, 2%, 0) scale(1.08); }
}
@keyframes lightning-flash {
    0%, 100% { opacity: 0; }
    8% { opacity: 0.85; }
    16% { opacity: 0.1; }
    25% { opacity: 0.6; }
    42% { opacity: 0; }
}
@keyframes sun-rays-spin {
    to { transform: rotate(360deg); }
}
@keyframes sun-breathe {
    from { transform: scale(.9); opacity: .65; }
    to { transform: scale(1.12); opacity: 1; }
}
@keyframes sunbeam-drift {
    from { transform: rotate(-2deg) scale(1); }
    to { transform: rotate(3deg) scale(1.06); }
}
@keyframes weather-gust {
    0% { transform: translate3d(0, 0, 0) scaleX(.55); opacity: 0; }
    12% { opacity: .8; }
    78% { opacity: .45; }
    100% { transform: translate3d(145vw, -12px, 0) scaleX(1.15); opacity: 0; }
}
@keyframes rain-haze-shift {
    from { transform: translateX(-2%); filter: brightness(.85); }
    to { transform: translateX(2%); filter: brightness(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    body::before, body::after, .profile-card, .chat-float::before, .list-badge::before { animation: none; }
    .cloud-bank, .lightning-flash, .weather-stars, .weather-mist, .weather-sun::before, .weather-sun::after, .weather-sunbeams, .weather-wind-lines i, .weather-rain-haze { animation: none; }
    #weather-canvas { display: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ================= Admin (kept light & readable) ================= */
.admin-body { background: #eef2f8; min-height: 100vh; color: #1e293b; }
.admin-body::before, .admin-body::after { display: none; }
.admin-body h1, .admin-body h2, .admin-body h3, .admin-body h4 { color: #0f172a; }

/* ============================================================
   ADMIN LIGHT THEME
   The public site is dark, so its components use light text on
   dark, translucent surfaces (var(--surface), #fff headings…).
   On the light admin pages that made cards, headings, buttons
   and tags invisible. Re-map the theme variables to light values
   (fixes everything var-based at once) and override the few
   hard-coded white colours that variables can't reach.
   ============================================================ */
.admin-body {
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --surface-solid: #ffffff;
    --text: #0f172a;
    --heading: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --success: #047857;
    --success-bg: #ecfdf5;
    --error: #b91c1c;
    --error-bg: #fef2f2;
    --accent-3: #0e7490;      /* teal is too pale on white — darken for links */
    --shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
}
/* Cards: solid white with a visible border on the light background. */
.admin-body .card,
.admin-body .feature-card,
.admin-body .info-box,
.admin-body .highlight-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.35);
}
.admin-body .card h3,
.admin-body .card h4,
.admin-body .feature-card h3,
.admin-body .feature-card h4,
.admin-body .info-box h3,
.admin-body .highlight-box h3 { color: #0f172a; }
.admin-body .card p,
.admin-body .feature-card p,
.admin-body .info-box p { color: #475569; }
/* Secondary buttons + tags: dark text on a light chip. */
.admin-body .btn.secondary { background: #f1f5f9; color: #1e293b; border-color: #cbd5e1; }
.admin-body .btn.secondary:hover { background: #e2e8f0; color: #0f172a; border-color: #94a3b8; }
.admin-body .tag { background: #f1f5f9; color: #1e293b; border-color: #e2e8f0; }
.admin-body .tag:hover { color: #0f172a; }
/* Links inside the content area (sidebar keeps its own styling). */
.admin-main a { color: #1d4ed8; }
.admin-main a:hover { color: #1e40af; text-decoration: underline; }
/* Data tables (Users list) — light, readable, consistent with the rest. */
.admin-body .admin-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.92rem; color: #1e293b; }
.admin-body .admin-table th,
.admin-body .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.admin-body .admin-table th { color: #64748b; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; background: #f8fafc; }
.admin-body .admin-table tbody tr:hover { background: #f8fafc; }
/* Inline checkbox label (Users / Settings). */
.admin-body .checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #1e293b; margin-bottom: 16px; }
.admin-body .checkbox input { width: auto; margin: 0; }
/* Small button variant (FAQs actions). */
.admin-main .btn.tiny { padding: 6px 12px; font-size: 0.82rem; }

.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0f172a; color: #e2e8f0; padding: 24px 16px; position: sticky; top: 0; height: 100vh; }
.admin-sidebar-brand { margin-bottom: 28px; padding: 0 8px; }
.admin-sidebar-brand strong { display: block; color: #fff; font-size: 1.1rem; }
.admin-sidebar-brand span { font-size: 0.78rem; color: #94a3b8; word-break: break-all; }
.admin-sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar-nav a { color: #cbd5e1; padding: 10px 14px; border-radius: 10px; font-size: 0.95rem; transition: background 0.2s, color 0.2s; }
.admin-sidebar-nav a:hover, .admin-sidebar-nav a.active { background: rgba(var(--accent-rgb), 0.22); color: #fff; }
.admin-sidebar-nav a.admin-logout { margin-top: 12px; color: #fca5a5; }
.admin-main { padding: 32px; overflow-x: auto; }
.admin-content { max-width: 1100px; }

/* Admin form fields (light theme). The public .contact-form defaults use light
   text on dark, translucent inputs — on the light admin pages that made labels
   and typed text invisible. These overrides force readable dark-on-white fields. */
.admin-body .contact-form label,
.admin-main label { display: block; margin-bottom: 6px; font-weight: 600; color: #1e293b; }
.admin-body .contact-form input,
.admin-body .contact-form textarea,
.admin-body .contact-form select,
.admin-main input,
.admin-main textarea,
.admin-main select {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 16px;
    font: inherit;
}
.admin-body .contact-form input::placeholder,
.admin-body .contact-form textarea::placeholder,
.admin-main input::placeholder,
.admin-main textarea::placeholder { color: #94a3b8; }
.admin-body .contact-form select option,
.admin-main select option { background: #ffffff; color: #0f172a; }
.admin-body .contact-form input:focus,
.admin-body .contact-form textarea:focus,
.admin-body .contact-form select:focus,
.admin-main input:focus,
.admin-main textarea:focus,
.admin-main select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
/* File-picker and buttons shouldn't get the full-width text-field treatment. */
.admin-main input[type="file"] { padding: 8px; background: #f8fafc; }
.admin-main input[type="checkbox"],
.admin-main input[type="radio"] { width: auto; margin-bottom: 0; }
.admin-main button,
.admin-body .contact-form button { width: auto; }
.admin-content h1 { margin: 0 0 8px; font-size: 1.8rem; }
.design-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.design-quick-actions form { margin: 0; }
.design-mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 28px; }
.design-mode-option {
    display: block;
    padding: 18px;
    color: #1e293b;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
}
.design-mode-option:has(input:checked) { border-color: #0ca9e1; background: #ecfeff; }
.design-mode-option input { width: auto; margin: 0 8px 0 0; }
.design-mode-option strong { display: inline; color: #0f172a; }
.design-mode-option span { display: block; margin-top: 7px; color: #64748b; font-size: 0.88rem; }
.design-status { padding: 14px 16px; border-radius: 12px; background: #ecfeff; border: 1px solid #a5f3fc; color: #164e63; }
.weather-coordinate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-login-card { margin-top: 40px; }
.admin-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.report-list { list-style: none; padding: 0; margin: 0; }
.report-list li { margin-bottom: 10px; color: #475569; }
.seo-check { font-size: 0.88rem; }
.seo-check.ok { color: #0f5132; font-weight: 600; }
.code-block { display: block; word-break: break-all; background: #f1f5f9; color: #0f172a; padding: 12px; border-radius: 12px; font-size: 0.85rem; margin: 12px 0; }
.code-pre { background: #f1f5f9; color: #0f172a; border-radius: 12px; padding: 16px; overflow: auto; font-size: 0.85rem; margin: 0; }

/* ================= Responsive ================= */
@media (max-width: 960px) {
    .hero-grid, .content-grid, .card-grid, .feature-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .post-card, .post-card.reverse { grid-template-columns: 1fr; direction: ltr; }
    .about-intro { flex-direction: column; align-items: center; text-align: center; }
    .hero { padding-top: 56px; }
}

@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; }
    .site-header .container { position: relative; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10, 14, 24, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 6px;
    }
    .site-nav.open { display: flex; }
    .site-nav a { display: block; width: 100%; padding: 11px 14px; }
    .nav-toggle { display: flex; margin-left: auto; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; width: 100%; }
    .chat-panel { right: 12px; left: 12px; bottom: 96px; max-width: none; }
    .float-contacts { right: 16px; bottom: 84px; }
    .float-btn { width: 48px; height: 48px; }
    .design-mode-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .weather-celestial { width: 62px; }
    .weather-coordinate-grid { grid-template-columns: 1fr; gap: 0; }
    .stats-band { grid-template-columns: 1fr 1fr; }
    .post-full { padding: 26px; }
    .wiki-article { padding: 24px; }
    .cta-section { padding: 44px 24px; }
    .section { padding: 52px 0; }
}

/* ================= Editorial portfolio layer ================= */
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: #07120d;
    background: #d6ff46;
    border-radius: 6px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.page-content { min-height: 70vh; }
.page-content:focus { outline: none; }
.eyebrow,
.section-index,
.chapter-number,
.profile-kicker {
    color: var(--accent-3);
    font: 700 0.75rem/1.2 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hero-role {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.55;
}
.hero-legal-name {
    margin: -6px 0 18px;
    color: var(--accent-3);
    font: 700 clamp(.9rem, 1.6vw, 1.08rem)/1.4 var(--font-body);
    letter-spacing: .04em;
}
.hero-legal-name span { margin: 0 .4rem; color: var(--accent-2); }
.hero-role span { color: var(--accent-2); margin: 0 0.28rem; }
.identity-card { text-align: left; }
.identity-card .portrait-frame {
    position: relative;
    width: min(100%, 290px);
    margin: 0 auto 28px;
}
.identity-card .portrait-frame::before {
    content: '';
    position: absolute;
    inset: -12px 12px 12px -12px;
    border: 1px solid var(--accent-2);
    border-radius: 46% 46% 14px 14px;
    opacity: 0.7;
}
.identity-card .profile-avatar {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 46% 46% 14px 14px;
}
.identity-card h2 { margin-bottom: 4px; }
.identity-aliases { color: var(--muted); font-size: 0.88rem; }
.section-paper {
    background: rgba(8, 14, 21, 0.92);
    border-block: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.intro-grid { align-items: start; grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); }
.intro-grid h2 { max-width: 490px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
.long-copy p,
.prose p { color: var(--muted); font-size: 1.03rem; }
.align-left { text-align: left; margin-inline: 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.highlight-card {
    min-height: 220px;
    padding: 30px;
    background: rgba(9, 18, 24, 0.74);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: transform .25s ease, background .25s ease;
}
.highlight-card:hover { transform: translateY(-4px); background: rgba(var(--accent-rgb), 0.12); }
.highlight-card > span { color: var(--accent-2); font-size: 0.78rem; }
.highlight-card h3 { margin-top: 60px; margin-bottom: 4px; }
.highlight-card p { color: var(--muted); margin: 0; }
.career-line { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--border-strong); }
.career-line li { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.career-line time { color: var(--accent-2); font: 700 1.15rem var(--font-head); }
.career-line strong { color: var(--heading); font-size: 1.1rem; }
.career-line p { color: var(--muted); margin: 3px 0 0; }
.update-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.editorial-list { padding: 0; margin: 28px 0 0; list-style: none; border-top: 1px solid var(--border); }
.editorial-list li { display: grid; grid-template-columns: 110px 1fr; padding: 22px 0; border-bottom: 1px solid var(--border); color: var(--heading); }
.editorial-list span { color: var(--accent-3); text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }
.quick-panel { padding: 30px; background: var(--heading); color: var(--bg); }
.quick-panel .section-index { color: #427215; }
.quick-panel a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.15); color: #101b15; font-weight: 700; }
.page-hero { padding: clamp(85px, 12vw, 155px) 0 clamp(70px, 10vw, 125px); }
.narrow { max-width: 900px; }
.page-hero h1 { max-width: 850px; margin: 18px 0 24px; font-size: clamp(2.7rem, 7vw, 5.7rem); line-height: .98; }
.page-deck { max-width: 750px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.biography-layout { display: grid; grid-template-columns: 310px minmax(0, 720px); justify-content: space-between; gap: 70px; align-items: start; }
.bio-rail { position: sticky; top: 115px; }
.bio-rail img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.85); }
.bio-rail dl { margin: 20px 0; }
.bio-rail dl div { display: grid; grid-template-columns: 95px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.bio-rail dt { color: var(--muted); }
.bio-rail dd { margin: 0; color: var(--heading); font-weight: 600; }
.prose h2 { margin: 50px 0 14px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose blockquote { margin: 40px 0; padding: 28px 34px; border-left: 3px solid var(--accent-2); background: rgba(var(--accent2-rgb), .08); color: var(--heading); font: 600 1.2rem/1.6 var(--font-head); }
.value-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.value-list li { padding: 9px 14px; border: 1px solid var(--border-strong); color: var(--heading); }
.story-layout { display: grid; grid-template-columns: 190px minmax(0, 750px); gap: 80px; justify-content: center; align-items: start; }
.story-index { position: sticky; top: 120px; display: flex; flex-direction: column; }
.story-index span { margin-bottom: 15px; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; }
.story-index a { padding: 8px 0; color: var(--text); }
.story-prose > section { padding-bottom: 45px; margin-bottom: 45px; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.chapter-number { color: var(--accent-2); }
.journey-stack { max-width: 930px; }
.journey-entry { display: grid; grid-template-columns: 100px 1fr; gap: 35px; padding: 48px 0; border-bottom: 1px solid var(--border); }
.journey-marker { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid var(--accent-2); border-radius: 50%; color: var(--accent-2); font-weight: 700; }
.journey-company { margin: 0; color: var(--accent-3); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.journey-entry h2 { margin: 8px 0 12px; }
.journey-entry div > p:last-child { color: var(--muted); }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.task-item { min-height: 130px; padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--heading); }
.task-item span { display: block; margin-bottom: 24px; color: var(--accent-2); }
.skill-categories { max-width: 1000px; }
.skill-category { display: grid; grid-template-columns: 250px 1fr; gap: 50px; padding: 46px 0; border-bottom: 1px solid var(--border); }
.skill-category header span { color: var(--accent-2); font-size: .75rem; }
.skill-category h2 { margin: 8px 0; }
.skill-list { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.skill-list span { padding: 10px 14px; border: 1px solid var(--border-strong); color: var(--heading); }
.political-hero { background: linear-gradient(120deg, rgba(12,88,55,.22), transparent 60%); }
.political-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 75px; align-items: start; }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.activity-grid span { padding: 14px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--heading); }
.source-note { margin-top: 35px; font-size: .88rem !important; }
.political-card { position: sticky; top: 120px; padding: 30px; background: #123f2b; color: #eaffdc; }
.political-card p { margin: 0 0 8px; color: #b4d7c3; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.political-card strong { display: block; font: 800 2rem var(--font-head); }
.political-card span { color: #b4d7c3; }
.political-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 28px 0; }
.political-card blockquote { margin: 0; font-family: var(--font-head); }
.resume-section { padding-top: 70px; }
.resume-sheet { padding: clamp(30px, 6vw, 75px); background: #f7f5ee; color: #223028; box-shadow: var(--shadow); }
.resume-sheet h1, .resume-sheet h2, .resume-sheet h3 { color: #15221b; }
.resume-sheet a:not(.btn) { color: #276846; }
.resume-header { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 35px; border-bottom: 2px solid #19271f; }
.resume-header h1 { margin: 6px 0; font-size: clamp(2.6rem, 6vw, 4.5rem); }
.resume-grid { display: grid; grid-template-columns: 240px 1fr; gap: 70px; padding-top: 35px; }
.resume-grid h2 { margin-top: 30px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; }
.resume-grid ul { padding-left: 18px; }
.footer-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; width: 100%; font-size: .82rem; }
.media-credit { color: var(--muted); font-size: .68rem; opacity: .78; }
.footer-social, .footer-pages, .social-list { overflow-wrap: anywhere; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.political-intro { background: #103d29; color: #efffe9; }
.political-focus { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 8vw, 100px); align-items: start; }
.political-focus h2 { margin: 10px 0 0; color: #f4fff0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; }
.political-focus p { margin-top: 0; color: #c9e0d1; font-size: 1.05rem; }
.political-focus .text-link { color: #d6ff46; font-weight: 700; }

/* Daytime weather switches content to a warm, high-contrast light surface. */
body.weather-day-mode {
    --bg: #eef1e8;
    --bg-2: #f7f6ef;
    --bg-alt: #e7ece1;
    --surface: rgba(255,255,255,.72);
    --surface-2: rgba(255,255,255,.9);
    --surface-solid: #fffdf7;
    --text: #203029;
    --heading: #101c16;
    --muted: #52625a;
    --border: rgba(16,39,28,.13);
    --border-strong: rgba(16,39,28,.24);
}
body.weather-day-mode .site-header { background: rgba(246,248,240,.76); }
body.weather-day-mode .site-header.scrolled { background: rgba(247,248,242,.94); }
body.weather-day-mode .brand a,
body.weather-day-mode .site-nav a:hover,
body.weather-day-mode .site-nav a.active { color: #101c16; }
body.weather-day-mode .section-paper { background: rgba(247,247,240,.94); }
body.weather-day-mode .highlight-card { background: rgba(250,250,244,.86); }
body.weather-day-mode .hero-lead strong { color: var(--heading); }
body.weather-day-mode .site-nav.open { background: rgba(247,248,242,.98); }

@media (max-width: 1050px) {
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .task-grid { grid-template-columns: repeat(2, 1fr); }
    .site-nav a { padding-inline: 9px; font-size: .84rem; }
}
@media (max-width: 800px) {
    .intro-grid, .update-layout, .biography-layout, .story-layout, .political-layout, .resume-grid, .political-focus { grid-template-columns: 1fr; }
    .bio-rail, .story-index, .political-card { position: static; }
    .bio-rail { max-width: 360px; }
    .story-index { display: none; }
    .skill-category { grid-template-columns: 1fr; gap: 15px; }
    .resume-header { flex-direction: column; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 24px, 1160px); }
    .header-inner { padding: 11px 0; }
    .brand a { font-size: 1.05rem; }
    .brand span { max-width: 205px; font-size: .68rem; line-height: 1.25; }
    .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .site-nav { max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
    .site-nav a { min-height: 44px; display: flex; align-items: center; }
    .hero { padding: 44px 0 38px; }
    .hero-grid { gap: 38px; }
    .hero-copy h1 { font-size: clamp(2.7rem, 16vw, 4.2rem); overflow-wrap: anywhere; }
    .hero-role { font-size: .95rem; }
    .hero-legal-name { font-size: .82rem; }
    .hero-buttons { display: grid; grid-template-columns: 1fr; }
    .hero-buttons .btn { width: 100%; min-height: 48px; }
    .list-badge { max-width: 100%; white-space: normal; line-height: 1.35; }
    .profile-card { padding: 26px 20px; }
    .page-hero { padding: 68px 0 62px; }
    .page-deck { font-size: 1rem; }
    .political-focus { gap: 25px; }
    .career-line li { align-items: start; }
    .weather-status { left: 10px; bottom: 10px; max-width: calc(100vw - 20px); padding: 8px 10px; font-size: .65rem; }
    .footer-social { gap: 8px 12px; }
    input, textarea, select, button { font-size: 16px; }
    .highlight-grid, .task-grid, .activity-grid { grid-template-columns: 1fr; }
    .career-line li { grid-template-columns: 75px 1fr; gap: 16px; }
    .journey-entry { grid-template-columns: 1fr; gap: 15px; }
    .highlight-card { min-height: 180px; }
    .highlight-card h3 { margin-top: 38px; }
    .page-hero h1 { font-size: clamp(2.45rem, 14vw, 4rem); }
    .resume-sheet { width: 100%; padding: 25px 20px; }
}

@media print {
    .site-header, .site-footer, .float-contacts, .chat-float, .chat-panel, .weather-background { display: none !important; }
    body { background: #fff !important; }
    .resume-section { padding: 0; }
    .resume-sheet { box-shadow: none; }
}
