:root {
    --rcf-background: #fbf9f5;
    --rcf-surface: #ffffff;
    --rcf-surface-muted: #f5f3ef;
    --rcf-surface-strong: #e4e2de;
    --rcf-text: #1b1c1a;
    --rcf-text-muted: #3e4949;
    --rcf-primary: #006565;
    --rcf-primary-dark: #004f4f;
    --rcf-accent: #944a00;
    --rcf-accent-bright: #fc8f34;
    --rcf-outline: #bdc9c8;
    --rcf-shadow: 0 18px 44px rgba(0, 101, 101, 0.12);
    --rcf-anchor-offset: 6rem;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--rcf-background);
    color: var(--rcf-text);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.navbar-brand,
.footer-brand {
    color: var(--rcf-text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

h1 {
    max-width: 12ch;
    font-size: 2.45rem;
    line-height: 1.12;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
}

a,
button,
.btn {
    min-height: 44px;
}

.text-secondary {
    color: var(--rcf-text-muted) !important;
}

.site-header {
    border-bottom: 1px solid rgba(189, 201, 200, 0.5);
    background: rgba(251, 249, 245, 0.94);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 76px;
}

.navbar-brand {
    color: var(--rcf-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--rcf-primary-dark);
}

.nav-link {
    color: var(--rcf-text-muted);
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--rcf-primary);
}

.navbar-toggler {
    border-color: rgba(0, 101, 101, 0.25);
    min-width: 44px;
}

.btn {
    border-radius: 0.5rem;
    font-weight: 700;
    letter-spacing: 0;
}

.btn-primary {
    --bs-btn-bg: var(--rcf-primary);
    --bs-btn-border-color: var(--rcf-primary);
    --bs-btn-hover-bg: var(--rcf-primary-dark);
    --bs-btn-hover-border-color: var(--rcf-primary-dark);
    --bs-btn-active-bg: var(--rcf-primary-dark);
    --bs-btn-active-border-color: var(--rcf-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--rcf-primary);
    --bs-btn-border-color: var(--rcf-primary);
    --bs-btn-hover-bg: var(--rcf-primary);
    --bs-btn-hover-border-color: var(--rcf-primary);
    --bs-btn-active-bg: var(--rcf-primary-dark);
    --bs-btn-active-border-color: var(--rcf-primary-dark);
}

.btn-accent {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--rcf-accent);
    --bs-btn-border-color: var(--rcf-accent);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #713700;
    --bs-btn-hover-border-color: #713700;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #663100;
    --bs-btn-active-border-color: #663100;
}

.btn-link {
    color: var(--rcf-primary);
    font-weight: 700;
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus {
    color: var(--rcf-accent);
}

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--rcf-background);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.18;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(251, 249, 245, 0.86);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-kicker {
    margin-bottom: 0.75rem;
    color: var(--rcf-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lead {
    max-width: 46rem;
    color: var(--rcf-text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

main > section[id] {
    scroll-margin-top: var(--rcf-anchor-offset);
}

.newsletter-section {
    padding: 1.5rem 0 4rem;
    background: var(--rcf-background);
}

.newsletter-panel {
    border: 1px solid rgba(189, 201, 200, 0.8);
    border-top: 4px solid var(--rcf-accent-bright);
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: var(--rcf-surface);
    box-shadow: var(--rcf-shadow);
}

.newsletter-panel h2 {
    color: var(--rcf-primary);
}

.form-label {
    color: var(--rcf-text);
    font-weight: 700;
}

.form-control {
    border-color: var(--rcf-outline);
    border-radius: 0.5rem;
    background: #fffdfa;
}

.form-control:focus {
    border-color: var(--rcf-primary);
    box-shadow: 0 0 0 0.22rem rgba(0, 101, 101, 0.16);
}

.invalid-feedback {
    font-weight: 600;
}

.content-section,
.studio-section {
    padding: 4.5rem 0;
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    color: var(--rcf-primary);
}

.section-heading p {
    color: var(--rcf-text-muted);
    line-height: 1.65;
}

.discipline-card {
    overflow: hidden;
    border: 1px solid rgba(189, 201, 200, 0.65);
    border-radius: 0.5rem;
    background: var(--rcf-surface);
    box-shadow: 0 10px 28px rgba(27, 28, 26, 0.06);
}

.discipline-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
    border-bottom: 3px solid var(--rcf-primary);
}

.discipline-card-body {
    padding: 1.5rem;
}

.discipline-card-body p {
    margin-bottom: 0;
    color: var(--rcf-text-muted);
    line-height: 1.65;
}

.studio-section {
    background: var(--rcf-surface-muted);
}

.studio-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--rcf-shadow);
}

.lead-balanced {
    max-width: 38rem;
}

.studio-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.studio-list li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--rcf-text-muted);
    font-weight: 600;
}

.studio-list li::before {
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--rcf-primary);
    content: "";
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(189, 201, 200, 0.5);
    background: var(--rcf-surface);
}

.footer-brand {
    color: var(--rcf-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: var(--rcf-text-muted);
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--rcf-primary);
}

.confirmation-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.confirmation-main {
    flex: 1;
}

.confirmation-section {
    display: flex;
    min-height: 62vh;
    align-items: center;
    padding: 4rem 0;
    background: var(--rcf-background);
}

.confirmation-panel {
    max-width: 720px;
    border: 1px solid rgba(189, 201, 200, 0.8);
    border-top: 4px solid var(--rcf-primary);
    border-radius: 0.5rem;
    padding: 2rem;
    background: var(--rcf-surface);
    box-shadow: var(--rcf-shadow);
}

.confirmation-panel h1 {
    max-width: none;
    color: var(--rcf-primary);
}

.confirmation-panel p {
    margin: 1rem 0 1.5rem;
    color: var(--rcf-text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.3rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    .newsletter-panel {
        padding: 2rem;
    }

    .section-heading {
        margin-bottom: 3rem;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 4rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --rcf-anchor-offset: 5.25rem;
    }

    .navbar {
        min-height: 68px;
    }

    .hero-section {
        min-height: 520px;
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .newsletter-section {
        padding-bottom: 3rem;
    }

    .content-section,
    .studio-section {
        padding: 3.25rem 0;
    }

    .confirmation-panel {
        padding: 1.5rem;
    }
}
