/* ========================================
   VTS Website - Unified Styles
   Phase 2 — Design tokens & typography
   ======================================== */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;

    /* Display scale */
    --text-display-xl: clamp(2.25rem, 5vw, 3.75rem);
    --text-display-lg: clamp(1.875rem, 4vw, 3rem);
    --text-display-md: clamp(1.5rem, 3vw, 2.25rem);
    --text-display-sm: clamp(1.25rem, 2.5vw, 1.5rem);

    /* Body scale */
    --text-body-lg: 1.125rem;
    --text-body: 1rem;
    --text-body-sm: 0.875rem;
    --text-caption: 0.8125rem;

    /* Line heights */
    --leading-tight: 1.15;
    --leading-snug: 1.35;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Enterprise color tokens */
    --color-ink: #1A1A1A;
    --color-secondary: #2E2E2E;
    --color-navy: #1E293B;
    --color-muted: #6B7280;
    --color-muted-light: #9CA3AF;
    --color-primary: #F68C1F;
    --color-primary-dark: #D97706;
    --color-accent: #FFB347;
    --color-cream: #F9F7F4;
    --color-cream-dark: #F0EDE8;
    --color-surface: #FFFFFF;
    --color-border: #E8E4DE;
    --color-border-subtle: #E5E7EB;
}

body {
    font-family: var(--font-sans);
    color: var(--color-secondary);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings sitewide */
h1, h2, h3, h4, h5, h6,
.display-xl,
.display-lg,
.display-md,
.section-title,
.case-section-title,
.hp-brand,
.font-display {
    font-family: var(--font-display);
}

/* Typography utilities */
.display-xl {
    font-size: var(--text-display-xl);
    font-weight: 800;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
    color: var(--color-ink);
}

.display-lg {
    font-size: var(--text-display-lg);
    font-weight: 800;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
    color: var(--color-ink);
}

.display-md {
    font-size: var(--text-display-md);
    font-weight: 700;
    line-height: var(--leading-snug);
    letter-spacing: -0.005em;
    color: var(--color-ink);
}

.text-body-lg {
    font-size: var(--text-body-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-muted);
}

.text-body {
    font-size: var(--text-body);
    line-height: var(--leading-normal);
    color: var(--color-muted);
}

.text-body-sm {
    font-size: var(--text-body-sm);
    line-height: var(--leading-normal);
    color: var(--color-muted);
}

.text-caption {
    font-size: var(--text-caption);
    line-height: var(--leading-normal);
}

.text-ink { color: var(--color-ink); }
.text-muted { color: var(--color-muted); }

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 36rem;
}

.section-header--left .section-subtitle {
    margin-left: 0;
    margin-right: 0;
}

/* ========================================
   Border Spin Animation
   ======================================== */
.animate-border-spin {
    position: relative;
    padding: 2px;
    overflow: hidden;
}

.animate-border-spin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 99999px;
    height: 99999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(transparent, rgba(156, 163, 175, 0.8), transparent 25%);
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.animate-border-spin > div {
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   Sticky Left Positioning
   ======================================== */
.sticky-left {
    align-self: flex-start;
}

/* Force sticky positioning for project-details.html */
.project-details .sticky-left {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 80px !important;
    align-self: flex-start !important;
}

/* Mobile responsive - disable sticky on mobile */
@media (max-width: 1023px) {
    .sticky-left,
    .project-details .sticky-left {
        position: static !important;
    }
}

/* ========================================
   Progress Bar Styles
   ======================================== */
.progress-bar {
    width: 85%;
}

/* ========================================
   Form Message Styles
   ======================================== */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #dcfce7;
    color: #166534;
}

.form-message.error {
    background-color: #fef2f2;
    color: #dc2626;
}

/* ========================================
   Custom Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Animation delays */
.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

/* ========================================
   Utility Classes
   ======================================== */
.opacity-0 {
    opacity: 0;
}

.translate-y-8 {
    transform: translateY(2rem);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 640px) {
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .tablet-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1025px) {
    .desktop-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ========================================
   Project Screenshot Frames
   ======================================== */
.project-screenshot-frame {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
}

.project-screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.project-screenshot-hero {
    padding: 0.5rem;
}

@media (min-width: 640px) {
    .project-screenshot-hero {
        padding: 1rem;
    }
}

.project-screenshot-gallery {
    padding: 0.25rem;
    background: #fff;
}

@media (min-width: 640px) {
    .project-screenshot-gallery {
        padding: 0.5rem;
    }
}

/* ========================================
   Project Gallery (Bento)
   ======================================== */
.project-gallery {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.5rem;
    }

    .project-gallery-item--hero {
        grid-column: span 12;
    }

    .project-gallery-item--half {
        grid-column: span 6;
    }

    .project-gallery-item--wide {
        grid-column: span 8;
    }

    .project-gallery-item--tall {
        grid-column: span 4;
    }
}

.project-gallery-item {
    margin: 0;
    background: #fff;
    border: 1px solid #E8E4DE;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-gallery-item:hover {
    border-color: rgba(246, 140, 31, 0.35);
    box-shadow: 0 16px 48px rgba(46, 46, 46, 0.08);
}

.project-gallery-media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #F9F7F4;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

.project-gallery-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #2E2E2E;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.project-gallery-dot:nth-child(1) {
    background: #ff5f57;
}

.project-gallery-dot:nth-child(2) {
    background: #febc2e;
}

.project-gallery-dot:nth-child(3) {
    background: #28c840;
}

.project-gallery-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.project-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 46, 46, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.project-gallery-overlay svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.project-gallery-item:hover .project-gallery-overlay {
    opacity: 1;
}

.project-gallery-item:hover .project-gallery-media img {
    transform: scale(1.02);
}

.project-gallery-caption {
    padding: 1rem 1.25rem;
    border-top: 1px solid #F0EDE8;
}

.project-gallery-caption h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2E2E2E;
    margin: 0 0 0.25rem;
}

.project-gallery-caption p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Lightbox */
#image-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

#image-lightbox .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

#image-lightbox .lightbox-nav--prev {
    left: 0.5rem;
}

#image-lightbox .lightbox-nav--next {
    right: 0.5rem;
}

@media (min-width: 640px) {
    #image-lightbox .lightbox-nav--prev {
        left: 1rem;
    }

    #image-lightbox .lightbox-nav--next {
        right: 1rem;
    }
}

#image-lightbox .lightbox-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 100%;
    max-width: 100%;
}

#image-lightbox #lightbox-image {
    max-height: calc(100vh - 8rem);
}

#image-lightbox #lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    max-width: 36rem;
    padding: 0 1rem;
}

#image-lightbox #lightbox-caption-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #fff;
}

#image-lightbox #lightbox-caption-desc {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* ========================================
   Project Detail — Video SaaS Layout
   ======================================== */
.project-details,
.service-details {
    background: #F9F7F4;
}

.bg-cream-section {
    background: #F9F7F4;
}

.bg-cream-dark-section {
    background: #F0EDE8;
}

/* Shared project detail theme — homepage-aligned */
.pd-hero {
    position: relative;
    min-height: calc(100vh - 1rem);
    display: flex;
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
    background: #F9F7F4;
}

.pd-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 85% 30%, rgba(246, 140, 31, 0.14), transparent 55%),
        radial-gradient(ellipse 40% 35% at 10% 80%, rgba(255, 179, 71, 0.1), transparent 50%),
        linear-gradient(180deg, #F9F7F4 0%, #F0EDE8 100%);
    pointer-events: none;
}

.pd-hero__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .pd-hero__layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 2.5rem 1.5rem;
    }
}

.pd-hero__copy {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .pd-hero__copy {
        margin-left: 0;
        margin-right: 0;
    }
}

.pd-hero__title {
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-ink);
    margin-bottom: 1rem;
}

.pd-hero__tagline {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
    max-width: 34rem;
}

/* Apple-style LED / display with stand + image slider */
.pd-led {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .pd-led {
        max-width: none;
        margin: 0;
    }
}

.pd-led__display {
    position: relative;
    z-index: 2;
}

.pd-led__bezel {
    position: relative;
    background: linear-gradient(165deg, #3a3a3c 0%, #1d1d1f 48%, #111113 100%);
    border-radius: 1.15rem;
    padding: 0.7rem 0.7rem 0.85rem;
    box-shadow:
        0 28px 64px rgba(26, 26, 26, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.pd-led__camera {
    position: absolute;
    top: 0.38rem;
    left: 50%;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #4b5563, #111827 70%);
    transform: translateX(-50%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pd-led__screen {
    position: relative;
    overflow: hidden;
    border-radius: 0.35rem;
    background: #0a0a0a;
    aspect-ratio: 16 / 10;
}

.pd-led__slides {
    position: absolute;
    inset: 0;
}

.pd-led__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.pd-led__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.pd-led__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.pd-led__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-ink);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
}

.pd-led:hover .pd-led__nav,
.pd-led:focus-within .pd-led__nav {
    opacity: 1;
}

@media (hover: none) {
    .pd-led__nav {
        opacity: 0.92;
    }
}

.pd-led__nav:hover {
    background: #fff;
    color: var(--color-primary);
}

.pd-led__nav--prev { left: 0.65rem; }
.pd-led__nav--next { right: 0.65rem; }

.pd-led__dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    z-index: 3;
    display: flex;
    gap: 0.4rem;
    transform: translateX(-50%);
}

.pd-led__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
}

.pd-led__dot.is-active {
    width: 1.1rem;
    background: #F68C1F;
}

.pd-led__neck {
    width: 1.15rem;
    height: 2.35rem;
    margin: 0 auto;
    background: linear-gradient(90deg, #2a2a2c 0%, #6b6b6e 45%, #3a3a3c 100%);
    border-radius: 0 0 0.15rem 0.15rem;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12);
}

.pd-led__stand {
    width: 7.5rem;
    height: 0.55rem;
    margin: 0 auto;
    background: linear-gradient(180deg, #5c5c5f 0%, #2f2f31 100%);
    border-radius: 0.2rem 0.2rem 0.05rem 0.05rem;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08);
}

.pd-led__base {
    width: 11.5rem;
    height: 0.55rem;
    margin: 0.15rem auto 0;
    background:
        radial-gradient(ellipse at center, #8a8a8d 0%, #4a4a4d 55%, #2c2c2e 100%);
    border-radius: 50%;
    box-shadow:
        0 10px 24px rgba(26, 26, 26, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    .pd-led__slide {
        transition: none;
    }
}

.pd-info-card {
    background: var(--color-surface);
}

.project-video-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 3rem;
    overflow: hidden;
}

.project-video-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(246, 140, 31, 0.1) 0%, #F9F7F4 45%, rgba(255, 179, 71, 0.1) 100%);
}

.project-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.12);
    color: #F68C1F;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    margin-bottom: 1.25rem;
}

.project-hero-accent {
    color: #F68C1F;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.project-hero-tagline {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #6b7280;
    max-width: 34rem;
}

.pd-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.75rem;
}

@media (min-width: 1024px) {
    .pd-hero-ctas {
        justify-content: flex-start;
    }
}

.pd-result-card .result-stat__value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.pd-section {
    padding: 4rem 0;
}

@media (min-width: 640px) {
    .pd-section {
        padding: 5rem 0;
    }
}

.pd-section--white { background: #FFFFFF; }
.pd-section--cream { background: #F9F7F4; }
.pd-section--dark { background: #292929; }

.pd-card {
    background: #F0EDE8;
    border: 1px solid #E8E4DE;
    border-top: 3px solid #F8972A;
    border-radius: 1.125rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 32px rgba(26, 26, 26, 0.04);
    height: 100%;
}

@media (min-width: 640px) {
    .pd-card {
        padding: 2rem 2.25rem;
    }
}

.pd-card-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #F68C1F;
    display: inline-block;
}

.pd-overview-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 1rem;
}

.pd-overview-text:last-of-type {
    margin-bottom: 1.25rem;
}

.pd-highlight-panel {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1rem 1.125rem;
    border-radius: 0.875rem;
    background: rgba(246, 140, 31, 0.08);
    border: 1px solid rgba(246, 140, 31, 0.18);
}

.pd-highlight-panel__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: rgba(246, 140, 31, 0.15);
    color: #F68C1F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-highlight-panel__icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.pd-highlight-panel p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #2E2E2E;
    font-weight: 500;
}

.pd-challenge-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.pd-challenge-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.pd-challenge-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.12);
    color: #F68C1F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.pd-check-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.pd-challenge-item h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.2rem;
}

.pd-challenge-item p {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6B7280;
}

/* Premium product tour — LED + module rail */
.pd-tour-section {
    position: relative;
    overflow: hidden;
}

.pd-tour-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 45% 50% at 18% 40%, rgba(246, 140, 31, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 45% at 88% 70%, rgba(255, 179, 71, 0.08), transparent 55%);
}

.pd-tour {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 1024px) {
    .pd-tour {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 2.5rem;
    }
}

.pd-tour__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pd-led--tour {
    max-width: 420px;
    width: 100%;
}

@media (min-width: 1024px) {
    .pd-led--tour {
        max-width: 460px;
        margin-left: 0;
        margin-right: auto;
    }
}

.pd-tour__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0 0.5rem;
    max-width: 28rem;
}

@media (min-width: 1024px) {
    .pd-tour__content {
        padding-left: 0.5rem;
        min-height: 18rem;
    }
}

.pd-tour__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.pd-tour__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.pd-tour__text {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.pd-tour__points {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pd-tour__points li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-secondary);
}

.pd-tour__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--color-primary);
}

.pd-tour__progress {
    margin: 1.5rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}


.pd-dark-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.pd-dark-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.65;
}

/* Result cards reuse industry-card; keep value styling only */

.project-hero-video-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E8E4DE;
    box-shadow: 0 24px 64px rgba(46, 46, 46, 0.1);
}

.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    background: #2E2E2E;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary-pill:hover {
    background: #1a1a1a;
}

.btn-ghost-link {
    font-weight: 600;
    color: #2E2E2E;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.btn-ghost-link:hover {
    color: #F68C1F;
}

@media (prefers-reduced-motion: reduce) {
    .pd-btn-primary,
    .pd-result-card,
    .feature-card,
    .related-project-card {
        transition: none;
    }
    .pd-btn-primary:hover,
    .pd-result-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

.section-eyebrow {
    display: inline-block;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.1);
    color: #F68C1F;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow--dark {
    background: rgba(246, 140, 31, 0.15);
}

.section-title {
    font-size: var(--text-display-lg);
    font-weight: 800;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: var(--color-ink);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: var(--text-body-lg);
    color: var(--color-muted);
    max-width: 40rem;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

.section-title--light {
    color: #fff;
}

.section-subtitle--light {
    color: #9ca3af;
}

.overview-card {
    background: #fff;
    border: 1px solid #E8E4DE;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(46, 46, 46, 0.04);
}

.challenge-dot {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.125rem;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.12);
    position: relative;
}

.challenge-dot::after {
    content: '';
    position: absolute;
    inset: 0.4375rem;
    border-radius: 9999px;
    background: #F68C1F;
}

.video-poster-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #2E2E2E;
    overflow: hidden;
}

.video-poster-player--hero {
    border-radius: 0 0 1rem 1rem;
}

.video-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-poster-player:hover .video-poster-img {
    transform: scale(1.03);
}

.video-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.92);
    color: #fff;
    box-shadow: 0 8px 32px rgba(246, 140, 31, 0.35);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.video-play-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    margin-left: 0.2rem;
}

.video-play-btn:hover {
    transform: scale(1.08);
    background: #F68C1F;
}

.video-placeholder-notice {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(46, 46, 46, 0.88);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

.video-placeholder-notice p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.video-placeholder-notice span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.video-showcase-main {
    background: #fff;
    border: 1px solid #E8E4DE;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(46, 46, 46, 0.06);
    margin-bottom: 1.25rem;
}

.video-showcase-meta {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #F0EDE8;
}

.video-showcase-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.25rem;
}

.video-showcase-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.video-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-carousel-track {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 0;
    flex: 1;
}

.video-carousel-track::-webkit-scrollbar {
    display: none;
}

.video-carousel-thumb {
    flex: 0 0 11rem;
    scroll-snap-align: start;
    position: relative;
    border: 2px solid transparent;
    border-radius: 0.875rem;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    padding: 0;
    text-align: left;
}

.video-carousel-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.video-carousel-thumb__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: #F68C1F;
    pointer-events: none;
}

.video-carousel-thumb__play svg {
    width: 0.875rem;
    height: 0.875rem;
    margin-left: 0.1rem;
}

.video-carousel-thumb__label {
    display: block;
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2E2E2E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-carousel-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 46, 46, 0.08);
}

.video-carousel-thumb.is-active {
    border-color: #F68C1F;
    box-shadow: 0 0 0 3px rgba(246, 140, 31, 0.15);
}

.video-carousel-nav {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E8E4DE;
    border-radius: 9999px;
    background: #fff;
    color: #2E2E2E;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.video-carousel-nav:hover {
    border-color: #F68C1F;
    color: #F68C1F;
}

.video-carousel-nav svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 1.375rem;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    height: 100%;
}

.feature-card:hover {
    border-color: rgba(246, 140, 31, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.12);
    border: 1px solid rgba(246, 140, 31, 0.35);
    margin-bottom: 1.125rem;
}

.tech-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 48rem;
    margin: 0 auto;
}

.tech-pill {
    padding: 0.5rem 1.125rem;
    border-radius: 9999px;
    background: #F9F7F4;
    border: 1px solid #E8E4DE;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2E2E2E;
    transition: border-color 0.2s, background 0.2s;
}

.tech-pill:hover {
    border-color: rgba(246, 140, 31, 0.4);
    background: #fff;
}

.results-panel {
    background: #fff;
    border: 1px solid #E8E4DE;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(46, 46, 46, 0.05);
}

.result-stat {
    text-align: center;
    padding: 0.5rem;
}

.result-stat__value {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #F68C1F;
    margin-bottom: 0.375rem;
}

.result-stat__label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.25rem;
}

.result-stat__desc {
    font-size: 0.8125rem;
    color: #6b7280;
}

.related-project-card {
    display: block;
    background: #fff;
    border: 1px solid #E8E4DE;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.related-project-card:hover {
    border-color: rgba(246, 140, 31, 0.35);
    box-shadow: 0 16px 48px rgba(46, 46, 46, 0.08);
    transform: translateY(-4px);
}

.related-project-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F0EDE8;
}

.related-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.related-project-card:hover .related-project-card__media img {
    transform: scale(1.05);
}

.related-project-card__body {
    padding: 1.25rem;
}

.related-project-card__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.375rem;
}

.related-project-card__body p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.related-project-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #F68C1F;
}

.project-cta-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    background: #2E2E2E;
    overflow: hidden;
}

@media (min-width: 768px) {
    .project-cta-card {
        padding: 3rem;
    }
}

.project-cta-card__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(246, 140, 31, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    background: #fff;
    color: #2E2E2E;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: background 0.2s, color 0.2s;
}

.btn-cta-white:hover {
    background: #F68C1F;
    color: #fff;
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: border-color 0.2s, background 0.2s;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Service detail */
.service-hero--text-only {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.service-hero--text-only .project-hero-tagline {
    max-width: 42rem;
}

.related-project-card--text-only .related-project-card__body,
.service-details .related-project-card__body {
    padding: 1.5rem;
}

.service-hero-image-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E8E4DE;
    box-shadow: 0 24px 64px rgba(46, 46, 46, 0.1);
}

.service-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.service-process-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .service-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-process-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.service-process-step {
    background: #fff;
    border: 1px solid #E8E4DE;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-process-step:hover {
    border-color: rgba(246, 140, 31, 0.35);
    box-shadow: 0 12px 40px rgba(46, 46, 46, 0.06);
    transform: translateY(-2px);
}

.service-process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #F68C1F, #FFB347);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
}

.service-process-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.5rem;
}

.service-process-step__desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #F68C1F;
    transition: color 0.2s, gap 0.2s;
    gap: 0.35rem;
}

.service-card-link:hover {
    color: #2E2E2E;
}

/* Phase 1 — Trust & case study cards */
.trust-metric__value {
    font-size: 2rem;
    font-weight: 800;
    color: #2E2E2E;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
    .trust-metric__value {
        font-size: 2.5rem;
    }
}

.trust-metric__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trust-industry-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: #F9F7F4;
    border: 1px solid #E8E4DE;
    color: #2E2E2E;
    font-size: 0.875rem;
    font-weight: 600;
}

.trust-testimonial {
    background: #F9F7F4;
    border: 1px solid #E8E4DE;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trust-testimonial__quote {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 1.25rem;
    flex: 1;
}

.trust-testimonial__quote::before {
    content: '\201C';
    color: #F68C1F;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 0;
    display: block;
    margin-bottom: 0.5rem;
}

.trust-testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid #E8E4DE;
}

.trust-testimonial__author strong {
    font-size: 0.875rem;
    color: #2E2E2E;
}

.trust-testimonial__author span {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.project-card__media {
    height: 12rem;
    overflow: hidden;
    background: #F0EDE8;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.04);
}

.project-card__badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #F68C1F;
}

/* Phase 2 — Industries */
.industry-card {
    --ind-bg: linear-gradient(160deg, #F7F3EC 0%, #EFE9DF 100%);
    --ind-bg-hover: linear-gradient(160deg, #FFF4E8 0%, #F8D9B0 100%);
    --ind-border-hover: rgba(246, 140, 31, 0.4);
    --ind-icon-bg: rgba(246, 140, 31, 0.12);
    --ind-icon-bg-hover: rgba(246, 140, 31, 0.22);

    background: var(--ind-bg);
    background-size: 100% 100%;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        background 0.35s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.industry-card.hp-accent-card {
    border-top: 3px solid #F8972A;
}

.industry-card--healthcare {
    --ind-bg: linear-gradient(155deg, #F6F8FA 0%, #E8EEF4 55%, #F3EDE6 100%);
    --ind-bg-hover: linear-gradient(155deg, #E8F1F8 0%, #D4E4F2 50%, #F8E0C4 100%);
}

.industry-card--pharma {
    --ind-bg: linear-gradient(155deg, #F7F4EF 0%, #EDE6DC 50%, #E8EFE8 100%);
    --ind-bg-hover: linear-gradient(155deg, #F3EBDF 0%, #E4F0E6 45%, #F6D4A8 100%);
}

.industry-card--retail {
    --ind-bg: linear-gradient(155deg, #FFF8F0 0%, #F3E8DA 55%, #EDE4D8 100%);
    --ind-bg-hover: linear-gradient(155deg, #FFE8CC 0%, #F8C98A 55%, #F68C1F 140%);
}

.industry-card--agriculture {
    --ind-bg: linear-gradient(155deg, #F4F6F0 0%, #E8EDE3 50%, #F0E9DF 100%);
    --ind-bg-hover: linear-gradient(155deg, #EAF0E4 0%, #D8E6C8 50%, #F5D7B0 100%);
}

.industry-card--events {
    --ind-bg: linear-gradient(155deg, #F8F4EE 0%, #EFE6DC 45%, #F2E8E0 100%);
    --ind-bg-hover: linear-gradient(155deg, #2E2E2E 0%, #3D342C 45%, #F68C1F 160%);
    --ind-border-hover: rgba(246, 140, 31, 0.55);
}

.industry-card--events:hover .industry-card__title,
.industry-card--events:hover .industry-card__desc,
.industry-card--events:hover .industry-card__link {
    color: #fff;
}

.industry-card--events:hover .industry-card__icon {
    background: rgba(246, 140, 31, 0.28);
    color: #FFB347;
}

.industry-card:hover {
    background: var(--ind-bg-hover);
    border-color: var(--ind-border-hover);
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.08);
    transform: translateY(-3px);
}

.industry-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--ind-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    transition: background 0.35s ease, color 0.35s ease;
}

.industry-card:hover .industry-card__icon {
    background: var(--ind-icon-bg-hover);
}

.industry-card__title {
    font-size: var(--text-display-sm);
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.75rem;
    line-height: var(--leading-snug);
    transition: color 0.35s ease;
}

.industry-card__desc {
    font-size: var(--text-body-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-muted);
    flex: 1;
    margin-bottom: 1.25rem;
    transition: color 0.35s ease;
}

.industry-card__link {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.35s ease;
}

.industry-card:hover .industry-card__link {
    color: var(--color-ink);
}

/* Phase 2 — Delivery standards */
.delivery-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .delivery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.delivery-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.delivery-card:hover {
    border-color: rgba(246, 140, 31, 0.3);
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.05);
}

.delivery-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background: var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.delivery-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
}

.delivery-card__desc {
    font-size: var(--text-caption);
    line-height: var(--leading-relaxed);
    color: var(--color-muted);
}

.delivery-panel {
    background: var(--color-navy);
    border-radius: 1.25rem;
    padding: 2rem;
    color: #fff;
}

@media (min-width: 768px) {
    .delivery-panel {
        padding: 2.5rem 3rem;
    }
}

.delivery-panel__title {
    font-size: var(--text-display-md);
    font-weight: 800;
    line-height: var(--leading-tight);
    margin-bottom: 0.75rem;
}

.delivery-panel__text {
    font-size: var(--text-body);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
}

.delivery-checklist {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.delivery-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: var(--text-body-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--leading-normal);
}

.delivery-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: rgba(246, 140, 31, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F68C1F' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 0.75rem;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-before: always;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.focus-visible:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ========================================
   Dark Mode Support (Future Enhancement)
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here in the future */
}

/* ========================================
   High Contrast Mode Support
   ======================================== */
@media (prefers-contrast: high) {
    .animate-border-spin::before {
        background-image: conic-gradient(transparent, rgba(0, 0, 0, 0.9), transparent 25%);
    }
}

/* ========================================
   Case Study Layout (Project Details)
   ======================================== */
.case-study {
    background: #fafafa;
}

.case-study-hero {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

@media (min-width: 640px) {
    .case-study-hero {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }
}

.case-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.case-breadcrumb a {
    color: #6b7280;
    transition: color 0.2s;
}

.case-breadcrumb a:hover {
    color: #F68C1F;
}

.case-breadcrumb span {
    color: #d1d5db;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.case-meta-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #F68C1F;
    background: rgba(246, 140, 31, 0.08);
    border: 1px solid rgba(246, 140, 31, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.case-laptop {
    position: relative;
    max-width: 100%;
}

.case-laptop-screen {
    background: #1f2937;
    border-radius: 1rem 1rem 0 0;
    padding: 0.65rem 0.65rem 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.case-laptop-bezel {
    background: #111827;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    border: 2px solid #374151;
}

.case-laptop-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.case-laptop-base {
    height: 1rem;
    background: linear-gradient(to bottom, #d1d5db, #9ca3af);
    border-radius: 0 0 1.25rem 1.25rem;
    margin: 0 8%;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.case-laptop-notch {
    width: 4rem;
    height: 0.35rem;
    background: #6b7280;
    border-radius: 0 0 0.5rem 0.5rem;
    margin: 0 auto;
}

.case-hero-scene {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 45%, #e0f2fe 100%);
    border-radius: 1rem;
    overflow: hidden;
    padding: 1.5rem 1rem 1rem;
}

@media (min-width: 640px) {
    .case-hero-scene {
        min-height: 380px;
        padding: 2rem 1.5rem 1.25rem;
    }
}

.case-hero-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
    pointer-events: none;
}

.case-hero-scene__icons {
    position: absolute;
    left: 0.75rem;
    top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

@media (min-width: 640px) {
    .case-hero-scene__icons {
        left: 1.25rem;
        top: 1.75rem;
        gap: 0.625rem;
    }
}

.case-hero-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: #fff;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

@media (min-width: 640px) {
    .case-hero-icon {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.75rem;
    }
}

.case-hero-scene__stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 260px;
    padding-top: 0.5rem;
}

@media (min-width: 640px) {
    .case-hero-scene__stage {
        min-height: 300px;
    }
}

.case-hero-scene__monitor {
    position: relative;
    z-index: 1;
    width: 72%;
    max-width: 420px;
    transform: perspective(900px) rotateY(-4deg);
}

.case-hero-scene__monitor-frame {
    background: #1f2937;
    border-radius: 0.625rem 0.625rem 0 0;
    padding: 0.45rem 0.45rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.case-hero-scene__monitor-screen {
    background: #fff;
    border-radius: 0.25rem 0.25rem 0 0;
    overflow: hidden;
    line-height: 0;
}

.case-hero-scene__monitor-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.case-hero-scene__monitor-neck {
    width: 2.5rem;
    height: 1.25rem;
    background: linear-gradient(to bottom, #374151, #1f2937);
    margin: 0 auto;
}

.case-hero-scene__monitor-stand {
    width: 5.5rem;
    height: 0.45rem;
    background: #374151;
    border-radius: 0 0 0.25rem 0.25rem;
    margin: 0 auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.case-hero-scene__phone {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    width: 26%;
    max-width: 110px;
    z-index: 3;
    transform: perspective(900px) rotateY(-8deg) rotateZ(3deg);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

@media (min-width: 640px) {
    .case-hero-scene__phone {
        right: 0.5rem;
        bottom: 1rem;
        max-width: 130px;
    }
}

.case-hero-scene__phone-frame {
    background: #111827;
    border-radius: 1rem;
    padding: 0.35rem;
    border: 2px solid #374151;
}

.case-hero-scene__phone-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

.case-hero-scene__printer {
    position: absolute;
    left: 0.5rem;
    bottom: 0.25rem;
    width: 22%;
    max-width: 90px;
    z-index: 2;
    opacity: 0.92;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

@media (min-width: 640px) {
    .case-hero-scene__printer {
        left: 1rem;
        bottom: 0.75rem;
        max-width: 100px;
    }
}

.case-hero-scene__printer img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.375rem;
}

.case-study-body {
    padding: 3rem 0 4rem;
}

@media (min-width: 1024px) {
    .case-study-body {
        padding: 4rem 0 5rem;
    }
}

.case-study-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .case-study-grid {
        grid-template-columns: 280px 1fr;
        gap: 4rem;
        align-items: start;
    }
}

.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .case-sidebar {
        position: sticky;
        top: 5.5rem;
    }
}

.case-sidebar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
}

.case-sidebar-card h3 {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.case-fact {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.case-fact:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.case-fact dt {
    color: #6b7280;
    flex-shrink: 0;
}

.case-fact dd {
    color: #2E2E2E;
    font-weight: 600;
    text-align: right;
}

.case-nav a {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.2s;
}

.case-nav a:last-child {
    border-bottom: none;
}

.case-nav a:hover {
    color: #F68C1F;
}

.case-section {
    margin-bottom: 4rem;
}

.case-section:last-child {
    margin-bottom: 0;
}

.case-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F68C1F;
    margin-bottom: 0.75rem;
}

.case-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 1rem;
    line-height: 1.25;
}

@media (min-width: 640px) {
    .case-section-title {
        font-size: 2rem;
    }
}

.case-prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4b5563;
}

.case-prose p + p {
    margin-top: 1rem;
}

.case-challenge-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .case-challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-challenge-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.case-challenge-card:hover {
    border-color: rgba(246, 140, 31, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.case-challenge-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.375rem;
}

.case-challenge-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

.case-feature-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .case-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.case-feature-card:hover {
    border-color: rgba(246, 140, 31, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.case-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgba(246, 140, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #F68C1F;
}

.case-feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.5rem;
}

.case-feature-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.case-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-feature-list li {
    font-size: 0.8125rem;
    color: #4b5563;
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.case-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 9999px;
    background: #F68C1F;
}

.case-module-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .case-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-module-group {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.case-module-group h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #F68C1F;
    margin-bottom: 0.75rem;
}

.case-module-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-module-group li {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.case-module-group li:last-child {
    border-bottom: none;
}

.case-bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .case-bento {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: minmax(120px, auto);
    }

    .case-bento-item--hero {
        grid-column: span 12;
    }

    .case-bento-item--wide {
        grid-column: span 8;
    }

    .case-bento-item--tall {
        grid-column: span 4;
    }

    .case-bento-item--half {
        grid-column: span 6;
    }
}

.case-bento-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.case-bento-item:hover {
    border-color: rgba(246, 140, 31, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.case-bento-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.case-bento-item:hover img {
    transform: scale(1.01);
}

.case-bento-caption {
    padding: 1rem 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.case-bento-caption h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.25rem;
}

.case-bento-caption p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

.case-outcomes {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .case-outcomes {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-outcome-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.case-outcome-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgba(246, 140, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F68C1F;
}

.case-outcome-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 0.25rem;
}

.case-outcome-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

.case-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.case-related a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2E2E2E;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: border-color 0.2s, color 0.2s;
}

.case-related a:hover {
    border-color: #F68C1F;
    color: #F68C1F;
}

.case-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #F68C1F;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    transition: background 0.2s;
}

.case-btn-primary:hover {
    background: #e07a15;
}

.case-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    color: #2E2E2E;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s, color 0.2s;
}

.case-btn-secondary:hover {
    border-color: #F68C1F;
    color: #F68C1F;
}

.case-hero-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F68C1F;
    margin-bottom: 1rem;
}

.case-hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
    margin-top: 0.75rem;
}

.case-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.case-trust-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
}

.case-why-band {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 3.5rem 0;
}

@media (min-width: 640px) {
    .case-why-band {
        padding: 4.5rem 0;
    }
}

.case-why-band-inner {
    max-width: 48rem;
}

.case-why-band .case-section-label {
    margin-bottom: 1rem;
}

.case-why-band h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2E2E2E;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .case-why-band h2 {
        font-size: 2.25rem;
    }
}

.case-why-band p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4b5563;
}

.case-offerings-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.case-offerings-intro p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 42rem;
    margin-top: 0.75rem;
}

.case-section-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
}

.case-section-panel .case-feature-card {
    background: #fafafa;
}

.case-section-panel .case-bento-item {
    border-color: #e5e7eb;
}

@media (min-width: 640px) {
    .case-section-panel {
        padding: 2.5rem;
    }
}

.case-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tech-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2E2E2E;
    background: #f3f4f6;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
}

.case-cta-band {
    background: #2E2E2E;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .case-cta-band {
        padding: 3.5rem 3rem;
    }
}

.case-cta-band h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .case-cta-band h2 {
        font-size: 1.875rem;
    }
}

.case-cta-band p {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 1.75rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.case-cta-band-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 480px) {
    .case-cta-band-actions {
        flex-direction: row;
    }
}

.case-cta-band .case-btn-primary {
    min-width: 10rem;
}

.case-cta-band .case-btn-cta-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.2s, background 0.2s;
}

.case-cta-band .case-btn-cta-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ========================================
   Projects mega menu
   ======================================== */
.projects-mega {
    position: fixed;
    top: 4.75rem;
    left: 50%;
    right: auto;
    width: min(56rem, calc(100vw - 3rem));
    max-width: calc(100vw - 3rem);
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    z-index: 60;
}

/* Hover bridge so the panel stays open while moving from the Projects button */
#projects-mega::after {
    content: "";
    position: absolute;
    left: -2rem;
    right: -2rem;
    top: 100%;
    height: 1.25rem;
}

.projects-mega__inner {
    display: grid;
    grid-template-columns: 14rem 1fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.875rem;
    box-shadow: 0 20px 48px rgba(26, 26, 26, 0.12);
    overflow: hidden;
    min-height: 22rem;
}

.projects-mega__cats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0.85rem;
    background: var(--color-cream-dark);
    border-right: 1px solid var(--color-border);
}

.projects-mega__cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 0.9rem 0.85rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.projects-mega__cat::after {
    content: "→";
    opacity: 0.35;
    font-weight: 500;
}

.projects-mega__cat:hover,
.projects-mega__cat.is-active {
    background: rgba(246, 140, 31, 0.16);
    color: var(--color-ink);
}

.projects-mega__cat.is-active::after {
    opacity: 1;
    color: var(--color-primary);
}

.projects-mega__panels {
    padding: 1.5rem 2.25rem 1.75rem 1.75rem;
    min-height: 22rem;
}

.projects-mega__panel[hidden] {
    display: none;
}

.projects-mega__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.projects-mega__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.projects-mega__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.2;
}

.projects-mega__viewall {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.projects-mega__viewall:hover {
    color: var(--color-ink);
}

.projects-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.projects-mega__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.1rem;
    min-height: 3.25rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-cream);
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.projects-mega__link::before {
    content: "↗";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(246, 140, 31, 0.15);
    color: var(--color-primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.projects-mega__link:hover {
    border-color: rgba(246, 140, 31, 0.45);
    background: #fff;
    color: var(--color-ink);
    transform: translateY(-1px);
}

/* ========================================
   Homepage redesign — 2026
   ======================================== */
.font-display {
    font-family: var(--font-display);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100%;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--color-ink);
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

/* Quiet CTAs — no border-spin */
.btn-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.25;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-quiet--solid {
    background: var(--color-secondary);
    color: #fff;
    border: 1px solid transparent;
}

.btn-quiet--solid:hover {
    background: var(--color-ink);
    color: #fff;
}

.btn-quiet--primary {
    background: var(--color-primary);
    color: #fff;
    border: 1px solid transparent;
}

.btn-quiet--primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-quiet--ghost {
    background: transparent;
    color: var(--color-secondary);
    border: 1px solid transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.btn-quiet--ghost:hover {
    color: var(--color-primary);
}

.btn-quiet--on-dark {
    background: #fff;
    color: var(--color-secondary);
    border: 1px solid transparent;
}

.btn-quiet--on-dark:hover {
    background: var(--color-cream);
    color: var(--color-ink);
}

/* Cream-silver cards with orange top accent */
.hp-accent-card {
    background: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    border-top: 3px solid #F8972A;
    border-radius: 0.875rem;
    box-shadow: none;
}

.hp-project-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid #F8972A;
    border-radius: 0.875rem;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.hp-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08);
}

/* Hero — clear AI + devices story composition */
.hp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    background: linear-gradient(120deg, #F9F7F4 0%, #F3EEE7 42%, #E8EEF5 100%);
}

.hp-hero--story {
    background: #1a1a1a;
}

.hp-hero--photo {
    color: #fff;
}

.hp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hp-hero__slides {
    position: absolute;
    inset: 0;
}

.hp-hero__slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s ease;
    will-change: opacity, transform;
}

.hp-hero__slide.is-active {
    opacity: 1;
    animation: hp-hero-media-drift 28s ease-in-out infinite alternate;
}

.hp-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    z-index: 12;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
    pointer-events: auto;
}

.hp-hero__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.25s, width 0.25s;
}

.hp-hero__dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.hp-hero__dot.is-active {
    width: 1.35rem;
    background: #F68C1F;
    border-color: #F68C1F;
}

.hp-hero__photo-tint {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(20, 18, 16, 0.78) 0%, rgba(30, 26, 24, 0.55) 42%, rgba(24, 20, 28, 0.45) 72%, rgba(18, 16, 22, 0.62) 100%),
        linear-gradient(180deg, rgba(15, 14, 13, 0.35) 0%, transparent 28%, transparent 72%, rgba(15, 14, 13, 0.5) 100%);
}

.hp-hero__photo-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 18% 45%, rgba(246, 140, 31, 0.2), transparent 55%),
        radial-gradient(ellipse 40% 50% at 88% 28%, rgba(255, 179, 71, 0.12), transparent 50%),
        radial-gradient(ellipse 35% 45% at 72% 82%, rgba(30, 41, 59, 0.22), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.9;
    animation: hp-mesh-shift 22s ease-in-out infinite;
}

.hp-hero__mesh {
    position: absolute;
    inset: -20%;
    background:
        linear-gradient(125deg, #F9F7F4 0%, #F0EDE8 35%, rgba(246, 140, 31, 0.12) 55%, #F9F7F4 78%, #EEF3F9 100%);
    background-size: 200% 200%;
    animation: hp-mesh-shift 22s ease-in-out infinite;
    opacity: 0.85;
}

.hp-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    will-change: transform;
}

.hp-hero__orb--a {
    width: min(52vw, 420px);
    height: min(52vw, 420px);
    top: 8%;
    right: -6%;
    background: radial-gradient(circle, rgba(246, 140, 31, 0.38) 0%, transparent 70%);
    animation: hp-orb-drift-a 18s ease-in-out infinite;
}

.hp-hero__orb--b {
    width: min(44vw, 360px);
    height: min(44vw, 360px);
    bottom: 12%;
    left: -8%;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.35) 0%, transparent 70%);
    animation: hp-orb-drift-b 24s ease-in-out infinite;
}

.hp-hero__orb--c {
    width: min(36vw, 280px);
    height: min(36vw, 280px);
    top: 42%;
    left: 42%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.2) 0%, transparent 70%);
    animation: hp-orb-drift-a 20s ease-in-out infinite reverse;
}

/* Hero AI atmosphere FX layer */
.hp-hero__fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hp-hero__par {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.hp-hero__grid {
    position: absolute;
    inset: -8%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(700px) rotateX(58deg) translateY(-8%) scale(1.35);
    transform-origin: center top;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
    opacity: 0.55;
    will-change: transform;
}

.hp-hero__dataflow {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            105deg,
            transparent 0,
            transparent 18px,
            rgba(246, 140, 31, 0.035) 18px,
            rgba(246, 140, 31, 0.035) 19px
        );
    mask-image: radial-gradient(ellipse 70% 60% at 35% 45%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 35% 45%, #000 20%, transparent 75%);
    animation: hp-dataflow-drift 18s linear infinite;
    opacity: 0.7;
    will-change: transform;
}

/* AI Data Vortex — load-loop, CSS only */
.hp-hero__vortex {
    position: absolute;
    top: 42%;
    right: 8%;
    width: min(52vw, 420px);
    height: min(52vw, 420px);
    margin-right: -2%;
    margin-top: calc(min(52vw, 420px) / -2);
    opacity: 0.72;
    will-change: transform;
}

@media (max-width: 1023px) {
    .hp-hero__vortex {
        top: auto;
        bottom: 18%;
        right: 50%;
        width: min(70vw, 320px);
        height: min(70vw, 320px);
        margin-right: calc(min(70vw, 320px) / -2);
        margin-top: 0;
        opacity: 0.42;
    }
}

.hp-vortex__glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 140, 31, 0.28) 0%, rgba(255, 179, 71, 0.08) 42%, transparent 70%);
    animation: hp-vortex-pulse 6s ease-in-out infinite;
    filter: blur(8px);
}

.hp-vortex__core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14%;
    height: 14%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(246, 140, 31, 0.9) 45%, rgba(217, 119, 6, 0.2) 100%);
    box-shadow:
        0 0 24px rgba(246, 140, 31, 0.55),
        0 0 48px rgba(246, 140, 31, 0.25);
    animation: hp-vortex-core-pulse 4.5s ease-in-out infinite;
}

.hp-vortex__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 179, 71, 0.22);
    border-top-color: rgba(246, 140, 31, 0.7);
    border-right-color: rgba(255, 255, 255, 0.18);
    animation: hp-vortex-spin-centered linear infinite;
}

.hp-vortex__ring--1 {
    width: 34%;
    height: 34%;
    margin: -17% 0 0 -17%;
    animation-duration: 10s;
}

.hp-vortex__ring--2 {
    width: 52%;
    height: 52%;
    margin: -26% 0 0 -26%;
    animation-duration: 16s;
    animation-direction: reverse;
    border-style: dashed;
    border-width: 1.5px;
    opacity: 0.85;
}

.hp-vortex__ring--3 {
    width: 72%;
    height: 72%;
    margin: -36% 0 0 -36%;
    animation-duration: 22s;
    border-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(246, 140, 31, 0.55);
    border-bottom-color: rgba(255, 179, 71, 0.35);
}

.hp-vortex__ring--4 {
    width: 92%;
    height: 92%;
    margin: -46% 0 0 -46%;
    animation-duration: 28s;
    animation-direction: reverse;
    border-style: dotted;
    border-width: 2px;
    opacity: 0.7;
}

.hp-vortex__spiral {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background:
        conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(246, 140, 31, 0.18) 40deg,
            transparent 80deg,
            rgba(255, 179, 71, 0.12) 140deg,
            transparent 180deg,
            rgba(246, 140, 31, 0.16) 240deg,
            transparent 280deg,
            rgba(255, 255, 255, 0.1) 320deg,
            transparent 360deg
        );
    mask-image: radial-gradient(circle, transparent 18%, #000 28%, #000 62%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle, transparent 18%, #000 28%, #000 62%, transparent 78%);
    animation: hp-vortex-spin 18s linear infinite;
    opacity: 0.8;
}

.hp-vortex__bits {
    position: absolute;
    inset: 0;
    animation: hp-vortex-spin 14s linear infinite;
}

.hp-vortex__bit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 2px;
    background: rgba(255, 179, 71, 0.95);
    box-shadow: 0 0 10px rgba(246, 140, 31, 0.7);
    animation: hp-vortex-bit-pulse 2.4s ease-in-out infinite;
}

.hp-vortex__bit:nth-child(1) { transform: rotate(0deg) translateX(38%) rotate(45deg); animation-delay: 0s; }
.hp-vortex__bit:nth-child(2) { transform: rotate(45deg) translateX(48%) rotate(45deg); width: 3px; height: 3px; animation-delay: -0.3s; }
.hp-vortex__bit:nth-child(3) { transform: rotate(90deg) translateX(56%) rotate(45deg); animation-delay: -0.6s; }
.hp-vortex__bit:nth-child(4) { transform: rotate(135deg) translateX(42%) rotate(45deg); width: 4px; height: 4px; animation-delay: -0.9s; }
.hp-vortex__bit:nth-child(5) { transform: rotate(180deg) translateX(62%) rotate(45deg); animation-delay: -1.2s; }
.hp-vortex__bit:nth-child(6) { transform: rotate(225deg) translateX(50%) rotate(45deg); width: 3px; height: 3px; animation-delay: -1.5s; }
.hp-vortex__bit:nth-child(7) { transform: rotate(270deg) translateX(68%) rotate(45deg); animation-delay: -1.8s; }
.hp-vortex__bit:nth-child(8) { transform: rotate(315deg) translateX(54%) rotate(45deg); width: 4px; height: 4px; animation-delay: -2.1s; }

@keyframes hp-vortex-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hp-vortex-spin-centered {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hp-vortex-pulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

@keyframes hp-vortex-core-pulse {
    0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes hp-vortex-bit-pulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

.hp-hero__neural {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
}

.hp-hero__bubbles,
.hp-hero__crystals,
.hp-hero__particles {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.hp-bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 42%, rgba(246, 140, 31, 0.12) 100%);
    box-shadow:
        inset 0 0 18px rgba(255, 255, 255, 0.18),
        0 8px 28px rgba(0, 0, 0, 0.12);
    animation: hp-bubble-float 16s ease-in-out infinite;
}

.hp-bubble--1 { width: 72px; height: 72px; top: 14%; left: 8%; animation-duration: 18s; }
.hp-bubble--2 { width: 44px; height: 44px; top: 28%; left: 22%; animation-duration: 14s; animation-delay: -3s; }
.hp-bubble--3 { width: 58px; height: 58px; top: 18%; right: 18%; animation-duration: 20s; animation-delay: -6s; }
.hp-bubble--4 { width: 36px; height: 36px; top: 55%; left: 12%; animation-duration: 15s; animation-delay: -2s; opacity: 0.75; }
.hp-bubble--5 { width: 88px; height: 88px; bottom: 16%; right: 10%; animation-duration: 22s; animation-delay: -8s; opacity: 0.65; }
.hp-bubble--6 { width: 28px; height: 28px; top: 42%; right: 28%; animation-duration: 12s; animation-delay: -4s; }
.hp-bubble--7 { width: 48px; height: 48px; bottom: 28%; left: 38%; animation-duration: 17s; animation-delay: -5s; opacity: 0.7; }
.hp-bubble--8 { width: 22px; height: 22px; top: 68%; right: 36%; animation-duration: 13s; animation-delay: -1s; }

.hp-crystal {
    position: absolute;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(246, 140, 31, 0.45) 55%, rgba(255, 179, 71, 0.2));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 18px rgba(246, 140, 31, 0.35);
    animation: hp-crystal-spin 14s ease-in-out infinite;
    opacity: 0.75;
}

.hp-crystal--1 { top: 22%; left: 48%; animation-duration: 16s; }
.hp-crystal--2 { top: 62%; left: 18%; width: 18px; height: 18px; animation-duration: 12s; animation-delay: -4s; }
.hp-crystal--3 { top: 36%; right: 14%; width: 22px; height: 22px; animation-duration: 18s; animation-delay: -7s; }

.hp-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 179, 71, 0.85);
    box-shadow: 0 0 8px rgba(246, 140, 31, 0.55);
    animation: hp-particle-drift 10s ease-in-out infinite;
}

.hp-particle:nth-child(1)  { top: 12%; left: 18%; animation-delay: 0s; }
.hp-particle:nth-child(2)  { top: 20%; left: 62%; animation-delay: -1.2s; width: 2px; height: 2px; }
.hp-particle:nth-child(3)  { top: 34%; left: 8%; animation-delay: -2.4s; }
.hp-particle:nth-child(4)  { top: 40%; left: 78%; animation-delay: -0.8s; width: 2px; height: 2px; }
.hp-particle:nth-child(5)  { top: 52%; left: 30%; animation-delay: -3.1s; }
.hp-particle:nth-child(6)  { top: 58%; left: 88%; animation-delay: -1.7s; }
.hp-particle:nth-child(7)  { top: 70%; left: 14%; animation-delay: -4s; width: 2px; height: 2px; }
.hp-particle:nth-child(8)  { top: 74%; left: 54%; animation-delay: -2.2s; }
.hp-particle:nth-child(9)  { top: 16%; left: 42%; animation-delay: -5s; }
.hp-particle:nth-child(10) { top: 46%; left: 50%; animation-delay: -3.6s; width: 2px; height: 2px; }
.hp-particle:nth-child(11) { top: 82%; left: 72%; animation-delay: -1s; }
.hp-particle:nth-child(12) { top: 28%; left: 90%; animation-delay: -4.5s; }

.hp-hero__waves {
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: 0;
    height: clamp(140px, 28vh, 260px);
    overflow: hidden;
    opacity: 0.7;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
}

.hp-hero__waves-svg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    animation: hp-wave-scroll 18s linear infinite;
}

.hp-hero__waves-svg--dup {
    left: 100%;
}

.hp-wave {
    animation: hp-wave-bob 9s ease-in-out infinite;
}

.hp-wave--1 {
    fill: rgba(246, 140, 31, 0.16);
    animation-duration: 10s;
}

.hp-wave--2 {
    fill: rgba(255, 255, 255, 0.08);
    animation-duration: 13s;
    animation-delay: -3s;
}

.hp-wave--3 {
    fill: rgba(30, 41, 59, 0.22);
    animation-duration: 11s;
    animation-delay: -5s;
}

.hp-hero__softlight {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 35% at 25% 30%, rgba(246, 140, 31, 0.14), transparent 70%),
        radial-gradient(ellipse 35% 30% at 75% 65%, rgba(255, 255, 255, 0.08), transparent 70%);
    animation: hp-softlight-pulse 10s ease-in-out infinite;
    mix-blend-mode: soft-light;
}

@keyframes hp-dataflow-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-40px, 18px, 0); }
}

@keyframes hp-bubble-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(10px, -18px, 0) scale(1.05); }
}

@keyframes hp-crystal-spin {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.65; }
    50% { transform: translateY(-14px) rotate(28deg) scale(1.08); opacity: 0.9; }
}

@keyframes hp-particle-drift {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.35; }
    50% { transform: translate3d(6px, -14px, 0); opacity: 0.95; }
}

@keyframes hp-softlight-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.9; }
}

@keyframes hp-wave-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-100%, 0, 0); }
}

@keyframes hp-wave-bob {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

.hp-hero__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 8rem);
}

@media (min-width: 1024px) {
    .hp-hero__layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 2.5rem 1.5rem;
    }
}

.hp-hero__copy {
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: 0.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hp-hero__copy {
        margin-left: 0;
        margin-right: 0;
        max-width: 34rem;
    }
}

.hp-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFB347;
    opacity: 0;
    transform: translateY(16px);
    animation: hp-hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

.hp-hero--photo .hp-brand {
    color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hp-hero--photo .hp-hero__headline {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hp-hero--photo .hp-hero__sub {
    color: rgba(255, 255, 255, 0.78);
}

.hp-hero--photo .btn-quiet--on-dark {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
}

.hp-hero--photo .btn-quiet--on-dark:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

/* Clear, readable stage for AI + devices image */
.hp-hero__stage {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 1.25rem;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.22),
        0 0 48px rgba(246, 140, 31, 0.18);
    opacity: 0;
    transform: translateY(28px);
    animation: hp-hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@media (min-width: 1024px) {
    .hp-hero__stage {
        max-width: none;
        margin: 0;
        min-height: min(68vh, 560px);
    }
}

.hp-hero__stage-glow {
    position: absolute;
    inset: -20%;
    z-index: 0;
    background:
        radial-gradient(circle at 70% 40%, rgba(246, 140, 31, 0.35), transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(120, 90, 255, 0.28), transparent 50%);
    animation: hp-orb-drift-c 16s ease-in-out infinite;
    pointer-events: none;
}

.hp-hero__stage-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: min(58vh, 520px);
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.04);
    animation: hp-hero-media-drift 22s ease-in-out infinite alternate;
    will-change: transform;
}

.hp-hero--photo .hp-hero__stage {
    background:
        linear-gradient(145deg, rgba(18, 16, 22, 0.5), rgba(28, 22, 18, 0.25)),
        url('../assets/images/hero-team-lights.jpg') 72% center / cover no-repeat;
    backdrop-filter: blur(0);
}

.hp-hero--photo .hp-hero__stage-img {
    /* Soft edge so team/lights BG reads through the code panel */
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at 55% 50%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 95% 90% at 55% 50%, #000 55%, transparent 100%);
}

@media (min-width: 1024px) {
    .hp-hero__stage-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        min-height: 0;
    }
}

/* Soft code-scan shimmer over the React image */
.hp-hero__code-scan {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.14) 50%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: hp-code-scan 7.5s ease-in-out infinite;
    mix-blend-mode: soft-light;
}

.hp-float {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
}

.hp-float--cube {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.55rem;
    top: 14%;
    left: 8%;
    background: linear-gradient(145deg, rgba(246, 140, 31, 0.45), rgba(255, 255, 255, 0.2));
    animation: hp-shape-float 11s ease-in-out infinite;
}

.hp-float--orb {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    top: 22%;
    right: 12%;
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.55), rgba(255, 255, 255, 0.25));
    animation: hp-shape-float 14s ease-in-out infinite reverse;
}

.hp-float--chip {
    width: 3.5rem;
    height: 1.15rem;
    border-radius: 999px;
    bottom: 18%;
    left: 14%;
    background: linear-gradient(90deg, rgba(246, 140, 31, 0.5), rgba(255, 179, 71, 0.25));
    animation: hp-shape-float 13s ease-in-out infinite;
}

.hp-float--dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    border: none;
    bottom: 28%;
    right: 18%;
    background: #F68C1F;
    box-shadow: 0 0 12px rgba(246, 140, 31, 0.7);
    animation: hp-code-pulse 2.8s ease-in-out infinite;
}

@keyframes hp-hero-media-drift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.09) translate3d(-1.5%, 1%, 0);
    }
}

@keyframes hp-shape-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(6deg); }
}

@keyframes hp-code-scan {
    0% { background-position: 120% 0; }
    100% { background-position: -40% 0; }
}

@keyframes hp-code-pulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.35); }
}

.hp-brand {
    font-size: clamp(2rem, 5.2vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--color-ink);
    margin-bottom: 1.1rem;
    opacity: 0;
    transform: translateY(22px);
    animation: hp-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.hp-hero__headline {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.28;
    color: var(--color-secondary);
    margin-bottom: 1.15rem;
    max-width: 38rem;
    opacity: 0;
    transform: translateY(22px);
    animation: hp-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.hp-hero__accent {
    display: inline;
    background: linear-gradient(105deg, #F68C1F 0%, #FFB347 55%, #D97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp-hero__sub {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
    font-weight: 400;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 34rem;
    opacity: 0;
    transform: translateY(18px);
    animation: hp-hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.hp-hero__ctas {
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(16px);
    animation: hp-hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.44s forwards;
}

.btn-quiet--lg {
    padding: 0.95rem 1.85rem;
    font-size: 1rem;
    box-shadow: 0 10px 28px rgba(246, 140, 31, 0.28);
}

.btn-quiet--primary.btn-quiet--lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(246, 140, 31, 0.35);
}

.hp-hero__visual {
    margin-top: clamp(2.25rem, 6vh, 4rem);
}

.hp-hero__mockup {
    margin: 0;
    opacity: 0;
    transform: translateY(36px);
    animation: hp-hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
    will-change: transform;
}

.hp-hero__glass {
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-bottom: none;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow:
        0 -12px 48px rgba(26, 26, 26, 0.1),
        0 0 0 1px rgba(232, 228, 222, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hp-hero__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 237, 232, 0.55));
    border-bottom: 1px solid rgba(232, 228, 222, 0.8);
}

.hp-hero__chrome span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #E8E4DE;
}

.hp-hero__chrome span:nth-child(1) { background: #F68C1F; opacity: 0.85; }
.hp-hero__chrome span:nth-child(2) { background: #FFB347; opacity: 0.75; }
.hp-hero__chrome span:nth-child(3) { background: #D97706; opacity: 0.55; }

.hp-hero__screen {
    background: var(--color-surface);
}

.hp-hero__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(52vh, 540px);
    object-fit: cover;
    object-position: top center;
}

@keyframes hp-mesh-shift {
    0%, 100% { background-position: 0% 40%; }
    50% { background-position: 100% 60%; }
}

@keyframes hp-orb-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-4%, 6%) scale(1.08); }
}

@keyframes hp-orb-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6%, -5%) scale(1.06); }
}

@keyframes hp-orb-drift-c {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3%, 4%); }
}

@keyframes hp-grid-pan {
    from { background-position: 0 0; }
    to { background-position: 56px 56px; }
}

@keyframes hp-shape-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes hp-hero-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section ambient layers */
.hp-section {
    position: relative;
    isolation: isolate;
}

.hp-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hp-ambient__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform;
}

.hp-ambient__orb--soft {
    width: min(50vw, 380px);
    height: min(50vw, 380px);
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(246, 140, 31, 0.12) 0%, transparent 70%);
    animation: hp-orb-drift-a 28s ease-in-out infinite;
}

.hp-ambient__orb--warm {
    width: min(55vw, 420px);
    height: min(55vw, 420px);
    bottom: -15%;
    left: -8%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.16) 0%, transparent 70%);
    animation: hp-orb-drift-b 26s ease-in-out infinite;
}

.hp-ambient__orb--primary {
    width: min(48vw, 400px);
    height: min(48vw, 400px);
    top: 10%;
    left: -10%;
    background: radial-gradient(circle, rgba(246, 140, 31, 0.22) 0%, transparent 70%);
    animation: hp-orb-drift-a 22s ease-in-out infinite;
}

.hp-ambient__orb--accent {
    width: min(40vw, 320px);
    height: min(40vw, 320px);
    bottom: 5%;
    right: -8%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.12) 0%, transparent 70%);
    animation: hp-orb-drift-b 24s ease-in-out infinite;
}

.hp-ambient__grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(246, 140, 31, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 140, 31, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 10%, transparent 70%);
    animation: hp-grid-pan 50s linear infinite;
}

.hp-ambient__grid--dark {
    opacity: 0.25;
}

/* Benefits */
.hp-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hp-benefit {
    --benefit-rail: var(--color-primary);

    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--benefit-rail);
    border-radius: 0.75rem;
}

.hp-benefit--1 { --benefit-rail: #3A8F5C; }
.hp-benefit--2 { --benefit-rail: #2B7EB5; }
.hp-benefit--3 { --benefit-rail: #1E293B; }
.hp-benefit--4 { --benefit-rail: #F68C1F; }

.hp-benefit__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    flex-shrink: 0;
    align-self: stretch;
    margin: 0;
    padding: 1rem 0.35rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--benefit-rail);
}

.hp-benefit__body {
    flex: 1;
    min-width: 0;
    padding: 1.15rem 1.25rem;
}

.hp-benefit__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-ink);
    margin: 0 0 0.35rem;
}

.hp-benefit__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-muted);
}

/* FAQ */
.hp-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hp-faq__item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid #F8972A;
    border-radius: 0.75rem;
    overflow: hidden;
}

.hp-faq__q {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hp-faq__q::-webkit-details-marker {
    display: none;
}

.hp-faq__q::after {
    content: '+';
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgba(246, 140, 31, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 600;
    transition: transform 0.2s;
}

.hp-faq__item[open] .hp-faq__q::after {
    content: '−';
}

.hp-faq__a {
    padding: 0 1.25rem 1.2rem;
}

.hp-faq__a p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-muted);
}

/* Scroll reveals — CSS + IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Services grid — footer-image cards (reference layout) */
.hp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .hp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hp-services-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.75rem;
    }
    .hp-services-grid > .service-card:nth-child(1),
    .hp-services-grid > .service-card:nth-child(2),
    .hp-services-grid > .service-card:nth-child(3) {
        grid-column: span 2;
    }
    .hp-services-grid > .service-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .hp-services-grid > .service-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.service-card--footer-media {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(232, 228, 222, 0.9);
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card--footer-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(26, 26, 26, 0.1);
}

.service-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2rem 1.75rem 1.25rem;
}

.service-card__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.service-card__desc {
    margin: 0 0 1.35rem;
    flex: 1;
    font-size: 0.975rem;
    line-height: 1.65;
    color: #5b6470;
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.service-card__cta:hover {
    color: var(--color-primary);
    gap: 0.65rem;
}

.service-card__media {
    position: relative;
    height: 11.5rem;
    margin-top: auto;
    overflow: hidden;
    background: #f0ede8;
}

.service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.service-card--footer-media:hover .service-card__media img {
    transform: scale(1.05);
}

.hp-service-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background: rgba(246, 140, 31, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Process rail */
.hp-process-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

@media (min-width: 640px) {
    .hp-process-rail {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hp-process-rail {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.hp-process-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #F8972A;
    border-radius: 0.75rem;
    padding: 1.25rem 1.15rem 1.35rem;
}

.hp-process-step__num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 0.65rem;
}

.hp-process-step__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hp-process-step__desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #9ca3af;
    margin: 0;
}

.hp-delivery-panel {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.hp-delivery-panel .delivery-panel__title {
    color: #fff;
}

.hp-delivery-panel .delivery-panel__text,
.hp-delivery-panel .delivery-checklist li {
    color: #d1d5db;
}

.hp-delivery-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.hp-delivery-card .delivery-card__title {
    color: #fff;
}

.hp-delivery-card .delivery-card__desc {
    color: #9ca3af;
}

.hp-delivery-card .delivery-card__icon {
    background: rgba(246, 140, 31, 0.15);
    color: var(--color-primary);
}

/* About / contact helpers */
.hp-check {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 9999px;
    background: var(--color-primary);
}

.hp-contact-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--color-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.hp-contact-row:hover {
    color: var(--color-primary);
}

.hp-contact-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.hp-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.625rem;
    background: var(--color-surface);
    color: var(--color-secondary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hp-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(246, 140, 31, 0.15);
}

.hp-cta-band {
    background: var(--color-secondary);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .hp-cta-band {
        padding: 2.75rem 3rem;
    }
}

.hp-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(246, 140, 31, 0.22) 0%, transparent 55%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hp-hero__mesh,
    .hp-hero__slide,
    .hp-hero__photo-veil,
    .hp-hero__orb,
    .hp-hero__stage-img,
    .hp-hero__stage-glow,
    .hp-hero__code-scan,
    .hp-float,
    .hp-hero__eyebrow,
    .hp-hero__stage,
    .hp-ambient__orb,
    .hp-ambient__grid,
    .hp-brand,
    .hp-hero__headline,
    .hp-hero__sub,
    .hp-hero__ctas,
    .hp-hero__mockup,
    .hp-hero__dataflow,
    .hp-bubble,
    .hp-crystal,
    .hp-particle,
    .hp-hero__softlight,
    .hp-hero__waves-svg,
    .hp-wave,
    .hp-vortex__glow,
    .hp-vortex__core,
    .hp-vortex__ring,
    .hp-vortex__spiral,
    .hp-vortex__bits,
    .hp-vortex__bit {
        animation: none !important;
    }

    .hp-hero__neural {
        display: none !important;
    }

    .hp-hero__waves-svg--dup {
        display: none;
    }

    .hp-brand,
    .hp-hero__headline,
    .hp-hero__sub,
    .hp-hero__ctas,
    .hp-hero__eyebrow,
    .hp-hero__stage,
    .hp-hero__mockup,
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hp-hero__stage-img {
        transform: scale(1.02);
    }

    .hp-project-card:hover,
    .hp-services-grid .service-card:hover,
    .btn-quiet--primary.btn-quiet--lg:hover {
        transform: none;
    }
}

@media (max-width: 767px) {
    .hp-hero--story {
        padding-bottom: 2.5rem;
    }

    .hp-hero__layout {
        min-height: 0;
        gap: 1.75rem;
    }

    .hp-float--chip {
        display: none;
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 70;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(246, 140, 31, 0.35);
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 28px rgba(26, 26, 26, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.65rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
        transform: none;
    }
}

/* Client logos marquee */
.hp-clients .section-header {
    margin-bottom: 1.75rem;
}

.hp-clients__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hp-clients__fade {
    display: none;
}

.hp-clients__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: hp-clients-scroll 42s linear infinite;
}

.hp-clients__viewport:hover .hp-clients__track {
    animation-play-state: paused;
}

.hp-clients__group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.25rem 0.625rem;
}

.hp-clients__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9.5rem;
    height: 4.25rem;
    padding: 0.65rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
}

.hp-clients__logo img {
    max-width: 100%;
    max-height: 2.75rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15);
    opacity: 0.92;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.hp-clients__logo:hover img {
    filter: none;
    opacity: 1;
}

@keyframes hp-clients-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hp-clients__viewport {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }

    .hp-clients__track {
        animation: none;
        width: 100%;
        max-width: 80rem;
        margin: 0 auto;
        padding: 0 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hp-clients__group[aria-hidden="true"] {
        display: none;
    }

    .hp-clients__group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.875rem;
        padding: 0;
    }
}
