* {
    box-sizing: border-box;
}

:root {
    --bg: #07111f;
    --panel: rgba(15, 23, 42, 0.88);
    --panel-border: rgba(224, 168, 153, 0.25);
    --text: #F8FAFC;
    --muted: #CBD5E1;
    --accent: #E0A899;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Times New Roman', Times, serif;
    background:
        radial-gradient(circle at top, rgba(224, 168, 153, 0.08), transparent 25%),
        linear-gradient(135deg, #020617 0%, #0B0F19 45%, #111827 100%);
    color: var(--text);
    line-height: 1.6;
}

.page-shell {
    width: min(1100px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.page-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.35);
}

.page-intro {
    color: var(--muted);
    max-width: 60ch;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 1rem;
}

.project-tag {
    display: inline-block;
    width: fit-content;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: rgba(224, 168, 153, 0.12);
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.project-card h2 {
    margin: 0;
    font-size: 1.15rem;
}

.project-card p {
    margin: 0;
    color: var(--muted);
}

.project-highlights {
    margin: 0;
    padding-left: 1rem;
    color: var(--text);
}

.about-layout {
    display: grid;
    gap: 1.25rem;
}

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

.mini-panel {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 1rem;
}

.mini-panel h2 {
    margin-top: 0;
    font-size: 1.05rem;
}

.mini-panel p {
    color: var(--muted);
    margin-bottom: 0;
}

.wide-panel {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.25);
}

.wide-panel h2 {
    margin-top: 0;
    font-size: 1.05rem;
}

.wide-panel p,
.wide-panel h6 {
    color: var(--muted);
    margin-bottom: 0;
}

.wide-panel form {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.wide-panel label {
    display: grid;
    gap: 0.35rem;
    color: var(--text);
    font-weight: 600;
}

.wide-panel input,
.wide-panel textarea,
.wide-panel select {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
    font: inherit;
}

.wide-panel textarea {
    min-height: 110px;
    resize: vertical;
}

.wide-panel button {
    justify-self: start;
}

.site-header {
    width: 100%;
}

#mainnav {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--panel-border);
    box-shadow: 0 10px 25px rgba(2, 6, 23, 0.25);
}

#mainnav ul {
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

#mainnav a {
    display: inline-block;
    padding: 0.65rem 0.95rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#mainnav a:hover {
    background: rgba(224, 168, 153, 0.12);
    color: var(--accent);
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 2rem 1rem 3rem;
}

.hero-card {
    width: min(900px, 100%);
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.35);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.82rem;
    color: var(--accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text);
}

h1 {
    margin: 0.2rem 0 0.4rem;
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.08;
}

h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--accent);
}

.tagline {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 48ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.project-card .btn {
    color: #111827;
    background: linear-gradient(135deg, #F8FAFC, #E0A899);
    border: 1px solid rgb(224, 168, 153);
}

.btn-secondary {
    color: var(--text);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

