.home-page {
    --home-bg: #0b0d10;
    --home-band: #101318;
    --home-surface: #15191f;
    --home-border: rgba(255, 255, 255, 0.11);
    --home-border-strong: rgba(255, 255, 255, 0.2);
    --home-text: #f2f4f7;
    --home-muted: #a0a7b3;
    --home-dim: #727a87;
    --home-cyan: #55c7d9;
    --home-green: #66c994;
    --home-rose: #e77b8b;
    --home-page-wash: rgba(7, 10, 13, 0.78);
    --home-glass-shell: rgba(10, 14, 18, 0.52);
    --home-glass-panel: rgba(16, 21, 27, 0.46);
    --home-glass: rgba(21, 27, 34, 0.52);
    --home-glass-hover: rgba(29, 37, 45, 0.66);
    --home-glass-highlight: rgba(255, 255, 255, 0.075);
    --home-glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    --home-card-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
    width: 100%;
    min-height: calc(100vh - 129px);
    overflow: hidden;
    background: var(--home-page-wash);
    color: var(--home-text);
}

.home-page *,
.home-page *::before,
.home-page *::after { box-sizing: border-box; }

.home-hero {
    position: relative;
    display: flex;
    width: min(100%, 1600px);
    height: min(620px, calc(100vh - 108px));
    min-height: 510px;
    margin: 0 auto;
    align-items: center;
    overflow: hidden;
    background-color: #090b0e;
    background-image: url('../assets/home-glass-courtyard.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(4, 7, 10, 0.7);
    backdrop-filter: blur(7px) saturate(0.78);
    -webkit-backdrop-filter: blur(7px) saturate(0.78);
}
.home-hero-showcase {
    position: absolute;
    top: 50%;
    right: max(24px, calc((100% - 1200px) / 2));
    z-index: 1;
    width: min(42%, 600px);
    transform: translateY(-50%);
}
.home-showcase-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background-color: #1b252a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 56px rgba(0, 0, 0, 0.2);
}
.home-showcase-viewport::after {
    content: '';
    position: absolute;
    inset: 5px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 3px;
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}
.home-showcase-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.55s ease;
    will-change: transform;
}
.home-showcase-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}
.home-showcase-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(0.96);
    opacity: 0.58;
    transition: filter 0.45s ease, opacity 0.45s ease, transform 0.7s ease;
}
.home-hero-showcase:hover .home-showcase-slide img { filter: saturate(0.94) contrast(0.98); opacity: 0.66; transform: scale(1.012); }
.home-showcase-dots {
    position: absolute;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}
.home-showcase-dots:empty { display: none; }
.home-showcase-dot {
    width: 16px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.38);
    pointer-events: auto;
    transition: width 0.2s ease, background-color 0.2s ease;
}
.home-showcase-dot.is-active { width: 28px; background: rgba(255, 255, 255, 0.86); }
.home-showcase-dot:focus-visible { outline: 2px solid var(--home-cyan); outline-offset: 3px; }
.home-hero-showcase .home-hero-note {
    position: static;
    width: 100%;
    margin-top: 12px;
    justify-content: center;
}
.home-hero::after { content: ''; position: absolute; inset: 0; z-index: 3; border-bottom: 1px solid var(--home-border); pointer-events: none; }

.home-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 24px;
}

.home-eyebrow,
.home-section-lead > span,
.home-section-heading > div > span,
.home-process-copy > span {
    display: block;
    margin-bottom: 12px;
    color: var(--home-cyan);
    font-size: 12px;
    font-weight: 720;
    line-height: 1.3;
    letter-spacing: 0;
}

.home-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: 58px;
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.56);
}

.home-hero-content > p {
    max-width: min(460px, 42%);
    margin: 20px 0 0;
    color: #d3d8df;
    font-size: 17px;
    line-height: 1.75;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.72);
}

.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.home-button {
    display: inline-flex;
    min-width: 116px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(8, 10, 14, 0.68);
    color: #fff;
    font-size: 13px;
    font-weight: 680;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.14), 0 8px 26px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.home-button:hover { border-color: rgba(255, 255, 255, 0.52); background: rgba(17, 21, 27, 0.88); transform: translateY(-1px); }
.home-button-primary { border-color: var(--home-cyan); background: var(--home-cyan); color: #071216; backdrop-filter: none; }
.home-button-primary:hover { border-color: #71d4e3; background: #71d4e3; }
.home-button:focus-visible,
.home-entry:focus-visible,
.home-process a:focus-visible { outline: 2px solid var(--home-cyan); outline-offset: 3px; }

.home-hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c0c6cf;
    font-size: 11px;
}
.home-hero-note i { width: 18px; height: 1px; background: rgba(255, 255, 255, 0.3); }

.home-capabilities,
.home-entry-band,
.home-process { width: min(100%, 1200px); margin: 0 auto; padding-right: 24px; padding-left: 24px; }
.home-capabilities {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr);
    gap: 70px;
    padding-top: 76px;
    padding-bottom: 76px;
}

.home-section-lead h2,
.home-section-heading h2,
.home-process-copy h2 {
    margin: 0;
    color: var(--home-text);
    font-size: 28px;
    font-weight: 740;
    line-height: 1.3;
    letter-spacing: 0;
}
.home-section-lead p,
.home-section-heading > p,
.home-process-copy p { margin: 16px 0 0; color: var(--home-muted); font-size: 13px; line-height: 1.75; }

.home-capability-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: var(--home-glass-panel);
    box-shadow: inset 0 1px 0 var(--home-glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.12), var(--home-glass-shadow);
    backdrop-filter: blur(20px) saturate(1.12);
    -webkit-backdrop-filter: blur(20px) saturate(1.12);
}
.home-capability-list article { min-width: 0; padding: 25px 22px 24px; border-left: 1px solid var(--home-border); }
.home-capability-list article:first-child { border-left: 0; }
.home-capability-list article { transition: background-color 0.2s ease; }
.home-capability-list article:hover { background: rgba(255, 255, 255, 0.035); }
.home-capability-list b { color: var(--home-dim); font-size: 11px; font-weight: 650; }
.home-capability-list h3 { margin: 32px 0 0; color: var(--home-text); font-size: 15px; font-weight: 690; }
.home-capability-list p { margin: 10px 0 0; color: var(--home-muted); font-size: 12px; line-height: 1.7; }

.home-entry-band {
    width: 100%;
    max-width: none;
    padding-top: 70px;
    padding-bottom: 78px;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    background: var(--home-glass-shell);
    box-shadow: inset 0 1px 0 var(--home-glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(26px) saturate(1.15);
    -webkit-backdrop-filter: blur(26px) saturate(1.15);
}
.home-entry-band > * { width: min(100%, 1152px); margin-right: auto; margin-left: auto; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 26px; }
.home-section-heading > p { max-width: 340px; margin: 0; text-align: right; }

.home-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-entry {
    position: relative;
    display: block;
    min-height: 182px;
    min-width: 0;
    padding: 21px 22px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 6px;
    background: var(--home-glass);
    box-shadow: inset 0 1px 0 var(--home-glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.12), var(--home-card-shadow);
    backdrop-filter: blur(12px) saturate(1.12);
    -webkit-backdrop-filter: blur(12px) saturate(1.12);
    color: var(--home-text);
    text-decoration: none;
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.home-entry > span { display: inline-flex; align-items: center; gap: 8px; color: var(--home-dim); font-size: 11px; }
.home-entry > span::before { content: ''; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 2px; background: rgba(85, 199, 217, 0.16); }
.home-entry:nth-child(2) > span::before,
.home-entry:nth-child(5) > span::before { background: rgba(102, 201, 148, 0.16); }
.home-entry:nth-child(3) > span::before,
.home-entry:nth-child(6) > span::before { background: rgba(231, 123, 139, 0.14); }
.home-entry h3 { margin: 34px 0 0; color: var(--home-text); font-size: 17px; font-weight: 700; }
.home-entry p { max-width: 270px; margin: 9px 30px 0 0; color: var(--home-muted); font-size: 12px; line-height: 1.6; }
.home-entry > b { position: absolute; right: 21px; bottom: 19px; color: var(--home-dim); font-size: 17px; font-weight: 500; transition: color 0.2s ease, transform 0.2s ease; }
.home-entry:hover { border-color: var(--home-border-strong); background: var(--home-glass-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 18px 40px rgba(0, 0, 0, 0.19); transform: translateY(-2px); }
.home-entry:hover > b { color: var(--home-cyan); transform: translateX(3px); }
.home-entry-featured { border-top: 2px solid var(--home-green); }

.home-process {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 88px;
    padding-top: 84px;
    padding-bottom: 88px;
}
.home-process-copy a { display: inline-block; margin-top: 24px; color: var(--home-cyan); font-size: 13px; font-weight: 650; text-decoration: none; }
.home-process-copy a:hover { color: #7ed8e6; }
.home-process-steps {
    margin: 0;
    padding: 0 18px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: var(--home-glass-panel);
    box-shadow: inset 0 1px 0 var(--home-glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.12), var(--home-glass-shadow);
    list-style: none;
    backdrop-filter: blur(20px) saturate(1.12);
    -webkit-backdrop-filter: blur(20px) saturate(1.12);
}
.home-process-steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--home-border); }
.home-process-steps li { transition: background-color 0.2s ease; }
.home-process-steps li:hover { background: rgba(255, 255, 255, 0.035); }
.home-process-steps li:last-child { border-bottom: 0; }
.home-process-steps b { color: var(--home-dim); font-size: 11px; font-weight: 650; }
.home-process-steps span { color: var(--home-text); font-size: 13px; }

body:has(.home-page) {
    background-color: #263137;
    background-image: url('../assets/home-glass-courtyard.jpg');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: multiply;
}
body:has(.home-page) .header {
    background: rgba(8, 12, 16, 0.58) !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.025), 0 12px 36px rgba(0, 0, 0, 0.18) !important;
    backdrop-filter: blur(28px) saturate(1.14);
    -webkit-backdrop-filter: blur(28px) saturate(1.14);
}
body:has(.home-page) :is(.nav-link-active, .nav-links > a.active) {
    color: #7bd8e6 !important;
    background: rgba(85, 199, 217, 0.1) !important;
    box-shadow: inset 0 0 0 1px rgba(85, 199, 217, 0.13);
}
body:has(.home-page) > .footer {
    background: rgba(7, 10, 13, 0.62);
    border-top-color: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(24px) saturate(1.15);
    -webkit-backdrop-filter: blur(24px) saturate(1.15);
}

html[data-theme="light"] .home-page {
    --home-bg: #f2f4f6;
    --home-band: #e9edf0;
    --home-surface: rgba(255, 255, 255, 0.8);
    --home-border: rgba(27, 35, 47, 0.14);
    --home-border-strong: rgba(27, 35, 47, 0.28);
    --home-text: #20252c;
    --home-muted: #626c79;
    --home-dim: #848d99;
    --home-cyan: #137f92;
    --home-green: #378c60;
    --home-rose: #b95063;
    --home-page-wash: rgba(235, 241, 244, 0.78);
    --home-glass-shell: rgba(238, 244, 247, 0.56);
    --home-glass-panel: rgba(255, 255, 255, 0.48);
    --home-glass: rgba(255, 255, 255, 0.54);
    --home-glass-hover: rgba(255, 255, 255, 0.72);
    --home-glass-highlight: rgba(255, 255, 255, 0.84);
    --home-glass-shadow: 0 20px 48px rgba(54, 72, 80, 0.11);
    --home-card-shadow: 0 14px 32px rgba(54, 72, 80, 0.1);
}
html[data-theme="light"] .home-capability-list,
html[data-theme="light"] .home-process-steps { background: var(--home-glass-panel); box-shadow: inset 0 1px 0 var(--home-glass-highlight), inset 0 -1px 0 rgba(63, 78, 86, 0.08), var(--home-glass-shadow); }
html[data-theme="light"] .home-hero {
    background-color: #dfe7e9;
    background-image: url('../assets/home-glass-courtyard.jpg');
    background-position: center;
    background-size: cover;
}
html[data-theme="light"] .home-hero-backdrop {
    background: rgba(239, 244, 246, 0.7);
    backdrop-filter: blur(8px) saturate(0.78);
    -webkit-backdrop-filter: blur(8px) saturate(0.78);
}
html[data-theme="light"] .home-showcase-viewport {
    border-color: rgba(35, 50, 58, 0.13);
    background-color: #dce6e9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 24px 54px rgba(54, 73, 81, 0.13);
}
html[data-theme="light"] .home-showcase-viewport::after { border-color: rgba(255, 255, 255, 0.54); box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.18); }
html[data-theme="light"] .home-showcase-slide img {
    filter: saturate(0.84) contrast(0.93) brightness(1.03);
    opacity: 0.62;
}
html[data-theme="light"] .home-hero-showcase:hover .home-showcase-slide img { filter: saturate(0.9) contrast(0.96) brightness(1.02); opacity: 0.7; }
html[data-theme="light"] .home-hero h1 {
    color: #172127 !important;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.74);
}
html[data-theme="light"] .home-hero-content > p {
    color: #35434c;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
}
html[data-theme="light"] .home-button {
    border-color: rgba(28, 40, 48, 0.24);
    background: rgba(255, 255, 255, 0.54);
    color: #1a252c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 10px 28px rgba(46, 66, 74, 0.12);
}
html[data-theme="light"] .home-button:hover { border-color: rgba(28, 40, 48, 0.42); background: rgba(255, 255, 255, 0.76); }
html[data-theme="light"] .home-button-primary { border-color: var(--home-cyan); background: var(--home-cyan); color: #fff; }
html[data-theme="light"] .home-button-primary:hover { border-color: #0f7182; background: #0f7182; }
html[data-theme="light"] .home-hero-note { color: #43515a; }
html[data-theme="light"] .home-hero-note i { background: rgba(35, 48, 56, 0.28); }
html[data-theme="light"] .home-entry-band { border-color: rgba(27, 35, 47, 0.1); background: var(--home-glass-shell); }
html[data-theme="light"] body:has(.home-page) { background-color: #dfe7e9 !important; background-blend-mode: soft-light; }
html[data-theme="light"] body:has(.home-page) .header { background: rgba(245, 249, 250, 0.66) !important; border-bottom-color: rgba(27, 35, 47, 0.12) !important; }
html[data-theme="light"] body:has(.home-page) :is(.nav-link-active, .nav-links > a.active) { color: #0f7182 !important; background: rgba(19, 127, 146, 0.1) !important; box-shadow: inset 0 0 0 1px rgba(19, 127, 146, 0.12); }
html[data-theme="light"] body:has(.home-page) > .footer { background: rgba(235, 241, 244, 0.68); border-top-color: rgba(27, 35, 47, 0.12); }

@media (max-width: 900px) {
    .home-hero { height: 570px; min-height: 0; background-position: right center; }
    .home-hero-showcase { right: 24px; width: 45%; }
    .home-hero-content { padding: 24px; }
    .home-hero h1 { font-size: 48px; }
    .home-capabilities { grid-template-columns: 1fr; gap: 38px; }
    .home-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-process { gap: 52px; }
}

@media (max-width: 640px) {
    body:has(.home-page) { background-attachment: scroll; }
    .home-hero { height: 560px; align-items: flex-end; background-position: 64% center; }
    .home-hero-backdrop { background: rgba(4, 7, 10, 0.72); }
    .home-hero-showcase { top: 22px; right: 16px; width: 62%; transform: none; }
    .home-hero-showcase .home-hero-note { margin-top: 9px; }
    html[data-theme="light"] .home-hero-backdrop { background: rgba(239, 244, 246, 0.72); }
    .home-hero-content { padding: 30px 16px 92px; }
    .home-eyebrow { margin-bottom: 10px; }
    .home-hero h1 { font-size: 38px; }
    .home-hero-content > p { max-width: none; margin-top: 15px; font-size: 14px; line-height: 1.7; }
    .home-hero-actions { margin-top: 23px; }
    .home-button { flex: 1; min-width: 0; }
    .home-hero-note { right: 16px; bottom: 23px; left: 16px; flex-wrap: wrap; gap: 7px; font-size: 10px; }
    .home-hero-note i { width: 9px; }
    .home-capabilities,
    .home-process { padding-right: 16px; padding-left: 16px; }
    .home-capabilities { gap: 30px; padding-top: 52px; padding-bottom: 54px; }
    .home-section-lead h2,
    .home-section-heading h2,
    .home-process-copy h2 { font-size: 23px; }
    .home-capability-list { grid-template-columns: 1fr; }
    .home-capability-list article { padding: 18px; border-bottom: 1px solid var(--home-border); border-left: 0; }
    .home-capability-list article:last-child { border-bottom: 0; }
    .home-capability-list h3 { margin-top: 10px; }
    .home-entry-band { padding: 50px 16px 58px; }
    .home-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .home-section-heading > p { max-width: none; text-align: left; }
    .home-entry-grid { grid-template-columns: 1fr; }
    .home-entry { min-height: 154px; }
    .home-entry { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .home-capability-list,
    .home-process-steps { backdrop-filter: blur(12px) saturate(1.06); -webkit-backdrop-filter: blur(12px) saturate(1.06); }
    .home-entry-band { backdrop-filter: blur(18px) saturate(1.08); -webkit-backdrop-filter: blur(18px) saturate(1.08); }
    .home-entry h3 { margin-top: 24px; }
    .home-process { grid-template-columns: 1fr; gap: 36px; padding-top: 58px; padding-bottom: 62px; }
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero-content { animation: home-rise 0.52s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .home-hero-showcase { animation: home-fade 0.62s 0.08s ease both; }
    .home-capabilities { animation: home-rise 0.52s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .home-entry-band > * { animation: home-rise 0.52s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .home-process { animation: home-rise 0.52s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
}

@keyframes home-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes home-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
    .home-entry:hover,
    .home-button:hover,
    .home-hero-showcase:hover .home-showcase-slide img { transform: none !important; }
}
