@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
    --bg: #050505;
    --panel: #0b0b0f;
    --text: #f3f3f3;
    --muted: #cfcfcf;
    --accent: #ff8000;
    --accent-soft: #ffb35c;
    --accent-dark: #4a2500;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(255, 128, 0, 0.12), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(255, 179, 92, 0.18), transparent 45%),
                linear-gradient(180deg, #0a0a0a 0%, #050505 45%, #0a0a0a 100%);
    color: var(--text);
    min-height: 100vh;
    letter-spacing: 0.01em;
}

p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0 auto;
    max-width: 920px;
    text-indent: 1.75em;
}

h1, h2, h3, h4, h5, h6 {
    position: static;
    text-align: center;
    letter-spacing: 0.04em;
}
h1 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 3.2em;
    margin: 0.5em 0 0.15em;
    color: var(--accent);
    text-shadow: 0 8px 32px rgba(255, 128, 0, 0.45);
}

h2 {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin: 2rem 0 0.75rem;
}

h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 0.5rem auto 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

nav#main-nav {
    background: rgba(255, 255, 255, 0.03);
    color: #ffeede;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 128, 0, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    max-width: 820px;
    margin: 0.75rem auto 1.5rem;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0.6rem;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.nav-link {
    border: 1px solid rgba(255, 128, 0, 0.5);
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    color: #ffeede;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.nav-link:hover {
    background-color: rgba(255, 128, 0, 0.14);
    color: #fff6ec;
    box-shadow: 0 8px 28px rgba(255, 128, 0, 0.25);
}

.nav-link.current-page {
    background-color: var(--accent);
    color: #0c0a09;
    border-color: var(--accent);
    box-shadow: 0 10px 32px rgba(255, 128, 0, 0.35);
}

header {
    text-align: center;
    padding: 2.5rem 1rem 1.25rem;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    inset: 12% 18% auto;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 128, 0, 0.15), transparent 65%);
    filter: blur(28px);
    z-index: -1;
}

header h2 {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    margin: 0.35rem 0 0;
    color: var(--accent-soft);
    text-transform: none;
    letter-spacing: 0.08em;
    font-size: 1.25rem;
}

header h2::after {
    display: none;
}

main {
    max-width: 1100px;
    margin: 1rem auto 3rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(13, 13, 15, 0.92), rgba(7, 7, 9, 0.95));
    border: 1px solid rgba(255, 128, 0, 0.18);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

footer {
    max-width: 1100px;
    margin: 0 auto 2rem;
    padding: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 128, 0, 0.4);
    background: rgba(255, 255, 255, 0.04);
    color: #f5f3ef;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 128, 0, 0.28);
    background: rgba(255, 128, 0, 0.14);
    border-color: var(--accent);
}

.cta-button.primary {
    background: var(--accent);
    color: #0b0806;
    border-color: var(--accent);
}

.cta-button.primary:hover {
    background: var(--accent-soft);
    box-shadow: 0 12px 32px rgba(255, 179, 92, 0.35);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.fact-card {
    border: 1px solid rgba(255, 128, 0, 0.18);
    background: radial-gradient(circle at 30% 30%, rgba(255, 128, 0, 0.08), rgba(10, 10, 12, 0.95));
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fact-card.wide {
    grid-column: span 2;
    text-indent: 0;
}

@media (max-width: 780px) {
    .fact-card.wide {
        grid-column: span 1;
    }
}

.fact-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    color: var(--accent-soft);
    margin: 0;
}

.fact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f3ef;
    margin: 0;
}

.fact-list {
    margin: 0.15rem 0 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
    line-height: 1.6;
}

.fact-list ul {
    padding-left: 1.05rem;
    margin: 0.25rem 0 0.35rem;
}

.pill-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-list li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 128, 0, 0.35);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #f5f3ef;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.pill-list.ordered {
    counter-reset: pill-counter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pill-list.ordered li {
    counter-increment: pill-counter;
    position: relative;
    padding-left: 2.4rem;
}

.pill-list.ordered li::before {
    content: counter(pill-counter) ".";
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-soft);
    font-weight: 700;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0 2rem;
}

.project-section h3 {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.project-subsection {
    display: grid;
    gap: 1rem;
}

.project-card {
    border: 1px solid rgba(255, 128, 0, 0.14);
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.95), rgba(12, 10, 10, 0.9));
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.project-card.coming-soon {
    border-style: dashed;
    background: linear-gradient(135deg, rgba(18, 14, 10, 0.94), rgba(22, 18, 14, 0.9));
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.project-header h4 {
    margin: 0;
    color: #f6f2eb;
    font-size: 1.3rem;
}

.project-subtitle {
    margin: 0.15rem 0 0;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.project-year {
    color: var(--accent-soft);
    font-weight: 700;
    font-size: 0.95rem;
}

.project-description {
    color: #f1efe8;
    margin: 0;
}

.project-body {
    display: grid;
    gap: 0.75rem;
}

.project-embed .embed-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-embed iframe {
    width: 100%;
    border: none;
    display: block;
}

.project-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
    border: none;
}

.media-carousel {
    display: grid;
    gap: 0.55rem;
}

.compact-media {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
}

.media-stage {
    position: relative;
}

.media-slide {
    display: none;
}

.media-slide.is-active {
    display: block;
}

.media-slide img,
.media-slide video,
.media-slide iframe {
    width: 100%;
    display: block;
}

.media-slide img,
.media-slide video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.media-controls {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem;
    align-items: center;
    gap: 0.55rem;
}

.media-button {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 128, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #ffeede;
    cursor: pointer;
    font: inherit;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.media-button:hover,
.media-button:focus-visible {
    background: rgba(255, 128, 0, 0.16);
    border-color: var(--accent);
    color: #fff6ec;
}

.media-button:disabled {
    cursor: default;
    opacity: 0.45;
}

.media-caption {
    margin: 0;
    max-width: none;
    text-align: center;
    text-indent: 0;
    color: var(--accent-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

.embed-fallback {
    margin-top: 0.35rem;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.embed-fallback p {
    margin: 0;
    text-indent: 0;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    border: 1px solid rgba(255, 128, 0, 0.35);
    color: #ffeede;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    letter-spacing: 0.01em;
}

.cta-button.disabled {
    cursor: default;
    opacity: 0.65;
    pointer-events: none;
}

@media (min-width: 880px) {
    .project-body {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}
