/* Services page — orbit hero → ticker → sticky split */

html:has(.page-services) {
    scroll-behavior: auto;
}

.page-services {
    background: transparent;
    color: #f4f7fb;
}

.page-services .site-main {
    overflow: visible;
    background: transparent;
}

.page-services #universe {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    background: var(--bg);
}

.page-services .universe-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 40% at 78% 42%, rgba(37, 99, 235, 0.22), transparent 70%),
        radial-gradient(ellipse 45% 35% at 18% 70%, rgba(56, 189, 248, 0.12), transparent 68%),
        radial-gradient(ellipse 40% 30% at 50% 20%, rgba(99, 102, 241, 0.1), transparent 65%);
    animation: svcUniverseDrift 28s ease-in-out infinite alternate;
    mix-blend-mode: screen;
    opacity: 0.85;
}

@keyframes svcUniverseDrift {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    100% { transform: scale(1.08) translate(-2%, 1.5%); opacity: 0.95; }
}

.page-services .site-header {
    --header-bg: transparent;
    --header-blur: none;
}

.page-services .site-header.scrolled {
    --header-bg: rgba(13, 27, 46, 0.92);
}

/* ── Hero orbit ── */
.svc-hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header) + 24px) 0 48px;
}

.svc-hero-inner {
    width: 100%;
    text-align: center;
}

.svc-hero-title {
    margin: 0 0 clamp(12px, 2vh, 28px);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.86;
    color: var(--text);
    text-align: center;
}
.svc-hero-title > span { display: block; }
.svc-hero-title > .accent { color: var(--heading-accent); }

.svc-orbit {
    position: relative;
    width: min(1100px, 96vw);
    height: clamp(340px, 58vh, 560px);
    margin: 0 auto;
}

.svc-orbit-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.svc-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
}

.svc-orbit-center {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    width: min(48%, 340px);
    height: min(58%, 300px);
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 2;
    perspective: 1000px;
    perspective-origin: 50% 35%;
}

.svc-holo {
    position: relative;
    width: min(100%, 260px);
    height: min(100%, 250px);
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
}

.svc-holo-floor {
    position: absolute;
    left: 50%;
    top: 64%;
    width: 88%;
    height: 34%;
    transform: translate(-50%, -50%) rotateX(78deg);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center,
            rgba(224, 242, 254, 0.75) 0%,
            rgba(125, 211, 252, 0.5) 28%,
            rgba(56, 189, 248, 0.22) 52%,
            rgba(37, 99, 235, 0.08) 70%,
            transparent 82%);
    box-shadow:
        0 0 50px rgba(56, 189, 248, 0.45),
        0 0 100px rgba(37, 99, 235, 0.3);
    animation: svcHoloFloor 3.6s ease-in-out infinite alternate;
    z-index: 0;
}

.svc-holo-beam,
.svc-holo-beam.b2,
.svc-holo-beam.b3 {
    position: absolute;
    left: 50%;
    bottom: 32%;
    width: 48%;
    height: 72%;
    transform: translateX(-50%);
    transform-origin: 50% 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(186, 230, 253, 0.55) 0%,
        rgba(56, 189, 248, 0.28) 28%,
        rgba(147, 197, 253, 0.1) 62%,
        transparent 100%
    );
    clip-path: polygon(34% 100%, 66% 100%, 100% 0%, 0% 0%);
    filter: blur(1.2px);
    opacity: 0.85;
    animation: svcHoloBeam 4s ease-in-out infinite alternate;
}

.svc-holo-beam.b2 {
    width: 70%;
    height: 78%;
    opacity: 0.45;
    filter: blur(8px);
    animation-duration: 5.2s;
    animation-delay: -1.2s;
}

.svc-holo-beam.b3 {
    width: 30%;
    height: 58%;
    opacity: 0.7;
    filter: blur(0.4px);
    animation-duration: 3.4s;
    animation-delay: -0.6s;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.65) 0%,
        rgba(125, 211, 252, 0.28) 38%,
        transparent 100%
    );
}

.svc-holo-scan {
    position: absolute;
    left: 50%;
    top: 8%;
    width: 74%;
    height: 62%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(186, 230, 253, 0.18) 0px,
        rgba(186, 230, 253, 0.18) 1px,
        transparent 1px,
        transparent 6px
    );
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
    opacity: 0.65;
    mix-blend-mode: screen;
    animation: svcHoloScan 2.8s linear infinite;
}

.svc-holo-plate {
    position: relative;
    z-index: 2;
    width: min(82%, 210px);
    aspect-ratio: 1;
    transform: rotateX(72deg) rotateZ(-10deg) translateY(10%);
    transform-style: preserve-3d;
    animation: svcHoloLay 5.5s ease-in-out infinite alternate;
}

.svc-holo-logo {
    width: 100%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 0 10px rgba(186, 230, 253, 0.95))
        drop-shadow(0 0 26px rgba(56, 189, 248, 0.7))
        drop-shadow(0 0 48px rgba(37, 99, 235, 0.45))
        drop-shadow(0 22px 30px rgba(3, 12, 28, 0.8));
    opacity: 0.98;
}

.svc-holo-sheen {
    position: absolute;
    inset: -10%;
    border-radius: 50%;
    pointer-events: none;
    background: linear-gradient(
        118deg,
        transparent 26%,
        rgba(224, 242, 254, 0.4) 44%,
        rgba(125, 211, 252, 0.65) 50%,
        rgba(224, 242, 254, 0.32) 56%,
        transparent 74%
    );
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: svcHoloSheen 3.8s ease-in-out infinite;
}

@keyframes svcHoloFloor {
    0% { opacity: 0.75; transform: translate(-50%, -50%) rotateX(78deg) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) rotateX(78deg) scale(1.12); }
}

@keyframes svcHoloBeam {
    0% { opacity: 0.5; transform: translateX(-50%) scaleY(0.9); }
    100% { opacity: 1; transform: translateX(-50%) scaleY(1.08); }
}

@keyframes svcHoloScan {
    0% { background-position: 0 0; opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { background-position: 0 28px; opacity: 0.45; }
}

@keyframes svcHoloLay {
    0% { transform: rotateX(70deg) rotateZ(-12deg) translateY(12%) scale(0.97); }
    100% { transform: rotateX(74deg) rotateZ(-8deg) translateY(6%) scale(1.04); }
}

@keyframes svcHoloSheen {
    0%, 100% { transform: translateX(-20%) rotate(8deg); opacity: 0.4; }
    50% { transform: translateX(20%) rotate(-4deg); opacity: 0.85; }
}

.svc-orbit-cards {
    position: absolute;
    inset: 0;
}

.svc-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(140px, 16vw, 188px);
    margin: 0;
    padding: 12px 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(8, 12, 24, 0.88));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.svc-card:hover,
.svc-card.is-shake {
    border-color: rgba(125, 211, 252, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.18);
}

.svc-card.is-shake .svc-card-icon {
    animation: svcCardShake 0.55s ease-in-out;
}

@keyframes svcCardShake {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    20% { transform: rotate(-8deg) translateX(-3px); }
    40% { transform: rotate(7deg) translateX(3px); }
    60% { transform: rotate(-5deg) translateX(-2px); }
    80% { transform: rotate(4deg) translateX(2px); }
}

.svc-card-icon {
    width: clamp(96px, 11vw, 128px);
    height: clamp(96px, 11vw, 128px);
    aspect-ratio: 1 / 1;
    border-radius: 0;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.svc-card-icon img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
}

.svc-card-label {
    font-family: var(--font-display);
    font-size: clamp(0.72rem, 1.15vw, 0.88rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

.svc-hero-hint {
    margin: clamp(10px, 2vh, 18px) 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

/* ── Striped ticker (after hero) ── */
/* ── Ticker ── */
.svc-ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: rgba(10, 22, 40, 0.82);
    border-block: 8px solid rgba(96, 165, 250, 0.35);
    padding: clamp(28px, 5vh, 48px) 0;
    backdrop-filter: blur(8px);
}

.svc-ticker-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.svc-ticker-row {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding-right: clamp(28px, 4vw, 56px);
    white-space: nowrap;
}

.svc-ticker-row span {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 9vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--text);
    text-transform: uppercase;
}

.svc-ticker-row i {
    display: inline-block;
    width: clamp(48px, 8vw, 88px);
    height: clamp(48px, 8vw, 88px);
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.45);
    box-shadow:
        inset 0 0 0 8px rgba(59, 130, 246, 0.08),
        inset 0 0 0 16px rgba(59, 130, 246, 0.05);
    background:
        radial-gradient(circle at 35% 30%, rgba(96, 165, 250, 0.45), transparent 42%),
        radial-gradient(circle at 60% 70%, rgba(37, 99, 235, 0.35), transparent 50%),
        #0a1628;
    flex-shrink: 0;
}

/* ── Sticky split services ── */
.svc-sticky-wrap {
    position: relative;
    z-index: 2;
    background: transparent;
}

.svc-sticky {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.svc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
}

.svc-visual-col {
    position: relative;
    height: 100%;
    background: rgba(10, 22, 40, 0.55);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.svc-visual-track {
    height: calc(var(--svc-count, 2) * 100%);
    width: 100%;
    will-change: transform;
}

.svc-visual-panel {
    height: calc(100% / var(--svc-count, 2));
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(80px, 12vh, 120px) clamp(24px, 4vw, 48px) 40px;
    box-sizing: border-box;
}

.svc-visual-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5vh, 28px);
    width: 100%;
    max-width: 480px;
}

.svc-visual-kicker {
    margin: 0;
    max-width: 34ch;
    text-align: center;
    font-size: clamp(0.62rem, 1vw, 0.74rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.5;
}

.svc-visual-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.svc-visual-glow {
    position: absolute;
    inset: -20%;
    background: var(--g);
    opacity: 0.55;
    filter: blur(40px);
}

.svc-visual-device {
    position: absolute;
    inset: 12%;
    border-radius: 18px;
    background: linear-gradient(160deg, #0b1220, #112244 55%, #0a1628);
    border: 1px solid rgba(96, 165, 250, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.svc-visual-badge {
    display: block;
    padding: 12px 14px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: rgba(13, 27, 46, 0.85);
}

.svc-visual-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
    color: var(--text);
}

.svc-visual-screen i {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--light);
}

.svc-visual-screen strong {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 12ch;
}

.svc-visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.svc-visual-orb.o1 {
    width: 86px;
    height: 86px;
    right: 8%;
    bottom: 14%;
    background: radial-gradient(circle at 30% 30%, var(--light), var(--blue) 70%);
    box-shadow: 0 12px 30px rgba(26, 86, 219, 0.45);
}

.svc-visual-orb.o2 {
    width: 48px;
    height: 48px;
    left: 10%;
    top: 18%;
    background: radial-gradient(circle at 35% 30%, #e2e8f0, var(--accent) 75%);
}

.svc-visual-panel--photo {
    padding: clamp(64px, 9vh, 92px) clamp(16px, 2.5vw, 28px) clamp(20px, 3.5vh, 32px);
}

.svc-visual-stage {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: min(680px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.svc-visual-media {
    display: flex;
    justify-content: center;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.svc-visual-reveal-text {
    position: relative;
    z-index: 2;
    width: min(100%, 34ch);
    margin: 0;
    padding: 0 8px;
    text-align: center;
    font-family: var(--font-display, Georgia, "Times New Roman", serif);
    font-size: clamp(0.92rem, 1.7vw, 1.18rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f1f5f9;
    line-height: 1.55;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.35s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        max-height 0.45s ease,
        margin 0.45s ease;
    pointer-events: none;
}

.svc-visual-type {
    white-space: pre-wrap;
}

.svc-visual-caret {
    display: inline-block;
    width: 0.1em;
    height: 1em;
    margin-left: 0.14em;
    vertical-align: -0.1em;
    background: #7dd3fc;
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.7);
    opacity: 0;
}

.svc-visual-stage.is-typing .svc-visual-caret,
.svc-visual-stage.is-typed .svc-visual-caret {
    opacity: 1;
    animation: svcRevealCaret 0.7s steps(1) infinite;
}

.svc-visual-stage.is-typed .svc-visual-caret {
    animation-delay: 0.15s;
}

@keyframes svcRevealCaret {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.svc-visual-frame--photo {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 94%;
    height: min(100%, 74vh);
    max-height: 680px;
    aspect-ratio: 3 / 4;
    background: #06101f;
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(14, 165, 233, 0.18);
    transition: height 0.45s ease, max-height 0.45s ease;
}

.svc-visual-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.svc-visual-stage:hover .svc-visual-media,
.svc-visual-stage:focus-within .svc-visual-media,
.svc-visual-stage.is-open .svc-visual-media {
    transform: translateX(-10%);
}

.svc-visual-stage:hover .svc-visual-reveal-text,
.svc-visual-stage:focus-within .svc-visual-reveal-text,
.svc-visual-stage.is-open .svc-visual-reveal-text {
    opacity: 1;
    max-height: 7.5em;
    margin-top: clamp(14px, 2.2vh, 22px);
    transform: translateY(0);
}

.svc-visual-stage.is-open .svc-visual-frame--photo {
    height: min(100%, 64vh);
    max-height: 560px;
}

@media (prefers-reduced-motion: reduce) {
    .svc-visual-media,
    .svc-visual-reveal-text {
        transition: none;
    }

    .svc-visual-caret {
        animation: none !important;
        opacity: 1;
    }
}

.svc-copy-col {
    position: relative;
    height: 100%;
    background: rgba(13, 27, 46, 0.72);
    color: var(--text);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.svc-copy-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(80px, 12vh, 120px) clamp(36px, 6vw, 72px) 48px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
}

.svc-copy-panel.is-on {
    pointer-events: auto;
}

.svc-copy-inner {
    width: 100%;
    max-width: 440px;
}

.svc-copy-title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text);
}

.svc-copy-text {
    margin: 0 0 clamp(28px, 5vh, 44px);
    max-width: 38ch;
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    line-height: 1.65;
    color: var(--muted);
}

.svc-copy-label {
    margin: 0 0 8px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.svc-cap-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.svc-cap-list li {
    position: relative;
    padding: 14px 0;
    border-bottom: none;
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    color: var(--text);
}

.svc-cap-list li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--line);
    transform: scaleX(0);
    transform-origin: left center;
}

.svc-cap-list li.is-uline-run::after {
    animation: svcCapUnderline 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.svc-cap-list li.is-uline-done::after {
    transform: scaleX(1);
    animation: none;
}

@keyframes svcCapUnderline {
    from { transform: scaleX(0); opacity: 0.35; }
    to { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-cap-list li::after {
        transform: scaleX(1);
        animation: none !important;
    }
}

/* ── Technology stack ── */
.tech-stack {
    position: relative;
    z-index: 2;
    background: transparent;
    color: var(--text);
    padding: clamp(72px, 12vh, 120px) 0 clamp(80px, 14vh, 140px);
    width: 100%;
}

.tech-stack-inner {
    width: 100%;
    max-width: none;
    padding-left: clamp(20px, 5vw, 72px);
    padding-right: clamp(20px, 5vw, 72px);
    box-sizing: border-box;
}

.tech-heading {
    width: min(920px, 100%);
    margin: 0 auto clamp(48px, 8vh, 88px);
    min-height: clamp(120px, 22vh, 200px);
    text-align: left;
}

.tech-line {
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 16px 28px;
}

.tech-line-1 {
    justify-content: flex-start;
}

.tech-line-2 {
    margin-top: 0.12em;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px 32px;
    padding-left: 0;
}

.tech-type {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 6.8rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.86;
    text-transform: uppercase;
    color: var(--text);
}

.tech-line-2 .tech-type {
    color: var(--heading-accent);
}

.tech-type-stack {
    margin-left: 0;
    flex-shrink: 0;
}

.tech-type .ch {
    display: inline-block;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(8px);
}

.tech-list {
    border-top: none;
    opacity: 0;
    transform: translateY(28px);
    pointer-events: none;
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 0 clamp(8px, 1.5vw, 16px);
    border: 1px solid var(--line);
}

.tech-list.is-ready {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.tech-item {
    border-bottom: 1px solid var(--line);
}

.tech-item:last-child {
    border-bottom: none;
}

.tech-item-btn {
    width: 100%;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: clamp(18px, 2.6vh, 26px) 4px;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
}

.tech-item-num {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--muted);
}

.tech-item-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.tech-item-arrow {
    font-size: 1.05rem;
    color: var(--light);
    transition: transform 0.35s var(--ease);
    line-height: 1;
}

.tech-item.is-open .tech-item-arrow {
    transform: rotate(180deg);
}

.tech-item-body {
    overflow: hidden;
    height: 0;
    opacity: 0;
    padding: 0 4px 0 calc(48px + 12px);
}

.tech-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
}

.tech-col-label {
    margin: 0 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.tech-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-col li {
    padding: 6px 0;
    font-size: clamp(0.92rem, 1.25vw, 1.05rem);
    line-height: 1.5;
    color: var(--muted);
}

/* ── How we work ── */
.how-work {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(80px, 14vh, 140px) 0 clamp(72px, 12vh, 120px);
    background: transparent;
    color: var(--text);
}

.how-work-inner {
    width: 100%;
    padding: 0 clamp(20px, 5vw, 72px);
    box-sizing: border-box;
}

.how-work-heading {
    width: min(1100px, 100%);
    margin: 0 auto clamp(48px, 8vh, 88px);
    min-height: clamp(180px, 32vh, 280px);
    text-align: left;
}

.how-work-title-line {
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
}

.how-work-title-line.how-line-1 {
    justify-content: flex-start;
    padding-left: 0;
}

.how-work-title-line.how-line-2 {
    margin-top: 0.02em;
    justify-content: flex-start;
    padding-left: clamp(16%, 20vw, 28%);
}

.how-work-title-line.how-line-3 {
    margin-top: 0.02em;
    justify-content: flex-start;
    padding-left: clamp(38%, 46vw, 58%);
}

.how-line-3 .how-work-type {
    color: var(--heading-accent);
}

.how-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
    width: min(1100px, 100%);
    margin: 0 auto clamp(36px, 6vh, 56px);
}

.how-work-step {
    opacity: 0;
    transform: translateY(36px);
    will-change: opacity, transform;
}

.how-work-step-label {
    margin: 0 0 18px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.how-work-step-title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.how-work-step-text {
    margin: 0;
    max-width: 34ch;
    font-size: clamp(0.92rem, 1.2vw, 1.02rem);
    line-height: 1.7;
    color: var(--muted);
}

.how-work-rule {
    position: relative;
    height: 1px;
    width: min(1100px, 100%);
    margin: 0 auto;
    background: transparent;
    overflow: visible;
}

.how-work-rule-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: var(--line);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.how-work-rule span {
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    color: var(--light);
    opacity: 0;
}

.how-work-rule span::before,
.how-work-rule span::after {
    content: '';
    position: absolute;
    background: currentColor;
}

.how-work-rule span::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    margin-top: -0.5px;
}

.how-work-rule span::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    margin-left: -0.5px;
}

.how-work-rule > span:nth-of-type(1) { left: 0; }
.how-work-rule > span:nth-of-type(2) { left: 33.333%; }
.how-work-rule > span:nth-of-type(3) { left: 66.666%; }
.how-work-rule > span:nth-of-type(4) { left: 100%; }

.page-services .section-cta {
    position: relative;
    z-index: 2;
    background: #050505;
}

@media (max-width: 900px) {
    .svc-hero {
        min-height: 0;
        padding: calc(var(--header) + 16px) 0 28px;
    }
    .svc-hero-title {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
        padding: 0 16px;
    }
    .svc-orbit {
        width: 100%;
        height: min(58vh, 420px);
        max-width: 100%;
        overflow: visible;
    }
    .svc-hero-hint { display: none; }

    .svc-sticky-wrap.is-mobile-stack .svc-sticky,
    .svc-sticky {
        height: auto;
        min-height: 0;
        overflow: visible;
    }
    .svc-sticky-wrap.is-mobile-stack .svc-split {
        display: grid;
        grid-template-columns: 1fr;
        height: auto;
    }
    .svc-sticky-wrap.is-mobile-stack .svc-visual-col,
    .svc-sticky-wrap.is-mobile-stack .svc-copy-col,
    .svc-sticky-wrap.is-mobile-stack .svc-visual-track {
        display: contents;
        height: auto;
        overflow: visible;
        transform: none !important;
        backdrop-filter: none;
        background: transparent;
        border: 0;
    }
    .svc-sticky-wrap.is-mobile-stack .svc-visual-panel {
        height: auto;
        order: calc(var(--i, 0) * 2);
        padding: 28px 16px 8px;
        background: rgba(10, 22, 40, 0.45);
    }
    .svc-sticky-wrap.is-mobile-stack .svc-copy-panel {
        position: relative;
        inset: auto;
        height: auto;
        order: calc(var(--i, 0) * 2 + 1);
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
        padding: 12px 18px 36px;
        align-items: flex-start;
        transform: none !important;
        background: rgba(13, 27, 46, 0.72);
    }

    .svc-copy-title {
        font-size: clamp(1.45rem, 6vw, 2rem);
    }

    .svc-copy-text {
        margin-bottom: 20px;
        font-size: 0.92rem;
        max-width: none;
    }

    .svc-visual-frame {
        max-width: 260px;
        aspect-ratio: 16 / 11;
    }

    .svc-visual-frame--photo {
        width: auto;
        max-width: 86%;
        height: auto;
        max-height: none;
        aspect-ratio: 3 / 4;
    }

    .svc-visual-stage.is-open .svc-visual-frame--photo {
        height: auto;
        max-height: none;
    }

    .svc-visual-reveal-text {
        width: min(100%, 30ch);
        font-size: clamp(0.78rem, 3.2vw, 0.95rem);
        letter-spacing: 0.1em;
    }

    .svc-orbit-center {
        width: min(52%, 200px);
        height: min(56%, 180px);
    }

    .svc-holo {
        width: min(100%, 160px);
        height: min(100%, 150px);
    }

    .svc-holo-plate {
        width: min(82%, 120px);
    }

    .svc-card {
        width: 112px;
        padding: 8px 6px 10px;
    }

    .svc-card-icon {
        width: 72px;
        height: 72px;
    }

    .tech-line-2 {
        padding-left: 0;
        justify-content: flex-start;
    }

    .tech-type-stack {
        margin-left: 0;
        margin-right: 0;
    }

    .tech-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-item-btn {
        grid-template-columns: 36px 1fr auto;
    }

    .tech-item-body {
        padding-left: calc(36px + 12px);
    }

    .how-work-intro,
    .how-work-grid,
    .how-work-rule {
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .how-work-title-line.how-line-2 {
        padding-left: 12%;
    }

    .how-work-title-line.how-line-3 {
        padding-left: 24%;
    }

    .how-work-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .how-work-rule > span:nth-of-type(2),
    .how-work-rule > span:nth-of-type(3) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-services .universe-glow {
        animation: none;
    }

    .svc-card.is-shake .svc-card-icon {
        animation: none;
    }

    .svc-holo-floor,
    .svc-holo-beam,
    .svc-holo-beam.b2,
    .svc-holo-beam.b3,
    .svc-holo-scan,
    .svc-holo-plate,
    .svc-holo-sheen {
        animation: none;
    }
}
