/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-navy: #1a2332;
    --brand-blue-gray: #2c3e50;
    --brand-teal: #34495e;
    --cyber-accent: #7fff2a;
    --cyber-accent-muted: #63bc2d;
    --cyber-accent-dim: rgba(127, 255, 42, 0.15);
    --overlay-dark: rgba(26, 35, 50, 0.85);
    --overlay-black: rgba(0, 0, 0, 0.6);
    --overlay-gradient: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(26, 35, 50, 0.55) 100%
    );
    --text-white: #ffffff;
    --text-primary: #1a2332;
    --text-secondary: #495057;
    --text-light: #6c757d;
    --bg-white: #ffffff;
    --bg-off-white: #f8f9fa;
    --border-light: #e0e0e0;
    --section-pad: clamp(3.5rem, 6vw, 5rem);
    --content-max: 1200px;
    --content-pad: clamp(1.25rem, 4vw, 3rem);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes widthGrow { from { width: 0; } to { width: 60px; } }
@keyframes terminalBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
@keyframes glitchShift {
    0%,100% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, 2px); }
    80% { transform: translate(2px, -1px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 var(--content-pad);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
    background: rgba(26, 35, 50, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.nav--solid {
    background: rgba(26, 35, 50, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.nav-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 15px; width: auto; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--cyber-accent);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 10s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 35, 50, 0.95) 0%,
        rgba(0, 0, 0, 0.78) 50%,
        rgba(26, 35, 50, 0.92) 100%
    );
}
.hero-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.01) 2px,
        rgba(255, 255, 255, 0.01) 4px
    );
    pointer-events: none;
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    width: 100%;
}
.hero-label {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyber-accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-label::before {
    content: "";
    display: block;
    width: 40px; height: 1px;
    background: var(--cyber-accent);
}
.hero-title {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text-white);
    letter-spacing: 0.06em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
}
.hero-title--tagline {
    letter-spacing: 0;
    font-weight: 200;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}
.hero-title strong { font-weight: 300; color: var(--cyber-accent); }
.hero-subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-align: left;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 14px 32px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: none;
    text-decoration: none;
}
.btn-primary { background: transparent; border-color: var(--text-white); color: var(--text-white); }
.btn-primary:hover {
    background: var(--text-white);
    color: var(--brand-navy);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.btn-accent { background: transparent; border-color: var(--cyber-accent); color: var(--cyber-accent); }
.btn-accent:hover {
    background: var(--cyber-accent);
    color: var(--brand-navy);
    box-shadow: 0 4px 20px rgba(127, 255, 42, 0.35);
    transform: translateY(-2px);
}
.btn-secondary { background: transparent; border-color: var(--brand-navy); color: var(--brand-navy); }
.btn-secondary:hover {
    background: var(--brand-navy);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
.section { padding: var(--section-pad) var(--content-pad); }
.section-inner { max-width: var(--content-max); margin: 0 auto; }
.section-label {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section-label::before {
    content: "";
    width: 30px; height: 1px;
    background: var(--cyber-accent-muted);
}
.section--dark .section-label,
.contact-hero .section-label { color: var(--cyber-accent); }
.section--dark .section-label::before,
.contact-hero .section-label::before { background: var(--cyber-accent); }
.section-title {
    font-family: "Raleway", sans-serif;
    font-weight: 100;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.section-subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.section--dark { background: var(--brand-navy); }
.section--dark .section-title { color: var(--text-white); }
.section--dark .section-subtitle { color: rgba(255, 255, 255, 0.6); }
.section--alt { background: var(--bg-off-white); }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-card { position: relative; background: none; border: none; }
.service-card-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    line-height: 0;
    font-size: 0;
}
.service-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 10px;
}
.service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.05);
    transition: filter 0.5s ease, transform 0.6s ease;
}
.service-card-image:hover img { filter: grayscale(10%) contrast(1.1); transform: scale(1.05); }
.service-card-body { padding: 1rem 0.25rem 0; }
.service-card-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 1.4rem 1.2rem;
    z-index: 3;
    line-height: 1.35;
    margin: 0;
}
.service-card-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
    margin-top: 0;
}
.service-card-features { list-style: none; padding: 0; }
.service-card-features li {
    font-size: 0.72rem;
    color: var(--text-light);
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}
.service-card-features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--cyber-accent-muted);
    font-weight: 600;
}

/* ===== WHY ===== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.why-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.why-item:last-child { border-bottom: none; }
.why-number {
    font-family: "Raleway", sans-serif;
    font-weight: 100;
    font-size: 2rem;
    color: var(--cyber-accent);
    line-height: 1;
}
.why-item-title {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    text-align: left;
}
.why-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ===== PERSONNEL ===== */
.personnel-cards { display: flex; flex-direction: column; gap: 4rem; }
.personnel-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; }
.personnel-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
}
.personnel-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1);
    transition: transform 0.6s ease;
}
.personnel-image-wrap:hover img { transform: scale(1.04); }
.personnel-image-accent {
    position: absolute;
    top: 1rem; left: 1rem; right: -1rem; bottom: -1rem;
    border: 1px solid var(--cyber-accent);
    z-index: -1;
    opacity: 0.3;
}
.personnel-info { padding-top: 0.5rem; }
.personnel-name {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0.25rem;
}
.personnel-role {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin-bottom: 1.25rem;
}
.personnel-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.personnel-quals {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.personnel-quals li {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-teal);
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    border-radius: 0;
}

/* ===== LEGAL ===== */
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.legal-intro { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; }
.legal-features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.legal-feature {
    padding: 1.75rem;
    border: 1px solid var(--border-light);
    border-radius: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.legal-feature:hover { border-color: var(--brand-teal); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.legal-feature-title {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: left;
}
.legal-feature-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.legal-cta { margin-top: 2rem; }
.legal-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-navy);
    transition: color 0.3s ease;
}
.legal-cta a:hover { color: var(--cyber-accent-muted); }
.legal-cta a svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.legal-cta a:hover svg { transform: translateX(4px); }

/* ===== DARK WEB MONITORING ===== */
.dwm-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.dwm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyber-accent);
    background: rgba(127,255,42,0.08);
    border: 1px solid rgba(127,255,42,0.2);
    padding: 6px 16px;
    margin-bottom: 1.5rem;
}
.dwm-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyber-accent);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
.dwm-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 2rem; }
.dwm-features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.dwm-feature { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; }
.dwm-feature-icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.1rem;
}
.dwm-feature-icon svg {
    width: 18px; height: 18px;
    stroke: var(--cyber-accent);
    fill: none;
    stroke-width: 1.5;
}
.dwm-feature-title {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0.35rem;
}
.dwm-feature-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.dwm-visual {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}
.dwm-terminal {
    width: 100%;
    max-width: 540px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(127,255,42,0.15);
    font-family: "Courier New", monospace;
    font-size: 0.72rem;
    line-height: 1.8;
    overflow: hidden;
}
.dwm-terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(127,255,42,0.1);
}
.dwm-terminal-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dwm-terminal-title {
    margin-left: auto;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.dwm-terminal-body { padding: 1.25rem 1.5rem; color: rgba(127,255,42,0.7); }
.dwm-terminal-body .line-dim { color: rgba(255,255,255,0.2); }
.dwm-terminal-body .line-accent { color: var(--cyber-accent); }
.dwm-terminal-body .line-warn { color: #f39c12; }
.dwm-terminal-cursor {
    display: inline-block;
    width: 7px; height: 14px;
    background: var(--cyber-accent);
    vertical-align: middle;
    animation: terminalBlink 1s step-end infinite;
}

/* ===== REPORTING ===== */
.reporting-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.reporting-text { order: 2; }
.reporting-visual { order: 1; }
.reporting-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; }
.reporting-highlights { display: grid; gap: 1.75rem; }
.reporting-point-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.reporting-point-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.reporting-cta { margin-top: 2rem; }

.report-stack {
    position: relative;
    width: 320px; height: 420px;
    margin: 0 auto;
    perspective: 1000px;
}
.report-page {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.5s ease;
    transform-origin: bottom center;
    background: #fff;
    border: 1px solid var(--border-light);
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}
.report-page--back-2 { z-index: 1; transform: rotate(-3deg) translateX(-12px) translateY(-3px); background: #f3f4f6; }
.report-page--back-1 { z-index: 2; transform: rotate(-1.5deg) translateX(-5px) translateY(-1px); background: #f8f9fa; }
.report-page--front { z-index: 3; transform: none; }
.report-stack:hover .report-page--back-2 {
    transform: rotate(-10deg) translateX(-40px) translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.report-stack:hover .report-page--back-1 {
    transform: rotate(-5deg) translateX(-20px) translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}
.report-stack:hover .report-page--front {
    transform: rotate(2.5deg) translateX(14px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.report-page--front img { width: 100%; height: 100%; display: block; object-fit: cover; }
.report-page--back-1::after,
.report-page--back-2::after {
    content: "";
    position: absolute;
    inset: 40px 30px 30px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 18px,
        rgba(0,0,0,0.04) 18px,
        rgba(0,0,0,0.04) 19px
    );
}
.report-page--back-1::before,
.report-page--back-2::before {
    content: "";
    position: absolute;
    top: 20px; left: 30px;
    width: 60%; height: 8px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
}

@media (min-width: 640px) {
    .dwm-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .dwm-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .dwm-visual { display: flex; }
    .reporting-layout { grid-template-columns: 1fr 1fr; gap: 5rem; }
    .reporting-text { order: 1; }
    .reporting-visual { order: 2; }
    .report-stack { width: 400px; height: 525px; }
}

/* ===== CONTACT PAGE ===== */
.contact-body { background: #fff; }
.contact-body-header { margin-bottom: 3rem; }
.contact-body-title {
    font-family: "Raleway", sans-serif;
    font-weight: 100;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--brand-navy);
    margin: 0.5rem 0 1rem;
}
.contact-body-intro {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(26,35,50,0.65);
}
.contact-body .section-label { color: var(--cyber-accent-muted); }
.contact-body .section-label::before { background: var(--cyber-accent-muted); }
.contact-body .contact-info-label { color: var(--brand-navy); }
.contact-body .contact-info-value { color: var(--brand-navy); font-weight: 300; }
.contact-body .contact-info-value a:hover { color: var(--cyber-accent); }
.contact-footer-note {
    font-size: 0.8rem;
    color: rgba(26,35,50,0.55);
    line-height: 1.7;
}
.contact-footer-note a { color: var(--cyber-accent); }
.contact-body .form-group label { color: var(--brand-navy); }
.contact-body .form-group input,
.contact-body .form-group textarea {
    color: var(--brand-navy);
    background: #f4f5f7;
    border-color: rgba(26,35,50,0.25);
}
.contact-body .form-group input::placeholder,
.contact-body .form-group textarea::placeholder { color: rgba(26,35,50,0.4); }
.contact-body .form-group input:focus,
.contact-body .form-group textarea:focus { border-color: var(--cyber-accent-muted); background: #fff; }
.contact-body .altcha-wrap {
    --altcha-color-text: rgba(26,35,50,0.6);
    --altcha-color-border: rgba(26,35,50,0.25);
    --altcha-color-border-focus: var(--cyber-accent-muted);
    --altcha-color-base: #f4f5f7;
}
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--section-pad) + 70px) var(--content-pad) var(--section-pad);
}
.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--content-max);
    margin: 0 auto;
}
.contact-hero .section-title { color: var(--text-white); }
.contact-hero .section-subtitle { color: rgba(255,255,255,0.6); }
.contact-pathfinders {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    margin: 2.5rem 0 3.5rem;
}
.contact-pathfinder {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.03);
}
.contact-pathfinder-label {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyber-accent);
}
.contact-pathfinder-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info-item { margin-bottom: 2rem; }
.contact-info-label {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}
.contact-info-value {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: 1.1rem;
    color: var(--text-white);
}
.contact-info-value a { transition: color 0.3s ease; }
.contact-info-value a:hover { color: var(--cyber-accent); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-field-zip {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
.altcha-wrap {
    --altcha-color-text: rgba(255,255,255,0.5);
    --altcha-color-border: rgba(255,255,255,0.12);
    --altcha-color-border-focus: var(--cyber-accent);
    --altcha-font-size: 0.9rem;
    --altcha-max-width: none;
    grid-column: 1 / -1;
}
.form-group label {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    color: var(--text-white);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    padding: 12px 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--cyber-accent); background: rgba(255,255,255,0.08); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { grid-column: 1 / -1; margin-top: 0.5rem; }

.form-message {
    display: none;
    padding: 14px 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: 0;
    margin-bottom: 1.5rem;
}
.form-message.visible { display: block; }
.form-message--success {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.3);
    color: #2ecc71;
}
.form-message--error {
    background: rgba(231,76,60,0.1);
    border-color: rgba(231,76,60,0.3);
    color: #e74c3c;
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem var(--content-pad);
    background: #111820;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.footer-brand {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
}
.footer-links {
    display: none;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-links a {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8a939c;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--text-white); }
.footer-copy {
    width: 100%;
    text-align: left;
    font-size: 0.75rem;
    color: #8a939c;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-details { gap: 3rem; }
.footer-col-label {
    font-family: "Raleway", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8a939c;
    margin-bottom: 0.4rem;
}
.footer-col-body {
    font-family: "Open Sans", sans-serif;
    font-size: 0.75rem;
    color: #8a939c;
    line-height: 1.4;
    letter-spacing: 0;
}
.footer-col-body a { color: #8a939c; transition: color 0.3s ease; }
.footer-col-body a:hover { color: var(--text-white); }

/* ===== PAGE (default / prose) ===== */
.page-wrap {
    padding-top: 120px;
    padding-bottom: var(--section-pad);
}
.page-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--content-pad);
}
.page-header { margin-bottom: 2.5rem; }
.page-meta {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin-bottom: 0.75rem;
}
.page-title {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}
.page-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}
.prose {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: "Raleway", sans-serif;
    color: var(--text-primary);
    margin: 2.25rem 0 0.85rem;
    line-height: 1.2;
    text-align: left;
}
.post-wrap--has-hero .prose > :first-child { margin-top: 0; }
.prose h1 { font-weight: 200; font-size: 1.9rem; }
.prose h2 { font-weight: 300; font-size: 1.55rem; }
.prose h3 { font-weight: 400; font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
.prose h4 {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    font-family: "Open Sans", sans-serif;
}
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose a {
    color: var(--brand-navy);
    border-bottom: 1px solid var(--cyber-accent);
    transition: color 0.2s ease, background 0.2s ease;
}
.prose a:hover { background: var(--cyber-accent-dim); }
.prose blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 3px solid var(--cyber-accent);
    background: var(--bg-off-white);
    color: var(--text-primary);
    font-style: italic;
}
.prose code {
    font-family: "Courier New", monospace;
    font-size: 0.85em;
    background: var(--bg-off-white);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--brand-navy);
}
.prose pre {
    background: var(--brand-navy);
    color: var(--cyber-accent);
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }
.prose img { margin: 1.5rem 0; border-radius: 4px; }
.prose hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2rem 0;
}

/* Blog listing */
.blog-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: var(--bg-off-white);
}
.blog-hero-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}
.blog-list {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--section-pad) var(--content-pad);
    display: grid;
    gap: 2.5rem;
}
.blog-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-light);
}
.blog-card:last-child { border-bottom: none; }
.blog-card-meta {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
}
.blog-card-title {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0.25rem 0 0.5rem;
}
.blog-card-title a { color: inherit; transition: color 0.3s ease; }
.blog-card-title a:hover { color: var(--cyber-accent-muted); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.blog-card-more {
    margin-top: 0.75rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-navy);
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    border-bottom: 1px solid var(--cyber-accent);
    padding-bottom: 2px;
}

/* ===== BLOG POST (with hero + sidebar) ===== */
.post-wrap {
    padding-top: 120px;
    padding-bottom: var(--section-pad);
}
.post-wrap--has-hero { padding-top: 0; }
.post-hero {
    position: relative;
    width: 100%;
    min-height: clamp(340px, 50vh, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: calc(var(--section-pad) / 2);
}
.post-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 10s ease;
}
.post-hero:hover .post-hero-bg { transform: scale(1); }
.post-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(26, 35, 50, 0.85) 0%,
            rgba(26, 35, 50, 0.55) 18%,
            rgba(26, 35, 50, 0.0) 40%,
            rgba(10, 18, 32, 0.0) 45%,
            rgba(10, 18, 32, 0.28) 55%,
            rgba(10, 18, 32, 0.68) 70%,
            rgba(10, 18, 32, 0.88) 85%,
            rgba(10, 18, 32, 0.93) 100%
        );
}
.post-hero-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.015) 2px,
        rgba(255, 255, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 2;
}
.post-hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad) 3rem;
    width: 100%;
    color: var(--text-white);
}
.post-hero-meta {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyber-accent);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.post-hero-meta::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--cyber-accent);
}
.post-hero-title {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    /* Scale inversely with character count so moderately-long titles stay on one line at a
       reasonable size. Past the floor, the title wraps to 2 lines — the hero (align-items:
       flex-end, no max-height) grows to match, so the overlay gradient extends with it. */
    font-size: clamp(2rem, min(5vw, calc(3.4rem * 48 / var(--title-chars, 48))), 3.4rem);
    color: var(--text-white);
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
}
.post-hero-subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    /* Baseline ~110 chars at 1.15rem; wrap rather than shrink below 1rem. */
    font-size: clamp(1rem, min(1.6vw, calc(1.15rem * 110 / var(--subtitle-chars, 110))), 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
}
.post-layout {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.post-main { min-width: 0; }
.post-sidebar { min-width: 0; }
.sidebar-block {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}
.sidebar-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin: 0 0 1.25rem;
}
.sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: 1rem;
}
.sidebar-post { margin: 0; }
.sidebar-post-link {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.85rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
    padding: 0.35rem 0;
    transition: opacity 0.2s ease;
}
.sidebar-post-link:hover { opacity: 0.8; }
.sidebar-post-thumb {
    display: block;
    width: 72px;
    height: 54px;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    background-color: var(--bg-off-white);
}
.sidebar-post-body { display: block; min-width: 0; }
.sidebar-post-link:not(:has(.sidebar-post-thumb)) { grid-template-columns: 1fr; }
.sidebar-post-link:not(:has(.sidebar-post-thumb)) .sidebar-post-body { grid-column: 1 / -1; }
.sidebar-post-date {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin-bottom: 0.25rem;
}
.sidebar-post-title {
    display: block;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text-primary);
}
.sidebar-more {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-navy);
    border-bottom: 1px solid var(--cyber-accent);
    padding-bottom: 2px;
}
.sidebar-block + .sidebar-block { margin-top: 2.5rem; }

/* Sidebar: author card */
.sidebar-author-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.85rem;
    transition: opacity 0.2s ease;
}
.sidebar-author-card:hover { opacity: 0.85; }
.sidebar-author-photo {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center 20%;
    background-color: var(--bg-off-white);
}
.sidebar-author-name {
    display: block;
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}
.sidebar-author-role {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin-top: 0.25rem;
}
.sidebar-author-bio {
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Sidebar: featured / editor's pick */
.sidebar-featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-off-white);
    border-left: 3px solid var(--cyber-accent);
    transition: transform 0.2s ease;
}
.sidebar-featured-card:hover { transform: translateX(2px); }
.sidebar-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}
.sidebar-featured-body { display: block; padding: 1rem 1.1rem 1.1rem; }
.sidebar-featured-date {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    margin-bottom: 0.4rem;
}
.sidebar-featured-title {
    display: block;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.sidebar-featured-subtitle {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Sidebar: CTA */
.sidebar-cta {
    background: var(--brand-navy);
    color: var(--text-white);
    padding: 1.5rem 1.35rem;
    border-top: none !important;
    border-radius: 8px;
}
.sidebar-cta-label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cyber-accent);
    margin-bottom: 0.75rem;
}
.sidebar-cta-title {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--text-white);
    margin: 0 0 0.6rem;
}
.sidebar-cta-body {
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 1rem;
}
.sidebar-cta-button {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-navy);
    background: var(--cyber-accent);
    padding: 0.65rem 1rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin-bottom: 0.85rem;
    border-radius: 4px;
}
.sidebar-cta-button:hover { opacity: 0.88; }
.sidebar-cta-phone {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}
.sidebar-cta-phone:hover { color: var(--text-white); }

/* Blog card with image */
.blog-card--has-image {
    grid-template-columns: 1fr;
}
.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    background-color: var(--bg-off-white);
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}
.blog-card-image:hover { opacity: 0.9; }

/* ===== Featured post (homepage Insights section) ===== */
.featured-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 3rem;
    align-items: center;
}
.featured-post-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-off-white);
    border-radius: 4px;
    transition: opacity 0.3s ease;
}
.featured-post-image:hover { opacity: 0.92; }
.featured-post-body { min-width: 0; }
.featured-post-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
}
.featured-post-cat { color: var(--cyber-accent-muted); font-weight: 600; }
.featured-post-cat::after {
    content: "·";
    margin-left: 0.75rem;
    color: var(--text-secondary);
}
.featured-post-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 0.9rem;
}
.featured-post-title a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.featured-post-title a:hover { color: var(--cyber-accent-muted); }
.featured-post-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 1rem;
}
.featured-post-author {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.featured-post-more {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}
.featured-post-more:hover { transform: translateX(4px); }

.insights-recent {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 35, 50, 0.08);
}
.insights-recent-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.insights-recent-item--has-image {
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    align-items: start;
}
.insights-recent-item:hover { transform: translateX(3px); }
.insights-recent-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-off-white);
    border-radius: 3px;
    transition: opacity 0.3s ease;
}
.insights-recent-item:hover .insights-recent-image { opacity: 0.92; }
.insights-recent-body { min-width: 0; }
.insights-recent-excerpt {
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.insights-recent-meta {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.insights-recent-title {
    font-family: "Raleway", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--brand-navy);
}
.insights-recent-item:hover .insights-recent-title { color: var(--cyber-accent-muted); }
.insights-all-wrap {
    margin-top: 2rem;
    text-align: right;
}
.insights-all {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyber-accent-muted);
    text-decoration: none;
    font-weight: 600;
}
.insights-all:hover { color: var(--cyber-accent); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card-image { aspect-ratio: 3 / 2; }
    .legal-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .personnel-grid { grid-template-columns: 320px 1fr; gap: 4rem; }
    .personnel-image-wrap { aspect-ratio: 3 / 4; max-width: none; margin: 0; border-radius: 10px; }
    .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
    .contact-pathfinders { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
    .blog-card--has-image {
        grid-template-columns: 280px 1fr;
        gap: 1.75rem;
        align-items: start;
    }
    .blog-card--has-image .blog-card-image {
        margin-bottom: 0;
        aspect-ratio: 4 / 3;
    }
    .featured-post--has-image {
        grid-template-columns: 280px 1fr;
        gap: 2.25rem;
    }
    .featured-post--has-image .featured-post-image {
        aspect-ratio: 4 / 3;
    }
    .insights-recent {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
    .insights-recent-item--has-image {
        grid-template-columns: 140px 1fr;
    }
}
@media (min-width: 960px) {
    .featured-post--has-image {
        grid-template-columns: 340px 1fr;
        gap: 3rem;
    }
    .featured-post--has-image .featured-post-image {
        aspect-ratio: 4 / 3;
    }
}
@media (min-width: 960px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 4rem;
    }
    .post-main { max-width: 760px; }
    .post-layout { align-items: start; }
    /* Stretch the sidebar to the grid row height so position: sticky on the CTA
       has room to travel alongside the article content. */
    .post-sidebar { align-self: stretch; }
    .sidebar-block:first-child {
        border-top: none;
        padding-top: 0;
    }
    .sidebar-cta {
        position: sticky;
        top: 90px;
    }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .service-card-image { aspect-ratio: 4 / 3; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 0 4rem; }
    .why-item { border-bottom: none; }
    .why-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .hero-title--tagline { max-width: 70%; }
    .hero-subtitle--constrained { max-width: 70%; }
    .footer-links { display: flex; order: -1; width: 100%; justify-content: flex-start; margin-bottom: 1.5rem; }
}
@media (min-width: 1280px) {
    .footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
    .footer-links { order: 0; width: auto; margin-bottom: 0; }
}
@media (max-width: 768px) {
    .post-hero {
        min-height: 0;
    }
    .post-hero-overlay {
        background: rgba(10, 18, 32, 0.88);
    }
    .post-hero-content {
        padding-top: 88px;
        padding-bottom: 1.5rem;
    }
    .post-hero-title {
        font-size: clamp(1.5rem, min(5vw, calc(3.4rem * 48 / var(--title-chars, 48))), 3.4rem);
    }
    .hero-title--tagline { max-width: 100%; font-size: clamp(2.2rem, 6vw, 2.4rem); }
    .hero-subtitle--constrained { max-width: 100%; }
    .hero-br { display: none; }
    .tyler-photo { object-position: center 18% !important; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--brand-navy);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
    .nav-toggle { display: flex; }
    .contact-form { grid-template-columns: 1fr; }
    .form-group--full { grid-column: 1; }
    .form-submit { grid-column: 1; }
    .footer-details { flex-direction: column; gap: 1.5rem; }
}

/* ===== POST CTA BLOCKS ===== */

.post-cta {
    margin: 3rem 0 0;
    border-radius: 6px;
    overflow: hidden;
}

/* --- Signal variant --- */
.post-cta--signal {
    background: var(--brand-navy);
    border: 1px solid rgba(127, 255, 42, 0.14);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.post-cta--signal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(8, 18, 45, 0.55) 2px,
        rgba(8, 18, 45, 0.55) 4px
    );
    mask-image: radial-gradient(ellipse 70% 85% at 100% 100%, black 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pcta-s-header, .pcta-s-body, .pcta-s-footer { position: relative; z-index: 1; }
.pcta-s-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    border-bottom: 1px solid rgba(127, 255, 42, 0.1);
}
.pcta-s-origin {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cyber-accent);
}
.pcta-s-live {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}
.pcta-s-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyber-accent);
    animation: pcta-pulse 2s ease-out infinite;
}
@keyframes pcta-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(127, 255, 42, 0.5); }
    60%  { box-shadow: 0 0 0 7px rgba(127, 255, 42, 0); }
    100% { box-shadow: 0 0 0 0 rgba(127, 255, 42, 0); }
}
.pcta-s-body {
    padding: 1.75rem 1.5rem 1.25rem;
}
.pcta-s-title {
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    font-size: 1.65rem;
    line-height: 1.2;
    color: var(--text-white);
    margin: 0 0 0.85rem;
}
.pcta-s-sub {
    font-family: "Open Sans", sans-serif;
    font-size: 0.84rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}
.pcta-s-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.1rem 1.5rem 1.5rem;
}
.pcta-s-btn {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-navy);
    background: var(--cyber-accent);
    padding: 0.65rem 1.1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}
.pcta-s-btn:hover { opacity: 0.88; }
.pcta-s-availability {
    font-family: "Open Sans", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.06em;
}

/* --- Incident Alert variant --- */
.post-cta--incident {
    background: var(--brand-navy);
    border-left: 5px solid #e03131;
    display: flex;
    position: relative;
}
.pcta-i-stripe {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: repeating-linear-gradient(
        135deg,
        #e03131 0px, #e03131 8px,
        #c92a2a 8px, #c92a2a 16px
    );
}
.pcta-i-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 2rem 2rem 2.25rem;
    width: 100%;
}
.pcta-i-left { flex: 1; min-width: 260px; }
.pcta-i-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    flex-shrink: 0;
}
.pcta-i-label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ff6b6b;
    margin-bottom: 0.6rem;
}
.pcta-i-title {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--text-white);
    margin: 0 0 0.75rem;
}
.pcta-i-body {
    font-family: "Open Sans", sans-serif;
    font-size: 0.84rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
    margin: 0;
}
.pcta-i-btn {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-white);
    background: #e03131;
    padding: 0.7rem 1.25rem;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.pcta-i-btn:hover { background: #c92a2a; }
.pcta-i-or {
    font-family: "Open Sans", sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.pcta-i-phone {
    font-family: "Open Sans", sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: color 0.2s ease;
}
.pcta-i-phone:hover { color: var(--text-white); }

/* --- Retainer Brief variant --- */
.post-cta--retainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.pcta-r-left {
    background: var(--brand-navy);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pcta-r-right {
    background: var(--bg-off-white);
    padding: 2rem 1.75rem;
    display: flex;
    align-items: center;
}
.pcta-r-badge {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brand-navy);
    background: var(--cyber-accent);
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
    align-self: flex-start;
}
.pcta-r-title {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--text-white);
    margin: 0;
}
.pcta-r-body {
    font-family: "Open Sans", sans-serif;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.68);
    margin: 0;
}
.pcta-r-btn {
    display: inline-block;
    align-self: flex-start;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-navy);
    background: var(--cyber-accent);
    padding: 0.65rem 1.1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
    margin-top: auto;
}
.pcta-r-btn:hover { opacity: 0.88; }
.pcta-r-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
    width: 100%;
}
.pcta-r-item {
    display: flex;
    gap: 0.75rem;
    font-family: "Open Sans", sans-serif;
    font-size: 0.83rem;
    line-height: 1.45;
    color: var(--text-primary);
    align-items: baseline;
}
.pcta-r-check {
    color: var(--cyber-accent-muted);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Classified Brief variant --- */
.post-cta--classified {
    background: #faf8f4;
    border: 1px solid #d4c9a8;
    border-top: 3px solid var(--brand-navy);
    padding: 1.75rem 2rem;
    position: relative;
}
.pcta-c-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.pcta-c-header-left {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 1rem;
    align-items: baseline;
}
.pcta-c-field {
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7a6e54;
}
.pcta-c-value {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--brand-navy);
    font-weight: 700;
    letter-spacing: 0.06em;
}
.pcta-c-stamp-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pcta-c-stamp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(192, 57, 43, 0.55);
    font-family: 'Courier New', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(192, 57, 43, 0.55);
    transform: rotate(-18deg);
    text-align: center;
    line-height: 1.2;
    padding: 0.25rem;
}
.pcta-c-divider {
    height: 1px;
    background: #d4c9a8;
    margin-bottom: 1.25rem;
}
.pcta-c-body {
    margin-bottom: 1.25rem;
}
.pcta-c-body p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}
.pcta-c-btn {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-white);
    background: var(--brand-navy);
    padding: 0.65rem 1.1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.pcta-c-btn:hover { background: var(--brand-blue-gray); }

/* Responsive adjustments */
@media (max-width: 700px) {
    .post-cta--retainer { grid-template-columns: 1fr; }
    .pcta-r-right { border-top: 1px solid var(--border-light); }
    .pcta-i-content { flex-direction: column; }
    .pcta-i-right { width: 100%; }
    .pcta-i-btn { width: 100%; text-align: center; }
    .pcta-c-header { flex-direction: column-reverse; }
    .pcta-c-stamp-wrap { width: 100%; justify-content: flex-end; }
}
