:root {
    --bg: #050506;
    --panel: rgba(10, 10, 12, 0.82);
    --panel-alt: rgba(18, 18, 22, 0.88);
    --text: #f4f1ea;
    --muted: #c8bda8;
    --gold: #d6b06a;
    --gold-light: #f0d8a0;
    --border: rgba(214, 176, 106, 0.28);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

main {
    min-height: calc(100vh - 160px);
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 6, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-brand img {
    height: 64px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--gold-light);
}

/* LANDING PAGE */
.landing-hero {
    min-height: calc(100vh - 88px);
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.74)),
        radial-gradient(circle at top, rgba(214, 176, 106, 0.12), transparent 35%),
        url('/images/gatehouse-bg.jpg') center/cover no-repeat,
        var(--bg);
}

.landing-overlay {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.landing-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    padding: 3rem 2rem;
    text-align: center;
}

.landing-logo-wrap {
    margin-bottom: 1.5rem;
}

.landing-logo-wrap img {
    width: min(100%, 620px);
    margin: 0 auto;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}

.landing-tagline {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.entry-card {
    display: block;
    padding: 2rem 1.4rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 216, 160, 0.55);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.entry-title {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.entry-copy {
    color: var(--muted);
    font-size: 0.98rem;
}

/* DEEPER PAGE STYLES */
.subpage-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.72)),
        url('/images/gatehouse-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--border);
}

.subpage-hero-content {
    max-width: 720px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.subpage-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.06;
    margin-bottom: 1rem;
}

.subpage-hero p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 60ch;
}

section {
    padding: 4rem 0;
}

.card {
    background: linear-gradient(180deg, var(--panel), var(--panel-alt));
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

/* STUDIO PAGE */
.studio-hero {
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
        url('/images/studio-hero.jpg') center/cover no-repeat;
}

.studio-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.studio-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.studio-copy p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.studio-image-panel img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.studio-services-section {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.studio-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.studio-service-grid h3 {
    margin-bottom: 0.75rem;
    color: var(--gold-light);
}

.studio-service-grid p {
    color: var(--muted);
}

.studio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.studio-gallery-item img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.studio-cta {
    max-width: 1000px;
}

@media (max-width: 900px) {
    .studio-intro-grid,
    .studio-service-grid,
    .studio-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border);
    background: #070708;
    padding: 1.5rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--gold-light);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .entry-grid {
        grid-template-columns: 1fr;
    }

    .landing-content {
        padding: 2rem 1.25rem;
    }

    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 1rem 0;
    }
}
