
:root {
    --primary-blue: #2c3e50; /* Slate Blue */
    --accent-tan: #fdf5e6;   /* Old Lace/Cream */
    --cream: #FFFAFA;
    --text-dark: #333;
    --border-gold: #d4af37;  /* Subtle Gold for "Empire" feel */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    border-bottom: 2px solid var(--accent-tan);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

h1 { color: var(--primary-blue); margin-bottom: 10px; }
.tagline { font-style: italic; color: #666; }

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* --- NAVIGATION --- */
nav {
    background: var(--cream);
    position: sticky;
    top: 0;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(156, 175, 136, 0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--sage);
    text-decoration: none;
    letter-spacing: 2px;
    font-style: italic;
}

.back-link {
    text-decoration: none;
    color: var(--taupe);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--border-gold);
}

.stud-image {
    width: 100%;
    border-radius: 12px;
    border: 5px solid var(--accent-tan);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.label { font-weight: bold; color: var(--primary-blue); }

.genetics-box {
    background: var(--accent-tan);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 5px solid var(--border-gold);
}

.stud-service-info {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.btn-contact {
    display: block;
    width: 250px;
    margin: 30px auto;
    padding: 15px;
    text-align: center;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-contact:hover { background: #34495e; transform: scale(1.05); }

@media (max-width: 600px) {
    .profile-grid { grid-template-columns: 1fr; }
}