/* Component styles — glass cards, nav, badges, timeline, form, buttons, case study, services, clients, archive */

/* ── Navigation ── */

.nav-glass {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(19, 19, 19, 0.75) !important;
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.nav-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #e5e2e1;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo span {
    color: #ff5c00;
}

/* Override WP navigation block styles for dark theme */
.nav-glass .wp-block-navigation a {
    color: #c7c6c6 !important;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-glass .wp-block-navigation a:hover {
    color: #ffffff !important;
}

/* Hire Me button in nav */
.btn-hire-me .wp-block-button__link {
    background: #ff5c00 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-hire-me .wp-block-button__link:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Glass Card ── */

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 92, 0, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 92, 0, 0.20),
        0 8px 40px rgba(255, 92, 0, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ── Hero ── */

.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 100vw);
    height: 500px;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 92, 0, 0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* ── Available-for-work badge ── */

.badge-available {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(255, 92, 0, 0.12);
    border: 1px solid rgba(255, 92, 0, 0.30);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff5c00;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.badge-ping {
    display: inline-block;
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5c00;
    flex-shrink: 0;
}

.badge-ping::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255, 92, 0, 0.45);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* ── Hero heading ── */

.hero-heading {
    font-size: clamp(2.5rem, 7vw, 4.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    color: #e5e2e1 !important;
    margin-bottom: 1.25rem;
}

.hero-heading .accent {
    color: #ff5c00;
}

.hero-subtitle {
    font-size: 1.125rem !important;
    color: #c7c6c6 !important;
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 2.5rem !important;
    line-height: 1.7;
}

/* ── CTA Buttons ── */

.btn-primary .wp-block-button__link,
.btn-primary-orange {
    background: #ff5c00 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    border: none !important;
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary .wp-block-button__link:hover,
.btn-primary-orange:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(255, 92, 0, 0.35);
}

.btn-ghost .wp-block-button__link {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e5e2e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 9999px !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.30) !important;
}

/* ── Section labels (eyebrow text) ── */

.section-label {
    display: block;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
    color: #ff5c00 !important;
    margin-bottom: 0.75rem;
}

/* ── Skill tags ── */

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 500;
    color: #c7c6c6;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.skill-tag:hover {
    border-color: rgba(255, 92, 0, 0.5);
    color: #ff5c00;
}

.skill-group {
    margin-bottom: 1.25rem;
}

.skill-group-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff5c00 !important;
    margin-bottom: 0.625rem;
}

/* ── Project cards ── */

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.project-card:hover .project-card-image {
    transform: scale(1.06);
    opacity: 0.80;
}

.project-card-image-wrap {
    overflow: hidden;
    height: 200px;
    background: #353534;
}

.project-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 92, 0, 0.12);
    color: #ff5c00;
    margin-right: 6px;
    margin-bottom: 10px;
}

.project-tags {
    margin-bottom: 0.625rem;
}

.project-card h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.875rem !important;
    color: #c7c6c6 !important;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e2e1;
    transition: color 0.2s ease;
    margin-top: auto;
}

.project-card:hover .project-link {
    color: #ff5c00;
}

.project-link .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.project-card:hover .project-link .material-symbols-outlined {
    transform: translateX(3px);
}

.project-card-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-link--ghost {
    color: #666;
}

.project-link--ghost:hover {
    color: #c7c6c6;
}

.project-card-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255,92,0,0.08), rgba(168,85,247,0.08));
    border-radius: 8px 8px 0 0;
}

/* ── Experience timeline ── */

.timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 680px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5c00;
    border: 2px solid #131313;
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.25);
}

.timeline-item.past::before {
    background: #353534;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.timeline-date {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff5c00 !important;
    margin-bottom: 0.375rem;
}

.timeline-item.past .timeline-date {
    color: #666 !important;
}

.timeline-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 0.875rem !important;
    color: #c7c6c6 !important;
    margin-bottom: 0.625rem;
}

.timeline-desc {
    font-size: 0.9rem !important;
    color: #c7c6c6 !important;
    line-height: 1.65;
}

/* ── Testimonials ── */

.testimonial-card {
    position: relative;
    padding: 2rem;
}

.testimonial-quote-icon {
    font-family: 'Material Symbols Outlined', serif;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2.5rem;
    color: #ff5c00;
    opacity: 0.18;
    user-select: none;
}

.testimonial-text {
    font-size: 1rem !important;
    font-style: italic;
    color: #e5e2e1 !important;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #353534;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff5c00;
    background: rgba(255, 92, 0, 0.1);
}

.testimonial-name {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.75rem !important;
    color: #666 !important;
}

/* ── Contact form ── */

.contact-card {
    padding: clamp(2rem, 5vw, 4rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #c7c6c6;
    margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #e5e2e1;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #555;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 92, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.12);
}

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

.contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.9375rem;
    background: #ff5c00;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.3s ease;
    margin-top: 0.5rem;
}

.contact-form .btn-submit:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(255, 92, 0, 0.35);
}

.contact-form .btn-submit:active {
    transform: translateY(0) scale(0.98);
}

.contact-form .btn-submit .material-symbols-outlined {
    font-size: 1.1rem;
}

/* Contact social links */
.contact-social {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e5e2e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-social-link:hover {
    color: #ff5c00;
}

.contact-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-social-link:hover .contact-social-icon {
    background: rgba(255, 92, 0, 0.10);
    border-color: rgba(255, 92, 0, 0.30);
}

.contact-social-icon .material-symbols-outlined {
    font-size: 1.25rem;
}

/* ── Material Symbols utility ── */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', serif;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

/* ════════════════════════════════════════
   Case Study Page
   ════════════════════════════════════════ */

/* ── Case study nav ── */

.cs-nav {
    height: 64px;
}

.cs-nav-inner {
    max-width: 480px;
    margin-inline: auto;
    padding-inline: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cs-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5e2e1;
    text-decoration: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.cs-back-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #e5e2e1;
}

.cs-back-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

.cs-nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.cs-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff5c00;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.cs-share-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.cs-share-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

/* ── Project hero ── */

.cs-hero-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.5rem;
    background: #201f1f;
}

.cs-hero-image-wrap img,
.cs-hero-image-wrap .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
    pointer-events: none;
}

.cs-hero-image-wrap.glass {
    border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ── Quick info grid ── */

.cs-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cs-info-card {
    padding: 1.25rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-info-card--wide {
    grid-column: 1 / -1;
}

.cs-info-label {
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4) !important;
}

.cs-info-value {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
}

/* ── Problem / Solution cards ── */

.cs-problem-card {
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.cs-solution-card {
    padding: 1.5rem;
    background: rgba(255, 92, 0, 0.05);
    border: 1px solid rgba(255, 92, 0, 0.22);
    border-radius: 16px;
}

.cs-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cs-problem-card .cs-card-header {
    color: #f87171;
}

.cs-solution-card .cs-card-header {
    color: #ff5c00;
}

.cs-card-header .material-symbols-outlined {
    font-size: 1.25rem;
}

.cs-card-header-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cs-card-text {
    font-size: 0.9375rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.7;
}

/* ── Key features ── */

.cs-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 0;
}

.cs-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cs-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
}

.cs-feature-icon .material-symbols-outlined {
    color: #ff5c00;
    font-size: 1.4rem;
}

.cs-feature-title {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    margin-bottom: 0.25rem;
}

.cs-feature-desc {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.6;
}

/* ── Screenshots carousel ── */

.cs-carousel-wrap {
    margin-inline: -1.5rem;
    padding-bottom: 0.5rem;
}

.cs-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1.5rem;
}

.cs-carousel::-webkit-scrollbar {
    display: none;
}

.cs-carousel-slide {
    width: 288px;
    height: 192px;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.cs-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Process timeline (case study style) ── */

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

.cs-process::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 2px;
}

.cs-process-step {
    position: relative;
    margin-bottom: 3rem;
}

.cs-process-step:last-child {
    margin-bottom: 0;
}

.cs-process-step::before {
    content: '';
    position: absolute;
    left: -1.6875rem;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #201f1f;
    border: 2px solid #ff5c00;
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.15);
}

.cs-process-title {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    margin-bottom: 0.25rem;
}

.cs-process-desc {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.6;
}

/* ── Results / metrics ── */

.cs-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cs-metric-main {
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-metric-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #e5e2e1 !important;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cs-metric-label {
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 0.5rem;
}

.cs-metric-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    color: #ff5c00;
}

.cs-metric-icon-wrap .material-symbols-outlined {
    font-size: 2.5rem;
    color: #ff5c00;
}

.cs-metric-icon-label {
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    color: #ff5c00 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cs-metrics-row {
    display: flex;
    gap: 1rem;
}

.cs-metric-sm {
    flex: 1;
    padding: 1.5rem;
    border-radius: 16px;
}

.cs-metric-sm .cs-metric-number {
    font-size: 1.75rem !important;
}

.cs-metric-sublabel {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ── Final CTA card ── */

.cs-cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 3rem);
    text-align: center;
    border-radius: 32px !important;
    margin-top: 5rem;
}

.cs-cta-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(255, 92, 0, 0.10);
    filter: blur(60px);
    border-radius: 50%;
    pointer-events: none;
}

.cs-cta-card h2 {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    font-weight: 700 !important;
    color: #e5e2e1 !important;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cs-cta-card p {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.cs-cta-card .btn-primary .wp-block-button__link {
    width: 100%;
    justify-content: center;
    border-radius: 16px !important;
    height: 56px;
    font-size: 1rem !important;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════
   Case Study — Desktop (full-width) layout
   ════════════════════════════════════════ */

/* ── Section-local aurora ── */

.cs-section {
    position: relative;
    overflow: hidden;
}

.cs-section-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cs-section-aurora-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(100px);
    opacity: 0.12;
}

.cs-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: csBlob 25s infinite alternate ease-in-out;
}

.cs-blob--orange { background: #ff5c00; width: 600px; height: 600px; }
.cs-blob--purple { background: #8a2be2; width: 500px; height: 500px; animation-duration: 30s; animation-delay: -5s; }
.cs-blob--blue   { background: #4169e1; width: 700px; height: 700px; animation-duration: 35s; animation-delay: -10s; }

@keyframes csBlob {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(10%, 15%) scale(1.2); }
    66%  { transform: translate(-15%, 5%) scale(0.9); }
    100% { transform: translate(5%, -10%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .cs-blob { animation: none; }
}

/* ── Desktop hero ── */

.cs-desktop-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
    background: radial-gradient(circle at 50% 40%, rgba(255, 92, 0, 0.06) 0%, transparent 65%);
}

.cs-desktop-hero-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs-hero-category {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff5c00;
    margin-bottom: 1rem;
    display: block;
}

.cs-hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    color: #e5e2e1 !important;
    margin-bottom: 1.5rem;
}

.cs-hero-desc {
    font-size: 1.125rem !important;
    color: #c7c6c6 !important;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 2.5rem !important;
    line-height: 1.7;
}

.cs-hero-screenshot {
    width: 100%;
    max-width: 1100px;
    margin-top: 5rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 8px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.cs-hero-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

/* ── Overview grid ── */

.cs-overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cs-overview-text h2 {
    font-size: clamp(1.75rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    color: #e5e2e1 !important;
    margin-bottom: 1.5rem;
}

.cs-overview-text p {
    font-size: 1.0625rem !important;
    color: #c7c6c6 !important;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.cs-meta-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cs-meta-card {
    padding: 1.5rem;
}

.cs-meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c7c6c6;
    margin-bottom: 0.5rem;
    display: block;
}

.cs-meta-value {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* ── Problem / Solution (desktop, equal columns) ── */

.cs-ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cs-ps-card {
    padding: 2.5rem;
    border-radius: 16px;
}

.cs-ps-card--problem {
    border-color: rgba(239, 68, 68, 0.20) !important;
}

.cs-ps-card--solution {
    border-color: rgba(255, 92, 0, 0.20) !important;
}

.cs-ps-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cs-ps-card--problem .cs-ps-icon-wrap {
    background: rgba(239, 68, 68, 0.10);
}

.cs-ps-card--solution .cs-ps-icon-wrap {
    background: rgba(255, 92, 0, 0.10);
}

.cs-ps-card--problem .material-symbols-outlined {
    color: #f87171;
    font-size: 1.5rem;
}

.cs-ps-card--solution .material-symbols-outlined {
    color: #ff5c00;
    font-size: 1.5rem;
}

.cs-ps-card h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cs-ps-card p {
    font-size: 0.9375rem !important;
    color: #c7c6c6 !important;
    line-height: 1.75;
}

/* ── Bento features grid ── */

.cs-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cs-bento-item {
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: default;
}

.cs-bento-item--wide {
    grid-column: span 2;
}

.cs-bento-icon {
    font-family: 'Material Symbols Outlined', serif;
    font-size: 2.5rem;
    color: #ff5c00;
    margin-bottom: 1rem;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
    line-height: 1;
}

.cs-bento-item h3 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.625rem;
}

.cs-bento-item p {
    font-size: 0.9375rem !important;
    color: #c7c6c6 !important;
    line-height: 1.7;
}

/* ── Numbered process timeline ── */

.cs-process-n {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cs-step-n {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.cs-step-n + .cs-step-n::before {
    content: '';
    position: absolute;
    left: 23px;
    top: -3rem;
    height: 3rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.10);
}

.cs-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    z-index: 1;
}

.cs-step-num--active {
    background: #ff5c00;
    color: #ffffff;
}

.cs-step-num--default {
    background: #353534;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #e5e2e1;
}

.cs-step-body {
    padding-top: 0.625rem;
}

.cs-step-body h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.cs-step-body p {
    font-size: 0.9375rem !important;
    color: #c7c6c6 !important;
    line-height: 1.7;
    max-width: 640px;
}

/* ── Results metrics ── */

.cs-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cs-result-card {
    padding: 2.5rem;
    text-align: center;
}

.cs-result-number {
    font-size: clamp(3rem, 8vw, 4.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    color: #ff5c00 !important;
    margin-bottom: 0.625rem;
}

.cs-result-label {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #c7c6c6 !important;
    letter-spacing: -0.01em;
}

/* ── Final CTA (desktop) ── */

.cs-final-cta {
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(3rem, 8vw, 6rem);
    text-align: center;
    border-radius: 16px;
    border-color: rgba(255, 92, 0, 0.20) !important;
}

.cs-final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    color: #e5e2e1 !important;
    margin-bottom: 1.5rem;
}

.cs-final-cta p {
    font-size: 1.125rem !important;
    color: #c7c6c6 !important;
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cs-final-cta .btn-primary .wp-block-button__link {
    padding: 1.125rem 2.5rem !important;
    border-radius: 12px !important;
    font-size: 1.125rem !important;
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.3);
}

/* ── Tech stack (desktop) ── */

.cs-tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.cs-tech-tag {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #c7c6c6;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cs-tech-tag:hover {
    border-color: rgba(255, 92, 0, 0.4);
    color: #ff5c00;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Fluent Forms — dark theme overrides
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.contact-form-wrap .fluentform {
    width: 100%;
}

/* Labels */
.contact-form-wrap .ff-el-input--label label,
.contact-form-wrap .ff-el-input--label .ff-el-is-required {
    color: #e5e2e1;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

/* Required asterisk */
.contact-form-wrap .ff-el-is-required.ff-el-is-required::after {
    color: #ff5c00;
}

/* Inputs & textarea */
.contact-form-wrap .ff-el-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #e5e2e1;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form-wrap .ff-el-form-control::placeholder {
    color: rgba(199, 198, 198, 0.45);
}

.contact-form-wrap .ff-el-form-control:focus {
    border-color: rgba(255, 92, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.12);
}

/* Textarea */
.contact-form-wrap textarea.ff-el-form-control {
    resize: vertical;
    min-height: 130px;
}

/* Error messages */
.contact-form-wrap .error.text-danger {
    color: #f87171;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

/* Submit button */
.contact-form-wrap .ff-btn-submit,
.contact-form-wrap button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    background: #ff5c00;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.25);
}

.contact-form-wrap .ff-btn-submit:hover,
.contact-form-wrap button[type="submit"]:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(255, 92, 0, 0.4);
}

/* Success message */
.contact-form-wrap .ff-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    color: #86efac;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
}

/* Remove Fluent Forms default background/box-shadow on wrapper */
.contact-form-wrap .ff-el-group {
    margin-bottom: 1.25rem;
}

.contact-form-wrap .ff-el-group:last-child {
    margin-bottom: 0;
}

/* ── Responsive adjustments ── */

@media (max-width: 900px) {
    .cs-overview-grid   { grid-template-columns: 1fr; }
    .cs-ps-grid         { grid-template-columns: 1fr; }
    .cs-bento           { grid-template-columns: 1fr; }
    .cs-bento-item--wide { grid-column: span 1; }
    .cs-results-grid    { grid-template-columns: 1fr; }
    .cs-desktop-hero    { padding-top: 6rem; }
    .cs-hero-screenshot { margin-top: 3rem; }
    .cs-final-cta       { padding: 2rem; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Hero — photo + stats
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hero-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 92, 0, 0.5);
    box-shadow: 0 0 0 6px rgba(255, 92, 0, 0.08), 0 0 40px rgba(255, 92, 0, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-stat-num {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #ff5c00;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Services grid
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
    margin-top: 0;
}

.service-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 92, 0, 0.1);
    border: 1px solid rgba(255, 92, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.service-icon .material-symbols-outlined {
    font-size: 1.375rem;
    color: #ff5c00;
}

.service-card:hover .service-icon {
    background: rgba(255, 92, 0, 0.18);
    border-color: rgba(255, 92, 0, 0.4);
}

.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #e5e2e1;
    margin: 0;
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 0.9375rem;
    color: #c7c6c6;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.service-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tags li {
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9999px;
    padding: 0.2rem 0.65rem;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Client logos strip
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.clients-section {
    padding-block: clamp(2rem, 4vw, 3.5rem) !important;
}

.clients-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 2rem;
}

.clients-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    filter: grayscale(1) brightness(1.4);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.client-logo-item:hover {
    opacity: 1;
    filter: none;
}

.client-logo-item img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Footer social links (from shortcode)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-social-link {
    font-size: 0.75rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: #ff5c00;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Archive — All Projects page
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.archive-hero {
    padding-top: clamp(6rem, 12vw, 9rem) !important;
}

.archive-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.archive-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #c7c6c6;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.archive-filter-btn:hover,
.archive-filter-btn.is-active {
    border-color: rgba(255, 92, 0, 0.5);
    color: #ff5c00;
    background: rgba(255, 92, 0, 0.08);
}

/* Hide filtered-out cards */
.project-card[data-hidden="true"] {
    display: none;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Responsive — new sections
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-stats    { gap: 1.5rem; }
    .clients-strip { gap: 1.5rem 2rem; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   About — personal photo
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.about-photo-wrap {
    margin-bottom: 1.75rem;
}

.about-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 92, 0, 0.4);
    box-shadow: 0 0 0 5px rgba(255, 92, 0, 0.07);
    display: block;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Featured Work — "View all projects" link
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ff5c00;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s ease, opacity 0.2s ease;
    padding-bottom: 0.25rem;
}

.see-all-link:hover {
    gap: 10px;
    opacity: 0.85;
}

.see-all-link .material-symbols-outlined {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.see-all-link:hover .material-symbols-outlined {
    transform: translateX(3px);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Scroll-to-top button
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.scroll-top-btn {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(28, 27, 27, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c7c6c6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.scroll-top-btn:hover {
    border-color: rgba(255, 92, 0, 0.5);
    color: #ff5c00;
    transform: translateY(-2px);
}

.scroll-top-btn[hidden] {
    display: none;
}

.scroll-top-btn .material-symbols-outlined {
    font-size: 1.25rem;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WhatsApp floating button
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn svg {
    width: 26px;
    height: 26px;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Cookie notice
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(19, 19, 19, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    padding: 1rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-notice.is-visible {
    transform: translateY(0);
}

.cookie-notice p {
    font-size: 0.875rem;
    color: #c7c6c6;
    margin: 0;
    line-height: 1.5;
}

.cookie-accept-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    background: #ff5c00;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.cookie-accept-btn:hover {
    opacity: 0.85;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Single blog post
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.single-post-hero {
    padding-top: clamp(6rem, 12vw, 9rem) !important;
    padding-bottom: clamp(3rem, 6vw, 5rem) !important;
    text-align: center;
}

.single-post-hero-inner {
    max-width: 760px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.post-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.post-categories a,
.wp-block-post-terms a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff5c00;
    text-decoration: none;
}

.single-post-title.wp-block-post-title,
.single-post .wp-block-post-title {
    font-size: clamp(2rem, 5vw, 3.25rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    color: #e5e2e1 !important;
    margin-bottom: 1.5rem;
}

.post-meta {
    justify-content: center;
    color: #666;
}

.post-meta .wp-block-post-date,
.post-meta .wp-block-post-author {
    font-size: 0.875rem !important;
    color: #666 !important;
}

.single-post-image .wp-block-post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.single-post-content-wrap {
    padding-top: clamp(3rem, 6vw, 5rem) !important;
    padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.single-post-inner {
    max-width: 680px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* Post content typography */
.single-post-inner .wp-block-post-content h2 {
    font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #e5e2e1 !important;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-inner .wp-block-post-content h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #e5e2e1 !important;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single-post-inner .wp-block-post-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #c7c6c6;
    margin-bottom: 1.5rem;
}

.single-post-inner .wp-block-post-content a {
    color: #ff5c00;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post-inner .wp-block-post-content pre,
.single-post-inner .wp-block-post-content code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #e5e2e1;
}

.single-post-inner .wp-block-post-content pre {
    padding: 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.single-post-inner .wp-block-post-content code {
    padding: 0.15rem 0.4rem;
}

.single-post-inner .wp-block-post-content blockquote {
    border-left: 3px solid #ff5c00;
    padding-left: 1.25rem;
    margin: 2rem 0;
    color: #c7c6c6;
    font-style: italic;
}

.single-post-inner .wp-block-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Post navigation */
.single-post-nav {
    padding-top: clamp(2rem, 4vw, 3rem) !important;
    padding-bottom: clamp(2rem, 4vw, 3rem) !important;
}

.single-post-nav-inner {
    max-width: 680px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.single-post-nav-inner .wp-block-post-navigation-link a {
    font-size: 0.875rem;
    color: #c7c6c6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-post-nav-inner .wp-block-post-navigation-link a:hover {
    color: #ff5c00;
}

/* Adjust scroll-top button position when WhatsApp is present */
body:has(.whatsapp-btn) .scroll-top-btn {
    bottom: 6.5rem;
}


/* ── About text column (left col in about-grid) ── */

.about-text-col {
    display: flex;
    flex-direction: column;
}

/* ── Footer copyright line ── */

.footer-copy {
    font-size: 0.75rem;
    color: #555555;
    margin: 0;
}
