@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Primary Colours */
    --clr-navy: #0B132B;
    --clr-white: #FFFFFF;
    --clr-charcoal: #151515;
    
    /* Accent Colours */
    --clr-emerald: #1F8A70;
    --clr-gold: #D4AF37;
    --clr-lightblue: #B9E6FF;

    /* Base Variables */
    --bg-main: var(--clr-white);
    --bg-alt: #FAFAFA;
    --text-main: var(--clr-charcoal);
    --text-light: #555555;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 2rem;
    --radius-soft: 4px;
    --shadow-soft: 0 8px 30px rgba(11, 19, 43, 0.08);
    --border-thin: 1px solid var(--clr-lightblue);
    --transition-standard: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-standard);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding {
    padding: 6rem 0;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-thin);
    transition: var(--transition-standard);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.site-header .brand-logo-img {
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-charcoal);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-emerald);
    transition: var(--transition-standard);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--clr-navy);
    margin: 5px 0;
    transition: var(--transition-standard);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-standard);
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-charcoal);
    color: var(--clr-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-navy);
    border: 1px solid var(--clr-navy);
}

.btn-outline:hover {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--clr-navy);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Offset header */
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Cards */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--clr-white);
    border: var(--border-thin);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-soft);
    overflow: hidden;
    transition: var(--transition-standard);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(11, 19, 43, 0.12);
}

.card-img-wrapper {
    position: relative;
    padding-top: 66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    border-bottom: var(--border-thin);
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content h3 a:hover {
    color: var(--clr-emerald);
}

.card-meta {
    margin-top: auto;
    font-size: 0.875rem;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #EEEEEE;
}

/* Featured Section - Asymmetric */
.featured-section {
    background-color: var(--bg-alt);
}

.featured-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image-container {
    position: relative;
}

.featured-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--clr-gold);
    z-index: 0;
}

.featured-image-container img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-soft);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    text-align: center;
    border-top: 4px solid var(--clr-emerald);
    border-bottom: 4px solid var(--clr-gold);
}

.newsletter-section h2 {
    color: var(--clr-white);
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: var(--border-thin);
    background: var(--clr-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--clr-emerald);
}

.newsletter-form button {
    background-color: var(--clr-gold);
    color: var(--clr-navy);
    font-weight: 600;
}

.newsletter-form button:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

/* Page Headers (Utility) */
.page-header {
    background-color: var(--bg-alt);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: var(--border-thin);
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

/* Content Pages (Legal/Contact) */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    background: var(--clr-white);
    padding: 3rem;
    border: var(--border-thin);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-navy);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #DDDDDD;
    background-color: #FCFCFC;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-standard);
    border-radius: 0;
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-lightblue);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(185, 230, 255, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.site-footer {
    background-color: var(--clr-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .brand-logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer-brand p {
    color: inherit;
    max-width: 300px;
}

.footer-address {
    font-style: normal;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    color: var(--clr-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: inherit;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--clr-lightblue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    .featured-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--clr-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-standard);
        border-top: var(--border-thin);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}