/* ============================================================
   Himschoot Consulting — site.css
   Built on Bootstrap 5.3
   ============================================================ */

:root {
    --hs-accent:        #9ac81f;
    --hs-accent-dark:   #7aab0e;
    --hs-accent-pale:   rgba(154, 200, 31, 0.12);
    --hs-blue:          #095ba6;
    --hs-dark:          #0d0f14;
    --hs-dark-2:        #161920;
    --hs-dark-3:        #1e2230;
    --hs-text:          #1a202c;
    --hs-text-2:        #4a5568;
    --hs-text-muted:    #718096;
    --hs-bg:            #ffffff;
    --hs-bg-alt:        #f8fafc;
    --hs-border:        #e2e8f0;
    --font-sans:        'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:        'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --radius-sm:        6px;
    --radius:           12px;
    --radius-lg:        20px;
    --shadow-sm:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:           0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:        0 20px 40px rgba(0,0,0,.12);
    --t:                .2s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset & base ---------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    color: var(--hs-text);
    background: var(--hs-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--hs-accent-dark);
    text-decoration: none;
    transition: color var(--t);
}
a:hover { color: var(--hs-accent); }

img { max-width: 100%; height: auto; }

::selection { background: rgba(154, 200, 31, .22); }

/* ---- Layout utilities ------------------------------------ */

.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-7 { padding-top: 7rem !important; padding-bottom: 7rem !important; }
.bg-alt { background-color: var(--hs-bg-alt) !important; }
.text-accent { color: var(--hs-accent) !important; }

/* ---- Buttons --------------------------------------------- */

.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: .65rem 1.4rem;
    font-size: .9rem;
    letter-spacing: .01em;
    transition: all var(--t);
    border: 2px solid transparent;
}

.btn-accent {
    background: var(--hs-accent);
    color: var(--hs-dark) !important;
    border-color: var(--hs-accent);
}
.btn-accent:hover {
    background: var(--hs-accent-dark);
    border-color: var(--hs-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(154, 200, 31, .3);
}
.btn-accent.btn-sm { padding: .4rem 1rem; font-size: .82rem; }

.btn-outline-accent {
    background: transparent;
    color: var(--hs-accent) !important;
    border-color: var(--hs-accent);
}
.btn-outline-accent:hover {
    background: var(--hs-accent);
    color: var(--hs-dark) !important;
    transform: translateY(-1px);
}

/* ---- Navbar ---------------------------------------------- */

.site-nav {
    background: var(--hs-bg);
    padding: .5rem 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--hs-border);
    backdrop-filter: blur(8px);
    overflow: visible;
    transition: padding 0.35s cubic-bezier(.4,0,.2,1);
}
.site-nav .navbar-brand svg {
    transition: height 0.35s cubic-bezier(.4,0,.2,1);
}
.site-nav--compact {
    padding: 0;
}
.site-nav--compact .navbar-brand svg {
    height: 56px;
}

.site-nav .navbar-brand {
    padding: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--hs-text) !important;
    transition: opacity var(--t);
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}
.site-nav .navbar-brand:hover { opacity: 1; }

.brand-accent { color: var(--hs-accent); }

/* ---- Logo hover animations ------------------------------- */

/* Pivot point: 80px past the right edge and 80px past the bottom of the little guy. */
.logo-ventje-group {
    transform-box: fill-box;
    transform-origin: calc(100% + 80px) calc(100% + 80px);
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}
.navbar-brand:hover .logo-ventje-group {
    transform: rotate(-7deg);
}

.navbar-brand:hover .logo-name {
    animation: logo-name-glow 1.6s ease-in-out infinite;
}
@keyframes logo-name-glow {
    0%, 100% { fill: var(--hs-accent);  filter: drop-shadow(0 0 0px transparent); }
    50%       { fill: #c2e635;           filter: drop-shadow(0 0 12px rgba(154, 200, 31, 0.7)); }
}

.navbar-brand:hover .logo-consulting {
    animation: logo-consulting-shift 1.6s ease-in-out infinite;
    animation-delay: 0.45s;
}
@keyframes logo-consulting-shift {
    0%, 100% { fill: var(--hs-blue);        filter: drop-shadow(0 0 0px transparent); }
    50%       { fill: var(--hs-accent-dark); filter: drop-shadow(0 0 8px rgba(122, 171, 14, 0.45)); }
}

.site-nav .nav-link {
    color: var(--hs-text-2) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .45rem .75rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--t);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--hs-text) !important;
    background: var(--hs-bg-alt);
}

.site-nav .navbar-toggler {
    border-color: rgba(0,0,0,.15);
    color: var(--hs-text-2);
    padding: .3rem .6rem;
}
.site-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Section chrome -------------------------------------- */

.section-eyebrow {
    color: var(--hs-accent);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: .6rem;
    display: block;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--hs-text);
    letter-spacing: -.5px;
    line-height: 1.15;
    margin-bottom: 1rem;
}

/* ---- Hero ------------------------------------------------ */

.hero {
    background: var(--hs-bg-alt);
    padding: 7rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 75% 50%,
        rgba(154, 200, 31, .07) 0%, transparent 65%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hs-accent), transparent);
    opacity: .35;
}

.hero-eyebrow {
    color: var(--hs-accent);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--hs-accent);
    border-radius: 1px;
    flex-shrink: 0;
    margin-top: calc(0.45em + 2px);
    margin-left: 0;
}

#ai-quote {
    min-height: 110px;
}

.ai-quote-author {
    color: var(--hs-blue);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
}


.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    color: var(--hs-text);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}
.hero h1 em,
.hero-lead em {
    font-style: normal;
    color: var(--hs-accent-dark);
    position: relative;
    z-index: 0;
}
.hero h1 em::before,
.hero-lead em::before {
    content: '';
    position: absolute;
    left: -0.1em;
    right: -0.08em;
    bottom: 0.04em;
    height: 0.48em;
    background: linear-gradient(
        to right,
        rgba(255, 228, 0, 0.22) 0%,
        rgba(255, 228, 0, 0.32) 28%,
        rgba(255, 228, 0, 0.26) 58%,
        rgba(255, 228, 0, 0.34) 82%,
        rgba(255, 228, 0, 0.20) 100%
    );
    transform: skewX(-4deg) rotate(-0.5deg);
    border-radius: 3px 5px 4px 2px / 4px 2px 5px 3px;
    z-index: -1;
}

.hero-lead {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: var(--hs-text-2);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 1rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-cta-block { margin-top: 2rem; }

/* ---- Brain animation ------------------------------------- */

.brain-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
}

#brain-canvas {
    display: block;
    position: absolute;
    top: 0;
    right: -2%;
    width: 72%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.brain-fade {
    position: absolute;
    top: 0; left: 0;
    width: 58%;
    height: 100%;
    background: linear-gradient(to right, var(--hs-bg-alt) 25%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.brain-label {
    text-align: center;
    margin-top: .5rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hs-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.brain-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hs-accent);
    display: inline-block;
    animation: brain-blink 1.4s ease-in-out infinite;
}

@keyframes brain-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.hero-cta-contacts {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.hero-cta-contact-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1rem;
    color: var(--hs-text-2);
}

.hero-cta-contact-item i {
    color: var(--hs-accent);
    width: 1.2em;
}

.hero-cta-contact-item a {
    color: var(--hs-text);
    text-decoration: none;
    font-weight: 500;
}

.hero-cta-contact-item a:hover {
    color: var(--hs-accent);
    text-decoration: underline;
}

/* ---- Process steps --------------------------------------- */

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--hs-accent), transparent);
    opacity: .25;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--hs-border);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--hs-accent);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--hs-accent) 15%, transparent);
}

.process-step-content {
    padding-top: .6rem;
}

.process-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: var(--hs-text);
}

.process-step-content p {
    color: var(--hs-text-2);
    line-height: 1.75;
    margin-bottom: 0;
    font-size: .975rem;
}

@media (max-width: 575px) {
    .process-steps::before { left: 1.5rem; }
    .process-step { gap: 1.25rem; }
    .process-step-number { width: 3rem; height: 3rem; font-size: 1.1rem; }
}

/* ---- Blog cards ------------------------------------------ */

.blog-card {
    background: var(--hs-bg);
    border: 1px solid var(--hs-border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(154, 200, 31, .35);
}

.blog-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}
.blog-card-date { font-size: .8rem; color: var(--hs-text-muted); }

.tag-pill {
    background: var(--hs-accent-pale);
    color: var(--hs-accent-dark);
    padding: .18rem .65rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hs-text);
    line-height: 1.35;
    margin-bottom: .75rem;
}
.blog-card p {
    color: var(--hs-text-2);
    font-size: .9rem;
    line-height: 1.65;
    flex: 1;
}

.read-more {
    color: var(--hs-accent-dark) !important;
    font-weight: 600;
    font-size: .875rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1.25rem;
    text-decoration: none !important;
    transition: gap var(--t), color var(--t);
}
.read-more:hover { color: var(--hs-accent) !important; gap: .6rem; }

/* ---- Services section ------------------------------------ */

.service-card {
    padding: 2rem;
    border: 1px solid var(--hs-border);
    border-radius: var(--radius);
    height: 100%;
    transition: all var(--t);
}
.service-card:hover {
    border-color: var(--hs-accent);
    background: var(--hs-bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 48px; height: 48px;
    background: var(--hs-accent-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--hs-accent);
    font-size: 1.2rem;
}
.service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--hs-text);
}

/* ---- About section --------------------------------------- */

.about-section {
    background: var(--hs-bg-alt);
    padding: 6rem 0;
    position: relative;
}
.about-section .section-title { color: var(--hs-text); }
.about-section p {
    color: var(--hs-text-2);
    font-size: 1rem;
    line-height: 1.8;
}

.stat-card {
    background: var(--hs-bg);
    border: 1px solid var(--hs-border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--t);
}
.stat-card:hover {
    border-color: var(--hs-accent);
    box-shadow: var(--shadow-sm);
}
.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--hs-accent-dark);
    line-height: 1;
    margin-bottom: .4rem;
    letter-spacing: -1px;
}
.stat-label {
    font-size: .78rem;
    color: var(--hs-text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}

/* ---- AI Consultation CTA --------------------------------- */

.ai-cta-section {
    background: #f5fce8;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.ai-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%,
        rgba(154, 200, 31, .08) 0%, transparent 65%);
    pointer-events: none;
}
.ai-cta-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hs-accent), transparent);
    opacity: .5;
}

.ai-cta-title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--hs-text);
    letter-spacing: -1px;
    line-height: 1.12;
    margin: 1.25rem 0 1.75rem;
}
.ai-cta-title em {
    font-style: normal;
    color: var(--hs-accent-dark);
}

.ai-cta-lead {
    font-size: 1.05rem;
    color: var(--hs-text-2);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 1.25rem;
}

.ai-cta-availability {
    display: inline-flex;
    align-items: flex-start;
    gap: .6rem;
    background: rgba(154, 200, 31, .12);
    border: 1px solid rgba(154, 200, 31, .3);
    border-radius: var(--radius);
    padding: .9rem 1.4rem;
    font-size: .9rem;
    color: var(--hs-text-2);
    margin: 2rem auto 0;
    max-width: 560px;
    text-align: left;
}
.ai-cta-availability .fa-location-dot {
    color: var(--hs-accent-dark);
    flex-shrink: 0;
    margin-top: .1rem;
}

.ai-cta-section .btn-outline-dark {
    border: 2px solid var(--hs-text-2);
    color: var(--hs-text) !important;
    background: transparent;
}
.ai-cta-section .btn-outline-dark:hover {
    border-color: var(--hs-text);
    color: var(--hs-text) !important;
    background: rgba(0,0,0,.05);
}

/* ---- CTA strip ------------------------------------------- */

.cta-section {
    background: var(--hs-bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--hs-border);
    text-align: center;
}
.cta-section .section-title { color: var(--hs-text); }
.cta-section p { color: var(--hs-text-2); max-width: 500px; margin: 0 auto 2rem; }

/* ---- Footer ---------------------------------------------- */

.site-footer {
    background: #f1f5f9;
    padding: 4rem 0 0;
    border-top: 1px solid var(--hs-border);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hs-text);
    letter-spacing: -.5px;
    margin-bottom: .75rem;
}
.footer-tagline {
    color: var(--hs-text-muted);
    font-size: .875rem;
    line-height: 1.65;
    max-width: 240px;
}

.footer-heading {
    color: var(--hs-text);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a {
    color: var(--hs-text-2);
    font-size: .875rem;
    transition: color var(--t);
}
.footer-links a:hover { color: var(--hs-accent-dark); }

.footer-member {
    color: var(--hs-text-muted);
    font-size: .8rem;
    margin-top: .75rem;
    margin-bottom: 0;
}
.footer-member a { color: var(--hs-text-2); text-decoration: underline; }
.footer-member a:hover { color: var(--hs-accent-dark); }

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--hs-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .78rem;
    color: var(--hs-text-muted);
}
.footer-enjoy { color: var(--hs-text-muted); }

/* ---- Blog listing page ----------------------------------- */

.blog-header {
    background: var(--hs-bg-alt);
    padding: 4.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.blog-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hs-accent), transparent);
    opacity: .4;
}
.blog-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--hs-text);
    letter-spacing: -1px;
    margin-bottom: .5rem;
}
.blog-header p { color: var(--hs-text-2); font-size: 1rem; margin: 0; }

.blog-list-item {
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--hs-border);
}
.blog-list-item:last-child { border-bottom: none; }

.blog-list-date {
    font-size: .8rem;
    color: var(--hs-text-muted);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}

.blog-list-item h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.3px;
    margin-bottom: .6rem;
    line-height: 1.3;
}
.blog-list-item h2 a { color: var(--hs-text); }
.blog-list-item h2 a:hover { color: var(--hs-accent-dark); }

.blog-list-item > p {
    color: var(--hs-text-2);
    line-height: 1.65;
    margin-bottom: .75rem;
    max-width: 660px;
}

/* ---- Article page ---------------------------------------- */

.article-header {
    background: var(--hs-bg-alt);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.article-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hs-accent), transparent);
    opacity: .4;
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--hs-text);
    letter-spacing: -1px;
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    font-size: .875rem;
    color: var(--hs-text-muted);
}
.article-meta .tag-pill {
    background: var(--hs-accent-pale);
    color: var(--hs-accent-dark);
}
.reading-time { display: flex; align-items: center; gap: .35rem; }

.back-nav {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--hs-border);
    background: var(--hs-bg-alt);
}
.back-link {
    font-size: .875rem;
    color: var(--hs-text-muted) !important;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: color var(--t) !important;
}
.back-link:hover { color: var(--hs-accent-dark) !important; }

.article-body { padding: 4rem 0 6rem; }

/* ---- Article content typography -------------------------- */

.article-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--hs-text);
}

.article-content h1 {
    font-size: 1.9rem; font-weight: 800;
    letter-spacing: -.5px; margin: 3rem 0 1rem;
}
.article-content h2 {
    font-size: 1.55rem; font-weight: 700;
    letter-spacing: -.3px; margin: 3.5rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hs-border);
}
.article-content h3 {
    font-size: 1.2rem; font-weight: 700;
    margin: 2.5rem 0 .75rem;
}
.article-content h4 {
    font-size: 1rem; font-weight: 700;
    margin: 2rem 0 .5rem;
}

.article-content p { margin-bottom: 1.5rem; }

.article-content a {
    color: var(--hs-accent-dark);
    text-decoration: underline;
    text-decoration-color: rgba(40,168,118,.35);
    text-underline-offset: 3px;
}
.article-content a:hover {
    color: var(--hs-accent);
    text-decoration-color: var(--hs-accent);
}

.article-content ul,
.article-content ol {
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
}
.article-content li { margin-bottom: .4rem; line-height: 1.7; }

/* Blockquote */
.article-content blockquote {
    border: none;
    border-left: 4px solid var(--hs-accent);
    margin: 2.5rem 0;
    padding: 1.25rem 1.75rem;
    background: var(--hs-bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 1.12rem;
    color: var(--hs-text-2);
}
.article-content blockquote p { margin: 0; }

/* Code blocks */
.article-content pre {
    background: #0d1117;
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    overflow-x: auto;
    margin: 2.25rem 0;
    border: 1px solid rgba(255,255,255,.07);
    font-size: .875rem;
    line-height: 1.65;
}
.article-content pre code {
    font-family: var(--font-mono);
    background: none !important;
    color: inherit;
    padding: 0;
    font-size: inherit;
}
/* Inline code */
.article-content :not(pre) > code {
    font-family: var(--font-mono);
    background: rgba(154, 200, 31, .08);
    color: #5a8500;
    padding: .14em .45em;
    border-radius: 4px;
    font-size: .875em;
    border: 1px solid rgba(154, 200, 31, .15);
}

/* HR */
.article-content hr {
    border: none;
    border-top: 1px solid var(--hs-border);
    margin: 3rem 0;
}

/* Figures / images */
.article-figure { margin: 2.5rem 0; }
.article-figure img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    display: block;
}
.article-figure figcaption {
    margin-top: .75rem;
    font-size: .85rem;
    color: var(--hs-text-muted);
    font-style: italic;
    text-align: center;
}

/* Screenshot chrome */
.screenshot-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--hs-border);
    box-shadow: var(--shadow-lg);
}
.screenshot-bar {
    background: #ececec;
    padding: .55rem .9rem;
    display: flex;
    align-items: center;
    gap: .42rem;
    border-bottom: 1px solid #e0e0e0;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }
.screenshot-frame img { border-radius: 0; box-shadow: none; display: block; }

/* Callout blocks */
.callout {
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid;
}
.callout p:last-child { margin-bottom: 0; }
.callout-note,
.callout-info  { background: rgba(59,130,246,.07); border-color: #3b82f6; }
.callout-warning { background: rgba(245,158,11,.07); border-color: #f59e0b; }
.callout-tip     { background: rgba(62,207,142,.07); border-color: var(--hs-accent); }

/* Markdown table */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: .9rem;
}
.article-content th {
    background: var(--hs-bg-alt);
    padding: .7rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid var(--hs-border);
}
.article-content td {
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--hs-border);
    color: var(--hs-text-2);
}
.article-content tr:last-child td { border-bottom: none; }
.article-content tr:hover td { background: var(--hs-bg-alt); }

/* ---- Responsive ------------------------------------------ */

@media (max-width: 767.98px) {
    .hero { padding: 4rem 0 3.5rem; }
    .hero h1 { letter-spacing: -.5px; }
    .about-section { padding: 4rem 0; }
    .article-content { font-size: .98rem; }
    .article-header { padding: 3rem 0 2.5rem; }
    .article-body { padding: 2.5rem 0 4rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .blog-header { padding: 3rem 0 2.5rem; }
    .ai-cta-section { padding: 4rem 0; }
    .ai-cta-title { font-size: 1.7rem; letter-spacing: -.3px; }
}

/* ---- Events page ----------------------------------------- */

.events-year {
    margin-bottom: 3rem;
}
.events-year-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hs-text);
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--hs-border);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.events-archive .events-year-heading { color: var(--hs-text-muted); }
.events-archive-tag {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hs-text-muted);
    background: var(--hs-bg-alt);
    border: 1px solid var(--hs-border);
    border-radius: 100px;
    padding: .15rem .55rem;
    margin-left: .75rem;
}

.events-list { display: flex; flex-direction: column; gap: 0; }

.event-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--hs-border);
}
.event-item:last-child { border-bottom: none; }

.event-date {
    font-size: .8rem;
    font-weight: 600;
    color: var(--hs-accent-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    min-width: 100px;
    padding-top: .1rem;
    flex-shrink: 0;
}
.event-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .35rem;
    color: var(--hs-text);
}
.event-body p {
    font-size: .9rem;
    color: var(--hs-text-2);
    margin: 0;
    line-height: 1.6;
}

/* ---- Contact page ---------------------------------------- */

.contact-header {
    background: var(--hs-bg-alt);
    padding: 4.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.contact-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hs-accent), transparent);
    opacity: .4;
}
.contact-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--hs-text);
    letter-spacing: -1px;
}
.contact-header p { color: var(--hs-text-2); }

.contact-method {
    padding: 1.75rem;
    border: 1px solid var(--hs-border);
    border-radius: var(--radius);
    height: 100%;
    transition: all var(--t);
}
.contact-method:hover {
    border-color: var(--hs-accent);
    box-shadow: var(--shadow-sm);
}
.contact-method-icon {
    width: 44px; height: 44px;
    background: var(--hs-accent-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hs-accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.contact-method h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hs-text-muted);
    margin-bottom: .5rem;
}
.contact-method p, .contact-method a {
    font-size: .975rem;
    color: var(--hs-text);
    line-height: 1.6;
    margin: 0;
}
.contact-method a:hover { color: var(--hs-accent-dark); }
.contact-method small {
    display: block;
    color: var(--hs-text-muted);
    font-size: .82rem;
    margin-top: .35rem;
    font-style: italic;
}

.availability-banner {
    background: var(--hs-bg-alt);
    border: 1px solid var(--hs-border);
    border-left: 4px solid var(--hs-accent);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
}
.availability-banner-icon {
    width: 48px; height: 48px;
    background: var(--hs-accent-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hs-accent-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.availability-banner h4 {
    font-weight: 700;
    color: var(--hs-text);
    margin-bottom: .4rem;
}
.availability-banner p {
    color: var(--hs-text-2);
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 575.98px) {
    .event-item { flex-direction: column; gap: .35rem; }
    .event-date { min-width: auto; }
    .availability-banner { flex-direction: column; gap: 1rem; }
}
