:root {
    color-scheme: dark;
    --bg: #0a0f19;
    --bg-soft: #111828;
    --surface: #1a2540;
    --surface-2: #1f2b47;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f5f7fb;
    --muted: #a8b3c9;
    --accent: #ffb74d;
    --accent-dark: #ffd700;
    --accent-2: #49d1c6;
    --accent-3: #e95f5c;
    --section-bg: #151c2e;
    --section-overlay: radial-gradient(1100px 520px at 12% 18%, rgba(255, 183, 77, 0.18), transparent 62%),
        radial-gradient(1000px 520px at 88% 20%, rgba(73, 209, 198, 0.16), transparent 58%),
        linear-gradient(120deg, rgba(255, 183, 77, 0.08), rgba(73, 209, 198, 0.06) 55%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --shadow: 0 22px 60px rgba(5, 8, 16, 0.55);
    --shadow-soft: 0 14px 40px rgba(10, 12, 20, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(73, 209, 198, 0.15), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(255, 183, 77, 0.12), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(255, 183, 77, 0.12), transparent 55%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: 'Work Sans', Arial, sans-serif;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 20px;
    background: #ffffff;
    color: #0b0f1a;
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 9999;
}

.skip-link:focus {
    top: 20px;
}

.client-portal {
    padding: 48px clamp(20px, 5vw, 64px) 96px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.portal-hero {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: center;
}

.portal-hero h1 {
    font-size: clamp(2rem, 2.6vw, 2.8rem);
    font-family: 'Sora', Arial, sans-serif;
    margin-bottom: 12px;
}

.portal-hero p {
    color: var(--muted);
    max-width: 520px;
}

.portal-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.portal-card--form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-card h2,
.portal-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    margin-bottom: 4px;
}

.portal-user {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portal-user__name {
    font-weight: 600;
}

.portal-user__email {
    color: var(--muted);
}

.portal-alert {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.portal-alert--success {
    background: rgba(73, 209, 198, 0.12);
    border-color: rgba(73, 209, 198, 0.35);
}

.portal-alert--error {
    background: rgba(233, 95, 92, 0.12);
    border-color: rgba(233, 95, 92, 0.35);
}

.portal-auth {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portal-section h2 {
    font-family: 'Sora', Arial, sans-serif;
    margin-bottom: 16px;
}

.portal-table {
    display: grid;
    gap: 10px;
}

.portal-table__row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    align-items: center;
    font-size: 0.95rem;
}

.portal-table__head {
    background: transparent;
    border: none;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    padding: 0 4px 4px;
}

.portal-table__empty {
    grid-template-columns: 1fr;
    text-align: center;
    color: var(--muted);
    background: transparent;
    border: 1px dashed var(--line);
}

.portal-table--items .portal-table__row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 0.5fr) minmax(0, 1fr);
}

.portal-menu {
    position: relative;
}

.portal-menu summary {
    list-style: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.portal-menu summary::-webkit-details-marker {
    display: none;
}

.portal-menu summary::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text);
    box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text);
}

.portal-menu[open] summary {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 24px rgba(6, 8, 12, 0.4);
}

.portal-menu__list {
    position: absolute;
    right: 0;
    top: 44px;
    min-width: 170px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.portal-menu__item {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.portal-menu__item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.portal-invoice__card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.portal-invoice__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.portal-invoice__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.portal-invoice__grid div {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

.portal-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 6px;
}

.portal-action {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 4px 0;
}

.portal-action select {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 10px;
    padding: 6px 10px;
}

.portal-hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
}

.portal-muted {
    color: var(--muted);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field input {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--text);
}

@media (max-width: 860px) {
    .portal-table__row {
        grid-template-columns: 1fr;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(180deg, rgba(6, 8, 12, 0.96) 0%, rgba(6, 8, 12, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04); /* Softer border */
    z-index: -1;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px clamp(20px, 5vw, 60px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Sora', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 183, 77, 0.25));
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-item--services > a {
    display: inline-flex;
    align-items: center;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    width: min(880px, 94vw);
    background: rgba(9, 12, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(6, 8, 12, 0.5);
    padding: 18px;
    display: none;
    text-decoration: none;
    color: inherit;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
    z-index: 1200;
}

.mega-menu__inner {
    width: 100%;
    display: grid;
    gap: 14px;
}

.mega-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mega-menu__title {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.mega-menu__cta {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mega-service-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    color: inherit;
}

.mega-service-card h3 {
    font-size: 14px;
    margin: 0;
    color: #ffffff;
}

.mega-service-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

.mega-service-card .service-footer {
    font-size: 10px;
    letter-spacing: 1.5px;
}

.mega-service-card .service-footer span {
    width: 20px;
}

@media (hover: hover) and (pointer: fine) {
    .nav-item--services:hover .mega-menu,
    .nav-item--services:focus-within .mega-menu {
        display: block;
    }
}

@media (max-width: 1100px) {
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        margin-top: 14px;
    }

    .mega-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nav-links > a,
.nav-links > .nav-item > a {
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.nav-links > a span,
.nav-links > .nav-item > a span {
    position: relative;
    display: inline-block;
}

.nav-links > a span::after,
.nav-links > .nav-item > a span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links > a:hover,
.nav-links > a.is-active,
.nav-links > .nav-item > a:hover,
.nav-links > .nav-item > a.is-active {
    color: #ffffff;
}

.nav-links > a:hover span::after,
.nav-links > a.is-active span::after,
.nav-links > .nav-item > a:hover span::after,
.nav-links > .nav-item > a.is-active span::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Open State - The "X" Button Style */
body.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scale(0.8);
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 14px;
    gap: 8px;
    transition: background-position 0.35s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #1a1a1a;
    box-shadow: 0 10px 22px rgba(255, 183, 77, 0.2);
    border: none;
    background-size: 200% 200%;
    background-position: 0% 50%;
}

.btn-secondary,
.btn-ghost,
.btn-outline {
    border: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 22px rgba(6, 8, 12, 0.3);
    background-size: 200% 200%;
    background-position: 0% 50%;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn-outline:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
    background-position: 100% 50%;
}

main {
    position: relative;
    z-index: 2;
}

.section {
    padding: clamp(60px, 10vw, 110px) clamp(20px, 6vw, 80px);
}

.section-head {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-head h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-head p {
    color: var(--muted);
}

.section-head--clients {
    max-width: 600px;
    margin-bottom: 28px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.hero {
    padding: clamp(80px, 12vw, 140px) clamp(20px, 6vw, 90px) clamp(90px, 14vw, 160px);
}

.hero-minimal {
    position: relative;
    background: var(--bg-soft);
}

.hero-minimal::before {
    display: none;
}

.hero-minimal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
}

.hero-minimal-copy h1 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-rotator {
    position: relative;
    min-height: calc(1.05em * 4);
}

.hero-rotator-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: block;
    width: 100%;
    padding-right: 18px;
    white-space: normal;
}

.hero-rotator-text::after {
    content: '|';
    margin-left: 4px;
    color: rgba(255, 255, 255, 0.6);
    animation: hero-caret 0.9s steps(1) infinite;
}

@keyframes hero-caret {
    50% { opacity: 0; }
}

.hero-minimal-copy p {
    color: var(--muted);
    font-size: 16px;
    max-width: 460px;
}

.hero-emblem {
    position: relative;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 18px;
    align-items: center;
    justify-items: center;
    max-width: 380px;
    margin-left: auto;
}

.hero-emblem--signal::before {
    content: '';
    position: absolute;
    inset: -30% -10% auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.4), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.hero-preview {
    position: relative;
    max-width: 420px;
    margin-left: auto;
}

.hero-preview::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto auto;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(73, 209, 198, 0.3), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.preview-window {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.96), rgba(9, 12, 22, 0.98));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.preview-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.preview-url {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-body {
    padding: 22px 22px 24px;
    display: grid;
    gap: 12px;
}

.preview-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
}

.preview-body h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Sora', Arial, sans-serif;
    background: linear-gradient(90deg, #ffffff, #ffd88a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.preview-blocks {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.preview-block {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.preview-block--wide {
    height: 28px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(255, 183, 77, 0.35), rgba(255, 255, 255, 0.06));
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.preview-tags span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-stats {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 340px;
    margin-left: auto;
}

.hero-stats .stat-card {
    text-align: center;
    padding: 5px;
}

.hero-stats .stat-value {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.hero-stats .stat-label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.3;
    display: block;
}

.hero-stack {
    position: relative;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.96), rgba(9, 12, 22, 0.98));
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 18px;
    max-width: 420px;
    margin-left: auto;
    overflow: hidden;
}

.hero-stack::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.4), transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.stack-header {
    display: grid;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.stack-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.stack-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Sora', Arial, sans-serif;
    background: linear-gradient(90deg, #ffffff, #ffd88a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stack-cards {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.stack-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(19, 26, 44, 0.8), rgba(12, 16, 28, 0.9));
    padding: 16px;
    display: grid;
    gap: 8px;
}

.stack-card:nth-child(1) {
    transform: translateX(0);
}

.stack-card:nth-child(2) {
    transform: translateX(6px);
}

.stack-card:nth-child(3) {
    transform: translateX(12px);
}

.stack-label {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.stack-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    line-height: 1.4;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.stack-tags span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Legacy classes removed or overridden */

.emblem-frame {
    position: relative;
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
}

.emblem-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 183, 77, 0.4);
    box-shadow: inset 0 0 30px rgba(255, 183, 77, 0.2);
    animation: emblem-spin 14s linear infinite;
}

.emblem-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(7, 10, 18, 0.9);
    display: grid;
    place-items: center;
}

.emblem-core img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(255, 183, 77, 0.35));
}

.emblem-caption {
    text-align: center;
}

.emblem-caption span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.emblem-caption p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.emblem-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.emblem-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

.hero-emblem:hover .emblem-ring {
    border-color: rgba(255, 183, 77, 0.7);
}

.hero-emblem:hover .emblem-core {
    box-shadow: 0 16px 40px rgba(255, 183, 77, 0.2);
}

@keyframes emblem-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-immersive {
    position: relative;
    overflow: hidden;
}

.hero-immersive::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 183, 77, 0.15), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(73, 209, 198, 0.12), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.hero-bridge {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-main h1 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(40px, 5.2vw, 64px);
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-copy {
    color: var(--muted);
    font-size: 18px;
    min-height: 72px;
    position: relative;
}

.hero-copy span {
    display: block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-copy .copy-alt {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(10px);
}

.hero-immersive:hover .copy-main {
    opacity: 0;
    transform: translateY(-8px);
}

.hero-immersive:hover .copy-alt {
    opacity: 1;
    transform: translateY(0);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
}

.hero-lab {
    padding: 26px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(10, 14, 24, 0.96));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-lab::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 183, 77, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero-immersive:hover .hero-lab::after {
    opacity: 1;
}

.lab-orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 183, 77, 0.6), rgba(255, 183, 77, 0.05));
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 183, 77, 0.2);
}

.orb-core {
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(73, 209, 198, 0.8), rgba(73, 209, 198, 0.15));
}

.orb-ring {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: orb-spin 12s linear infinite;
}

@keyframes orb-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-immersive:hover .lab-orb {
    filter: drop-shadow(0 0 24px rgba(255, 183, 77, 0.5));
}

.lab-grid {
    display: grid;
    gap: 14px;
}

.lab-tile {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 12, 22, 0.75);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.lab-tile:hover {
    border-color: rgba(255, 183, 77, 0.5);
    background: rgba(17, 24, 40, 0.9);
}

.tile-title {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 15px;
    margin-bottom: 6px;
    display: block;
}

.lab-tile p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.tile-state {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.lab-tile:hover .tile-state {
    color: var(--accent);
}

.hero-ribbon {
    margin-top: 40px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.ribbon-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: ribbon-scroll 22s linear infinite;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hero-ribbon:hover .ribbon-track {
    animation-play-state: paused;
}

@keyframes ribbon-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.interactive-section .section-head {
    max-width: 620px;
}

.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.interactive-card {
    position: relative;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.interactive-card::after {
    content: '';
    position: absolute;
    inset: -60% 60% 0 -40%;
    background: linear-gradient(120deg, transparent, rgba(255, 183, 77, 0.25), transparent);
    opacity: 0;
    transform: translateX(-120%) rotate(12deg);
    }

.interactive-card:hover {
    border-color: rgba(255, 183, 77, 0.4);
}

.interactive-card:hover::after {
    opacity: 1;
    animation: card-sweep 0.8s ease;
}

@keyframes card-sweep {
    0% {
        transform: translateX(-120%) rotate(12deg);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(220%) rotate(12deg);
        opacity: 0;
    }
}

.card-top {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.card-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.interactive-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
}

.interactive-card p {
    color: var(--muted);
    font-size: 14px;
}

.card-bar {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.momentum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.momentum-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 28, 0.85);
}

.momentum-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.momentum-card p {
    color: var(--muted);
    font-size: 14px;
}

.growth-blueprint {
    position: relative;
}

.growth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.growth-copy {
    padding: 26px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(150deg, rgba(15, 22, 38, 0.95), rgba(8, 12, 22, 0.95));
    box-shadow: var(--shadow-soft);
}

.growth-copy h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin-bottom: 14px;
}

.growth-copy p {
    color: var(--muted);
    margin-bottom: 16px;
}

.growth-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.growth-point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(10, 14, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(255, 183, 77, 0.6);
}

.growth-point span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 183, 77, 0.22);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    display: grid;
    place-items: center;
}

.growth-point strong {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 6px;
}

.growth-point p {
    color: var(--muted);
    font-size: 14px;
}

.growth-stack {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.growth-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    position: relative;
    overflow: hidden;
}


.growth-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.growth-card p {
    color: var(--muted);
    font-size: 14px;
}

.growth-card:nth-child(1) {
    grid-column: span 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
    margin-bottom: 18px;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 28px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.metric-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.metric-card strong {
    font-size: 20px;
    font-family: 'Sora', Arial, sans-serif;
}

.metric-card span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

.hero-visual {
    position: relative;
    display: grid;
    gap: 16px;
}

.signal-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(21, 29, 51, 0.9), rgba(13, 17, 28, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.signal-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
}

.signal-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.signal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
}

.grid-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.panel-stack {
    margin-top: 24px;
}

.panel {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 18, 32, 0.85);
    box-shadow: var(--shadow-soft);
}

.panel h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
}

.panel p {
    color: var(--muted);
    font-size: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.service-card {
    min-height: 320px;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(19, 26, 44, 0.95), rgba(12, 16, 28, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 183, 77, 0.12), transparent 55%);
    opacity: 0.8;
}

.service-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.service-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.service-footer span {
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.service-card.is-clickable {
    cursor: pointer;
}

.service-modal .modal-card {
    max-width: 720px;
}

.service-modal-section {
    margin-top: 20px;
}

.service-modal-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.service-modal-section p,
.service-modal-section li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
}

.service-modal-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

.service-modal .modal-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.step-card {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-card strong {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
    gap: 12px;
    justify-content: center;
}

.client-card {
    min-height: 200px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(19, 26, 44, 0.95), rgba(12, 16, 28, 0.95));
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.client-card:hover {
    border-color: rgba(255, 183, 77, 0.4);
    box-shadow: 0 18px 50px rgba(4, 6, 12, 0.55);
}

.client-card[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.7;
}

.client-logo {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(6, 10, 20, 0.6));
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.client-logo img {
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
    border-radius: 12px;
}

.client-initials {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    color: var(--accent);
}

.client-name {
    font-size: 16px;
    font-family: 'Sora', Arial, sans-serif;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
}

.client-body {
    display: grid;
    gap: 8px;
    padding: 0 2px;
}

.client-info {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 14, 24, 0.85);
}

.client-desc {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.client-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.client-meta strong {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
}

.client-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.client-grid.is-single {
    justify-content: center;
    grid-template-columns: minmax(200px, 240px);
    justify-items: center;
}

.client-grid.is-single .client-card {
    max-width: 240px;
}

.client-footer span:first-child {
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.client-footer-label {
    font-size: 11px;
}

.client-empty {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
}



.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.stat {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
    display: block;
    font-family: 'Sora', Arial, sans-serif;
    font-size: 28px;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}

.contact-info h1 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(28px, 3.6vw, 38px);
    margin-bottom: 14px;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 16px;
}

.contact-cards {
    display: grid;
    gap: 14px;
}

.contact-section .form-shell {
    justify-self: end;
    max-width: 100%;
}

.card-stack {
    display: grid;
    gap: 16px;
}

.quote-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-card p {
    font-size: 16px;
    margin-bottom: 12px;
}

.quote-card span {
    color: var(--muted);
    font-size: 13px;
}

.about-hero {
    position: relative;
    overflow: hidden;
}

.about-hero::after {
    display: none;
}

.about-editorial {
    position: relative;
}

.editorial-grid,
.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 42px;
    align-items: start;
}

.editorial-copy h2,
.about-story-copy h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(26px, 3.4vw, 38px);
    margin-bottom: 16px;
}

.editorial-copy p,
.about-story-copy p {
    color: var(--muted);
    margin-bottom: 14px;
}

.editorial-signature {
    margin-top: 18px;
    padding: 14px 18px;
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 4px;
}

.editorial-signature span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.editorial-signature strong {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 16px;
}

.editorial-aside {
    display: grid;
    gap: 16px;
}

.about-timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 28, 0.82);
}

.timeline-item h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin: 8px 0 6px;
}

.timeline-item p {
    color: var(--muted);
    font-size: 14px;
}

.timeline-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.editorial-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
}

.editorial-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.editorial-card p {
    color: var(--muted);
    font-size: 14px;
}

.editorial-metrics {
    display: grid;
    gap: 12px;
}

.editorial-metric {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(12, 16, 28, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-metric strong {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 24px;
}

.editorial-metric span {
    color: var(--muted);
    font-size: 13px;
}

.about-standards {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-standards::before {
    display: none;
}

.standards-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.standards-copy h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(24px, 3.2vw, 36px);
    margin-bottom: 14px;
}

.standards-copy p {
    color: var(--muted);
    margin-bottom: 12px;
}

.standards-list {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.standards-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.standards-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 183, 77, 0.18);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
}

.standards-item h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 6px;
}

.standards-item p {
    color: var(--muted);
    font-size: 14px;
}

.about-band {
    padding: 30px clamp(20px, 6vw, 80px);
}

.about-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.12), rgba(12, 16, 28, 0.9));
}

.band-copy h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 10px;
}

.band-copy p {
    color: rgba(255, 255, 255, 0.75);
}

.band-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.band-pills span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

.about-mosaic .section-head {
    max-width: 680px;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mosaic-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 16, 28, 0.85);
}

.mosaic-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.mosaic-card p {
    color: var(--muted);
    font-size: 14px;
}

.mosaic-large {
    grid-column: span 2;
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
}

.offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
}

.offer-copy h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(26px, 3.4vw, 40px);
    margin-bottom: 16px;
}

.offer-copy p {
    color: var(--muted);
}

.offer-stack {
    display: grid;
    gap: 16px;
}

.offer-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    display: grid;
    gap: 10px;
}

.offer-card h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
}

.offer-card p {
    color: var(--muted);
    font-size: 14px;
}

.offer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    width: fit-content;
}

.offer-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.offer-line span:first-child {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.procedure-rail {
    display: grid;
    gap: 14px;
}

.procedure-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 28, 0.82);
}

.procedure-content h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 6px;
}

.procedure-content p {
    color: var(--muted);
    font-size: 14px;
}

.procedure-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
}

.procedure-aside {
    padding: 26px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    box-shadow: var(--shadow-soft);
}

.procedure-aside h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(20px, 2.6vw, 28px);
    margin-bottom: 12px;
}

.procedure-aside p {
    color: var(--muted);
    margin-bottom: 12px;
}

.procedure-aside p:last-child {
    margin-bottom: 0;
}

.procedure-path {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 22px;
    position: relative;
    padding-left: 0;
}

.procedure-path::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 183, 77, 0.6), rgba(255, 183, 77, 0.12));
    box-shadow: 0 0 10px rgba(255, 183, 77, 0.25);
}

.procedure-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 18px;
}

.procedure-step:last-child {
    padding-bottom: 0;
}

.procedure-step .step-number {
    margin-left: 0;
    justify-self: center;
}

.procedure-step h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 6px;
}

.procedure-step p {
    color: var(--muted);
    font-size: 14px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(14, 18, 30, 0.96), rgba(9, 12, 22, 0.96));
    border: 1px solid rgba(255, 183, 77, 0.35);
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 12px;
    box-shadow: 0 0 0 6px rgba(9, 12, 22, 0.95), 0 10px 24px rgba(5, 8, 16, 0.45);
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
    gap: 14px;
    justify-content: center;
    align-items: stretch;
}

.team-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 40, 0.95), rgba(9, 12, 22, 0.95));
    display: grid;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 170px;
}

.team-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 12, 22, 0.85);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-initials {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--accent);
}

.team-info {
    display: grid;
    gap: 6px;
}

.team-info h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 0;
}

.team-role {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 2px;
}

.team-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
}

.team-email:hover {
    text-decoration: underline;
}

.team-empty {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(12, 16, 28, 0.7);
}

.about-banner {
    padding-top: 20px;
    padding-bottom: 20px;
}

.about-banner-inner {
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.16), rgba(73, 209, 198, 0.08));
}

.about-banner-inner h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 12px;
}

.about-banner-inner p {
    color: rgba(255, 255, 255, 0.75);
}

.about-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.about-tile {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 16, 28, 0.88);
}

.about-tile h3 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.about-tile p {
    color: var(--muted);
    font-size: 14px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.16), rgba(20, 28, 46, 0.9));
}

.cta-panel h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 10px;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        row-gap: 24px;
    }

    .form-grid .field {
        grid-column: span 2;
    }

    /* Name, Email, Phone, Company side-by-side */
    .form-grid .field:nth-child(1),
    .form-grid .field:nth-child(2),
    .form-grid .field:nth-child(3),
    .form-grid .field:nth-child(4) {
        grid-column: span 1;
    }

    .form-grid button[type="submit"] {
        grid-column: span 2;
        justify-self: start;
        min-width: 160px;
    }
}

.form-shell {
    max-width: 680px; /* Reduced from 760px */
    width: 100%;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(16, 20, 32, 0.98), rgba(9, 12, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.field {
    display: grid;
    gap: 8px;
}

.form-shell-head {
    margin-bottom: 24px;
}

.form-shell-head h1,
.form-shell-head h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 10px;
}

.form-shell-head p {
    color: var(--muted);
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08); /* More subtle border */
    background: rgba(255, 255, 255, 0.03); /* Lighter background */
    color: #ffffff;
    font-size: 15px;
    min-height: 52px;
    transition: all 0.2s ease;
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23ffb74d' d='M5.5 7.5l4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 46px;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 17px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 2px solid rgba(255, 183, 77, 0.4);
    border-color: rgba(255, 183, 77, 0.4);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
    border-color: rgba(233, 95, 92, 0.8);
    box-shadow: 0 0 0 2px rgba(233, 95, 92, 0.2);
}

.field-error {
    display: block;
    min-height: 12px;
    font-size: 11px;
    color: #ffb3a8;
    margin-top: 2px;
}

.form-status {
    font-size: 14px;
    margin-top: 10px;
    color: var(--muted);
}

.form-status.is-success {
    color: #a6f3c3;
}

.form-status.is-error {
    color: #ffb3a8;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    opacity: 0;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    max-width: 520px;
    width: calc(100% - 32px);
    background: #111628;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    z-index: 1;
    transform: scale(0.96) translateY(24px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-card .form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-card .field {
    gap: 2px;
}

.modal-card .field input,
.modal-card .field textarea,
.modal-card .field select {
    padding: 18px 18px;
    min-height: 58px;
    background: #0e121d; /* Slightly lighter than modal bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-card .field select option {
    background-color: #0b0f19 !important;
    color: #fff !important;
}

.modal-card .field input:focus,
.modal-card .field textarea:focus,
.modal-card .field select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.1);
}

.form-shell .form-grid,
.modal-card .form-grid {
    margin-top: 16px;
}

.form-shell .field input,
.form-shell .field textarea,
.form-shell .field select,
.modal-card .field input,
.modal-card .field textarea,
.modal-card .field select {
    width: 100%;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.modal-lead {
    color: var(--muted);
    margin: 10px 0 20px;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 22px;
    }

    .modal-card h2 {
        font-size: 22px;
    }

    .modal-card .field input,
    .modal-card .field textarea,
    .modal-card .field select {
        padding: 14px 16px;
        min-height: 48px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-hero {
    position: relative;
    padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 90px) clamp(80px, 12vw, 140px);
    background: #0b0f19; /* Opaque navy blue block */
    background: var(--bg-soft);
}

.page-hero::before {
    display: none;
}

.page-hero h1 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--muted);
    max-width: 640px;
}

.policy {
    max-width: 860px;
}

/* Policy pages: simpler, cleaner reading */
.policy-page {
    background: #0f1524;
}

body.policy-page::before,
body.policy-page::after {
    display: none;
}

.policy-page .page-hero {
    background-image: none !important;
    background-color: #121a2d !important;
}

.policy-page .section {
    padding-top: 60px;
}

.policy {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px;
    line-height: 1.8;
}

.policy h2 {
    margin-top: 26px;
    font-size: 1.35rem;
}

.policy p,
.policy li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.policy ul {
    padding-left: 20px;
    margin-top: 12px;
}

.policy h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: 24px;
    margin: 30px 0 14px;
}

.policy p,
.policy li {
    color: var(--muted);
    margin-bottom: 12px;
}

.policy ul {
    padding-left: 18px;
}

.policy-page .policy {
    margin: 0 auto;
    text-align: center;
}

.policy-page .policy ul {
    list-style-position: inside;
    padding-left: 0;
}

/* Footer (from jmwebsolutions-last) */
footer {
    background: #0b0f1a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    padding: 70px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 183, 77, 0.08), transparent 55%),
        radial-gradient(circle at bottom right, rgba(102, 126, 234, 0.08), transparent 60%);
    opacity: 0.8;
.resources-page .page-hero {
    padding-bottom: 32px;
}
.resources-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    max-width: 520px;
    margin: 0 auto;
}
.resources-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}
.resources-form label {
    font-weight: 600;
}
.resources-form input {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text);
}
.resources-error {
    color: var(--accent-3);
    font-size: 0.95rem;
}
.resources-shell {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 24px;
}
.resources-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}
.resources-panel h2 {
    font-family: 'Sora', Arial, sans-serif;
    margin-bottom: 16px;
}
.resources-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 18px;
}
.resources-breadcrumbs a {
    color: var(--text);
}
.resources-folder-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.resources-folder {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.resources-folder:hover {
    border-color: rgba(255, 183, 77, 0.5);
    transform: translateY(-1px);
}
.resources-folder__icon {
    font-size: 1.2rem;
}
.resources-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.resources-file-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.resource-card {
    background: var(--surface-2);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 110px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.resource-card:hover,
.resource-card.is-active {
    border-color: rgba(73, 209, 198, 0.5);
    transform: translateY(-1px);
}
.resource-card__title {
    font-weight: 600;
}
.resource-card__meta {
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
}
.resource-card__status {
    color: var(--accent-2);
}
.resource-card__status.is-warning {
    color: var(--accent);
}
.resources-viewer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.resources-viewer__frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}
.resources-viewer__frame iframe {
    width: 100%;
    min-height: 560px;
    border: none;
}
@media (max-width: 900px) {
    .resources-shell {
        grid-template-columns: 1fr;
    }
}
    pointer-events: none;
}

footer .site-footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-branding h2 {
    font-size: 30px;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.footer-branding p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
}

.footer-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #1a1a1a;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background-position 0.35s ease, box-shadow 0.2s ease;
}

.footer-secondary {
    border: none;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background-position 0.35s ease, box-shadow 0.2s ease;
}

.footer-cta:hover,
.footer-secondary:hover {
    background-position: 100% 50%;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 22px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px;
}

.footer-column a,
.footer-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-decoration: none;
}

.footer-column a {
    transition: color 0.3s ease;
}

.footer-column a span,
.footer-social a span {
    position: relative;
    display: inline-block;
}

.footer-column a span::after,
.footer-social a span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-column a:hover,
.footer-social a:hover {
    color: #ffffff;
}

.footer-column a:hover span::after,
.footer-social a:hover span::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-note {
    margin-top: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

@media (max-width: 1100px) {
    .hero-grid,
    .hero-bridge,
    .hero-minimal-grid,
    .split-layout,
    .contact-section .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
        z-index: 1002;
    }

    .tools-grid.hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        background: #030407; /* Deep black-blue */
        z-index: 1001;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 110px 20px 40px;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    }

    body.nav-open .primary-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open .nav-toggle {
        z-index: 1002;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 28px;
        width: 100%;
        margin-bottom: auto; /* Push content to top so actions sit at bottom */
    }

    /* Clean Text List Style */
    .nav-links > a,
    .nav-links > .nav-item > a {
        display: inline-block;
        width: fit-content;
        padding: 0;
        background: transparent;
        border: none;
        font-family: 'Sora', sans-serif;
        font-size: 22px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-links > a:hover,
    .nav-links > a.is-active,
    .nav-links > .nav-item > a:hover,
    .nav-links > .nav-item > a.is-active {
        color: #fff;
        transform: translateX(10px);
    }

    /* Active indicator dot */
    .nav-links > a.is-active::before,
    .nav-links > .nav-item > a.is-active::before {
        content: '';
        position: absolute;
        left: -16px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--accent);
    }

    /* Reset old effects */
    .nav-links > a::after,
    .nav-links > a span::after,
    .nav-links > .nav-item > a::after,
    .nav-links > .nav-item > a span::after {
        display: none;
    }

    .nav-links a:active {
        transform: scale(0.98);
        color: var(--accent);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        width: 100%;
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08); /* Divider line */
    }

    /* Button Restyling for Menu Footer */
    .nav-actions .btn-primary,
    .nav-actions .btn-secondary {
        width: auto;
        padding: 12px 24px;
        border-radius: 12px;
        font-size: 15px;
        justify-content: center;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
        box-shadow: none;
    }

    .nav-actions .btn-primary {
        background: var(--accent);
        border-color: var(--accent);
        color: #000;
        font-weight: 600;
        box-shadow: 0 8px 20px rgba(255, 183, 77, 0.25);
    }
    
    .nav-actions .btn-primary:active,
    .nav-actions .btn-secondary:active {
        transform: scale(0.96);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .editorial-grid,
    .about-story-grid,
    .standards-grid {
        grid-template-columns: 1fr;
    }

    .growth-grid {
        grid-template-columns: 1fr;
    }

    .growth-copy {
        padding: 22px;
    }

    .growth-stack {
        grid-template-columns: 1fr;
    }

    .growth-card:nth-child(1) {
        grid-column: auto;
    }

    .offer-layout {
        grid-template-columns: 1fr;
    }

    .procedure-grid {
        grid-template-columns: 1fr;
    }

    .procedure-path::before {
        left: 24px;
    }

    .procedure-step {
        grid-template-columns: 48px 1fr;
    }

    .contact-section .form-shell {
        justify-self: stretch;
    }
}

@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: 90px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-shell {
        padding: 16px 20px;
    }

    .procedure-path::before {
        left: 22px;
    }

    .procedure-step {
        grid-template-columns: 44px 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Tools Card Styles */
.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
}

.tool-icon {
    width: 64px;
    height: 64px;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease, transform 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.15);
}

.html-icon { color: #e44d26; }
.html-icon:hover { color: #f16529; }

.css-icon { color: #264de4; }
.css-icon:hover { color: #2965f1; }

.js-icon { color: #f0db4f; }
.js-icon:hover { color: #f7df1e; }

.php-icon { color: #8993be; }
.php-icon:hover { color: #9da6d0; }


/* -----------------------------------------------------
   CONTACT PAGE REDESIGN
   Professional Split Layout - Dark Theme & Clean UI
----------------------------------------------------- */

.page-contact .contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 100px;
    position: relative;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: flex-start;
}

/* --- SIDEBAR (Left) --- */
.contact-sidebar {
    position: relative;
    padding-top: 20px;
}

.sidebar-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin: 20px 0 40px;
    max-width: 440px;
}

.contact-points {
    display: grid;
    gap: 24px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin-bottom: 30px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.point-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.15), rgba(255, 183, 77, 0.05));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 183, 77, 0.2);
}

.point-item strong {
    display: block;
    font-size: 14px;
    color: #fff;
    font-family: 'Sora', sans-serif;
    margin-bottom: 2px;
}

.point-item a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.point-item a:hover {
    color: var(--accent);
}

.point-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.08), transparent);
}

.sidebar-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 99px;
    background: rgba(73, 209, 198, 0.08); /* Teal tint */
    border: 1px solid rgba(73, 209, 198, 0.15);
}

.note-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #49d1c6;
}

.sidebar-note p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}


/* --- FORM MAIN (Right) --- */
.contact-main {
    position: relative;
    z-index: 10;
}

.pro-form {
    background: #0b0f19; /* Proper dark card background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5);
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr; /* Force single column (line-by-line) */
    gap: 24px;
}

.field-group {
    display: grid;
    gap: 10px;
}

.field-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 4px;
}

.field-group input,
.field-group textarea,
.field-group select {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 183, 77, 0.05); /* Slight accent tint on focus */
    box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.1);
}

.field-group input::placeholder, 
.field-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* CUSTOM DROPDOWN STYLING FIX */
.select-wrapper {
    position: relative;
}

.field-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 48px;
    background-color: rgba(255, 255, 255, 0.03); /* Match input fields exactly */
}

/* CRITICAL: Fix for the white dropdown issue */
.field-group select option {
    background-color: #0b0f19 !important;
    color: #fff !important;
    padding: 12px;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--accent);
    display: flex;
}

.form-footer {
    padding-top: 10px;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
}

.form-status {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .page-contact .contact-hero {
        padding-top: 100px;
        align-items: flex-start;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr; /* Stack inputs on mobile */
        gap: 20px;
    }

    .pro-form {
        padding: 24px;
    }
}


/* -----------------------------------------------------
   CLIENTS PAGE REDESIGN
   Split Layout - Sticky Sidebar & Scrollable Grid
----------------------------------------------------- */

.page-clients main {
    padding-top: 140px; /* More Header clearance */
    padding-bottom: 100px;
}

.clients-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px; /* More horizontal breathing room */
}

.clients-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr; /* Fixed sidebar width for cleaner alignment */
    gap: 60px;
    align-items: start;
    position: relative;
}

/* --- SIDEBAR (Left) --- */
.clients-sidebar {
    position: sticky;
    top: 140px;
    display: grid;
    gap: 48px;
}

.clients-hero-block h1 {
    font-size: 52px; /* Bigger Headline */
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: linear-gradient(to bottom right, #ffffff 30%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.clients-hero-block p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 90%;
}

.clients-stats {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08); /* Darker border */
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.client-stat-item strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 32px; /* Bigger stats */
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.client-stat-item span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.clients-requirements {
    display: grid;
    gap: 32px;
    margin-top: 20px;
}

/* Updated Checklist Look */
.req-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.req-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 183, 77, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.req-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 4px; /* Bold checkmark */
    stroke-linecap: round;
    stroke-linejoin: round;
}

.req-content {
    padding-top: 2px;
}

.req-content strong {
    display: block;
    font-size: 15px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: 0;
}

.req-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    font-weight: 400;
}


/* --- MAIN GRID (Right) --- */
/* --- MAIN GRID (Right) --- */
.clients-main {
    display: grid;
    gap: 24px;
    /* Two column grid on desktop by default */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding-top: 20px;
}

.pro-client-card {
    background: linear-gradient(160deg, #0e121d, #080a10); /* Deeper, richer card */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-decoration: none;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pro-client-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 183, 77, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 183, 77, 0.1);
    background: linear-gradient(160deg, #131929, #0b0f19);
}

.client-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pro-client-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.pro-client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.2);
    opacity: 0.8;
    transition: all 0.3s;
}

.pro-client-card:hover .pro-client-logo img {
    filter: none;
    opacity: 1;
}

.external-icon {
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s;
}

.pro-client-card:hover .external-icon {
    color: var(--accent);
}

.pro-client-info h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.pro-client-info p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
}

.pro-client-meta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pro-client-meta::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(255, 183, 77, 0.4);
}


/* --- CTA SECTION (Bottom of grid or separate?) --- */
/* We can integrate the CTA into the grid flow or keep it separate. */

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .clients-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .clients-sidebar {
        position: relative;
        top: 0;
        padding-top: 0;
    }
    
    .clients-hero-block h1 {
        font-size: 32px;
    }
}


/* Contact Form Textarea Fix */
.field-group textarea {
    resize: vertical;
}

/* About Impact Section */
.about-impact {
    padding: clamp(60px, 10vw, 120px) 20px;
}

.impact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 60px;
}

.impact-head {
    max-width: 700px;
}

.impact-head h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    font-family: 'Sora', sans-serif;
}

.impact-head p {
     color: var(--muted);
     font-size: 18px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns in a row */
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
    .impact-stats {
        grid-template-columns: repeat(2, 1fr); /* 2x2 on tablets */
    }
}

@media (max-width: 500px) {
    .impact-stats {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    color: var(--accent);
}

.stat-label {
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
}

/* Homepage Tech Stack - Random Scatter Layout */
.hero-tech-stack {
    margin: 60px 0 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-tech-head h2 {
    font-family: 'Sora', Arial, sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    margin-bottom: 40px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tech-scatter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    /* Static 'random' positions */
}

.tech-icon {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
    /* No hover effects */
}

/* Random Rotations and Offsets */
.tech-item-1 { transform: rotate(-8deg) translateY(12px); width: 68px; height: 68px; }
.tech-item-2 { transform: rotate(6deg) translateY(-10px); width: 90px; height: 90px; }
.tech-item-3 { transform: rotate(-4deg) translateY(15px); width: 75px; height: 75px; }
.tech-item-4 { transform: rotate(10deg) translateY(-5px); width: 60px; height: 60px; }


/* Technology Section - Industry Standard Layout */
.tech-section {
    position: relative;
    padding-top: clamp(80px, 9vw, 120px);
    padding-bottom: clamp(90px, 9vw, 120px);
    margin-top: 0;
    overflow: hidden;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    justify-items: center;
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-copy {
    display: grid;
    gap: 16px;
    justify-items: center;
}

.tech-copy > p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.75);
}

.tech-points {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 980px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: left;
}

.tech-point {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(25, 34, 55, 0.7), rgba(11, 15, 27, 0.9));
    padding: 20px 22px;
    box-shadow: 0 12px 26px rgba(7, 10, 18, 0.3);
}

.tech-point span {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.tech-point p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 16px;
    border-radius: 28px;
    background: linear-gradient(170deg, rgba(14, 18, 30, 0.92), rgba(9, 12, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 22px 50px rgba(6, 9, 18, 0.45);
    width: min(520px, 100%);
}

.tech-card {
    aspect-ratio: 1;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
        linear-gradient(160deg, rgba(20, 28, 46, 0.96), rgba(9, 13, 24, 0.98));
    box-shadow: 0 16px 28px rgba(5, 8, 16, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 60%);
    opacity: 0.55;
    pointer-events: none;
}


.tech-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tech-card-inner svg,
.tech-card-inner img {
    width: 100%;
    height: 100%;
    max-width: 92px;
    max-height: 92px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.tech-logo-img {
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

@media (max-width: 640px) {
    .tech-grid {
        gap: 14px;
        padding: 12px;
    }

    .tech-card {
        aspect-ratio: auto;
        min-height: 160px;
    }
}

@media (max-width: 980px) {
    .mega-menu {
        display: none;
    }
}

.tech-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}


/* Updated CTA Card Style */
.cta-panel {
    background: linear-gradient(135deg, rgba(200, 30, 30, 0.1), rgba(160, 20, 20, 0.05));
    border: 1px solid rgba(255, 60, 60, 0.2);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 80px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(255, 50, 50, 0.15), transparent 60%);
    pointer-events: none;
}

.cta-panel h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    max-width: 600px;
    margin: 0 auto 10px;
    background: linear-gradient(to bottom, #fff, #ffcccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-panel p {
    font-size: 1.1rem;
    color: rgba(255, 200, 200, 0.8);
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 10px;
}

/* Home Page Clients Opaque Background */
.clients-section {
    background: var(--surface); /* Dark opaque background */
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 100px;
    padding-bottom: 100px;
    /* Note: Horizontal padding inherited from .section class */
}

/* Side-by-side layout for Clients on Desktop */
@media (min-width: 1000px) {
    .clients-section {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        align-items: center;
    }
    
    .clients-section .section-head {
        margin-bottom: 0;
        text-align: left;
    }
}

/* Hero Updates */
.hero-minimal-grid {
    max-width: 1200px; /* Wider container */
    grid-template-columns: 1fr 1fr; /* 2 columns */
    padding-top: 20px;
    padding-bottom: 40px;
}

.hero-minimal-copy {
    text-align: left;
    max-width: 580px;
}

.hero-minimal-copy h1 {
    font-size: clamp(40px, 5vw, 64px);
}

.hero-stats {
    max-width: 480px; /* Bigger stats container */
    padding: 30px;
    gap: 24px;
}

.hero-stats .stat-value {
    font-size: 36px; /* Bigger numbers */
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-minimal-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-minimal-copy {
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-stats,
    .hero-preview {
        margin: 0 auto;
        width: 100%;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 12px;
    }
    
    .cta-panel {
        padding: 40px 20px;
        margin: 40px 20px;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .hero-rotator {
        min-height: calc(1.05em * 5);
    }
}


/* --- Refinements Jan 26 part 2 --- */

/* 1. Clients Page Hero Optimization */
.page-hero {
    padding-top: 100px; /* Clear navbar */
    padding-bottom: 30px; /* Minimal bottom padding */
    padding-left: 5%;
    padding-right: 5%;
    min-height: auto; /* Allow it to shrink to content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero h1 {
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.1;
}

/* 2. Technologies Layout Tightening */
.tech-section {
    padding-top: clamp(80px, 9vw, 120px);
    padding-bottom: clamp(90px, 9vw, 120px);
    margin-top: 0;
}

/* 3. Home Hero Compression & Stats Expansion */
.hero-minimal {
    padding-top: 80px; /* Adjusted for navbar overlap */
    min-height: auto; /* Remove vh constraints */
}

.hero-minimal-grid {
    padding-top: 10px;
    padding-bottom: 20px; /* Drastically reduced */
    align-items: center;
    gap: 40px; /* Reduce gap between text and stats */
}

/* Stats: Bigger and Filling */
.hero-stats {
    max-width: none;
    width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Force 2x2 filling */
    gap: 16px; /* Slightly tighter gap */
}

.hero-stats .stat-card {
    width: 100%;
    height: 100%;
    padding: 30px 24px; /* Reduced padding for cleaner look */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(19, 26, 44, 0.8), rgba(12, 16, 28, 0.9)); /* ensure background is solid-ish */
    border-radius: 24px; /* Fix: Rounded corners for all cards */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-stats .stat-value {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Slightly smaller but still prominent */
    font-weight: 700;
    color: var(--accent);
}

.hero-stats .stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* 4. CTA Panel - Revert to Site Color Scheme (Amber/Gold) */
.cta-panel {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.05), rgba(12, 16, 28, 0.95));
    border: 1px solid rgba(255, 183, 77, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.cta-panel::before {
    background: radial-gradient(circle at 50% -20%, rgba(255, 183, 77, 0.12), transparent 60%);
}

.cta-panel h2 {
    background: linear-gradient(to bottom, #ffffff, #ffecb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: auto;
    margin-right: auto;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.75);
    margin-left: auto;
    margin-right: auto;
}

/* Hero Mobile adjustment to keep stats 2x2 */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr; 
        gap: 12px;
    }
    .hero-stats .stat-card,
    .stack-card {
        padding: 14px 12px;
    }
    .hero-stats .stat-value {
        font-size: 2.5rem;
    }
    .stack-header h3 {
        font-size: 1rem;
    }
    .stack-card {
        transform: none;
    }
}


/* --- Impact Section Update Jan 26 --- */
.impact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0; /* Reset */
}

.impact-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    max-width: 900px;
    margin: 20px auto 60px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #aebecf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-header .eyebrow {
    justify-content: center; /* Helper if needed */
    display: block;
    margin-bottom: 20px;
}

.impact-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.pillar-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.pillar-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .impact-pillars {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}


/* Remove opaque background on Clients Archive Page */
.clients-arch-page .clients-section {
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-top: 50px !important;
    padding-bottom: 20px !important;
}

.clients-arch-page .clients-section .section-head {
    display: none; /* Hide 'Featured Clients' header on the Clients page itself if redundant, OR keep it. 
                    The user said 'remove what we need section', but didn't say remove title. 
                    However, usually 'Featured Clients' title repeats 'Clients' page title. 
                    I'll keep it but style the BG. */
}


/* --- Tweaks Jan 26 part 4 --- */

/* 1. Simplify Hero Stats (Remove outer border, add border to each card) */
.hero-stats {
    border: none !important; /* Remove outer border */
    background: transparent !important; /* Remove outer background */
    box-shadow: none !important;
}

.hero-stats .stat-card {
    border: 1px solid rgba(255, 255, 255, 0.1); /* Add border to each card */
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(19, 26, 44, 0.6), rgba(12, 16, 28, 0.7));
    padding: 24px 20px;
}

.hero-stats .stat-value {
    font-size: clamp(2rem, 3.5vw, 3rem); /* Smaller font size */
    margin-bottom: 4px;
}

.hero-stats .stat-label {
    font-size: 0.95rem; /* Smaller label */
}

/* 2. Home Clients Section Spacing */
/* Excluding .clients-arch-page so it only affects homepage or generic uses */
.clients-section:not(.clients-arch-page) .client-grid {
    padding-left: 20px;
    padding-right: 20px;
    /* Maintain max-width constraint wrapper if exists, or adding padding to grid directly */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 3. Technologies Section Top Spacing */
.tech-grid {
    margin-top: 0;
}


/* About page stats - more spacing above the line */
.impact-stats {
    margin-top: 40px;
    padding-top: 50px;
}

/* Targeted hero/section backgrounds */
.hero,
.page-hero,
.about-hero,
.contact-hero,
.clients-section--home,
.about-standards {
    position: relative;
    background-color: var(--section-bg) !important;
    background-image: var(--section-overlay);
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
    overflow: hidden;
    isolation: isolate;
}

.hero::after,
.page-hero::after,
.about-hero::after,
.contact-hero::after,
.clients-section--home::after,
.about-standards::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 120%, rgba(255, 183, 77, 0.08), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.hero > *,
.page-hero > *,
.about-hero > *,
.contact-hero > *,
.clients-section--home > *,
.about-standards > * {
    position: relative;
    z-index: 1;
}

