:root {
    --primary: #0B1B3D;       /* Oxford Navy - Institutional authority */
    --accent: #D4AF37;        /* Subtle Gold - Premium accent */
    --text-dark: #1C2430;     /* Deep Slate for high-end contrast */
    --text-muted: #5A6578;    /* Softer gray for descriptions */
    --light-bg: #F4F7FA;      /* Architectural light background */
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0;
    scroll-behavior: smooth;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Navigation Overhaul */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 27, 61, 0.04);
    z-index: 1000;
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 32px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

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

.nav-content a img {
    height: 42px;
    width: auto;
    display: block;
}

/* Hero Section - Elite Typographic Balance */
.hero {
    padding: 180px 24px 80px;
    background: radial-gradient(circle at top right, #F9FBFC 0%, #EEF3F7 100%);
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.1rem, 3.4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--primary);
    margin: 0 auto 24px;
    letter-spacing: 0.01em;
}

.text-primary {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Core Structural Layouts */
section {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.section-padded-top-none {
    padding-top: 0px !important;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Specialisms Component */
.specialisms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.specialism-card {
    background: var(--white);
    padding: 40px 32px;
    border: 1px solid rgba(11, 27, 61, 0.05);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.specialism-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.03);
    border-color: var(--accent);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.specialism-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--primary);
    margin: 0 0 16px 0;
    font-weight: 500;
}

.specialism-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* Editorial Profile Layout */
.bio-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: 120px;
}

.profile-badge img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    filter: grayscale(15%) contrast(102%);
    box-shadow: 0 16px 40px rgba(11, 27, 61, 0.06);
}

.badge-caption {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 16px;
    letter-spacing: 0.06em;
}

.trust-column {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-premium {
    background: var(--light-bg);
    padding: 12px 16px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    border-left: 2px solid var(--accent);
    letter-spacing: 0.02em;
}

.linkedin-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 4px;
    font-weight: 500;
    transition: color 0.2s;
}

.linkedin-link:hover { color: var(--accent); }

.section-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.bio-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin: 0 0 24px 0;
    font-weight: 500;
}

.bio-text p {
    margin-bottom: 24px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Testimonials System */
.testimonials-section {
    background-color: var(--light-bg);
    max-width: 100%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 12px 32px rgba(11, 27, 61, 0.01);
    border-top: 2px solid var(--accent);
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 24px;
}

.testimonial-author {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

/* Call to Action Matrix */
.cta-box {
    background: var(--primary);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
    border-radius: 2px;
}

.cta-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.cta-box p {
    color: #A4B3C6;
    max-width: 540px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Dynamic Buttons Architecture */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 14px 32px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
}

.cta-box .btn-primary {
    background: var(--accent);
    color: var(--primary) !important;
}

.btn-primary:hover {
    background: #12244f;
    transform: translateY(-1px);
}

.cta-box .btn-primary:hover {
    background: #ebd06a;
}

.btn-secondary {
    background: rgba(11, 27, 61, 0.04);
    color: var(--primary) !important;
}

.btn-secondary:hover {
    background: rgba(11, 27, 61, 0.08);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Premium Form Structural Controls */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.premium-form {
    background: #ffffff;
    padding: 48px;
    border: 1px solid rgba(11, 27, 61, 0.06);
    border-radius: 2px;
    box-shadow: 0 16px 40px rgba(11, 27, 61, 0.01);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--light-bg);
    border: 1px solid rgba(11, 27, 61, 0.08);
    border-radius: 2px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    padding: 15px;
    border: none;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background: #12244f;
}

/* Acknowledgement / Thank You Configuration */
.full-height-center {
    padding: 220px 24px 140px;
}

.editorial-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* Terms Architecture Footer */
#terms {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(11, 27, 61, 0.06);
}

.terms-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 12px;
}

footer {
    padding: 60px 24px;
    background: #060E1A;
    color: #617187;
    text-align: center;
    font-size: 0.85rem;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.25em;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Responsive Engineering */
@media (max-width: 900px) {
    .bio-container { grid-template-columns: 1fr; gap: 40px; }
    .profile-sidebar { position: static; text-align: center; }
    .profile-badge img { max-width: 200px; }
    .trust-column { align-items: center; }
}

@media (max-width: 768px) {
    .nav-content { flex-direction: column; padding: 12px; }
    .nav-links { margin-top: 12px; }
    .nav-links a { margin: 0 8px; font-size: 0.85rem; }
    .hero { padding-top: 160px; }
    .hero-cta-group, .cta-buttons { flex-direction: column; gap: 12px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .premium-form { padding: 32px 24px; }
}