:root {
    --bg-color: #FAF6F0;
    --text-main: #252525;
    --text-muted: #666;
    --accent: #252525;
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

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

/* Navigation */
nav {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: var(--bg-color);
    z-index: 100;
}

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

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

.logo img {
    height: 42px;
    width: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(11%) sepia(0%) saturate(0%) hue-rotate(169deg) brightness(97%) contrast(92%);
    transition: opacity 0.3s ease;
}

.logo:hover img {
    opacity: 0.7;
}

/* Mobile scaling */
@media (max-width: 600px) {
    .logo img {
        height: 32px;
    }
}

@media (max-width: 820px) {
    nav {
        padding: 16px 0;
    }

    .nav-container {
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid transparent;
        transition: max-height 0.25s ease, border-color 0.25s ease, padding-top 0.25s ease;
    }

    nav.nav-open .nav-links {
        max-height: 360px;
        border-top-color: #E0DDD5;
        padding-top: 12px;
    }

    .nav-links a {
        margin-left: 0;
        padding: 12px 0;
        font-size: 0.82rem;
        width: fit-content;
    }

    .nav-links a[aria-current="page"] {
        padding-bottom: 3px;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a[aria-current="page"] {
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #D7D1C7;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s ease;
}

nav.nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

nav.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* Typography */

h1,
h2,


h1,
h2 {
    font-family: var(--font-serif);
    color: var(--text-main);
    font-weight: 400;
    text-align: center; /* This is the missing line */
    width: 100%;       /* Ensures it centers relative to the page */
}

h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

h3 {
    font-family: var(--font-sans); /* Switching to Inter for a cleaner look */
    color: var(--text-main);
    font-weight: 600;              /* Make it a bit bolder */
    text-align: center;            /* Center the text */
    text-transform: uppercase;     /* Make it all caps like your image */
    letter-spacing: 0.15em;        /* Add space between letters for a premium feel */
    font-size: 1rem;
    margin-bottom: 15px;
    width: 100%;
}



/* Sections */
section {
    display: none;
    /* Hidden by default for JS navigation */
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 20px;
    animation: fadeIn 0.8s ease;
    scroll-margin-top: 110px;
}

section.active-page {
    display: block;
}

#home {
    scroll-margin-top: 120px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.subheading {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    display: inline-block;
}

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

.btn-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Info Section */
.info-section {
    margin-top: 120px;
}

.text-block p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.premium-tag {
    border-left: 1px solid #ddd;
    padding-left: 30px;
    margin-top: 50px;
    font-style: italic;
    color: var(--text-muted);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.field {
    margin-bottom: 25px;
}

.field label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid #ccc;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.google-form-alt {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
}

/* Line Art Placeholder */
.line-art {
    margin: 60px 0;
    opacity: 0.5;
}

footer {
    text-align: center;
    padding: 60px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.git-animation {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    opacity: 0.6;
    /* Keeps it subtle */
}

.git-line-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 8s linear infinite;
}

.git-line-animated.delay {
    animation-delay: 4s;
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Make the nodes pulse slightly */
/* All elements on a shared 10s loop */
.line,
.dot {
    animation: 10s linear infinite;
    opacity: 0;
}

.line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation-name: draw-simultaneous;
}

/* BOTH lines draw from 10% to 50% */
@keyframes draw-simultaneous {

    0%,
    10% {
        stroke-dashoffset: 300;
        opacity: 1;
    }

    50%,
    85% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    90%,
    100% {
        opacity: 0;
    }
}

/* START DOTS: Both appear at exactly 10% */
.d-start-1,
.d-start-2 {
    animation-name: show-start;
}

@keyframes show-start {

    0%,
    9% {
        opacity: 0;
    }

    10%,
    85% {
        opacity: 1;
    }

    90%,
    100% {
        opacity: 0;
    }
}

/* MERGE DOTS: Both appear at exactly 50% (when lines finish) */
.d-merge-1,
.d-merge-2 {
    animation-name: show-merge;
}

@keyframes show-merge {

    0%,
    49% {
        opacity: 0;
    }

    50%,
    85% {
        opacity: 1;
    }

    90%,
    100% {
        opacity: 0;
    }
}
/* Main Message */
/* FIX: Methodology section inside Home */
.methodology-wrapper {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid #E0DDD5;
}

.methodology-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Force 2 columns */
    gap: 60px;
    margin-bottom: 40px;
}

.feature-block {
    border-top: 1px solid var(--text-main);
    padding-top: 25px;
}

.feature-block h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Refined Home Page */
#home {
    max-width: 1120px;
    margin-top: 92px;
}

#home .hero {
    max-width: 840px;
    margin: 0 auto 46px;
}

#home .hero h1 {
    font-size: clamp(3rem, 6.6vw, 5.8rem);
    line-height: 1.06;
    margin-bottom: 26px;
}

#home .subheading {
    max-width: 780px;
    margin: 0 auto 24px;
    font-family: var(--font-serif);
    font-size: clamp(1.18rem, 2.2vw, 1.72rem);
    line-height: 1.65;
    color: #3a3a3a;
    font-style: normal;
}

#home .hero-text {
    max-width: 720px;
    margin-bottom: 42px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.85;
}

#home .git-animation {
    margin: 18px auto 86px;
    opacity: 0.72;
}

#home .git-animation svg {
    width: min(100%, 520px);
    height: auto;
}

#home .methodology-wrapper {
    margin-top: 0;
    padding-top: 86px;
}

#home .methodology-intro {
    max-width: 800px;
    line-height: 1.85;
    margin-bottom: 66px;
}

#home .feature-grid {
    gap: 54px 70px;
    margin-bottom: 0;
}

#home .feature-block {
    padding-top: 28px;
}

#home .feature-block h3 {
    text-align: left;
    line-height: 1.55;
}

#home .feature-block p {
    color: #555;
    line-height: 1.8;
}

#home .fee-section,
#home .info-section,
#home .home-final-cta {
    display: block !important;
}

#home .fee-section {
    padding: 96px 0 0;
}

#home .fee-card {
    border-radius: 8px;
}

#home .fee-content {
    min-height: 390px;
}

#home .fee-title {
    line-height: 1.24;
}

#home .fee-description {
    font-size: 1.12rem;
}

#home .info-section {
    max-width: 900px;
    margin: 112px auto 0;
    padding: 0;
}

#home .info-section h2 {
    margin-bottom: 34px;
}

#home .text-block {
    max-width: 800px;
    margin: 0 auto;
}

#home .text-block p {
    color: #4f4f4f;
    line-height: 1.85;
}

#home .premium-tag {
    max-width: 760px;
    margin: 54px auto 0;
    border-left-color: #CFC8BC;
    color: #555;
    line-height: 1.8;
}

.home-final-cta {
    max-width: 820px;
    margin: 118px auto 0 !important;
    padding: 88px 20px 0 !important;
    border-top: 1px solid #E0DDD5;
    text-align: center;
}

.home-final-cta h2 {
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    line-height: 1.16;
    margin-bottom: 24px;
}

.home-final-cta p {
    max-width: 620px;
    margin: 0 auto 34px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.85;
}

@media (max-width: 850px) {
    #home {
        margin-top: 72px;
    }

    #home .feature-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    #home .fee-section {
        padding-top: 76px;
    }

    #home .fee-left,
    #home .fee-right-box {
        padding: 42px;
    }

    #home .info-section {
        margin-top: 84px;
    }
}

@media (max-width: 600px) {
    #home {
        margin-top: 56px;
    }

    #home .hero h1 {
        font-size: 3rem;
    }

    #home .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    #home .btn {
        text-align: center;
    }

    #home .git-animation {
        margin-bottom: 66px;
    }

    #home .methodology-wrapper {
        padding-top: 66px;
    }

    #home .fee-left,
    #home .fee-right-box {
        padding: 30px;
    }

    #home .premium-tag {
        padding-left: 22px;
    }
}

/* Footer */
/* Footer Styling */
.site-footer {
    background-color: #252525;
    color: var(--bg-color);
    border-top: 1px solid rgba(250, 246, 240, 0.12);
    padding: 96px 0 56px;
    margin-top: 120px;
    font-family: var(--font-sans);
    text-align: left;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 72px;
}

.footer-brand {
    flex: 1 1 260px;
    max-width: 360px;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(96%) sepia(6%) saturate(711%) hue-rotate(327deg) brightness(105%) contrast(96%);
}

.footer-slogan {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--bg-color);
    margin: 0;
}

/* Columns Grid */
.footer-grid {
    display: flex;
    justify-content: flex-end;
    gap: clamp(44px, 7vw, 86px);
    flex-wrap: wrap;
    flex: 2 1 520px;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    color: #888;
    font-weight: 500;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--bg-color);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: opacity 0.3s ease;
}

.footer-col a[aria-current="page"] {
    opacity: 1;
    border-bottom: 1px solid rgba(250, 246, 240, 0.58);
    width: fit-content;
    padding-bottom: 2px;
}

.footer-col a:hover {
    opacity: 0.62;
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1100px;
    margin: 80px auto 0 auto;
    padding: 40px 20px 0 20px;
    border-top: 1px solid rgba(250, 246, 240, 0.16);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--bg-color);
    font-size: 0.8rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.linkedin-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icons a:hover {
    opacity: 0.62;
}

.copyright {
    font-size: 0.8rem;
    color: #888;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 52px;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
        width: 100%;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding-top: 72px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Legal Pages */
.legal-page {
    background: #FAF6F0;
    color: #252525;
}

.legal-page section {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    animation: none;
}

.legal-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 20px 0;
}

.legal-hero {
    padding: 118px 0 74px !important;
    border-bottom: 1px solid #E0DDD5;
}

.legal-eyebrow,
.legal-updated {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #777;
    margin-bottom: 16px;
}

.legal-hero h1 {
    text-align: left;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.06;
    margin: 0 0 24px;
}

.legal-intro {
    max-width: 760px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #4f4f4f;
}

.legal-content {
    padding: 72px 0 116px !important;
}

.legal-content h2 {
    text-align: left;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.22;
    margin: 56px 0 18px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: #4f4f4f;
    font-size: 1rem;
    line-height: 1.85;
}

.legal-content ul {
    margin: 14px 0 0 22px;
}

.legal-content a {
    color: #252525;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.legal-note {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #E0DDD5;
    color: #666;
    font-size: 0.92rem;
}

@media (max-width: 720px) {
    .legal-main {
        padding-top: 8px;
    }

    .legal-hero {
        padding: 92px 0 58px !important;
    }

    .legal-content {
        padding: 58px 0 92px !important;
    }
}
/* Fee */
/* Wider Section Container */
.fee-section {
    display: block !important; /* Forces the section to show */
    padding: 60px 0px;
    max-width: 1200px;         /* Makes the section wider than the others */
    margin: 0 auto;            /* Centers it on the page */
}

.fee-card {
    background-color: #F3F1EA;
    border: 1px solid #E0DDD5;
    border-radius: 24px;
    overflow: hidden; 
    display: block;            /* Ensures internal layout works */
}

.fee-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    min-height: 450px;
}

/* Left Content Area */
.fee-left {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fee-title {
    text-align: left !important;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.fee-price {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--text-main);
}

.fee-description {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #333;
}

.fee-scarcity {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    line-height: 1.4;
}

/* Right White Box (Sharp Corners) */
.fee-right-box {
    background-color: var(--bg-color);
    border-left: 1px solid #E0DDD5;
    padding: 60px;
    display: flex;
    align-items: center;
    /* SHARP CORNERS on the left as requested */
    border-radius: 0 24px 24px 0; 
}

.inclusion-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 25px;
}

.inclusion-list {
    list-style: none;
    margin-bottom: 40px;
}

.inclusion-list li {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #333;
}

/* Thin dash bullet like in the image */
.inclusion-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background-color: #CCC;
}

/* The Dark Pill Button */
.apply-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252525;
    color: #FFF;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease;
    width: 100%;
    max-width: 280px;
}

.apply-pill:hover {
    transform: scale(1.02);
}

.apply-pill .arrow {
    font-size: 1.2rem;
}

/* Mobile Fix */
@media (max-width: 850px) {
    .fee-content {
        grid-template-columns: 1fr;
    }
    .fee-right-box {
        border-left: none;
        border-top: 1px solid #E0DDD5;
        border-radius: 0 0 24px 24px;
    }
}

/* Programme Guide Page */
.programme-guide-page {
    background: #FAF6F0;
    color: #252525;
}

.programme-guide-page section {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    animation: none;
}

.programme-guide-page .nav-links a[aria-current="page"] {
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.programme-guide-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.programme-guide-main img {
    max-width: 100%;
    height: auto;
}

.guide-hero {
    min-height: 72vh;
    padding: 120px 0 90px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid #E0DDD5;
}

.guide-eyebrow,
.section-heading span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #777;
}

.guide-hero h1 {
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 1.04;
    margin: 18px 0 20px;
}

.guide-subheading {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    color: #3a3a3a;
    margin-bottom: 30px;
}

.guide-hero-copy {
    max-width: 780px;
    margin: 0 auto 42px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #4f4f4f;
}

.guide-section {
    padding: 96px 0;
    border-bottom: 1px solid #E0DDD5;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2 {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.16;
    margin: 12px 0 0;
}

.guide-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.guide-two-column p,
.section-lead,
.wide-copy,
.closing-note,
.guide-final-cta p {
    font-size: 1.04rem;
    line-height: 1.85;
    color: #4f4f4f;
}

.section-lead,
.wide-copy {
    max-width: 780px;
}

.rhythm-grid,
.learn-grid,
.role-grid,
.not-grid {
    display: grid;
    gap: 1px;
    background: #E0DDD5;
    border: 1px solid #E0DDD5;
}

.rhythm-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
}

.rhythm-grid div,
.learn-grid div,
.not-grid p,
.role-grid article {
    background: #FAF6F0;
    padding: 28px;
}

.rhythm-grid div,
.learn-grid div {
    min-height: 98px;
    display: flex;
    align-items: center;
    font-size: 0.98rem;
    color: #303030;
}

.dash-list {
    list-style: none;
}

.dash-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    color: #333;
}

.dash-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 14px;
    height: 1px;
    background: #999;
}

.role-grid {
    grid-template-columns: repeat(3, 1fr);
}

.role-grid article {
    min-height: 220px;
}

.role-grid h3 {
    text-align: left;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 18px;
}

.role-grid p {
    color: #555;
    line-height: 1.75;
}

.learn-grid {
    grid-template-columns: repeat(2, 1fr);
}

.not-section {
    background: #252525;
    color: #FAF6F0;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: max(20px, calc((100vw - 1120px) / 2)) !important;
    padding-right: max(20px, calc((100vw - 1120px) / 2)) !important;
}

.not-section .section-heading h2,
.not-section .section-heading span {
    color: #FAF6F0;
}

.not-grid {
    background: rgba(250, 246, 240, 0.2);
    border-color: rgba(250, 246, 240, 0.2);
    grid-template-columns: repeat(5, 1fr);
}

.not-grid p {
    background: #252525;
    color: #FAF6F0;
    min-height: 140px;
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    line-height: 1.6;
}

.not-section .closing-note {
    max-width: 760px;
    color: #ded8cf;
    margin-top: 38px;
}

.guide-final-cta {
    padding: 110px 0 130px !important;
    text-align: center;
}

.guide-final-cta h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 24px;
}

.guide-final-cta p {
    max-width: 680px;
    margin: 0 auto 36px;
}

@media (max-width: 900px) {
    .programme-guide-page .nav-container {
        align-items: flex-start;
        gap: 24px;
    }

    .programme-guide-page .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px 18px;
    }

    .programme-guide-page .nav-links a {
        margin-left: 0;
    }

    .guide-hero {
        padding: 88px 0 72px;
        min-height: auto;
    }

    .guide-section {
        padding: 72px 0;
    }

    .guide-two-column,
    .role-grid,
    .rhythm-grid,
    .learn-grid,
    .not-grid {
        grid-template-columns: 1fr 1fr;
    }

    .not-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 620px) {
    .programme-guide-page .nav-container,
    .programme-guide-page .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .guide-hero h1 {
        font-size: 3.2rem;
    }

    .guide-two-column,
    .role-grid,
    .rhythm-grid,
    .learn-grid,
    .not-grid {
        grid-template-columns: 1fr;
    }

    .rhythm-grid div,
    .learn-grid div,
    .not-grid p,
    .role-grid article {
        min-height: auto;
        padding: 24px;
    }
}

/* Programme Guide Refinements */
.programme-guide-main {
    max-width: 1120px;
}

.guide-hero {
    min-height: auto;
    padding: 118px 0 92px;
}

.guide-hero h1 {
    font-size: clamp(3rem, 6.6vw, 5.8rem);
    margin: 0 0 24px;
}

.guide-subheading {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    line-height: 1.62;
}

.guide-hero-copy {
    max-width: 800px;
    margin-bottom: 40px;
}

.guide-section {
    padding: 92px 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.section-heading h2 {
    max-width: 800px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.guide-two-column {
    gap: clamp(42px, 7vw, 82px);
}

.guide-two-column p,
.section-lead,
.wide-copy,
.closing-note,
.guide-final-cta p {
    line-height: 1.9;
}

.section-lead,
.wide-copy {
    max-width: 820px;
}

.rhythm-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 46px;
}

.rhythm-grid div,
.learn-grid div,
.not-grid p,
.role-grid article {
    padding: 30px;
}

.rhythm-grid div,
.learn-grid div {
    min-height: 112px;
    align-items: flex-start;
}

.role-grid {
    grid-template-columns: repeat(3, 1fr);
}

.role-grid article {
    min-height: 210px;
}

.role-grid h3 {
    letter-spacing: 0.14em;
}

.learn-grid {
    grid-template-columns: repeat(2, 1fr);
}

.not-section {
    padding-top: 94px !important;
    padding-bottom: 94px !important;
}

.not-grid {
    grid-template-columns: repeat(4, 1fr);
}

.not-grid p {
    min-height: 132px;
    font-size: 1rem;
}

.not-section .closing-note {
    margin-top: 42px;
}

.guide-final-cta {
    padding: 112px 0 132px !important;
}

.guide-final-cta h2 {
    line-height: 1.16;
}

@media (max-width: 980px) {
    .rhythm-grid,
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-section {
        padding: 76px 0;
    }
}

@media (max-width: 720px) {
    .guide-hero {
        padding: 86px 0 66px;
    }

    .guide-two-column,
    .rhythm-grid,
    .role-grid,
    .learn-grid,
    .not-grid {
        grid-template-columns: 1fr;
    }

    .rhythm-grid div,
    .learn-grid div,
    .not-grid p,
    .role-grid article {
        min-height: auto;
        padding: 24px;
    }

    .guide-final-cta {
        padding: 84px 0 104px !important;
    }
}

/* Programme Guide Request Refinements */
.programme-guide-main {
    padding-top: 28px;
}

.guide-hero {
    padding-top: 138px;
}

.programme-guide-page .guide-hero {
    padding: 138px 0 128px;
}

.programme-guide-page .guide-section {
    padding: 96px 0;
}

.guide-eyebrow {
    display: block;
    margin-bottom: 18px;
}

.rhythm-grid .rhythm-card {
    display: block;
}

.rhythm-card strong {
    display: block;
    margin-bottom: 14px;
    color: #252525;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.rhythm-card span {
    display: block;
    color: #555;
    font-size: 0.94rem;
    line-height: 1.78;
}

.rhythm-card-wide {
    grid-column: 1 / -1;
}

.programme-guide-page .contribution-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 44px;
    width: 100%;
    overflow: hidden;
}

.programme-guide-page .contribution-card {
    margin: 0;
    min-width: 0;
}

.programme-guide-page .contribution-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #E0DDD5;
    background: #FFFFFF;
}

.programme-guide-page .contribution-card figcaption {
    margin-top: 18px;
}

.programme-guide-page .contribution-card figcaption strong {
    display: block;
    margin-bottom: 8px;
    color: #252525;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.programme-guide-page .contribution-card figcaption span {
    display: block;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.75;
}

@media (max-width: 980px) {
    .programme-guide-main {
        padding-top: 18px;
    }

    .guide-hero {
        padding-top: 112px;
    }

    .programme-guide-page .guide-hero {
        padding: 112px 0 96px;
    }

    .programme-guide-page .guide-section {
        padding: 76px 0;
    }
}

@media (max-width: 720px) {
    .programme-guide-main {
        padding-top: 8px;
    }

    .guide-hero {
        padding-top: 92px;
    }

    .programme-guide-page .guide-hero {
        padding: 92px 0 78px;
    }

    .programme-guide-page .guide-section {
        padding: 64px 0;
    }

    .rhythm-card-wide {
        grid-column: auto;
    }

    .programme-guide-page .contribution-showcase {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

/* Contact Page */
.contact-page {
    background: #FAF6F0;
    color: #252525;
}

.contact-page section {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    animation: none;
}

.contact-page .nav-links a[aria-current="page"] {
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.contact-main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-hero {
    padding: 118px 0 72px;
    border-bottom: 1px solid #E0DDD5;
    text-align: center;
}

.contact-eyebrow,
.contact-panel-heading span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #777;
    margin-bottom: 16px;
}

.contact-hero h1 {
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: 1.04;
    margin-bottom: 24px;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #4f4f4f;
}

.contact-panel {
    display: grid !important;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    padding: 88px 0 124px !important;
    align-items: start;
}

.contact-panel-heading {
    position: sticky;
    top: 110px;
}

.contact-panel-heading h2 {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.16;
    margin: 0;
}

.contact-form {
    grid-column: 2;
    min-width: 0;
    border-top: 1px solid #252525;
    padding-top: 36px;
}

.contact-field {
    margin-bottom: 26px;
}

.contact-field label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #555;
    margin-bottom: 10px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #D7D1C7;
    background: rgba(255, 255, 255, 0.26);
    color: #252525;
    padding: 16px 18px;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 190px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #252525;
    background: rgba(255, 255, 255, 0.42);
}

.form-status {
    grid-column: 2;
    min-width: 0;
    padding: 16px 18px;
    margin-bottom: 24px;
    border: 1px solid;
    font-size: 0.95rem;
    line-height: 1.55;
}

.form-status-success {
    border-color: #98A58F;
    background: #EEF2EA;
    color: #2D4028;
}

.form-status-error {
    border-color: #B8968F;
    background: #F4ECE8;
    color: #5B2B25;
}

@media (max-width: 900px) {
    .contact-page .nav-container {
        align-items: flex-start;
        gap: 24px;
    }

    .contact-page .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px 18px;
    }

    .contact-page .nav-links a {
        margin-left: 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 68px 0 96px !important;
    }

    .contact-panel-heading {
        position: static;
    }

    .form-status,
    .contact-form {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .contact-page .nav-container,
    .contact-page .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-hero {
        padding: 86px 0 58px;
    }

    .contact-hero h1 {
        font-size: 3.2rem;
    }
}

/* Contact Request Refinements */
.contact-main {
    padding-top: 28px;
}

.contact-hero {
    padding-top: 138px;
    padding-bottom: 82px;
}

.contact-hero h1 {
    margin-bottom: 28px;
}

.contact-hero p {
    max-width: 720px;
}

.contact-panel {
    gap: 84px;
    padding-top: 98px !important;
    padding-bottom: 136px !important;
}

.contact-form {
    padding-top: 42px;
}

.contact-field {
    margin-bottom: 30px;
}

.contact-field textarea {
    min-height: 220px;
}

.contact-form .btn {
    margin-top: 4px;
}

.contact-page .site-footer {
    margin-top: 0;
}

@media (max-width: 900px) {
    .contact-main {
        padding-top: 18px;
    }

    .contact-hero {
        padding-top: 112px;
        padding-bottom: 68px;
    }

    .contact-panel {
        gap: 42px;
        padding-top: 78px !important;
        padding-bottom: 110px !important;
    }
}

@media (max-width: 620px) {
    .contact-main {
        padding-top: 8px;
    }

    .contact-hero {
        padding-top: 92px;
        padding-bottom: 58px;
    }

    .contact-panel {
        padding-top: 62px !important;
        padding-bottom: 92px !important;
    }

    .contact-field {
        margin-bottom: 24px;
    }
}

/* Apply Page */
.apply-page {
    background: #FAF6F0;
    color: #252525;
}

.apply-page section {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    animation: none;
}

.apply-page .nav-links a[aria-current="page"] {
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.apply-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.apply-hero {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: end;
    padding: 118px 0 88px !important;
    border-bottom: 1px solid #E0DDD5;
}

.apply-eyebrow,
.apply-panel-heading span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #777;
    margin-bottom: 16px;
}

.apply-hero h1 {
    text-align: left;
    font-size: clamp(3rem, 6.5vw, 5.8rem);
    line-height: 1.04;
    margin-bottom: 26px;
}

.apply-subheading {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 28px;
}

.apply-hero-copy > p:last-child {
    max-width: 720px;
    font-size: 1.04rem;
    line-height: 1.85;
    color: #555;
}

.programme-details-box {
    border: 1px solid #E0DDD5;
    background: #F3F1EA;
    padding: 34px;
}

.programme-details-box dl {
    margin: 0;
}

.programme-details-box div {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid #DCD6CC;
}

.programme-details-box div:first-child {
    padding-top: 0;
}

.programme-details-box div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.programme-details-box dt {
    color: #777;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.programme-details-box dd {
    margin: 0;
    color: #252525;
    line-height: 1.55;
}

.apply-panel {
    display: grid !important;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 72px;
    padding: 90px 0 130px !important;
    align-items: start;
}

.apply-panel-heading {
    position: sticky;
    top: 110px;
}

.apply-panel-heading h2 {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.16;
    margin: 0;
}

.apply-form {
    grid-column: 2;
    min-width: 0;
    border-top: 1px solid #252525;
    padding-top: 38px;
}

.apply-form fieldset {
    border: 0;
    border-bottom: 1px solid #E0DDD5;
    margin: 0 0 42px;
    padding: 0 0 42px;
}

.apply-form legend {
    width: 100%;
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: #252525;
    margin-bottom: 28px;
}

.apply-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.apply-field-full {
    grid-column: 1 / -1;
}

.apply-field label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #555;
    margin-bottom: 10px;
}

.apply-field input,
.apply-field textarea,
.apply-field select {
    width: 100%;
    border: 1px solid #D7D1C7;
    background: rgba(255, 255, 255, 0.26);
    color: #252525;
    padding: 16px 18px;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.apply-field select {
    min-height: 56px;
}

.apply-field textarea {
    resize: vertical;
    min-height: 140px;
}

.apply-field input:focus,
.apply-field textarea:focus,
.apply-field select:focus {
    outline: none;
    border-color: #252525;
    background: rgba(255, 255, 255, 0.42);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 980px) {
    .apply-page .nav-container {
        align-items: flex-start;
        gap: 24px;
    }

    .apply-page .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px 18px;
    }

    .apply-page .nav-links a {
        margin-left: 0;
    }

    .apply-hero,
    .apply-panel {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .apply-panel {
        padding: 72px 0 104px !important;
    }

    .apply-panel-heading {
        position: static;
    }

    .form-status,
    .apply-form {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .apply-page .nav-container,
    .apply-page .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-hero {
        padding: 86px 0 64px !important;
    }

    .apply-hero h1 {
        font-size: 3.15rem;
    }

    .programme-details-box {
        padding: 26px;
    }

    .programme-details-box div,
    .apply-field-grid {
        grid-template-columns: 1fr;
    }

    .apply-field-full {
        grid-column: auto;
    }
}

/* Blog Page */
.blog-page {
    background: #FAF6F0;
    color: #252525;
}

.blog-page section {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    animation: none;
}

.blog-page .nav-links a[aria-current="page"] {
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.blog-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-hero {
    padding: 118px 0 88px !important;
    border-bottom: 1px solid #E0DDD5;
    text-align: center;
}

.blog-eyebrow,
.blog-section-heading span,
.blog-category {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #777;
}

.blog-eyebrow {
    margin-bottom: 16px;
}

.blog-hero h1 {
    font-size: clamp(3.3rem, 7vw, 6.2rem);
    line-height: 1.04;
    margin-bottom: 24px;
}

.blog-subheading {
    max-width: 760px;
    margin: 0 auto 24px;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    line-height: 1.62;
    color: #333;
}

.blog-hero > p:last-child {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.04rem;
    line-height: 1.85;
    color: #555;
}

.featured-blog {
    display: grid !important;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: stretch;
    padding: 86px 0 !important;
    border-bottom: 1px solid #E0DDD5;
}

.featured-blog-image,
.blog-card-image,
.featured-image-placeholder,
.blog-image-placeholder {
    background: #F3F1EA;
    border: 1px solid #E0DDD5;
    color: #8a8277;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.featured-blog-image,
.featured-image-placeholder {
    min-height: 420px;
}

.blog-card-image,
.blog-image-placeholder {
    aspect-ratio: 4 / 3;
}

.featured-blog-image img,
.blog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.featured-blog-image img {
    min-height: 420px;
}

.featured-image-placeholder span,
.blog-image-placeholder span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 24px;
}

.featured-blog-content {
    border-top: 1px solid #252525;
    padding-top: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-blog-content h2 {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.18;
    margin: 14px 0 22px;
}

.featured-blog-content p:not(.blog-category) {
    color: #555;
    line-height: 1.85;
    margin-bottom: 32px;
}

.featured-blog-content .btn {
    align-self: flex-start;
}

.blog-listing {
    padding: 88px 0 72px !important;
    border-bottom: 1px solid #E0DDD5;
}

.blog-section-heading {
    margin-bottom: 40px;
}

.blog-section-heading h2 {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.16;
    margin: 12px 0 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border-top: 1px solid #252525;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.blog-card-content {
    padding-top: 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.blog-card h3 {
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.36rem;
    line-height: 1.36;
    margin: 12px 0 16px;
}

.blog-card p:not(.blog-category) {
    color: #555;
    line-height: 1.75;
    margin-bottom: 24px;
}

.blog-card-meta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #E0DDD5;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    font-size: 0.86rem;
}

.blog-card-meta span {
    color: #777;
}

.blog-card-meta a {
    color: #252525;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.blog-card-meta a:hover,
.featured-blog-content .btn:hover {
    opacity: 0.72;
}

.future-content-note {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid #E0DDD5;
    color: #666;
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
}

.blog-final-cta {
    padding: 104px 0 126px !important;
    text-align: center;
}

.blog-final-cta h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.18;
    margin-bottom: 24px;
}

.blog-final-cta p {
    max-width: 680px;
    margin: 0 auto 36px;
    color: #555;
    font-size: 1.04rem;
    line-height: 1.85;
}

.modal-open {
    overflow: hidden;
}

.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.blog-modal.is-open {
    display: flex;
}

.blog-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(37, 37, 37, 0.58);
}

.blog-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: min(82vh, 860px);
    overflow-y: auto;
    background: #FAF6F0;
    color: #252525;
    border: 1px solid #E0DDD5;
    padding: 52px;
    box-shadow: 0 24px 80px rgba(37, 37, 37, 0.22);
}

.blog-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid #D7D1C7;
    background: transparent;
    color: #252525;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    line-height: 1;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.blog-modal-close:hover,
.blog-modal-close:focus {
    border-color: #252525;
    background: #F3F1EA;
    outline: none;
}

.blog-modal-category {
    display: block;
    margin-bottom: 16px;
    color: #777;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.blog-modal-dialog h2 {
    text-align: left;
    max-width: 720px;
    margin-bottom: 28px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.16;
}

.blog-modal-content {
    max-width: 720px;
}

.blog-modal-content p {
    margin-bottom: 22px;
    color: #4f4f4f;
    font-size: 1.03rem;
    line-height: 1.9;
}

@media (max-width: 980px) {
    .blog-page .nav-container {
        align-items: flex-start;
        gap: 24px;
    }

    .blog-page .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px 18px;
    }

    .blog-page .nav-links a {
        margin-left: 0;
    }

    .featured-blog,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-blog-content {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .blog-page .nav-container,
    .blog-page .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-hero {
        padding: 86px 0 64px !important;
    }

    .blog-hero h1 {
        font-size: 3.2rem;
    }

    .featured-blog,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-blog-image,
    .featured-image-placeholder {
        min-height: 280px;
    }

    .featured-blog-image img {
        min-height: 280px;
    }

    .blog-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-modal {
        padding: 18px;
    }

    .blog-modal-dialog {
        max-height: 86vh;
        padding: 42px 26px 32px;
    }

    .blog-modal-close {
        top: 14px;
        right: 14px;
    }
}

/* Shared Responsive Navigation Override */
@media (max-width: 820px) {
    body nav .nav-container {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    body nav .nav-toggle {
        display: flex;
    }

    body nav .nav-links {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding-top: 0;
        border-top: 1px solid transparent;
    }

    body nav.nav-open .nav-links {
        max-height: 360px;
        padding-top: 12px;
        border-top-color: #E0DDD5;
    }

    body nav .nav-links a {
        margin-left: 0;
        padding: 12px 0;
        width: fit-content;
    }
}
