.se-home-assembler,
.se-home {
    display: block;
    margin: 0;
    padding: 0;
}

.se-home-assembler .se-section,
.se-home .se-section {
    max-width: none;
}

.se-home h1,
.se-home h2,
.se-home h3,
.se-home-assembler h1,
.se-home-assembler h2,
.se-home-assembler h3 {
    color: var(--se-dark);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.se-home p,
.se-home-assembler p {
    line-height: 1.7;
}

.se-home .se-kicker,
.se-home-assembler .se-kicker,
.se-about .se-kicker {
    color: var(--se-primary);
}

.se-home .se-hero-home__panel-title {
    color: var(--se-color-primary);
}

.se-about h2,
.se-about-copy h2 {
    font-size: clamp(34px, 4vw, 54px);
    margin-bottom: 20px;
}

.se-about p,
.se-about-copy p {
    font-size: 18px;
    color: var(--se-muted);
}

/* Quick actions */
.se-quick-actions,
.se-quick-actions.wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: var(--se-wide-width);
    margin: 0 auto;
}

.se-quick-actions.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: auto !important;
    margin: 0;
}

.se-quick-action {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1.25rem 1.15rem 1.1rem;
    background: var(--se-color-white);
    border: 1px solid var(--se-color-border);
    text-decoration: none;
    color: inherit;
}

a.se-quick-action:hover {
    text-decoration: none;
}

.se-quick-action__icon {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0 0 0.55rem;
    padding: 0;
    min-height: 0;
    background: var(--se-primary);
    transition: transform 0.2s ease;
}

.se-quick-action--learn .se-quick-action__icon {
    border-radius: 999px;
}

.se-quick-action--join .se-quick-action__icon {
    transform: rotate(45deg);
    background: transparent;
    border: 2px solid var(--se-primary);
}

.se-quick-action--explore .se-quick-action__icon {
    box-shadow: inset 0 0 0 3px var(--se-color-white), 0 0 0 1px var(--se-primary);
}

.se-quick-action h3 {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.se-quick-action p {
    margin: 0;
    color: var(--se-muted);
    font-size: 0.92rem;
}

.se-quick-action__go {
    margin-top: auto;
    color: var(--se-primary);
    font-weight: 700;
    transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .se-quick-action {
        transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .se-quick-action:hover {
        transform: translateY(-4px);
        box-shadow: var(--se-shadow-md);
    }

    .se-quick-action:hover .se-quick-action__icon {
        transform: translateY(-4px);
    }

    .se-quick-action--join:hover .se-quick-action__icon {
        transform: rotate(45deg) translateY(-4px);
    }

    .se-quick-action:hover .se-quick-action__go {
        transform: translateX(4px);
    }
}

/* Featured */
.se-feature {
    max-width: var(--se-wide-width);
    margin-left: auto;
    margin-right: auto;
}

.se-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.se-feature__media,
.se-feature__media--empty {
    min-height: 320px;
    background:
        linear-gradient(135deg, rgb(242 106 33 / 35%), transparent 42%),
        linear-gradient(200deg, #3d2a20, #1f2933);
}

.se-feature__media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.se-feature__body .se-heading {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.se-feature__body .se-heading a {
    color: inherit;
    text-decoration: none;
}

.se-feature__area {
    font-weight: 600;
    color: var(--se-dark);
}

.se-feature__cta {
    margin-top: 1.25rem;
}

/* Services carousel */
.se-home-services-section .se-section-head--center p {
    color: var(--se-muted);
}

.se-services-carousel {
    position: relative;
    margin-top: 2rem;
}

.se-home-services,
.se-home-services.wp-block-columns {
    display: flex !important;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-top: 0;
    align-items: stretch;
}

.se-home-services::-webkit-scrollbar {
    display: none;
}

.se-home-services.wp-block-columns > .wp-block-column {
    display: flex;
    flex: 0 0 calc(25% - 0.95rem);
    min-width: 240px;
    scroll-snap-align: start;
    flex-basis: calc(25% - 0.95rem) !important;
    width: auto !important;
    max-width: none;
    margin: 0;
}

.se-home-service,
.se-home-service.has-global-padding {
    height: 100%;
    width: 100%;
    min-height: 280px;
    padding: 1.6rem 1.4rem 1.45rem;
    background: var(--se-color-white);
    border: 1px solid var(--se-color-border);
    border-top: 4px solid var(--se-primary);
    box-shadow: 0 14px 40px rgb(16 24 40 / 6%);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.se-home-service .se-card__index {
    margin: 0;
    color: var(--se-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.se-home-service h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--se-dark);
    letter-spacing: -0.03em;
}

.se-home-service p {
    margin: 0;
    color: var(--se-muted);
    font-size: 0.98rem;
}

.se-home-service__link {
    margin-top: auto !important;
    padding-top: 0.55rem;
}

.se-home-service__link a {
    font-weight: 700;
    color: var(--se-primary);
}

.se-home-service__link a:hover {
    color: var(--se-primary-dark);
    text-decoration: none;
}

.se-services-carousel .se-carousel-btn {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid var(--se-color-border);
    background: var(--se-color-white);
    cursor: pointer;
}

.se-services-carousel .se-carousel-prev {
    left: -6px;
}

.se-services-carousel .se-carousel-next {
    right: -6px;
}

/* Explorer */
.se-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0 0 1.5rem;
    border-bottom: 1px solid var(--se-color-border);
}

.se-catalog-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.75rem;
    font-weight: 700;
    color: var(--se-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.se-catalog-tab.is-active {
    color: var(--se-dark);
    border-bottom-color: var(--se-primary);
}

.se-catalog-more {
    margin: 1.5rem 0 0;
    text-align: center;
}

.se-catalog-more__link {
    font-weight: 700;
}

/* About */
.se-about-media,
.se-about-media.has-global-padding {
    min-height: 380px;
    padding: 0;
    background:
        linear-gradient(160deg, rgb(242 106 33 / 28%), transparent 46%),
        linear-gradient(200deg, #3d2a20 0%, #1f2933 72%);
    display: flex;
    align-items: flex-end;
}

.se-about-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.se-about-media__label {
    margin: 0;
    padding: 1.25rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.se-about-copy .wp-block-buttons {
    margin-top: 1.25rem;
}

@media (prefers-reduced-motion: no-preference) {
    .se-about-media.se-reveal {
        transform: translateX(-30px);
    }

    .se-about-copy.se-reveal {
        transform: translateX(30px);
    }

    .se-about-media.se-reveal.is-inview,
    .se-about-copy.se-reveal.is-inview {
        transform: none;
    }
}

/* Process */
.se-process {
    position: relative;
    max-width: var(--se-wide-width);
    margin: 2rem auto 0;
}

.se-process-steps,
.se-process-steps.wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    position: relative;
}

.se-process-steps.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: auto !important;
    margin: 0;
}

.se-process::before,
.se-process::after {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--se-color-border);
    z-index: 0;
}

.se-process::after {
    right: auto;
    width: 0;
    background: var(--se-primary);
}

.se-process.is-inview::after {
    width: 84%;
}

.se-process__step {
    position: relative;
    z-index: 1;
}

.se-process__index {
    margin: 0 0 0.85rem;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--se-color-white);
    border: 2px solid var(--se-primary);
    color: var(--se-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.se-process__step h3 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
}

.se-process__step p {
    margin: 0;
    color: var(--se-muted);
}

@media (prefers-reduced-motion: no-preference) {
    .se-process::after {
        transition: width 1.2s ease;
    }

    .se-process__step.se-reveal {
        opacity: 0;
        transform: translateY(16px);
    }

    .se-process__step.se-reveal.is-inview {
        opacity: 1;
        transform: none;
    }
}

/* CTA motion */
.se-home .se-section--cta .se-heading,
.se-home .se-final-cta .se-heading,
.se-home .se-section--cta p,
.se-home .se-final-cta p {
    color: var(--se-color-white);
}

.se-final-cta {
    position: relative;
}

.se-final-cta::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: -120px;
    background: radial-gradient(circle, rgb(242 106 33 / 28%), transparent 64%);
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .se-home-service {
        transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
    }

    .se-home-service:hover {
        transform: translateY(-4px);
        box-shadow: var(--se-shadow-md);
        border-top-color: var(--se-primary-dark);
    }

    .se-final-cta::before {
        animation: se-cta-drift 14s ease-in-out infinite alternate;
    }
}

@keyframes se-cta-drift {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 0.7;
    }
    to {
        transform: translate3d(-60px, 40px, 0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .se-quick-actions,
    .se-quick-actions.wp-block-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .se-home-services.wp-block-columns > .wp-block-column {
        flex: 0 0 calc(50% - 0.65rem);
        flex-basis: calc(50% - 0.65rem) !important;
    }

    .se-process-steps,
    .se-process-steps.wp-block-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .se-process::before,
    .se-process::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .se-quick-actions,
    .se-quick-actions.wp-block-columns,
    .se-feature__grid {
        grid-template-columns: 1fr;
    }

    .se-home-services.wp-block-columns > .wp-block-column {
        flex: 0 0 100%;
        flex-basis: 100% !important;
    }

    .se-process-steps,
    .se-process-steps.wp-block-columns {
        grid-template-columns: 1fr;
    }

    .se-catalog--carousel .se-entry-card {
        flex-basis: 86%;
    }
}
