/* ============================================
   PAGE-SPECIFIC STYLES
   Homepage sections and component variants
   ============================================ */

/* ============================================
   CONTACT FORM — Netlify Forms
   ============================================ */

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ct-form-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-fg-muted);
}

.ct-form-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    color: var(--color-fg);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.ct-form-input::placeholder {
    color: var(--color-fg-muted);
    opacity: 0.6;
}

.ct-form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(158, 182, 255, 0.04);
}

.ct-form-textarea {
    resize: vertical;
    min-height: 110px;
}

.ct-form-submit {
    align-self: flex-start;
    min-height: 48px;
    padding: 0.875rem 2rem;
}

@media (max-width: 480px) {
    .ct-form-row {
        grid-template-columns: 1fr;
    }
    .ct-form-submit {
        width: 100%;
    }
}

/* ============================================
   BLOG POST CTA — "Ähnliches Projekt?"
   ============================================ */

/* ============================================
   AUTHOR BOX — E-E-A-T: Autor-Entität am Artikelende
   ============================================ */

.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3.5rem 0 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.author-box-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--color-border-strong);
}

.author-box-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-fg);
}

.author-box-role {
    font-size: 0.8125rem;
    color: var(--color-fg-muted);
    margin: 0.15rem 0 0.4rem;
}

.author-box-link {
    font-size: 0.8125rem;
    color: var(--color-accent);
    text-decoration: none;
}

.author-box-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .author-box { padding: 1rem 1.125rem; }
}

.blog-cta {
    margin: 4rem 0 0;
    padding: 2.5rem 2rem;
    background: rgba(158, 182, 255, 0.06);
    border: 1px solid rgba(158, 182, 255, 0.18);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-cta-text {
    flex: 1;
    min-width: 220px;
}

.blog-cta-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.blog-cta-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-fg);
    margin: 0 0 0.375rem;
}

.blog-cta-desc {
    font-size: 0.875rem;
    color: var(--color-fg-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .blog-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
    }
    .blog-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    margin-bottom: var(--space-md);
}

.section-header .caption {
    display: block;
    margin-bottom: var(--space-sm);
}

.section-cta {
    margin-top: var(--space-md);
    display: flex;
    justify-content: center;
}

/* ============================================
   SERVICES SECTION (Homepage)
   Intention: Asymmetric grid showcasing services
   as premium offerings, not a boring list
   ============================================ */

.services-home {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    grid-template-areas:
        "featured two"
        "featured three"
        "reporting five";
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.service-card-featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background: linear-gradient(155deg, var(--color-surface) 0%, var(--color-accent-dim) 100%);
    color: var(--color-fg);
    border: 1px solid var(--color-border-strong);
    border-top: 2px solid var(--color-accent);
    grid-area: featured;
    box-shadow: 0 0 0 1px rgba(158, 182, 255, 0.06), 0 20px 56px rgba(0, 0, 0, 0.28);
}

.services-grid > .service-card:not(.service-card-featured):nth-child(2) {
    grid-area: two;
}

.services-grid > .service-card:not(.service-card-featured):nth-child(3) {
    grid-area: three;
}

.service-card-reporting {
    grid-area: reporting;
}

.service-card-5 {
    grid-area: five;
}

.service-card-featured .card-number {
    opacity: 0.5;
    color: var(--color-fg);
}

.service-card-featured .card-title {
    color: var(--color-fg);
}

.service-card-featured .card-description {
    opacity: 0.8;
    color: var(--color-fg);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
    padding-top: var(--space-sm);
}

.tag {
    font-size: 0.6875rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--color-fg-muted);
    letter-spacing: 0.02em;
}

.service-card-featured .tag {
    border-color: rgba(158, 182, 255, 0.35);
    color: var(--color-fg);
    background: rgba(158, 182, 255, 0.06);
}

/* ============================================
   WORK SECTION (Homepage)
   ============================================ */

.work-home {
    background: var(--color-bg);
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--space-md);
}

.work-item {
    border-top: 1px solid var(--color-border);
}

.work-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.work-item-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    text-decoration: none;
    color: var(--color-fg);
    transition: all 0.3s var(--ease-smooth);
}

.work-item-link:hover {
    opacity: 1;
}

.work-item-link:hover .work-item-title {
    transform: translateX(8px);
}

.work-item-link:hover .work-item-arrow {
    transform: translateX(4px) translateY(-4px);
}

.work-item-number {
    font-family: var(--font-display);
    font-size: 1rem;
    opacity: 0.3;
    font-weight: 500;
}

.work-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.work-item-meta .caption {
    margin: 0;
}

.work-item-title {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    transition: transform 0.3s var(--ease-smooth);
}

.work-item-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.6;
    max-width: 600px;
}

.work-item-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: all 0.3s var(--ease-smooth);
}

/* ============================================
   CTA SECTION
   Parallax star background, full width
   ============================================ */

.cta-section {
    /* Same as page background — no separate band, no borders */
    background: transparent;
    color: var(--color-fg);
    padding: var(--space-3xl) 0;
}

.cta-content {
    text-align: center;
}

.cta-content .caption {
    color: var(--color-fg);
    opacity: 0.5;
    margin-bottom: var(--space-md);
    display: inline-block;
}

.cta-content .section-title {
    color: var(--color-fg);
    margin-bottom: var(--space-md);
}

.cta-content .body-large {
    color: var(--color-fg);
    opacity: 0.7;
    margin-bottom: var(--space-md);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons: global styles only in styles-new.css (.btn) */

/* ============================================
   FOOTER
   CI-aligned, minimal links, rounded top + glow
   ============================================ */

.footer {
    position: relative;
    width: 100%;
    max-width: 72rem;
    margin: 4.5rem auto 0;
    background: var(--color-bg);
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    border-radius: 3rem 3rem 0 0;
    /* no border-top: only the rounded panel + glow, no straight rule */
    /* Subtle top glow */
    background-image: radial-gradient(ellipse 35% 8rem at 50% 0%, rgba(255, 255, 255, 0.04), transparent);
    background-color: var(--color-bg);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33%;
    height: 1px;
    background: var(--color-fg);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(1px);
}

.footer-inner {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

@media (min-width: 1280px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-fg);
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.6;
    color: var(--color-fg);
}

.footer-copyright {
    font-size: 0.8125rem;
    opacity: 0.45;
    margin-top: var(--space-sm);
}

.footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .footer-links-wrap {
        gap: var(--space-xl);
    }
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    color: var(--color-fg);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-link {
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--color-fg);
    opacity: 0.65;
    transition: opacity 0.2s var(--ease-smooth);
}

.footer-link:hover {
    opacity: 1;
}

/* ============================================
   FOOTER LAYOUT — brand + nav
   ============================================ */

.footer-content {
    display: grid;
    grid-template-columns: minmax(15rem, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem 4.5rem;
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    min-width: 0;
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--color-fg);
    margin: 0;
}

.footer-brand .footer-tagline {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-fg);
    opacity: 0.5;
    max-width: 28ch;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-fg);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.78;
    transition: opacity 0.2s var(--ease-smooth), border-color 0.2s ease, background 0.2s ease;
}

.footer-action svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.footer-action:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.footer-nav .footer-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-fg);
    opacity: 0.38;
}

.footer-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
    row-gap: 0.1rem;
}

.footer-nav-links .footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 0.9375rem;
    line-height: 1.3;
    text-decoration: none;
    color: var(--color-fg);
    opacity: 0.62;
    transition: opacity 0.2s var(--ease-smooth);
}

.footer-nav-links .footer-link:hover {
    opacity: 1;
}

@media (max-width: 800px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-bottom: 1.5rem;
    }

    .footer-nav-links {
        column-gap: 1.25rem;
    }
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-md);
}

.footer-copyright,
.footer-location {
    font-size: 0.8125rem;
    opacity: 0.35;
}

.footer-copyright {
    justify-self: start;
}

.footer-location {
    justify-self: end;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    justify-self: center;
}

@media (max-width: 640px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-copyright,
    .footer-legal,
    .footer-location {
        justify-self: center;
    }
}

.footer-legal-link {
    font-size: 0.8125rem;
    text-decoration: none;
    color: var(--color-fg);
    opacity: 0.35;
    transition: opacity 0.2s var(--ease-smooth);
}

.footer-legal-link:hover {
    opacity: 0.7;
}

/* ============================================
   INTERIOR PAGE LAYOUT
   Top padding to clear fixed nav
   ============================================ */

.page-interior {
    padding-top: 80px;
}

.page-hero {
    padding: var(--space-3xl) 0 var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.page-hero .caption {
    display: block;
    margin-bottom: var(--space-sm);
}

.page-hero-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--color-accent-soft);
    margin-bottom: var(--space-lg);
    transition: color 0.2s var(--ease-smooth);
}

.page-hero-back:hover {
    color: var(--color-fg);
}

.page-hero-meta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
}

.page-hero-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--color-border);
    opacity: 0.7;
}

.page-hero-date {
    font-size: 0.875rem;
    opacity: 0.4;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: var(--space-md);
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    opacity: 0.6;
    max-width: 700px;
}

/* ============================================
   TIMELINE (About Page)
   ============================================ */

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
}

.timeline-entry {
    position: relative;
    padding: var(--space-lg) 0 var(--space-lg) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.timeline-entry:last-child {
    border-bottom: none;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -4px;
    top: calc(var(--space-lg) + 8px);
    width: 8px;
    height: 8px;
    background: var(--color-border);
    border-radius: 50%;
    transition: background 0.2s var(--ease-smooth);
}

.timeline-entry:hover::before {
    background: var(--color-fg);
}

.timeline-entry-period {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
    margin-bottom: var(--space-xs);
}

.timeline-entry-company {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: var(--space-xs);
}

.timeline-entry-title {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.timeline-entry-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: var(--space-sm);
    max-width: 700px;
}

.timeline-entry-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: var(--space-sm);
    opacity: 0.6;
}

.timeline-entry-bullets li {
    font-size: 0.875rem;
    padding-left: 1rem;
    position: relative;
}

.timeline-entry-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0.4;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.timeline-tag {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--color-border);
    font-weight: 500;
    opacity: 0.6;
    letter-spacing: -0.01em;
}

/* ============================================
   SKILLS GRID
   ============================================ */

.skills-section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.skill-chip {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    opacity: 0.7;
    transition: all 0.2s var(--ease-smooth);
}

.skill-chip:hover {
    border-color: var(--color-fg);
    opacity: 1;
}

/* ============================================
   BLOG POST
   ============================================ */

.blog-article {
    max-width: 720px;
    margin: 0 auto;
}

.blog-body {
    padding: var(--space-xl) 0;
}

.blog-body h2 {
    font-size: clamp(1.375rem, 2.5vw, 2rem);
    letter-spacing: -0.02em;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.blog-body h2:first-child {
    margin-top: 0;
}

.blog-body h3 {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    letter-spacing: -0.01em;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    opacity: 0.8;
}

.blog-body p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.75;
    margin-bottom: var(--space-md);
}

.blog-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
    padding-left: 0;
}

.blog-body ul li {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.75;
    padding-left: 1.5rem;
    position: relative;
}

.blog-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0.4;
    font-size: 0.875rem;
}

.blog-body strong {
    font-weight: 600;
    opacity: 1;
    color: var(--color-fg);
}

.blog-body code {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.875em;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.1em 0.4em;
    color: var(--color-fg);
}

.blog-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: 0.9rem;
}

.blog-body th,
.blog-body td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.blog-body th {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-fg-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--color-border-strong);
}

.blog-body td {
    color: var(--color-fg-muted);
    line-height: 1.6;
}

/* ============================================
   ARTICLE SUMMARY BOX — 3-line TL;DR at top
   ============================================ */

.article-summary {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border-strong);
    border-left: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    background: var(--color-accent-dim);
}

.article-summary-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.article-summary ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.article-summary li {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-fg);
    padding-left: 1.375rem;
    position: relative;
}

.article-summary li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
}

@media (max-width: 600px) {
    .article-summary { padding: var(--space-sm) var(--space-md); }
}

.blog-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.blog-tech-item {
    border: 1px solid var(--color-border);
    padding: var(--space-md);
}

.blog-tech-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.blog-tech-item p {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: 0;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.blog-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--color-border);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-migration-sources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.blog-migration-source {
    border: 1px solid var(--color-border);
    padding: var(--space-md);
}

.blog-migration-source h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    margin-top: 0;
    border: none;
    padding-bottom: 0;
    opacity: 1;
}

.blog-migration-source p {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
    font-weight: 500;
}

.contact-info-value {
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-info-value a {
    color: var(--color-fg);
    text-decoration: none;
    transition: opacity 0.2s var(--ease-smooth);
}

.contact-info-value a:hover {
    opacity: 0.6;
}

.contact-linkedin-card {
    border: 1px solid var(--color-border);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    transition: border-color 0.3s var(--ease-smooth);
}

.contact-linkedin-card:hover {
    border-color: var(--color-fg);
}

.contact-linkedin-icon svg {
    opacity: 0.7;
}

.contact-linkedin-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact-linkedin-subtitle {
    font-size: 0.9375rem;
    opacity: 0.5;
}

.contact-stats {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    width: 100%;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.contact-stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.contact-stat-label {
    font-size: 0.75rem;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   SERVICES INTERIOR PAGE
   ============================================ */

.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}

.service-detail-item:first-child {
    border-top: none;
}

.service-detail-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    opacity: 0.25;
    font-weight: 500;
    padding-top: 0.2rem;
    min-width: 2.5rem;
}

.service-detail-content {}

.service-detail-title {
    font-size: clamp(1.375rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.service-detail-desc {
    font-size: 1rem;
    line-height: 1.75;
    opacity: 0.65;
    max-width: 640px;
    margin-bottom: var(--space-md);
}

.service-detail-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: var(--space-md);
}

.service-detail-bullets li {
    font-size: 0.9375rem;
    opacity: 0.6;
    padding-left: 1rem;
    position: relative;
}

.service-detail-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0.4;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* ── iPad landscape / medium tablets (1024px) ── */
@media (max-width: 1024px) {
    .cta-card {
        padding: 3rem 3rem;
        gap: 2rem;
    }

    .services-grid {
        gap: var(--space-sm);
    }

    .service-detail-item {
        gap: var(--space-lg);
    }

    .page-hero-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }
}

/* ── iPad portrait / tablet (900px) ── */
@media (max-width: 900px) {
    .blog-tech-grid {
        grid-template-columns: 1fr;
    }

    .blog-migration-sources {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-item {
        gap: var(--space-md);
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
        grid-template-columns: none;
        grid-template-areas: none;
    }

    .service-card,
    .service-card-featured,
    .service-card-reporting,
    .service-card-5,
    .services-grid > .service-card:not(.service-card-featured):nth-child(2),
    .services-grid > .service-card:not(.service-card-featured):nth-child(3) {
        grid-area: auto;
        grid-column: auto;
        grid-row: auto;
        height: auto;
        width: 100%;
    }
}

/* ── Mobile (768px) ── */
@media (max-width: 768px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .service-card,
    .service-card-featured {
        grid-column: auto;
        grid-row: auto;
        padding: 1.25rem 1.125rem;
    }

    .card-title {
        font-size: 1.125rem;
        overflow-wrap: anywhere;
    }

    .card-description {
        font-size: 0.8125rem;
    }

    .work-item-link {
        grid-template-columns: 1fr auto;
        gap: var(--space-md);
        padding: var(--space-lg) 0;
    }

    .work-item-number {
        display: none;
    }

    .work-item-content {
        grid-column: 1;
        min-width: 0;
    }

    .work-item-arrow {
        grid-column: 2;
        justify-self: end;
    }

    .work-item-description {
        font-size: 0.875rem;
    }

    .work-item-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .footer-grid {
        gap: var(--space-lg);
    }

    .footer-links-wrap {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-copyright,
    .footer-legal,
    .footer-location {
        justify-self: center;
    }

    .timeline {
        padding-left: 1.25rem;
    }

    .timeline-entry {
        padding: var(--space-md) 0 var(--space-md) var(--space-md);
    }

    .timeline-entry-title {
        font-size: 1.125rem;
    }

    .timeline-entry-desc {
        font-size: 0.9rem;
    }

    .blog-tech-grid {
        grid-template-columns: 1fr;
    }

    .blog-migration-sources {
        grid-template-columns: 1fr;
    }

    .blog-article {
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-stats {
        gap: var(--space-lg);
        flex-wrap: wrap;
    }

    .contact-stat-number {
        font-size: 1.25rem;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        padding: var(--space-lg) 0;
    }

    .service-detail-number {
        opacity: 0.2;
        font-size: 0.7rem;
    }

    .service-detail-title {
        font-size: 1.25rem;
    }

    .page-hero-meta {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .page-hero-subtitle {
        max-width: 100%;
    }

    .page-hero {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .section-cta {
        margin-top: var(--space-lg);
    }

    .skills-wrap {
        gap: var(--space-xs);
    }

    .skill-chip {
        font-size: 0.8125rem;
        padding: 0.4rem 0.75rem;
    }
}

/* ============================================
   CTA CARD — shared across all pages
   ============================================ */

.cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem 4.5rem;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-accent-dim) 35%,
        rgba(158, 182, 255, 0.45) 50%,
        var(--color-accent-dim) 65%,
        transparent 100%
    );
}
.cta-card::after {
    content: '';
    position: absolute;
    top: -120px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(158, 182, 255, 0.08) 0%, transparent 68%);
    pointer-events: none;
}
.cta-card-left {
    flex: 1;
    min-width: 0;
}
.cta-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}
.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-fg);
}
.cta-card-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-fg);
    color: var(--color-bg);
    border: 1px solid var(--color-fg);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    white-space: nowrap;
}
.cta-btn-primary:hover {
    background: transparent;
    color: var(--color-fg);
    transform: translateY(-1px);
}
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-fg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s, transform 0.2s;
    white-space: nowrap;
}
.cta-btn-secondary:hover {
    border-color: var(--color-border-strong);
    color: var(--color-fg);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.75rem;
    }
    .cta-card-right {
        width: 100%;
    }
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-md);
    }
    .cta-headline {
        font-size: 1.75rem;
    }
}

/* ============================================
   FOOTER — tablet & mobile
   ============================================ */

@media (max-width: 1024px) {
    .footer {
        max-width: none;
        width: 100%;
        margin-top: 3.5rem;
        padding: 2.5rem 1.75rem 1.5rem;
        border-radius: 2.25rem 2.25rem 0 0;
    }

    .footer .container {
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }

    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem 1.25rem;
        grid-template-columns: none;
    }

    .footer-copyright,
    .footer-legal,
    .footer-location {
        justify-self: auto;
    }
}

@media (max-width: 640px) {
    .footer {
        margin-top: 2.75rem;
        padding: 1.75rem 1.15rem 1.25rem;
        border-radius: 1.35rem 1.35rem 0 0;
    }

    .footer-brand .footer-tagline {
        font-size: 0.875rem;
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .footer-legal {
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-legal-link {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }
}
