:root {
    --bg: #0f172a;
    --bg-muted: rgba(15, 23, 42, 0.88);
    --surface: #111c34;
    --surface-alt: #16233f;
    --sidebar: rgba(10, 16, 32, 0.82);
    --accent: #38bdf8;
    --accent-strong: #0ea5e9;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.16);
    --border-strong: rgba(56, 189, 248, 0.45);
    --danger: #f87171;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.45);
    --shadow-card: 0 16px 32px rgba(8, 47, 73, 0.35);
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 35%),
                radial-gradient(circle at 20% 25%, rgba(129, 140, 248, 0.18), transparent 38%),
                var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.layout {
    min-height: 100vh;
    width: min(1180px, 92%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem 0 1.5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.site-nav a {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

button {
    font: inherit;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.65rem 1.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid transparent;
}

button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.nav-cta,
button.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #031120;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.28);
    border: none;
}

button.secondary {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

button.secondary:hover {
    background: rgba(148, 163, 184, 0.16);
}

button.primary:hover,
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.35);
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
    padding: 3.5rem 0 2.5rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 3vw + 1.5rem, 3.8rem);
    margin: 0 0 1.1rem;
}

.hero-text p {
    color: var(--text-muted);
    margin: 0 0 2.1rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.orb {
    position: relative;
    width: clamp(220px, 42vw, 320px);
    aspect-ratio: 1;
    background: radial-gradient(circle at 32% 28%, rgba(56, 189, 248, 0.55), transparent 62%),
                radial-gradient(circle at 74% 82%, rgba(129, 140, 248, 0.45), transparent 68%),
                rgba(23, 37, 84, 0.88);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.secret-pin {
    position: absolute;
    inset: auto 16% 18% auto;
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.65), rgba(14, 165, 233, 0.4));
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.55);
    opacity: 0.35;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.secret-pin:hover,
.secret-pin:focus-visible {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.65);
}

.secret-pin::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px dashed transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

.secret-pin:focus-visible::after {
    border-color: rgba(56, 189, 248, 0.6);
    opacity: 1;
}

.code-card {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%) rotate(-4deg);
    padding: 1.6rem 1.8rem;
    background: rgba(15, 23, 42, 0.78);
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 28px 60px rgba(8, 47, 73, 0.45);
    font-family: "Source Code Pro", "Fira Code", monospace;
    color: var(--accent);
    font-size: 0.95rem;
}

.code-line {
    display: block;
    color: var(--text-muted);
}

.code-line.indent {
    margin-left: 1.5rem;
    color: var(--accent);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 2.5rem 0 4rem;
}

.feature-card {
    padding: 1.75rem;
    background: rgba(15, 23, 42, 0.65);
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 15px 35px rgba(8, 47, 73, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.38);
}

.feature-card h2 {
    margin: 0 0 0.8rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
}

.site-footer {
    margin-top: auto;
    padding: 2rem 0 2.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.hidden {
    display: none !important;
}

.auth-modal,
.vault {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(18px);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    z-index: 50;
}

.auth-card {
    width: min(360px, 90vw);
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: var(--shadow-card);
}

.auth-card p {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.input-group label {
    font-weight: 600;
}

.input-group input {
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.75);
    color: var(--text-primary);
}

.input-group input::placeholder {
    color: rgba(148, 163, 184, 0.35);
}

.auth-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.auth-error {
    min-height: 1.2rem;
    margin: 0;
    color: var(--danger);
    font-size: 0.9rem;
}

.vault-panel {
    width: min(960px, 94vw);
    max-height: min(92vh, 820px);
    padding: 2.6rem;
    border-radius: var(--radius-lg);
    background: rgba(6, 12, 27, 0.97);
    border: 1px solid var(--border);
    box-shadow: 0 35px 65px rgba(2, 6, 23, 0.55);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
}

.vault-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.vault-header h2 {
    margin: 0 0 0.5rem;
}

.vault-header p {
    margin: 0;
    color: var(--text-muted);
}

.vault-tools {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.vault-tools input {
    width: min(280px, 100%);
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-primary);
}

.vault-body {
    flex: 1;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.8rem;
    align-items: flex-start;
    min-height: 0;
    overflow: hidden;
}

.vault-sidebar {
    padding: 1.2rem 1rem;
    border-radius: var(--radius-md);
    background: var(--sidebar);
    border: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1.5rem;
    max-height: calc(92vh - 180px);
    overflow-y: auto;
}

.vault-sidebar h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.vault-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jump-btn {
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(15, 23, 42, 0.55);
    text-align: left;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.jump-btn:hover,
.jump-btn:focus-visible {
    border-color: var(--border-strong);
    background: rgba(56, 189, 248, 0.12);
    transform: translateX(2px);
}

.vault-content {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.vault-empty {
    margin: 0;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.95rem;
    padding: 0.95rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.45);
}

.vault-sections {
    height: 100%;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.vault-section {
    background: rgba(12, 20, 38, 0.92);
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 1.6rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.45);
}

.section-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.section-header p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.78);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 1.25rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    border-color: rgba(56, 189, 248, 0.38);
    transform: translateY(-3px);
    box-shadow: 0 20px 32px rgba(8, 47, 73, 0.35);
}

.service-card h4 {
    margin: 0;
    font-size: 1.02rem;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.service-list li {
    display: grid;
    grid-template-columns: minmax(90px, auto) 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.field-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
}

.field-value {
    word-break: normal;
    overflow-wrap: anywhere;
    font-size: 0.95rem;
}

.copy-btn {
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.65);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(14, 165, 233, 0.18);
    transform: translateY(-2px);
}

.copy-btn.copied {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(14, 165, 233, 0.22);
    color: var(--accent);
}

.service-card.filtered-out {
    display: none;
}

.toast {
    position: fixed;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    color: var(--text-primary);
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 60;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

body.no-scroll {
    overflow: hidden;
}

.hero-eyebrow {
    background: rgba(56, 189, 248, 0.18);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 42, 0.6);
    color: var(--accent);
}

.section-heading {
    max-width: 640px;
    margin: 0 auto 2.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.6rem 0 1.8rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.58);
    font-size: 0.85rem;
    color: var(--text-primary);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.hero-card {
    position: relative;
    padding: 1.25rem 1.1rem;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 15px 30px rgba(8, 47, 73, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(56, 189, 248, 0.15);
    pointer-events: none;
}

.hero-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-card-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-aurora {
    position: absolute;
    inset: -18% -10% auto auto;
    width: clamp(220px, 35vw, 320px);
    aspect-ratio: 1;
    background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.7), transparent 65%),
                radial-gradient(circle at 70% 60%, rgba(129, 140, 248, 0.6), transparent 70%),
                rgba(46, 16, 101, 0.55);
    filter: blur(18px);
    opacity: 0.6;
    animation: auroraPulse 12s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes auroraPulse {
    from {
        transform: translate3d(-8px, -6px, 0) scale(0.95);
        opacity: 0.55;
    }
    to {
        transform: translate3d(6px, 8px, 0) scale(1.05);
        opacity: 0.75;
    }
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 0 0 3.2rem;
    margin-top: 1rem;
}

.metric-card {
    position: relative;
    padding: 1.8rem 1.6rem;
    border-radius: var(--radius-md);
    background: rgba(12, 20, 38, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
    box-shadow: 0 22px 40px rgba(8, 47, 73, 0.35);
}

.metric-card h3 {
    margin: 0 0 0.7rem;
}

.metric-card p {
    margin: 0;
    color: var(--text-muted);
}

.metric-glow {
    position: absolute;
    inset: -30% 40% auto -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 65%);
    filter: blur(25px);
    opacity: 0.7;
    pointer-events: none;
}

.features .section-heading {
    grid-column: 1 / -1;
}

.feature-card {
    position: relative;
    padding: 1.9rem 1.7rem;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 36px rgba(8, 47, 73, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.2);
}

.feature-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
}

.gradient-blue {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.86), rgba(14, 165, 233, 0.65));
}

.gradient-teal {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.86), rgba(34, 211, 238, 0.6));
}

.gradient-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), rgba(59, 130, 246, 0.68));
}

.gradient-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.82), rgba(249, 115, 22, 0.68));
}

.project-gallery {
    padding: 3.5rem 0 4.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(10, 16, 32, 0.88);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 24px 42px rgba(8, 47, 73, 0.45);
}

.project-visual {
    height: 180px;
    background: rgba(14, 165, 233, 0.4);
    opacity: 0.9;
}

.project-copy {
    padding: 1.6rem 1.6rem 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-copy h3 {
    margin: 0;
    font-size: 1.15rem;
}

.project-copy p {
    margin: 0;
    color: var(--text-muted);
}

.project-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.project-tags li {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.tech-stack {
    padding: 3.5rem 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.stack-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.6);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cta-banner {
    margin: 4rem 0 5rem;
    padding: clamp(2.4rem, 5vw, 3rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 32px 60px rgba(8, 47, 73, 0.45);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    gap: clamp(1.8rem, 4vw, 2.6rem);
    overflow: hidden;
    position: relative;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 500px;
}

.cta-content p {
    margin: 0;
    color: var(--text-muted);
}

.cta-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.cta-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.cta-orb {
    width: clamp(160px, 25vw, 220px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.55), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(129, 140, 248, 0.55), transparent 65%),
                rgba(15, 23, 42, 0.85);
    filter: blur(0);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.35);
}

.cta-rays {
    position: absolute;
    width: clamp(200px, 32vw, 280px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.25);
    animation: spin 18s linear infinite;
    opacity: 0.5;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .vault-body {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 980px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .vault-panel {
        padding: 2.2rem;
    }
}

@media (max-width: 880px) {
    .vault-body {
        grid-template-columns: 1fr;
    }

    .vault-sidebar {
        position: static;
        width: 100%;
        max-height: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.2rem;
    }

    .vault-sidebar h3 {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
        margin-right: 0.8rem;
    }

    .vault-nav {
        flex-direction: row;
        gap: 0.6rem;
    }

    .jump-btn {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.5rem 0.75rem;
    }
}
@media (max-width: 720px) {
    .service-list li {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .copy-btn {
        justify-self: flex-start;
    }
}

@media (max-width: 520px) {
    .site-header {
        padding-top: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .vault-panel {
        padding: 1.8rem;
    }

    .vault-sidebar {
        flex-direction: column;
        align-items: flex-start;
    }

    .vault-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .jump-btn {
        width: 100%;
    }
}










@media (max-width: 980px) {
    .hero-cards {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 880px) {
    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .cta-visual {
        order: -1;
        height: 180px;
    }
}

@media (max-width: 720px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        gap: 1.8rem;
    }
}

@media (max-width: 520px) {
    .hero-tags {
        justify-content: center;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

