/* Standalone portfolio styles — not tied to app theme */

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

:root {
    --bg: #0c0c0f;
    --bg-elevated: #14141a;
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent: #6366f1;
    --accent-soft: rgba(99, 102, 241, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 14px;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
    --max-width: 1120px;
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
}

body.portfolio-page {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

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

.floating-wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    padding: 0.5rem 1.25rem 0.5rem 0.5rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.floating-wa-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.floating-wa-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.floating-wa-btn__icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.floating-wa-btn__text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

@media (max-width: 640px) {
    .floating-wa-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.5rem;
        gap: 0;
    }
    .floating-wa-btn__text {
        display: none;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(12, 12, 15, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

/* Hero */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--header-h) + 5rem) 1.5rem 6rem;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin: 0 0 1.25rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--text-muted);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0 0 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.85rem 1.75rem;
    background: var(--text);
    color: var(--bg);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    transition: transform 0.2s, opacity 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

/* Sections */
.work,
.about,
.contact {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-head {
    margin-bottom: 3rem;
}

.section-head h2,
.about h2,
.contact h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.section-head p,
.contact > p {
    color: var(--text-muted);
    margin: 0;
}

.work-empty {
    color: var(--text-muted);
    padding: 3rem;
    text-align: center;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

/* Project grid */
.project-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.project-card article {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}

.project-card article:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-4px);
}

.project-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--accent-soft);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card article:hover .project-card__media img {
    transform: scale(1.04);
}

.project-card__media--placeholder {
    background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
}

.project-card__body {
    padding: 1.35rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.project-card__summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    flex: 1;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.project-card__tags li {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    background: var(--accent-soft);
    color: #c4b5fd;
    border-radius: 999px;
}

.project-card__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.project-card__link:hover span {
    transform: translateX(3px);
}

.project-card__link span {
    display: inline-block;
    transition: transform 0.2s;
}

.project-card__title a {
    color: inherit;
    text-decoration: none;
}

.project-card__title a:hover {
    color: var(--accent);
}

.project-card__media {
    display: block;
    text-decoration: none;
}

.project-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.project-card__link--external {
    color: var(--text-muted);
}

.nav-links--static {
    display: flex;
}

/* Project detail */
.portfolio-page--detail .project-detail {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--header-h) + 3rem) 1.5rem 5rem;
}

.project-detail__back {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.project-detail__back:hover {
    color: var(--text);
}

.project-detail__hero {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.project-detail__hero img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.project-detail__header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 400;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.project-detail__summary {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.project-detail__cta {
    margin-top: 1.5rem;
}

.project-detail__body {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 42rem;
}

/* About */
.about {
    border-top: 1px solid var(--border);
}

.about-inner {
    max-width: 36rem;
}

.about p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* Contact */
.contact {
    text-align: center;
    padding-bottom: 6rem;
}

.contact-email {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.15rem;
    transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile */
@media (max-width: 640px) {
    .floating-whatsapp {
        right: 1rem;
        bottom: 1rem;
        width: min(20rem, calc(100vw - 1.5rem));
        gap: 0.7rem;
        padding: 0.85rem 0.9rem;
    }

    .floating-whatsapp__badge {
        right: 0.8rem;
    }

    .floating-whatsapp__icon {
        width: 3rem;
        height: 3rem;
    }

    .floating-whatsapp__label {
        font-size: 0.92rem;
    }

    .floating-whatsapp__copy {
        font-size: 0.79rem;
    }

    .floating-whatsapp__arrow {
        width: 2.2rem;
        height: 2.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li a {
        display: block;
        padding: 0.85rem 1.5rem;
    }

    .hero {
        padding-top: calc(var(--header-h) + 3rem);
        min-height: auto;
    }

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

body.portfolio-page--metro {
    background: radial-gradient(1100px 700px at 60% 10%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #1b4d94 0%, #0c2d62 55%, #062044 100%);
    color: rgba(255, 255, 255, 0.92);
    font-family: "Segoe UI", var(--font-sans);
}

.portfolio-page--metro a {
    color: inherit;
}

.metro-shell {
    min-height: 100vh;
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.metro-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding-top: clamp(1.25rem, 2vw, 2rem);
}

.metro-title {
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.06;
}

.metro-subtitle {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    opacity: 0.9;
}

.metro-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.35rem;
}

.metro-nav a {
    font-size: 0.95rem;
    opacity: 0.9;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.metro-nav a:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
}

.metro-stage {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.device {
    width: min(980px, 92vw);
}

.device__frame {
    border-radius: 28px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.device__screen {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.device__base {
    height: 18px;
    width: min(520px, 62vw);
    margin: 14px auto 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    filter: blur(0.2px);
}

.screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.screen-top__brand {
    font-weight: 600;
    letter-spacing: -0.01em;
    opacity: 0.95;
}

.screen-top__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.screen-top__dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.tile {
    grid-column: span 4;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.tile:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.tile--wide {
    grid-column: span 8;
}

.tile__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
}

.tile__icon svg {
    width: 22px;
    height: 22px;
}

.tile__content {
    min-width: 0;
}

.tile__title {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.tile__meta {
    margin-top: 0.25rem;
    font-size: 0.88rem;
    opacity: 0.85;
}

.screen-divider {
    height: 1px;
    margin: 14px 0;
    background: rgba(255, 255, 255, 0.18);
}

.mini-projects {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.mini-project {
    grid-column: span 4;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
    min-width: 0;
}

.mini-project:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.22);
}

.mini-project--empty {
    cursor: default;
}

.mini-project__icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    flex: 0 0 28px;
}

.mini-project__icon svg {
    width: 18px;
    height: 18px;
}

.mini-project__title {
    font-size: 0.92rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metro-work,
.metro-about,
.metro-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.metro-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.metro-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.95);
}

.metro-section-lead {
    margin: 0;
    max-width: 42rem;
    opacity: 0.85;
    font-size: 1.02rem;
}

.metro-project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.metro-project {
    grid-column: span 6;
    display: flex;
    gap: 1rem;
    padding: 16px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
    min-width: 0;
}

.metro-project:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.metro-project__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
}

.metro-project__icon svg {
    width: 26px;
    height: 26px;
}

.metro-project__body {
    min-width: 0;
}

.metro-project__title {
    font-weight: 700;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metro-project__summary {
    margin-top: 0.35rem;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.5;
}

.metro-project__tags {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metro-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0.92;
}

.metro-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.18);
    text-align: center;
}

.metro-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.metro-empty__icon svg {
    width: 28px;
    height: 28px;
}

.metro-empty__title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.metro-empty__text {
    opacity: 0.85;
}

.metro-about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.metro-about-item {
    grid-column: span 4;
    padding: 16px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.metro-about-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.85rem;
}

.metro-about-item__icon svg {
    width: 26px;
    height: 26px;
}

.metro-about-item__title {
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.metro-about-item__text {
    opacity: 0.85;
    line-height: 1.55;
}

.metro-contact {
    text-align: center;
}

.metro-contact__email {
    display: inline-flex;
    margin-top: 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.metro-contact__email:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.32);
}

.metro-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 0 2rem;
    text-align: center;
    opacity: 0.85;
}

.metro-footer p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .tile {
        grid-column: span 6;
    }

    .tile--wide {
        grid-column: span 12;
    }

    .mini-project {
        grid-column: span 6;
    }

    .metro-project {
        grid-column: span 12;
    }

    .metro-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .metro-about-item {
        grid-column: span 12;
    }
}

@media (max-width: 520px) {
    .metro-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .metro-nav {
        gap: 0.95rem;
        flex-wrap: wrap;
    }

    .mini-project {
        grid-column: span 12;
    }
}

body.portfolio-page--metro {
    margin: 0;
    min-height: 100vh;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 30%),
        linear-gradient(180deg, #0d56a6 0%, #0a4a94 45%, #073972 100%);
    font-family: "Segoe UI", var(--font-sans);
}

.portfolio-page--metro #portfolio-home-root {
    min-height: 100vh;
}

.metro-app {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.metro-bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.metro-bg-fixed__shape {
    position: absolute;
    opacity: 0.8;
}

.metro-bg-fixed__shape--1 {
    top: -5%;
    left: -5%;
    width: 45vw;
    max-width: 600px;
    min-width: 300px;
    animation: floatShape1 20s ease-in-out infinite;
}

.metro-bg-fixed__shape--2 {
    top: 40%;
    right: -10%;
    width: 50vw;
    max-width: 700px;
    min-width: 350px;
    animation: floatShape2 25s ease-in-out infinite;
}

.metro-bg-fixed__shape--3 {
    bottom: -15%;
    left: 20%;
    width: 40vw;
    max-width: 500px;
    min-width: 250px;
    animation: floatShape3 22s ease-in-out infinite;
}

.metro-bg-fixed__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.metro-bg-fixed__glow--1 {
    top: 10%;
    left: 10%;
    width: 30vw;
    height: 30vw;
    background: rgba(132, 220, 255, 0.15);
}

.metro-bg-fixed__glow--2 {
    bottom: 10%;
    right: 10%;
    width: 40vw;
    height: 40vw;
    background: rgba(95, 214, 183, 0.12);
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -20px) rotate(3deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 20px) rotate(-3deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 30px) rotate(2deg); }
}

.metro-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.5rem 0 2.5rem;
}

.metro-topbar__content {
    max-width: 54rem;
}

.metro-heading {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
}

.metro-brand {
    display: inline-flex;
    align-items: center;
}

.metro-brand__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.7rem, 1.6vw, 1.05rem) clamp(0.95rem, 2.2vw, 1.35rem);
    background: #0a0a0a;
}

.metro-brand__mark {
    width: clamp(4.2rem, 11vw, 6.5rem);
    height: auto;
    color: #ffffff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.metro-copy {
    max-width: 42rem;
    margin: 1rem 0 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.metro-quicklinks {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.5rem;
}

.metro-quicklinks a {
    display: inline-block;
    padding: 0.2rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.metro-quicklinks a:hover {
    color: #ffffff;
}

.metro-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
}

.metro-board--about {
    margin-top: 0.5rem;
}

.metro-tile,
.metro-project-tile,
.metro-info-tile,
.metro-contact-tile,
.metro-empty {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.metro-tile {
    grid-column: span 3;
    min-height: 210px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.metro-tile:hover,
.metro-project-tile:hover,
.metro-contact-tile:hover {
    transform: scale(0.985);
    filter: brightness(1.05);
}

.metro-tile--hero {
    grid-column: span 6;
    min-height: 434px;
    background:
        radial-gradient(circle at 78% 22%, rgba(105, 215, 255, 0.22), rgba(105, 215, 255, 0) 30%),
        radial-gradient(circle at 88% 8%, rgba(166, 119, 255, 0.24), rgba(166, 119, 255, 0) 24%),
        linear-gradient(180deg, rgba(7, 31, 64, 0.24) 0%, rgba(5, 20, 44, 0.78) 62%, rgba(4, 16, 36, 0.94) 100%),
        linear-gradient(135deg, rgba(17, 101, 182, 0.86) 0%, rgba(7, 63, 122, 0.72) 100%);
    isolation: isolate;
}

.metro-tile--hero .metro-tile__icon,
.metro-tile--hero .metro-tile__body {
    position: relative;
    z-index: 1;
}

.metro-tile--hero .metro-tile__icon {
    background: rgba(0, 0, 0, 0.24);
}

.metro-tile__visual {
    display: none;
}

.metro-tile__icon,
.metro-project-tile__icon,
.metro-info-tile__icon,
.metro-empty__icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
}

.metro-tile__icon svg,
.metro-project-tile__icon svg,
.metro-info-tile__icon svg,
.metro-empty__icon svg,
.metro-project-tile__arrow svg {
    width: 1.6rem;
    height: 1.6rem;
}

.metro-tile__body {
    display: block;
}

.metro-slider-tile {
    display: flex;
    flex-direction: column;
}

.metro-tile--hero .metro-tile__body {
    margin-top: auto;
    max-width: min(54%, 30rem);
}

.metro-tile__title {
    display: block;
    margin-top: 3.2rem;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.2;
}

.metro-tile--hero .metro-tile__title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.metro-tile__meta,
.metro-tile__copy {
    display: block;
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.metro-tile__copy {
    max-width: 26rem;
}

.metro-tile--hero .metro-tile__copy,
.metro-tile--hero .metro-tile__meta {
    max-width: 30rem;
    color: rgba(255, 255, 255, 0.94);
}

.metro-slider-visual {
    position: relative;
    display: block;
    width: clamp(17rem, 32vw, 21rem);
    margin: 0 auto;
    z-index: 0;
}

.metro-slider-visual__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    height: 29rem;
    padding: 3rem 1.75rem 1.5rem;
    text-align: center;
    background: #2f3550;
}

.metro-slider-visual__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 13rem;
    margin-top: auto;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.metro-slider-visual__icon svg {
    width: 5.75rem;
    height: 5.75rem;
}

.metro-slider-visual__caption {
    max-width: 13rem;
    min-height: 5.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.98);
}

.metro-slider-visual__subcaption {
    max-width: 15rem;
    min-height: 5.2rem;
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.metro-slider-visual__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.metro-slider-visual__dot {
    width: 0.55rem;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.metro-slider-visual__dot.is-active {
    width: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
}

/* === Hero Slider: seluruh tile sebagai slider === */
.metro-hero-slider {
    position: relative;
    grid-column: span 6;
    min-height: 434px;
    overflow: hidden;
    border-radius: 1.5rem;
}

.metro-hero-slider__tile {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-color: #1a1a24;
}

.metro-hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12, 18, 30, 0.2) 0%, rgba(12, 18, 30, 0.6) 40%, rgba(12, 18, 30, 0.95) 80%, rgba(12, 18, 30, 1) 100%);
    pointer-events: none;
    transition: background 0.5s ease;
}

.metro-hero-slider__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.metro-hero-slider__tile.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.metro-hero-slider__tile:hover .metro-hero-slider__overlay {
    background: linear-gradient(to bottom, rgba(12, 18, 30, 0.3) 0%, rgba(12, 18, 30, 0.7) 35%, rgba(12, 18, 30, 0.98) 75%, rgba(12, 18, 30, 1) 100%);
}

.metro-hero-slider__icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
}

.metro-hero-slider__icon svg {
    width: 1.75rem;
    height: 1.75rem;
    margin: auto;
}

.metro-hero-slider__body {
    margin-top: auto;
    max-width: min(54%, 30rem);
}

.metro-hero-slider__title {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.metro-hero-slider__meta {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 30rem;
}

.metro-hero-slider__copy {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    max-width: 26rem;
}

.metro-hero-slider__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.metro-hero-slider__site {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
}

.metro-hero-slider__dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.metro-hero-slider__dot {
    width: 0.55rem;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transition: width 0.3s ease, background 0.3s ease;
}

.metro-hero-slider__dot.is-active {
    width: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
}

.metro-section {
    padding-top: 3.25rem;
}

.metro-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.1rem;
}

.metro-section__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
}

.metro-section__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.metro-section__copy {
    max-width: 34rem;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

.metro-section__copy--light {
    color: rgba(255, 255, 255, 0.9);
}

.metro-project-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.metro-project-tile {
    grid-column: span 4;
    min-height: 300px;
}

.metro-project-tile__link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.1rem;
    color: #ffffff;
    text-decoration: none;
}

.metro-project-tile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.metro-project-tile__arrow {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.metro-project-tile__title {
    margin-top: 1.25rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
}

.metro-project-tile__summary {
    margin: 0.65rem 0 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.metro-project-tile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1rem;
}

.metro-project-tile__tag {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.16);
}

.metro-info-tile {
    grid-column: span 4;
    min-height: 230px;
    padding: 1.1rem;
}

.metro-info-tile__title {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.metro-info-tile__copy {
    margin: 0.6rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.metro-contact-tile {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 220px;
    padding: 1.25rem;
}

.metro-contact-tile__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    min-width: 220px;
    background: rgba(0, 0, 0, 0.16);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.metro-contact-tile__link:hover {
    background: rgba(0, 0, 0, 0.22);
}

.metro-empty {
    grid-column: 1 / -1;
    min-height: 240px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: rgba(0, 0, 0, 0.16);
}

.metro-empty__title {
    margin-top: 1rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.metro-empty__copy {
    max-width: 32rem;
    margin: 0.6rem 0 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.metro-section--detail {
    padding-top: 1.5rem;
}

.metro-section__head--detail {
    display: block;
    margin-bottom: 1.5rem;
}

.metro-section__kicker--detail {
    margin-top: 1rem;
}

.metro-section__title--detail {
    max-width: 48rem;
}

.metro-section__copy--detail {
    max-width: 42rem;
    margin-top: 0.9rem;
    font-size: 1.05rem;
}

.metro-project__tags--detail {
    margin-bottom: 1.5rem;
}

.metro-tag--detail {
    font-size: 0.85rem;
    padding: 0.32rem 0.75rem;
}

.metro-project-detail__media {
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.metro-project-detail__image {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.metro-project-detail__body {
    white-space: pre-wrap;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.metro-project-detail__card {
    max-width: 48rem;
    padding: 2rem 2.25rem;
    background: rgba(0, 0, 0, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.15);
    border-radius: 1.2rem;
    backdrop-filter: blur(12px);
    margin-bottom: 2rem;
}

.metro-project-detail__actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.metro-btn--primary {
    background: #ffffff;
    color: #0c182c;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.metro-btn--primary:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

.metro-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.metro-back-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.metro-back-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.metro-back-btn__icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.metro-section--related {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 4rem;
    margin-top: 2rem;
}

.metro-section__title--related {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.metro-footer {
    padding: 3rem 0 1.5rem;
}

.metro-footer p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

.metro-tile--blue {
    background: linear-gradient(180deg, #1784dc 0%, #0f6fbe 100%);
}

.metro-tile--cyan {
    background: linear-gradient(180deg, #2ca7d8 0%, #178cc4 100%);
}

.metro-tile--teal {
    background: linear-gradient(180deg, #14999d 0%, #0e8084 100%);
}

.metro-tile--purple {
    background: linear-gradient(180deg, #7e57c2 0%, #6842b0 100%);
}

.metro-tile--orange {
    background: linear-gradient(180deg, #f08a24 0%, #d97314 100%);
}

.metro-tile--green {
    background: linear-gradient(180deg, #39a85f 0%, #2b8b4b 100%);
}

/* === Premium Mobile Service Card (compact 3D float + phone pop-out) === */
.metro-mobile-card {
    --mobile-card-bg: #181818;
    --mobile-card-ink: #ffffff;
    --mobile-card-muted: rgba(255, 255, 255, 0.72);
    --mobile-card-accent: #3b82f6;
    --mobile-card-cyan: #06b6d4;

    position: relative;
    grid-column: span 3;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    min-height: 0;
    padding: 0.35rem 2.75rem 0.35rem 0.15rem;
    overflow: visible;
    z-index: 3;
}

.metro-mobile-card__float {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.metro-mobile-card__surface {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 100%;
    padding: 1.35rem 42% 1.5rem 1.2rem;
    border-radius: 1.35rem;
    color: var(--mobile-card-ink);
    background:
        radial-gradient(circle at 80% 12%, rgba(59, 130, 246, 0.28), transparent 42%),
        radial-gradient(circle at 12% 88%, rgba(6, 182, 212, 0.16), transparent 46%),
        linear-gradient(160deg, #222222 0%, var(--mobile-card-bg) 55%, #101010 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.06) inset,
        0 -18px 40px rgba(59, 130, 246, 0.08),
        0 28px 50px rgba(0, 0, 0, 0.45),
        0 10px 18px rgba(0, 0, 0, 0.28);
    transform: none;
    transition: box-shadow 0.3s ease;
    overflow: visible;
}

.metro-mobile-card:hover .metro-mobile-card__surface {
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.08) inset,
        0 -20px 48px rgba(59, 130, 246, 0.12),
        0 34px 58px rgba(0, 0, 0, 0.5),
        0 12px 22px rgba(0, 0, 0, 0.3);
}

.metro-mobile-card__surface::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.12) 0%, transparent 38%, transparent 70%, rgba(59, 130, 246, 0.08) 100%);
    pointer-events: none;
}

.metro-mobile-card__content {
    position: relative;
    z-index: 5;
    max-width: 10.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.metro-mobile-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-bottom: 0.85rem;
    border-radius: 0.7rem;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.45), rgba(6, 182, 212, 0.22));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 18px rgba(59, 130, 246, 0.28);
}

.metro-mobile-card__icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.metro-mobile-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.metro-mobile-card__subtitle {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--mobile-card-muted);
}

.metro-mobile-card__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin: auto 0 0;
    padding: 1.25rem 0 0;
    list-style: none;
}

.metro-mobile-card__features li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.metro-mobile-card__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    color: #dff6ff;
    background: linear-gradient(145deg, var(--mobile-card-accent), var(--mobile-card-cyan));
}

.metro-mobile-card__check svg {
    width: 0.55rem;
    height: 0.55rem;
}

.metro-mobile-card__device {
    position: absolute;
    right: -24%;
    top: 50%;
    z-index: 4;
    width: min(15rem, 84%);
    max-height: 96%;
    pointer-events: none;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(59, 130, 246, 0.2));
    transform: translateY(-50%) rotate(6deg);
}

.metro-mobile-card__phone {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(26rem, 96%);
    object-fit: contain;
    user-select: none;
}

@media (max-width: 1100px) {
    .metro-tile,
    .metro-project-tile,
    .metro-info-tile {
        grid-column: span 6;
    }

    .metro-tile--hero {
        grid-column: span 12;
        min-height: 320px;
    }

    .metro-hero-slider {
        grid-column: span 12;
        min-height: 320px;
    }

    .metro-hero-slider__body {
        max-width: min(56%, 30rem);
    }

    .metro-slider-visual {
        width: clamp(17rem, 38vw, 22rem);
    }

    .metro-tile--hero .metro-tile__body {
        max-width: min(56%, 30rem);
    }

    .metro-info-tile {
        min-height: 210px;
    }

    .metro-mobile-card {
        grid-column: span 6;
        min-height: 0;
        padding: 0.35rem;
        margin-bottom: 1.5rem;
    }

    .metro-mobile-card__surface {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 1.25rem 1.25rem 0;
        overflow: visible;
    }

    .metro-mobile-card__content {
        max-width: none;
        height: auto;
        margin-bottom: 0.25rem;
    }

    .metro-mobile-card__features {
        margin: 1rem 0 0;
        padding-top: 0.85rem;
    }

    .metro-mobile-card__device {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        left: auto;
        z-index: 2;
        width: min(12rem, 58%);
        max-height: none;
        margin: 0.35rem 6% -2.25rem auto;
        transform: rotate(4deg);
    }

    .metro-mobile-card__phone {
        max-height: 15.5rem;
    }
}

@media (max-width: 760px) {
    .metro-app {
        padding: 1.25rem;
    }

    .metro-background__layer {
        width: min(28rem, 92vw);
    }

    .metro-background__layer--left {
        top: 5rem;
        left: -7rem;
    }

    .metro-background__layer--right {
        top: 22rem;
        right: -8rem;
    }

    .metro-background__glow--top {
        left: 8%;
        width: 12rem;
        height: 12rem;
    }

    .metro-background__glow--bottom {
        top: 44rem;
        right: 0;
        width: 14rem;
        height: 14rem;
    }

    .metro-topbar,
    .metro-section__head,
    .metro-contact-tile {
        flex-direction: column;
        align-items: flex-start;
    }

    .metro-quicklinks {
        flex-wrap: wrap;
        gap: 0.85rem 1rem;
    }

    .metro-tile,
    .metro-project-tile,
    .metro-info-tile {
        grid-column: span 12;
    }

    .metro-tile--hero {
        min-height: 460px;
    }

    .metro-hero-slider {
        min-height: 400px;
    }

    .metro-hero-slider__body {
        max-width: 100%;
    }

    .metro-slider-visual {
        width: 100%;
        margin: 1rem auto 1.25rem;
        max-width: 22rem;
    }

    .metro-slider-visual__panel {
        height: 27rem;
        padding: 2.5rem 1.25rem 1.4rem;
    }

    .metro-tile--hero .metro-tile__body {
        max-width: 100%;
    }

    .metro-contact-tile__link {
        min-width: 0;
        width: 100%;
    }

    .metro-mobile-card {
        grid-column: span 12;
        padding: 0.15rem;
        margin-bottom: 2rem;
    }

    .metro-mobile-card__surface {
        min-height: 0;
        padding: 1.2rem 1.15rem 0;
    }

    .metro-mobile-card__title {
        font-size: 1.45rem;
    }

    .metro-mobile-card__subtitle {
        max-width: 32ch;
        font-size: 0.84rem;
    }

    .metro-mobile-card__device {
        width: min(11.25rem, 56vw);
        margin: 0.15rem 4% -2rem auto;
        transform: rotate(3deg);
    }

    .metro-mobile-card__phone {
        max-height: 14.5rem;
    }
}

.metro-footer a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.metro-footer a:hover {
    color: #ffffff;
}

.metro-privacy-card {
    max-width: 48rem;
}

.metro-privacy__meta {
    margin: 0 0 1.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.metro-privacy__block + .metro-privacy__block {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metro-privacy__block h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.metro-privacy__block p,
.metro-privacy__block li {
    margin: 0;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
}

.metro-privacy__block p + p,
.metro-privacy__block p + ul,
.metro-privacy__block ul + p {
    margin-top: 0.85rem;
}

.metro-privacy__block ul {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
}

.metro-privacy__block li + li {
    margin-top: 0.45rem;
}

.metro-privacy__block a {
    color: #9fd8ff;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.metro-privacy__block a:hover {
    color: #c9eaff;
}
