:root {
    /* Palette */
    --pc-black: #0B0B0B;
    --pc-black-soft: #111111;
    --pc-ivory: #F2EDE3;
    --pc-cream: #FAF5EB;
    --pc-gold: #C8A24A;
    /* unified primary gold */
    --pc-gold-deep: #A5832F;
    /* for hover/active */
    --pc-warm-grey: #D5CFC4;
    --pc-muted-brown: #6B5A4A;

    /* Gradients */
    --bg-onyx-radial: radial-gradient(circle at top left, #1a1714 0, #0d0d0f 55%, #050506 100%);
    --bg-overlay-dark: linear-gradient(to bottom, rgba(11, 11, 11, 0.3), rgba(11, 11, 11, 0.8));
    --bg-overlay-hero: radial-gradient(circle at top left, rgba(0, 0, 0, 0.35), transparent 55%), linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75));
    --bg-overlay-hero-cool: radial-gradient(circle at top left, rgba(10, 20, 30, 0.35), transparent 55%), linear-gradient(to bottom, rgba(10, 20, 30, 0.45), rgba(0, 0, 0, 0.75));

    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    /* Standardised vertical spacing */
    --container-width: 1240px;
    /* Refined max-width */

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-slow: 0.8s var(--ease-out-expo);
    --transition-med: 0.4s var(--ease-out-expo);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

@media (max-width: 768px) {
    html {
        font-size: 17px;
        /* Increased base size for mobile */
    }
}

body {
    background-color: var(--pc-black);
    color: var(--pc-ivory);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    color: var(--pc-ivory);
    letter-spacing: 0.03em;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: 0.02em;
    /* Editorial feel */
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--pc-gold);
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--pc-warm-grey);
}

.lead {
    font-size: 1.25rem;
    color: var(--pc-ivory);
}

/* Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    /* Consistent horizontal padding */
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--pc-gold);
}

.bg-ivory {
    background-color: var(--pc-ivory);
    color: var(--pc-black-soft);
}

.bg-cream {
    background-color: var(--pc-cream);
    color: var(--pc-black-soft);
}

.img-warm {
    filter: saturate(1.05) contrast(1.02);
}

/* Buttons */
.btn,
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.6rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--transition-med);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.button-primary,
.btn-primary {
    background-color: var(--pc-gold);
    color: var(--pc-black-soft);
}

.button-primary:hover,
.button-primary:focus-visible,
.btn-primary:hover {
    background-color: var(--pc-gold-deep);
    transform: translateY(-1px);
    color: var(--pc-black-soft);
}

.button-primary:active,
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--pc-gold);
    border: 1px solid var(--pc-gold);
}

.btn-secondary:hover {
    background-color: var(--pc-gold);
    color: var(--pc-black-soft);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(11, 11, 11, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 162, 74, 0.1);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    color: var(--pc-ivory);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--pc-gold);
}

.mobile-menu-btn {
    display: none;
    color: var(--pc-ivory);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.1);
    /* For parallax effect */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-overlay-hero);
    pointer-events: none;
    z-index: -1;
}

.hero.hero-cool::before {
    background: var(--bg-overlay-hero-cool);
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out-expo) forwards 0.5s;
    padding-top: 4rem;
    /* Safe zone */
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title-wrapper {
    margin-bottom: var(--spacing-lg);
}

.overline {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pc-gold);
    margin-bottom: 1rem;
}

/* Cards & Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--pc-gold);
}

.service-tile {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    text-decoration: none;
    color: var(--pc-ivory);
}

.service-tile img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: -1;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 0;
}

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

.service-tile h3 {
    position: relative;
    z-index: 1;
    color: var(--pc-ivory);
    margin: 0;
}

/* Pre-Footer CTA Band */
.cta-band {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    background-color: var(--pc-black);
    overflow: hidden;
}

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

.cta-band-content {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    margin-bottom: 2rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--pc-black-soft);
    padding: 1rem;
    border-top: 1px solid var(--pc-gold);
    z-index: 9999;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-sticky-cta span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pc-ivory);
}

.mobile-sticky-cta .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

/* Footer */
footer {
    background-color: var(--pc-black-soft);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(200, 162, 74, 0.2);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--pc-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--pc-warm-grey);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--pc-ivory);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        gap: var(--spacing-sm);
        /* Stack with comfortable spacing */
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 500px;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    footer {
        padding-bottom: 5rem;
        /* Space for sticky CTA */
    }
}