/*
Theme Name: All In Systems
Theme URI: http://www.allinsystems.jp/
Author: All In Systems株式会社
Author URI: http://www.allinsystems.jp/
Description: All In Systems株式会社専用の軽量WordPressテーマ。
Version: 1.0.20
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: all-in-systems
*/

html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

.ais-system-page {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18vh 0;
    color: #102a48;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

.ais-system-page h1 {
    margin: 12px 0 18px;
    font-size: clamp(30px, 5vw, 52px);
}

.ais-system-page p {
    color: #637489;
}

.ais-system-page a {
    display: inline-block;
    margin-top: 20px;
    color: #245ee7;
}

.ais-system-kicker {
    color: #245ee7 !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

/* ais-card-hover-system: subtle lift and deeper shadow for information cards */
.ais-card,
.ais-solution-card,
.ais-step,
.ais-job,
.ais-contact-card {
    position: relative;
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .ais-card:hover,
    .ais-solution-card:hover,
    .ais-step:hover,
    .ais-job:hover,
    .ais-contact-card:hover,
    .ais-card:focus-within,
    .ais-solution-card:focus-within,
    .ais-step:focus-within,
    .ais-job:focus-within,
    .ais-contact-card:focus-within {
        transform: translateY(-5px);
        box-shadow: 0 18px 42px rgba(7, 28, 48, .18), 0 5px 14px rgba(7, 28, 48, .10);
        z-index: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ais-card,
    .ais-solution-card,
    .ais-step,
    .ais-job,
    .ais-contact-card {
        transition: box-shadow 120ms ease;
        will-change: auto;
    }
    .ais-card:hover,
    .ais-solution-card:hover,
    .ais-step:hover,
    .ais-job:hover,
    .ais-contact-card:hover {
        transform: none;
    }
}

/* ais-liquid-glass-buttons: translucent CTA buttons with a flowing highlight */
.ais-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .42) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.07) 38%, rgba(120,205,255,.13) 100%),
        rgba(8, 31, 52, .66) !important;
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    backdrop-filter: blur(18px) saturate(165%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.48),
        inset 0 -1px 0 rgba(255,255,255,.10),
        0 8px 24px rgba(3,21,36,.18),
        0 2px 6px rgba(3,21,36,.12) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease, background-color 260ms ease !important;
}

.ais-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -45% -30%;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.08) 44%, rgba(255,255,255,.56) 50%, rgba(255,255,255,.10) 56%, transparent 65%);
    transform: translateX(-65%) rotate(4deg);
    transition: transform 760ms cubic-bezier(.2,.72,.2,1);
}

.ais-button::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 28% 0%, rgba(255,255,255,.30), transparent 42%);
    opacity: .75;
}

@media (hover: hover) and (pointer: fine) {
    .ais-button:hover,
    .ais-button:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.68) !important;
        background-color: rgba(11, 43, 70, .72) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.58),
            inset 0 -1px 0 rgba(255,255,255,.14),
            0 13px 32px rgba(3,21,36,.24),
            0 4px 10px rgba(3,21,36,.14) !important;
    }
    .ais-button:hover::before,
    .ais-button:focus-visible::before {
        transform: translateX(65%) rotate(4deg);
    }
}

.ais-button.secondary {
    color: #12324a !important;
    border-color: rgba(255,255,255,.72) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.78), rgba(232,246,255,.46)),
        rgba(255,255,255,.38) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

/* Use a cool cyan refraction on light CTA buttons instead of a white sweep. */
.ais-button.secondary::before {
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(50, 154, 235, .10) 44%,
        rgba(54, 181, 246, .62) 50%,
        rgba(91, 211, 246, .18) 56%,
        transparent 65%);
}

/* Alternate the original broad angled sweep and fade it out before reset. */
.ais-actions .ais-button::before {
    inset: -45% -30%;
    width: auto;
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,.08) 44%,
        rgba(255,255,255,.56) 50%,
        rgba(255,255,255,.10) 56%,
        transparent 65%);
    transform: translate3d(-110%,0,0) rotate(4deg);
    opacity: 1;
    animation: aisButtonAutoSweep 4.4s cubic-bezier(.2,.72,.2,1) infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.ais-actions .ais-button.secondary::before {
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(50, 154, 235, .10) 44%,
        rgba(54, 181, 246, .62) 50%,
        rgba(91, 211, 246, .18) 56%,
        transparent 65%);
    animation-delay: 2.2s;
}
@keyframes aisButtonAutoSweep {
    0% { transform: translate3d(-110%,0,0) rotate(4deg); }
    55%, 100% { transform: translate3d(110%,0,0) rotate(4deg); }
}

/* Keep both hero CTAs equally compact and isolate the arrow from the sweep layer. */
.ais-actions .ais-button {
    width: 194px;
    flex: 0 0 194px;
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 8px !important;
    white-space: nowrap;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.ais-actions .ais-button > span {
    display: inline-block;
    flex: 0 0 auto;
    line-height: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Keep both hero CTAs on one row across common phone widths. */
@media (max-width: 760px) {
    .ais-actions {
        flex-wrap: nowrap !important;
    }
    .ais-actions .ais-button {
        width: calc((100% - 8px) / 2);
        min-width: 0;
        flex: 1 1 calc((100% - 8px) / 2);
        padding-left: clamp(6px, 2vw, 12px) !important;
        padding-right: clamp(6px, 2vw, 12px) !important;
        gap: clamp(3px, 1vw, 6px) !important;
        font-size: clamp(10px, 3.08vw, 12px) !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        border-color: rgba(255,255,255,.34) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.42),
            inset 0 -1px 0 rgba(255,255,255,.07),
            0 6px 18px rgba(3,21,36,.13),
            0 2px 5px rgba(3,21,36,.08) !important;
    }
    .ais-actions .ais-button.secondary {
        border-color: rgba(255,255,255,.60) !important;
    }
    .ais-actions .ais-button > span {
        width: 16px;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 50%;
        background: rgba(255,255,255,.11);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
        font-size: 10px;
    }
    .ais-actions .ais-button.secondary > span {
        border-color: rgba(31,111,190,.13);
        background: rgba(31,111,190,.07);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
    }
    .ais-actions .ais-button::before {
        animation-duration: 5.2s;
    }
    .ais-actions .ais-button.secondary::before {
        animation-delay: 2.6s;
    }
}

@media (max-width: 340px) {
    .ais-actions .ais-button {
        padding-left: 4px !important;
        padding-right: 4px !important;
        gap: 2.5px !important;
    }
    .ais-actions .ais-button > span {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }
}

@media (min-width: 341px) and (max-width: 760px) {
    .ais-actions {
        justify-content: center;
    }
    .ais-actions .ais-button {
        width: calc((100% - 16px) / 2);
        flex: 0 1 calc((100% - 16px) / 2);
    }
}

@media (min-width: 341px) and (max-width: 370px) {
    .ais-actions .ais-button {
        padding-left: 4.5px !important;
        padding-right: 4.5px !important;
    }
}

/* Prevent hover-edge oscillation: keep hero CTA geometry and base tone fixed. */
.ais-actions .ais-button {
    transition: box-shadow 260ms ease, border-color 260ms ease !important;
}
@media (hover: hover) and (pointer: fine) {
    .ais-actions .ais-button:hover,
    .ais-actions .ais-button:focus-visible {
        transform: none;
        background-color: rgba(8, 31, 52, .66) !important;
    }
    .ais-actions .ais-button.secondary:hover,
    .ais-actions .ais-button.secondary:focus-visible {
        background-color: rgba(255, 255, 255, .38) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ais-actions .ais-button::before {
        animation: none !important;
    }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .ais-button { background-color: rgba(8,31,52,.92) !important; }
    .ais-button.secondary { background-color: rgba(240,248,252,.94) !important; }
}

@media (prefers-reduced-motion: reduce) {
    .ais-button,
    .ais-button::before { transition-duration: 120ms !important; }
    .ais-button:hover,
    .ais-button:focus-visible { transform: none; }
    .ais-button:hover::before,
    .ais-button:focus-visible::before { transform: translateX(-65%) rotate(4deg); }
}

/* ais-hero-liquid-glass: preserve hero label geometry and add translucent depth */
#ais-home .ais-art-label {
    border-color: rgba(255,255,255,.72) !important;
    background:
        linear-gradient(120deg, rgba(255,255,255,.76), rgba(228,242,255,.34) 48%, rgba(255,255,255,.58)),
        rgba(255,255,255,.28) !important;
    -webkit-backdrop-filter: blur(16px) saturate(165%) !important;
    backdrop-filter: blur(16px) saturate(165%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.92),
        inset 0 -1px 0 rgba(91,137,197,.12),
        0 10px 28px rgba(13,45,78,.13),
        0 2px 7px rgba(13,45,78,.08) !important;
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease !important;
}

@media (hover: hover) and (pointer: fine) {
    #ais-home .ais-art-label:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.94) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,1),
            inset 0 -1px 0 rgba(91,137,197,.14),
            0 14px 34px rgba(13,45,78,.18),
            0 4px 10px rgba(13,45,78,.10) !important;
    }
}

/* Flowing highlight crosses the status pill as it reaches its enlarged state. */
#ais-home .ais-art::after {
    background:
        linear-gradient(105deg, transparent 28%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.96) 49%, rgba(181,220,255,.32) 58%, transparent 70%),
        rgba(255,255,255,.72) !important;
    background-size: 260% 100%, auto !important;
    background-position: 150% 50%, 0 0;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 7px 22px rgba(31,95,201,.15) !important;
}

@keyframes aisV2Status {
    0%, 100% {
        opacity: .55;
        letter-spacing: .13em;
        scale: .96;
        background-position: 150% 50%, 0 0;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(31,95,201,.06);
    }
    50% {
        opacity: 1;
        letter-spacing: .18em;
        scale: 1.05;
        background-position: -55% 50%, 0 0;
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 8px 26px rgba(31,95,201,.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    #ais-home .ais-art-label { transition-duration: 120ms !important; }
    #ais-home .ais-art-label:hover { transform: none; }
}

/* Ensure the status-pill glass sweep wins over the page's embedded animation rule. */
html body #ais-home .ais-art::after {
    background:
        linear-gradient(105deg, transparent 28%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.96) 49%, rgba(181,220,255,.32) 58%, transparent 70%),
        rgba(255,255,255,.72) !important;
    background-size: 260% 100%, auto !important;
    animation: aisGlassStatus 4.8s ease-in-out infinite !important;
}

@keyframes aisGlassStatus {
    0%, 100% {
        opacity: .55;
        letter-spacing: .13em;
        scale: .96;
        background-position: 150% 50%, 0 0;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(31,95,201,.06);
    }
    50% {
        opacity: 1;
        letter-spacing: .18em;
        scale: 1.05;
        background-position: -55% 50%, 0 0;
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 8px 26px rgba(31,95,201,.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-art::after { animation: none !important; }
}

/* ais-hero-highlight-final: flowing highlight on labels; scale-only status pill */
html body #ais-home .ais-art-label {
    background:
        linear-gradient(105deg, transparent 29%, rgba(125,199,255,.18) 40%, rgba(225,247,255,.96) 48%, rgba(255,255,255,1) 51%, rgba(115,190,255,.28) 59%, transparent 70%),
        linear-gradient(120deg, rgba(255,255,255,.76), rgba(228,242,255,.34) 48%, rgba(255,255,255,.58)),
        rgba(255,255,255,.28) !important;
    background-size: 260% 100%, auto, auto !important;
    background-position: 150% 50%, 0 0, 0 0;
    transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease, background-position 900ms cubic-bezier(.2,.72,.2,1) !important;
}

@media (hover: hover) and (pointer: fine) {
    html body #ais-home .ais-art-label:hover {
        background-position: -55% 50%, 0 0, 0 0;
    }
}

html body #ais-home .ais-art::after {
    letter-spacing: .15em !important;
    background: rgba(255,255,255,.88) !important;
    background-size: auto !important;
    background-position: 0 0 !important;
    animation: aisStatusScaleOnly 4.8s ease-in-out infinite !important;
    transform-origin: center;
    will-change: transform;
}

@keyframes aisStatusScaleOnly {
    0%, 100% {
        opacity: .76;
        transform: scale(.99);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 4px 12px rgba(31,95,201,.07);
    }
    50% {
        opacity: 1;
        transform: scale(1.025);
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 14px rgba(83,157,255,.22), 0 8px 24px rgba(31,95,201,.24);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-art-label { background-position: 150% 50%, 0 0, 0 0 !important; }
    html body #ais-home .ais-art::after { animation: none !important; transform: none !important; }
}

/* Auto sweep: stagger the three hero labels over a calm 7.2-second cycle. */
html body #ais-home .ais-art-label {
    animation: aisLabelAutoSweep 7.2s cubic-bezier(.2,.72,.2,1) infinite !important;
}
html body #ais-home .ais-art-label.l2 { animation-delay: 2.4s !important; }
html body #ais-home .ais-art-label.l3 { animation-delay: 4.8s !important; }

@keyframes aisLabelAutoSweep {
    0%, 8% { background-position: 150% 50%, 0 0, 0 0; }
    30%, 100% { background-position: -55% 50%, 0 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-art-label { animation: none !important; }
}

/* ais-hero-animation-fix: use an independent shine layer and individual scale property. */
html body #ais-home .ais-art-label {
    overflow: hidden !important;
    animation: none !important;
}
html body #ais-home .ais-art-label::after {
    content: "";
    position: absolute;
    inset: -55% -42%;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 34%, rgba(128,200,255,.20) 42%, rgba(218,244,255,.96) 49%, rgba(255,255,255,1) 52%, rgba(112,190,255,.30) 59%, transparent 68%);
    transform: translateX(-74%) rotate(5deg);
    animation: aisLabelShineLayer 7.2s cubic-bezier(.2,.72,.2,1) infinite;
}
html body #ais-home .ais-art-label.l2::after { animation-delay: 2.4s; }
html body #ais-home .ais-art-label.l3::after { animation-delay: 4.8s; }

@keyframes aisLabelShineLayer {
    0%, 8% { transform: translateX(-74%) rotate(5deg); }
    30%, 100% { transform: translateX(74%) rotate(5deg); }
}

html body #ais-home .ais-art::after {
    animation: aisStatusScaleOnlyFixed 4.8s ease-in-out infinite !important;
    transform: none !important;
    transform-origin: center;
}
@keyframes aisStatusScaleOnlyFixed {
    0%, 100% {
        opacity: .76;
        scale: .99;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 4px 12px rgba(31,95,201,.07);
    }
    50% {
        opacity: 1;
        scale: 1.025;
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 14px rgba(83,157,255,.22), 0 8px 24px rgba(31,95,201,.24);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-art-label::after { animation: none !important; }
    html body #ais-home .ais-art::after { animation: none !important; scale: 1 !important; }
}

/* ais-motion-emphasis-tune: slightly stronger card lift and status breathing. */
@media (hover: hover) and (pointer: fine) {
    .ais-card:hover,
    .ais-solution-card:hover,
    .ais-step:hover,
    .ais-job:hover,
    .ais-contact-card:hover,
    .ais-card:focus-within,
    .ais-solution-card:focus-within,
    .ais-step:focus-within,
    .ais-job:focus-within,
    .ais-contact-card:focus-within {
        transform: translateY(-7px);
        box-shadow: 0 22px 48px rgba(7, 28, 48, .20), 0 7px 17px rgba(7, 28, 48, .12);
    }
}

html body #ais-home .ais-art::after {
    animation: aisStatusScaleEmphasis 4.8s ease-in-out infinite !important;
}
@keyframes aisStatusScaleEmphasis {
    0%, 100% {
        opacity: .72;
        scale: .98;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 4px 12px rgba(31,95,201,.07);
    }
    50% {
        opacity: 1;
        scale: 1.04;
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 17px rgba(83,157,255,.27), 0 9px 27px rgba(31,95,201,.27);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-art::after { animation: none !important; scale: 1 !important; }
}

/* ais-motion-emphasis-max-visible: pronounced lift and status breathing. */
@media (hover: hover) and (pointer: fine) {
    .ais-card:hover,
    .ais-solution-card:hover,
    .ais-step:hover,
    .ais-job:hover,
    .ais-contact-card:hover,
    .ais-card:focus-within,
    .ais-solution-card:focus-within,
    .ais-step:focus-within,
    .ais-job:focus-within,
    .ais-contact-card:focus-within {
        transform: translateY(-15px) scale(1.012);
        box-shadow: 0 40px 78px rgba(7, 28, 48, .31), 0 15px 30px rgba(7, 28, 48, .20);
    }
}

html body #ais-home .ais-art::after {
    animation: aisStatusScaleStrong 4.6s cubic-bezier(.42,0,.24,1) infinite !important;
}
@keyframes aisStatusScaleStrong {
    0%, 100% {
        opacity: .64;
        scale: .92;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.66), 0 3px 10px rgba(31,95,201,.04);
    }
    50% {
        opacity: 1;
        scale: 1.12;
        box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 36px rgba(83,157,255,.62), 0 16px 44px rgba(31,95,201,.44);
    }
}

/* Refine hero-label typography without changing its size or blue palette. */
html body #ais-home .ais-art-label {
    color: #203d5e !important;
    font-size: 10px !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-style: oblique 4deg !important;
    letter-spacing: .12em !important;
    text-shadow: none;
    -webkit-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}
html body #ais-home .ais-art::after {
    color: #0e3b7d !important;
    font-size: 9px !important;
    font-family: Consolas, "Roboto Mono", monospace !important;
    font-weight: 500 !important;
    font-style: oblique 3deg !important;
    letter-spacing: .13em !important;
    text-shadow: none;
    -webkit-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-art::after { animation: none !important; scale: 1 !important; }
}

/* ais-primary-card-2d: stable vertical float for the </> plane only. */
html body #ais-home .ais-plane.p1 {
    translate: 0 10px;
    rotate: none;
    filter: none;
    animation-name: aisV2PrimaryCard2D !important;
    animation-duration: 6.2s !important;
    animation-delay: 0s !important;
    animation-fill-mode: both !important;
    animation-timing-function: cubic-bezier(.42,0,.24,1) !important;
    backface-visibility: visible;
    will-change: translate;
}
@keyframes aisV2PrimaryCard2D {
    0%, 100% { translate: 0 10px; }
    48% { translate: 0 -6px; }
}
@media (max-width: 700px) {
    html body #ais-home .ais-plane.p1 {
        translate: 0 8px;
        animation-duration: 5.8s !important;
    }
    @keyframes aisV2PrimaryCard2D {
        0%, 100% { translate: 0 8px; }
        48% { translate: 0 -5px; }
    }
}

/* Keep the subpage breadcrumb and title start aligned across every hero. */
html body #ais-home .ais-ai-hero > .ais-wrap {
    margin-top: 20px !important;
    margin-bottom: auto !important;
}

html body #ais-home .ais-inner-hero > .ais-wrap {
    margin-top: 18px !important;
    margin-bottom: auto !important;
}

@media (max-width: 700px) {
    html body #ais-home .ais-ai-hero > .ais-wrap,
    html body #ais-home .ais-inner-hero > .ais-wrap {
        margin-top: 14px !important;
        margin-bottom: auto !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body #ais-home .ais-plane.p1 {
        animation: none !important;
        translate: 0 0 !important;
    }
}

/* ais-stack-upshift: move the three stacked planes upward together. */
html body #ais-home .ais-plane { margin-top: -8px; }
@media (max-width: 700px) {
    html body #ais-home .ais-plane { margin-top: -6px; }
}

/* selected-card-subtle-hover: keep primary information cards calm and easy to track. */
@media (hover: hover) and (pointer: fine) {
    html body #ais-home .ais-card:hover,
    html body #ais-home .ais-card:focus-within,
    html body #ais-home .ais-solution-card:hover,
    html body #ais-home .ais-solution-card:focus-within,
    html body #ais-home .ais-job:hover,
    html body #ais-home .ais-job:focus-within,
    html body #ais-home .ais-contact-card:hover,
    html body #ais-home .ais-contact-card:focus-within {
        transform: translateY(-1px) scale(1.002) !important;
    }
}
/* ===== 1.0.14: one hover treatment for the primary information cards ===== */
html body #ais-home .ais-card,html body #ais-home .ais-solution-card,html body #ais-home .ais-job,html body #ais-home .ais-contact-card{transition:transform 260ms cubic-bezier(.2,.7,.2,1),box-shadow 260ms ease,border-color 260ms ease!important}
@media(hover:hover) and (pointer:fine){
html body #ais-home .ais-card:hover,html body #ais-home .ais-card:focus-within,
html body #ais-home .ais-solution-card:hover,html body #ais-home .ais-solution-card:focus-within,
html body #ais-home .ais-job:hover,html body #ais-home .ais-job:focus-within,
html body #ais-home .ais-contact-card:hover,html body #ais-home .ais-contact-card:focus-within{transform:translateY(-1px) scale(1.002)!important;box-shadow:0 15px 34px rgba(16,42,72,.08)!important;border-color:#b9c9de!important;z-index:2}
}
@media(prefers-reduced-motion:reduce){
html body #ais-home .ais-card,html body #ais-home .ais-solution-card,html body #ais-home .ais-job,html body #ais-home .ais-contact-card{transition:box-shadow 120ms ease,border-color 120ms ease!important}
html body #ais-home .ais-card:hover,html body #ais-home .ais-card:focus-within,
html body #ais-home .ais-solution-card:hover,html body #ais-home .ais-solution-card:focus-within,
html body #ais-home .ais-job:hover,html body #ais-home .ais-job:focus-within,
html body #ais-home .ais-contact-card:hover,html body #ais-home .ais-contact-card:focus-within{transform:none!important}
}

/* ===== 1.0.14: inner-page hero image fade-in, text rise, compact cards ===== */
html body #ais-home .ais-photo-hero,html body #ais-home .ais-ai-hero{position:relative;isolation:isolate;overflow:hidden;background-image:none!important;background-color:#102a48!important}
html body #ais-home .ais-photo-hero>.ais-wrap,html body #ais-home .ais-ai-hero>.ais-wrap{position:relative;z-index:2}
html body #ais-home .ais-ready-image{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;opacity:0;transition:opacity .65s ease;pointer-events:none}
html body #ais-home .ais-photo-hero.is-image-ready>.ais-ready-image,html body #ais-home .ais-ai-hero.is-image-ready>.ais-ready-image{opacity:1}
html body #ais-home .ais-ready-overlay{position:absolute;inset:0;z-index:1;pointer-events:none}
@keyframes aisSubpageHomeRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
html body #ais-home .ais-photo-hero .ais-eyebrow,html body #ais-home .ais-photo-hero h1,html body #ais-home .ais-photo-hero p,html body #ais-home .ais-ai-hero .ais-eyebrow,html body #ais-home .ais-ai-hero h1,html body #ais-home .ais-ai-hero p,html body #ais-home .ais-ai-hero .ais-tags{animation:aisSubpageHomeRise .5s ease-out both!important;transform:none;opacity:1}
html body #ais-home .ais-photo-hero h1,html body #ais-home .ais-ai-hero h1{animation-delay:.05s!important}
html body #ais-home .ais-photo-hero p,html body #ais-home .ais-ai-hero p{animation-delay:.1s!important}
html body #ais-home .ais-ai-hero .ais-tags{animation-delay:.12s!important}
html body #ais-home .ais-solution-card,html body #ais-home .ais-job,html body #ais-home .ais-contact-card{padding:20px!important}
html body #ais-home .ais-solution-card .ais-kicker,html body #ais-home .ais-contact-card .ais-eyebrow{margin-bottom:10px!important}
html body #ais-home .ais-solution-card h3{margin-bottom:8px!important}
html body #ais-home .ais-solution-card p,html body #ais-home .ais-contact-card p{line-height:1.75!important}
html body #ais-home .ais-solution-card small{margin-top:10px!important;padding-top:8px!important}
html body #ais-home .ais-step{padding:16px!important}
html body #ais-home .ais-step h3{margin:10px 0 6px!important}
html body #ais-home .ais-job h3{margin-top:10px!important}
html body #ais-home .ais-job p{margin-top:6px!important}
html body #ais-home .ais-detail>div{padding:18px 0!important}
html body #ais-home .ais-detail ul{margin-top:0!important;margin-bottom:0!important}
html body #ais-home .ais-contact-card h2{margin:10px 0!important}
html body #ais-home .ais-contact-card .ais-address{margin:14px 0!important}
html body #ais-home .ais-note-panel,html body #ais-home .ais-ai-note{padding:20px 22px!important;gap:16px!important}
html body #ais-home .ais-note-panel h3{margin-bottom:8px!important}
@media(max-width:760px){
html body #ais-home .ais-solution-card,html body #ais-home .ais-job,html body #ais-home .ais-contact-card{padding:18px 16px!important}
html body #ais-home .ais-job h3{margin-top:7px!important}
html body #ais-home .ais-detail>div{padding:14px 0!important;gap:6px!important}
html body #ais-home .ais-step{padding:15px 16px!important}
html body #ais-home .ais-note-panel,html body #ais-home .ais-ai-note{padding:18px 16px!important}
}
@media(prefers-reduced-motion:reduce){
html body #ais-home .ais-ready-image{transition:none!important}
html body #ais-home .ais-photo-hero .ais-eyebrow,html body #ais-home .ais-photo-hero h1,html body #ais-home .ais-photo-hero p,html body #ais-home .ais-ai-hero .ais-eyebrow,html body #ais-home .ais-ai-hero h1,html body #ais-home .ais-ai-hero p,html body #ais-home .ais-ai-hero .ais-tags{animation:none!important;opacity:1!important;transform:none!important}
}

/* ===== 1.0.14: homepage strengths row (eyebrow / title / description) ===== */
html body #ais-home #ais-services{padding-bottom:48px!important}
html body #ais-home .ais-strengths-refined{position:relative;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:48px;padding:30px 0;border:0;border-top:1px solid transparent;border-bottom:1px solid transparent;border-radius:0;background:transparent;overflow:visible;font-feature-settings:"palt"}
html body #ais-home .ais-strengths-refined::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;pointer-events:none;background:linear-gradient(90deg,rgba(127,170,216,.24) 0%,rgba(127,170,216,.30) 12%,rgba(127,170,216,.40) 30%,rgba(127,170,216,.46) 50%,rgba(127,170,216,.40) 70%,rgba(127,170,216,.30) 88%,rgba(127,170,216,.24) 100%)}
html body #ais-home .ais-strengths-refined::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;pointer-events:none;background:linear-gradient(90deg,rgba(127,170,216,.28) 0%,rgba(127,170,216,.34) 12%,rgba(127,170,216,.44) 30%,rgba(127,170,216,.50) 50%,rgba(127,170,216,.44) 70%,rgba(127,170,216,.34) 88%,rgba(127,170,216,.28) 100%)}
html body #ais-home .ais-strengths-refined>div{position:relative;padding:0 32px;border:0;background:transparent;min-width:0}
html body #ais-home .ais-strengths-refined>div+div::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:1px;background:#e7edf3}
html body #ais-home .ais-strengths-refined>div:first-child{padding-left:0}
html body #ais-home .ais-strengths-refined>div:last-child{border-right:0;padding-right:0}
html body #ais-home .ais-strengths-refined .ais-strength-eyebrow{display:block;font-style:normal;font-size:10.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#6f8aa8;margin:0 0 12px;line-height:1.4}
html body #ais-home .ais-strengths-refined span{display:block;font-size:17px;font-weight:600;letter-spacing:.03em;color:#102a48;margin:0 0 8px;line-height:1.5}
html body #ais-home .ais-strengths-refined b{display:block;font-size:14px;font-weight:400;letter-spacing:.04em;color:#4f6580;line-height:1.9;margin:0;text-wrap:pretty}
@media(max-width:760px){
html body #ais-home #ais-services{padding-bottom:38px!important}
html body #ais-home .ais-strengths-refined{grid-template-columns:1fr;gap:0;margin-top:38px;padding:6px 0}
html body #ais-home .ais-strengths-refined>div,html body #ais-home .ais-strengths-refined>div:first-child,html body #ais-home .ais-strengths-refined>div:last-child{display:grid;grid-template-columns:1fr;gap:0;padding:20px 0;border:0;border-bottom:1px solid #e5ebf2}
html body #ais-home .ais-strengths-refined>div:last-child{border-bottom:0}
html body #ais-home .ais-strengths-refined>div+div::before{display:none}
html body #ais-home .ais-strengths-refined .ais-strength-eyebrow{font-size:10px;margin-bottom:8px}
html body #ais-home .ais-strengths-refined span{font-size:16px;margin-bottom:4px}
html body #ais-home .ais-strengths-refined b{font-size:13.5px;line-height:1.8;letter-spacing:.03em}
html body #ais-home .ais-strengths-refined b br{display:none}
}

/* ===== 1.0.15: homepage hero labels (outside the cards, clearer text) ===== */
@media(min-width:761px){
html body #ais-home .ais-art .ais-art-label.l1{top:64px!important;left:-30px!important}
html body #ais-home .ais-art .ais-art-label.l2{top:206px!important;right:-40px!important}
html body #ais-home .ais-art .ais-art-label.l3{bottom:44px!important;left:-30px!important}
}
@media(min-width:1100px){html body #ais-home .ais-art .ais-art-label.l1{top:108px!important;left:-30px!important}}
html body #ais-home .ais-art .ais-art-label{background-color:rgba(255,255,255,.28)!important;color:#0d2747!important;font-weight:500!important;font-size:10.5px!important;border-color:rgba(255,255,255,.72)!important}

/* ===== 1.0.15: homepage hero rings ===== */
html body #ais-home .ais-art .ais-orbit::before{background:conic-gradient(from 20deg,transparent 0deg,transparent 54%,rgba(70,132,236,.25) 62%,rgba(110,175,255,1) 70%,rgba(235,245,255,1) 72%,rgba(140,195,255,.55) 78%,transparent 86%)!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 2.5px))!important;mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 2.5px))!important;filter:drop-shadow(0 0 6px rgba(90,160,255,.8))}
html body #ais-home .ais-art .ais-orbit::after{border:1.5px dashed rgba(172,210,255,.95)!important;box-shadow:0 0 14px rgba(99,165,255,.30),inset 0 0 14px rgba(99,165,255,.16)}

/* ===== 1.0.15: strengths row spacing and lines ===== */
html body #ais-home .ais-strengths-refined{margin-top:32px!important;padding:20px 0!important}
html body #ais-home #ais-services{padding-bottom:32px!important}
@media(max-width:760px){
html body #ais-home .ais-strengths-refined{margin-top:28px!important;padding:2px 0!important}
html body #ais-home .ais-strengths-refined>div,html body #ais-home .ais-strengths-refined>div:first-child,html body #ais-home .ais-strengths-refined>div:last-child{padding:16px 0!important}
html body #ais-home #ais-services{padding-bottom:28px!important}
}
html body #ais-home .ais-strengths-refined::before{background:linear-gradient(90deg,rgba(127,170,216,.16) 0%,rgba(127,170,216,.26) 12%,rgba(127,170,216,.42) 30%,rgba(127,170,216,.58) 50%,rgba(127,170,216,.42) 70%,rgba(127,170,216,.26) 88%,rgba(127,170,216,.16) 100%)!important}
html body #ais-home .ais-strengths-refined::after{background:linear-gradient(90deg,rgba(127,170,216,.20) 0%,rgba(127,170,216,.30) 12%,rgba(127,170,216,.46) 30%,rgba(127,170,216,.62) 50%,rgba(127,170,216,.46) 70%,rgba(127,170,216,.30) 88%,rgba(127,170,216,.20) 100%)!important}

/* ===== 1.0.15: inner-page hero centring, placeholder, faster fade ===== */
html body #ais-home .ais-photo-hero,html body #ais-home .ais-ai-hero{padding-top:26px!important;padding-bottom:26px!important}
html body #ais-home .ais-photo-hero>.ais-wrap,html body #ais-home .ais-ai-hero>.ais-wrap{margin-top:auto!important;margin-bottom:auto!important}
@media(max-width:760px){html body #ais-home .ais-photo-hero,html body #ais-home .ais-ai-hero{height:auto!important;min-height:340px!important;display:flex!important;align-items:center!important;padding-top:24px!important;padding-bottom:24px!important}}
html body #ais-home .ais-ready-placeholder{position:absolute;inset:-24px;z-index:0;background-size:cover;background-repeat:no-repeat;filter:blur(14px);pointer-events:none}
html body #ais-home .ais-ready-image{transition:opacity .35s ease!important}
/* 1.0.16: keep ring rotation on the compositor; drop the costly glows on mobile */
html body #ais-home .ais-art .ais-orbit::before,html body #ais-home .ais-art .ais-orbit::after{will-change:transform;backface-visibility:hidden}
@media(max-width:760px){html body #ais-home .ais-art .ais-orbit::before{filter:none!important}html body #ais-home .ais-art .ais-orbit::after{box-shadow:none!important}}
