:root {
    --bg: #07111f;
    --bg-soft: #0f1c30;
    --panel: rgba(8, 16, 29, 0.78);
    --panel-strong: #111d31;
    --text: #f3f7fb;
    --muted: #a8b8ca;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #f97316;
    --accent-2: #22c55e;
    --navy-glow: #38bdf8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 30%),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 28%),
        linear-gradient(180deg, #030712 0%, #07111f 45%, #0a1627 100%);
}

a {
    color: inherit;
}

img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto;
}

.hero,
.contact-strip,
.project-card,
.project-feature,
.site-footer {
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    background: var(--panel);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.hero {
    padding: 22px;
    border-radius: 28px;
    overflow: hidden;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 56px;
}

.top-nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    transition: 0.2s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: var(--text);
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.12);
}

.hero-content {
    max-width: 760px;
    padding: 8px 0 24px;
}

.eyebrow,
.section-label {
    margin: 0 0 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

h1,
h2,
h3,
figcaption,
.button,
.top-nav a {
    font-family: Arial, sans-serif;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: 0.95;
}

h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1;
}

h3 {
    margin: 28px 0 10px;
    font-size: 1.1rem;
    color: #ffffff;
}

p,
li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
}

.hero-text {
    max-width: 640px;
    font-size: 1.2rem;
    margin: 18px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button.primary {
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: #140b02;
    box-shadow: 0 14px 24px rgba(249, 115, 22, 0.25);
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.contact-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 22px 0;
    padding: 24px 28px;
    border-radius: 24px;
}

.contact-strip a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-strip a:hover,
.link-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.project-feature,
.project-card {
    margin-top: 22px;
    padding: 28px;
    border-radius: 28px;
}

.feature-copy {
    max-width: 760px;
    margin-bottom: 22px;
}

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

.media-card,
.showcase {
    margin: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
}

figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.project-heading {
    margin-bottom: 18px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 26px;
    align-items: start;
}

.project-grid.reverse {
    grid-template-columns: 0.95fr 1.35fr;
}

ul {
    margin: 0;
    padding-left: 20px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.link-row a {
    color: #8bd7ff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.site-footer {
    margin-top: 22px;
    padding: 18px 24px;
    border-radius: 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-family: Arial, sans-serif;
}

@media (max-width: 900px) {
    .feature-gallery,
    .project-grid,
    .project-grid.reverse,
    .contact-strip {
        grid-template-columns: 1fr;
    }

    .top-nav {
        justify-content: flex-start;
        margin-bottom: 38px;
    }

    .project-feature,
    .project-card,
    .hero,
    .contact-strip {
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 18px, 1180px);
        margin: 10px auto 18px;
    }

    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p,
    li {
        font-size: 1rem;
    }
}
