:root {
    --burgundy: #6e1834;
    --burgundy-dark: #3f0c1e;
    --burgundy-soft: #8f3453;
    --gold: #c49a4a;
    --gold-light: #e2c27c;
    --ink: #25222a;
    --muted: #6f6872;
    --cream: #faf7f1;
    --cream-dark: #eee7dc;
    --white: #ffffff;
    --line: rgba(61, 34, 45, 0.13);
    --shadow: 0 20px 55px rgba(63, 12, 30, 0.12);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
.brand-copy {
    font-family: "Marcellus", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

svg,
img {
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.top-bar {
    color: rgba(255, 255, 255, 0.82);
    background: var(--burgundy-dark);
    font-size: 12px;
}

.top-bar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-links a:hover {
    color: var(--gold-light);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 247, 241, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 12px 32px rgba(63, 12, 30, 0.08);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-emblem {
    width: 56px;
    height: 56px;
    color: var(--burgundy);
}

.brand-emblem svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}

.brand-copy strong {
    color: var(--burgundy-dark);
    font-size: 21px;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--burgundy-soft);
    font-size: 15px;
    letter-spacing: 0.05em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 33px 0 29px;
    color: #3a3036;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active,
.active-parent > .nav-link {
    color: var(--burgundy);
}

.nav-link:hover::after,
.nav-link.active::after,
.active-parent > .nav-link::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition);
}

.nav-dropdown.open .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    width: 260px;
    padding: 10px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--burgundy);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
}

.dropdown-menu a:last-child {
    border-bottom: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--cream);
}

.dropdown-menu span {
    color: var(--burgundy-dark);
    font-weight: 700;
}

.dropdown-menu small {
    color: var(--muted);
    font-size: 12px;
}

.member-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 1px solid var(--burgundy);
    color: var(--white);
    background: var(--burgundy);
    font-size: 13px;
    font-weight: 700;
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.member-button:hover,
.member-button.active {
    color: var(--burgundy);
    background: transparent;
    transform: translateY(-2px);
}

.mobile-menu-button {
    width: 46px;
    height: 46px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--burgundy);
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-light {
    color: var(--burgundy-dark);
    background: var(--white);
}

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.58);
}

.button-outline-light:hover {
    color: var(--burgundy-dark);
    background: var(--white);
}

.button-primary {
    color: var(--white);
    background: var(--burgundy);
    box-shadow: 0 12px 25px rgba(110, 24, 52, 0.18);
}

.button-primary:hover {
    background: var(--burgundy-soft);
}

.button-gold {
    color: var(--burgundy-dark);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.full-width {
    width: 100%;
}

.hero-slider {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(35, 4, 17, 0.92), rgba(82, 14, 40, 0.72)),
        radial-gradient(circle at 78% 50%, rgba(226, 194, 124, 0.38), transparent 18%),
        linear-gradient(135deg, #481026, #7d2447);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 50%, transparent 0 95px, rgba(255,255,255,.08) 96px 97px, transparent 98px),
        radial-gradient(circle at 75% 50%, transparent 0 150px, rgba(255,255,255,.06) 151px 152px, transparent 153px),
        linear-gradient(115deg, transparent 62%, rgba(255,255,255,.06) 62% 63%, transparent 63%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.65fr;
    align-items: center;
    gap: 65px;
    padding: 105px 0;
}

.hero-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 820px;
    font-size: clamp(52px, 6vw, 82px);
    line-height: 1.03;
    font-weight: 400;
}

.hero-content p {
    max-width: 680px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-feature {
    padding: 34px;
    border-left: 4px solid var(--gold);
    background: rgba(33, 4, 17, 0.58);
    backdrop-filter: blur(10px);
}

.hero-feature-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(226, 194, 124, 0.45);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 25px;
}

.hero-feature h2 {
    font-size: 31px;
    line-height: 1.15;
}

.hero-feature p {
    margin-top: 13px;
    color: rgba(255,255,255,.72);
}

.hero-feature a {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold-light);
    font-weight: 700;
}

.quick-access {
    position: relative;
    z-index: 5;
    margin-top: -40px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: var(--shadow);
}

.quick-card {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-right: 1px solid var(--line);
    background: var(--white);
    transition:
        background var(--transition),
        transform var(--transition);
}

.quick-card:last-child {
    border-right: 0;
}

.quick-card:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

.quick-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--burgundy);
    font-weight: 700;
}

.quick-card strong {
    display: block;
    color: var(--burgundy-dark);
    font-family: "Marcellus", serif;
    font-size: 20px;
}

.quick-card small {
    color: var(--muted);
}

.quick-arrow {
    color: var(--gold);
    font-size: 23px;
}

.section {
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading.centered {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2,
.article-content h2,
.membership-copy h2 {
    color: var(--burgundy-dark);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.08;
    font-weight: 400;
}

.section-heading p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.heading-link {
    color: var(--burgundy);
    font-weight: 700;
}

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

.editorial-card {
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(63, 12, 30, 0.06);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.editorial-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.editorial-visual {
    min-height: 210px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 56px;
}

.editorial-visual-one {
    background:
        radial-gradient(circle at center, rgba(226, 194, 124, 0.33), transparent 24%),
        linear-gradient(135deg, #4e1028, #8a3153);
}

.editorial-visual-two {
    background:
        linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25% 75%, rgba(255,255,255,.06) 75%),
        linear-gradient(135deg, #2c2932, #625364);
    background-size: 36px 36px, auto;
}

.editorial-visual-three {
    background:
        radial-gradient(circle at center, rgba(226,194,124,.35), transparent 21%),
        linear-gradient(135deg, #654916, #b48938);
}

.editorial-content {
    padding: 30px;
}

.editorial-content h3 {
    color: var(--burgundy-dark);
    font-size: 29px;
}

.editorial-content p {
    margin-top: 12px;
    color: var(--muted);
}

.editorial-content a {
    display: inline-block;
    margin-top: 20px;
    color: var(--burgundy);
    font-weight: 700;
}

.events-section {
    background: var(--cream-dark);
}

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

.event-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    min-height: 220px;
    border: 1px solid var(--line);
    background: var(--white);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--burgundy);
}

.event-date strong {
    font-family: "Marcellus", serif;
    font-size: 43px;
    line-height: 1;
}

.event-date span {
    margin-top: 7px;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.event-content {
    padding: 26px 24px;
}

.event-type {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.event-content h3 {
    margin-top: 8px;
    color: var(--burgundy-dark);
    font-size: 24px;
    line-height: 1.18;
}

.event-content p {
    margin-top: 11px;
    color: var(--muted);
}

.event-content a {
    display: inline-block;
    margin-top: 16px;
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 700;
}

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

.resource-card {
    border: 1px solid var(--line);
    background: var(--white);
}

.resource-image {
    min-height: 205px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: var(--white);
}

.resource-image span {
    padding: 6px 11px;
    background: rgba(35, 4, 17, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.resource-image-one {
    background:
        radial-gradient(circle at 65% 35%, rgba(226,194,124,.5), transparent 20%),
        linear-gradient(135deg, #411022, #8a3153);
}

.resource-image-two {
    background:
        repeating-radial-gradient(circle at center, transparent 0 30px, rgba(255,255,255,.11) 31px 32px),
        linear-gradient(135deg, #292833, #5a4d61);
}

.resource-image-three {
    background:
        radial-gradient(circle at center, rgba(226,194,124,.55), transparent 18%),
        linear-gradient(135deg, #4d3915, #9c772e);
}

.resource-body {
    padding: 27px;
}

.resource-body small {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}

.resource-body h3 {
    margin-top: 7px;
    color: var(--burgundy-dark);
    font-size: 26px;
    line-height: 1.17;
}

.resource-body p {
    margin-top: 11px;
    color: var(--muted);
}

.resource-body a {
    display: inline-block;
    margin-top: 17px;
    color: var(--burgundy);
    font-weight: 700;
}

.membership-banner {
    padding: 25px 0 95px;
    background: var(--white);
}

.membership-banner-inner {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 44px;
    color: var(--white);
    background:
        radial-gradient(circle at right, rgba(226,194,124,.25), transparent 26%),
        linear-gradient(135deg, var(--burgundy-dark), var(--burgundy-soft));
}

.membership-emblem {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226,194,124,.52);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 31px;
}

.membership-banner h2 {
    font-size: clamp(34px, 4vw, 49px);
    line-height: 1.05;
}

.membership-banner p {
    margin-top: 12px;
    color: rgba(255,255,255,.75);
}

.inner-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(35,4,17,.93), rgba(92,16,45,.72)),
        radial-gradient(circle at 80% 50%, rgba(226,194,124,.35), transparent 20%),
        linear-gradient(135deg, #421023, #7a2848);
}

.inner-hero::after {
    content: "";
    position: absolute;
    right: 7%;
    top: 50%;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 45px rgba(255,255,255,.04),
        0 0 0 90px rgba(255,255,255,.025);
}

.service-inner-hero {
    background:
        linear-gradient(90deg, rgba(32,19,34,.94), rgba(82,61,85,.76)),
        linear-gradient(135deg, #2e2932, #665269);
}

.membership-inner-hero {
    background:
        linear-gradient(90deg, rgba(53,35,10,.94), rgba(113,82,22,.76)),
        linear-gradient(135deg, #4a3715, #9c772e);
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 75px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 25px;
    color: rgba(255,255,255,.64);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.inner-hero h1 {
    font-size: clamp(52px, 7vw, 82px);
    line-height: 1;
    font-weight: 400;
}

.inner-hero-content > p:last-child {
    max-width: 720px;
    margin-top: 20px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 60px;
    align-items: start;
}

.article-content h2 + p,
.article-content p + h2 {
    margin-top: 24px;
}

.article-content p {
    color: var(--muted);
    font-size: 16px;
}

.article-content p + p {
    margin-top: 15px;
}

.article-content blockquote {
    margin: 35px 0;
    padding: 28px 32px;
    border-left: 4px solid var(--gold);
    color: var(--burgundy-dark);
    background: var(--cream-dark);
    font-family: "Marcellus", serif;
    font-size: 24px;
}

.article-sidebar {
    display: grid;
    gap: 25px;
}

.sidebar-card,
.sidebar-highlight {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--white);
}

.sidebar-card h3,
.sidebar-highlight h3 {
    color: var(--burgundy-dark);
    font-size: 25px;
}

.sidebar-card a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.sidebar-card a:hover {
    color: var(--burgundy);
}

.sidebar-highlight {
    color: var(--white);
    background: var(--burgundy-dark);
}

.sidebar-highlight > span {
    color: var(--gold-light);
    font-size: 31px;
}

.sidebar-highlight h3 {
    margin-top: 12px;
    color: var(--white);
}

.sidebar-highlight p {
    margin-top: 10px;
    color: rgba(255,255,255,.72);
}

.sidebar-highlight a {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold-light);
    font-weight: 700;
}

.muted-section {
    background: var(--cream-dark);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
}

.principles-grid article {
    padding: 34px 28px;
    background: var(--white);
}

.principles-grid strong {
    color: var(--gold);
    font-size: 13px;
}

.principles-grid h3 {
    margin-top: 10px;
    color: var(--burgundy-dark);
    font-size: 29px;
}

.principles-grid p {
    margin-top: 9px;
    color: var(--muted);
}

.service-points {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.service-points article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.service-points article > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--burgundy);
    font-weight: 700;
}

.service-points h3 {
    color: var(--burgundy-dark);
    font-size: 24px;
}

.service-points p {
    margin-top: 3px;
}

.form-panel,
.login-panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--burgundy);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-panel h2,
.login-panel h2 {
    color: var(--burgundy-dark);
    font-size: 37px;
}

.form-panel form,
.login-panel form {
    margin-top: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--line);
    outline: none;
    background: var(--cream);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group input,
.form-group select {
    min-height: 48px;
    padding: 0 14px;
}

.form-group textarea {
    padding: 13px 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(110,24,52,.48);
    box-shadow: 0 0 0 4px rgba(110,24,52,.07);
}

.form-help {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

.teaching-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.teaching-grid article {
    position: relative;
    min-height: 220px;
    padding: 34px;
    border-left: 4px solid var(--burgundy);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(63,12,30,.06);
}

.teaching-number {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(110,24,52,.14);
    font-family: "Marcellus", serif;
    font-size: 38px;
}

.teaching-grid h3 {
    color: var(--burgundy-dark);
    font-size: 31px;
}

.teaching-grid p {
    max-width: 520px;
    margin-top: 13px;
    color: var(--muted);
}

.dark-feature-section {
    color: var(--white);
    background: var(--burgundy-dark);
}

.dark-feature-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 45px;
}

.dark-feature-inner h2 {
    max-width: 770px;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.06;
}

.dark-feature-inner p {
    max-width: 760px;
    margin-top: 14px;
    color: rgba(255,255,255,.73);
}

.membership-layout {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 60px;
    align-items: start;
}

.membership-copy > p {
    margin-top: 18px;
    color: var(--muted);
}

.membership-benefit-list {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.membership-benefit-list article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
}

.membership-benefit-list article > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(196,154,74,.13);
    font-size: 22px;
}

.membership-benefit-list h3 {
    color: var(--burgundy-dark);
    font-size: 26px;
}

.membership-benefit-list p {
    margin-top: 3px;
    color: var(--muted);
}

.information-notice {
    margin-top: 32px;
    padding: 24px;
    border-left: 4px solid var(--gold);
    background: var(--cream-dark);
}

.information-notice strong {
    color: var(--burgundy-dark);
}

.information-notice p {
    margin-top: 5px;
    color: var(--muted);
}

.member-login-section {
    min-height: 690px;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(35,4,17,.96), rgba(84,15,42,.80)),
        radial-gradient(circle at 20% 30%, rgba(226,194,124,.28), transparent 20%),
        linear-gradient(135deg, #3f0c1e, #7a2848);
}

.member-login-layout {
    display: grid;
    grid-template-columns: 1.15fr .75fr;
    align-items: center;
    gap: 70px;
    padding: 95px 0;
}

.member-login-content h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
    font-weight: 400;
}

.member-login-content > p {
    max-width: 680px;
    margin-top: 22px;
    color: rgba(255,255,255,.76);
}

.member-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.member-access-grid article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
}

.member-access-grid span {
    color: var(--gold-light);
    font-weight: 700;
}

.login-panel {
    color: var(--ink);
}

.login-emblem {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(196,154,74,.45);
    border-radius: 50%;
    color: var(--gold);
    font-size: 28px;
}

.login-panel > p {
    margin-top: 10px;
    color: var(--muted);
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 3px 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    color: rgba(255,255,255,.73);
    background: #251018;
}

.footer-main {
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    gap: 55px;
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy small {
    color: var(--white);
}

.footer-brand .brand-emblem {
    color: var(--gold-light);
}

.footer-intro p {
    max-width: 340px;
    margin-top: 18px;
}

.footer-more {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold-light);
    font-weight: 700;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 23px;
}

.footer-column a:hover {
    color: var(--gold-light);
}

.newsletter-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: #30121d;
}

.newsletter-footer-inner {
    min-height: 135px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.newsletter-footer h3 {
    color: var(--white);
    font-size: 28px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
}

.newsletter-form input {
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.18);
    color: var(--white);
    outline: none;
    background: rgba(255,255,255,.06);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,.55);
}

.newsletter-form button {
    padding: 0 23px;
    color: var(--burgundy-dark);
    background: var(--gold-light);
    font-weight: 700;
}

.footer-bottom-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 12px;
}

.footer-bottom-inner > div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

@media (max-width: 1080px) {
    .main-navigation {
        gap: 16px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-inner {
        grid-template-columns: 1fr .72fr;
        gap: 35px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 88px;
        right: -100%;
        width: min(390px, 92%);
        height: calc(100vh - 88px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 25px;
        background: var(--white);
        box-shadow: -20px 20px 45px rgba(63,12,30,.14);
        overflow-y: auto;
        transition: right .35s ease;
    }

    .main-navigation.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 15px 12px;
        border-bottom: 1px solid var(--line);
    }

    .nav-link::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0 10px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
    }

    .nav-dropdown:hover .dropdown-menu {
        max-height: 0;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 220px;
        padding: 10px;
    }

    .member-button {
        margin-top: 15px;
    }

    .hero-inner,
    .article-layout,
    .membership-layout,
    .member-login-layout {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        max-width: 560px;
    }

    .quick-access {
        margin-top: 0;
    }

    .quick-access-grid,
    .editorial-grid,
    .resources-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .quick-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quick-card:last-child {
        border-bottom: 0;
    }

    .split-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .membership-banner-inner,
    .dark-feature-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .membership-emblem {
        margin: 0 auto;
    }

    .teaching-grid {
        grid-template-columns: 1fr;
    }

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

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

    .newsletter-footer-inner {
        grid-template-columns: 1fr;
        padding: 30px 0;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-emblem {
        width: 46px;
        height: 46px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        font-size: 13px;
    }

    .hero-inner {
        padding: 75px 0;
    }

    .hero-content h1,
    .inner-hero h1,
    .member-login-content h1 {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 72px 0;
    }

    .quick-card {
        padding: 21px 18px;
    }

    .event-card {
        grid-template-columns: 75px 1fr;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .form-row,
    .member-access-grid {
        grid-template-columns: 1fr;
    }

    .form-panel,
    .login-panel {
        padding: 26px 21px;
    }

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

    .newsletter-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .newsletter-form button {
        min-height: 48px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        text-align: center;
    }
}


/* ================================================================
   LOGO PERSONNALISABLE
   Remplace public/images/logo-ecole.svg par ton logo officiel.
   Tu peux aussi utiliser logo-ecole.png et modifier le chemin dans
   resources/views/layouts/site.blade.php.
   ================================================================ */

.brand-logo {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo {
    width: 72px;
    height: 72px;
}

/* Nos services : le texte ouvre la page et la flèche ouvre le sous-menu. */

.services-menu-line {
    display: flex;
    align-items: center;
}

.services-page-link {
    padding-right: 5px;
}

.dropdown-caret {
    width: 28px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #3a3036;
    background: transparent;
}

.dropdown-caret svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition);
}

.nav-dropdown.open .dropdown-caret svg {
    transform: rotate(180deg);
}

.active-parent .dropdown-caret,
.dropdown-caret:hover {
    color: var(--burgundy);
}

/* Page Nos services */

.services-landing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-landing-card {
    position: relative;
    padding: 42px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--burgundy);
    background: var(--white);
    box-shadow: 0 16px 42px rgba(63, 12, 30, 0.07);
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.service-landing-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.service-landing-number {
    position: absolute;
    top: 18px;
    right: 25px;
    color: rgba(110, 24, 52, 0.12);
    font-family: "Marcellus", serif;
    font-size: 52px;
}

.service-landing-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(196, 154, 74, 0.35);
    border-radius: 50%;
    color: var(--gold);
    background: var(--cream);
    font-size: 31px;
}

.service-landing-card h3 {
    color: var(--burgundy-dark);
    font-size: 36px;
}

.service-landing-card > p {
    margin-top: 13px;
    color: var(--muted);
}

.service-landing-card ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    list-style: none;
}

.service-landing-card li {
    position: relative;
    padding-left: 25px;
}

.service-landing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Page Contact */

.contact-inner-hero {
    background:
        linear-gradient(90deg, rgba(24, 29, 36, 0.94), rgba(56, 75, 90, 0.78)),
        linear-gradient(135deg, #242b33, #526879);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 55px;
    align-items: start;
}

.contact-information h2 {
    color: var(--burgundy-dark);
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.06;
}

.contact-information > p {
    margin-top: 16px;
    color: var(--muted);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.contact-cards article {
    min-height: 145px;
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: start;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--burgundy);
    font-size: 20px;
}

.contact-cards h3 {
    color: var(--burgundy-dark);
    font-size: 23px;
}

.contact-cards p,
.contact-cards a {
    display: inline-block;
    margin-top: 5px;
    color: var(--muted);
}

.contact-cards a:hover {
    color: var(--burgundy);
}

.map-placeholder {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 35px;
    border: 1px dashed rgba(110, 24, 52, 0.35);
    text-align: center;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(110, 24, 52, 0.03) 0,
            rgba(110, 24, 52, 0.03) 12px,
            transparent 12px,
            transparent 24px
        ),
        var(--cream-dark);
}

.map-placeholder > span {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--burgundy);
    font-size: 25px;
}

.map-placeholder h3 {
    margin-top: 16px;
    color: var(--burgundy-dark);
    font-size: 27px;
}

.map-placeholder p {
    max-width: 470px;
    margin-top: 7px;
    color: var(--muted);
}

.contact-form-panel {
    border-top-color: #526879;
}

.contact-consent {
    align-items: flex-start;
}

/* Navigation responsive avec bouton de sous-menu séparé. */

@media (max-width: 1120px) {
    .main-navigation {
        gap: 14px;
    }

    .nav-link {
        font-size: 12px;
    }

    .brand-logo {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 900px) {
    .services-menu-line {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .services-page-link {
        flex: 1;
        border-bottom: 0;
    }

    .dropdown-caret {
        width: 48px;
        height: 48px;
    }

    .services-landing-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .brand-logo {
        width: 47px;
        height: 47px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        font-size: 12px;
    }

    .service-landing-card {
        padding: 30px 23px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
}
