:root {
    --navy:   #0F1B3C;
    --navy2:  #0b1528;
    --red:    #C8281A;
    --gold:   #C9A84C;
    --white:  #F5F3EE;
    --off:    #EAE7E0;
    --text:   #2d3748;
    --dim:    #6a7280;
    --border: #e2dfd8;
    --ease:   cubic-bezier(.16,1,.3,1);
    --fd:     'Cormorant Garamond', serif;
    --fb:     'Barlow', sans-serif;
    --fc:     'Barlow Condensed', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--off); color: var(--text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.lg-topnav {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(201,168,76,.12);
    height: 56px;
    display: flex; align-items: center;
    padding: 0 40px; gap: 20px;
}
.lg-topnav__back {
    display: flex; align-items: center; gap: 7px;
    font-family: var(--fc); font-size: 11.5px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(245,243,238,.5); flex-shrink: 0;
    transition: color .2s;
}
.lg-topnav__back:hover { color: var(--gold); }
.lg-topnav__logo {
    position: absolute; left: 50%; transform: translateX(-50%);
}
.lg-topnav__logo img {
    height: 30px; width: auto; object-fit: contain; opacity: .92;
}
.lg-topnav__links {
    margin-left: auto; display: flex; align-items: center; gap: 20px; flex-shrink: 0;
}
.lg-topnav__link {
    font-family: var(--fc); font-size: 11px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(245,243,238,.4); transition: color .2s;
}
.lg-topnav__link:hover  { color: rgba(245,243,238,.75); }
.lg-topnav__link--active{ color: var(--gold); }

.lg-hero {
    background: var(--navy);
    padding: 52px 0 44px;
    position: relative; overflow: hidden;
}
.lg-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -55deg, transparent, transparent 44px,
        rgba(255,255,255,.013) 44px, rgba(255,255,255,.013) 45px
    );
    pointer-events: none;
}
.lg-hero__line {
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold) 55%, transparent);
}
.lg-hero__inner {
    max-width: 900px; margin: 0 auto; padding: 0 40px;
    position: relative; z-index: 1;
}
.lg-hero__label {
    font-family: var(--fc); font-size: 10.5px; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
    display: block; margin-bottom: 12px;
}
.lg-hero__title {
    font-family: var(--fd);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600; color: var(--white);
    line-height: 1.08; letter-spacing: -.02em;
    margin-bottom: 12px;
}
.lg-hero__meta {
    font-family: var(--fb); font-size: 13px; font-weight: 300;
    color: rgba(245,243,238,.4); line-height: 1.6;
}
.lg-hero__meta strong { color: rgba(245,243,238,.6); font-weight: 400; }

.lg-body {
    max-width: 900px; margin: 0 auto;
    padding: 52px 40px 80px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

.lg-toc {
    position: sticky; top: 72px;
    background: #fff;
    border-left: 3px solid var(--gold);
    padding: 20px 0;
}
.lg-toc__title {
    font-family: var(--fc); font-size: 10px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
    padding: 0 18px 12px; border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.lg-toc__list { list-style: none; }
.lg-toc__item a {
    display: block; padding: 7px 18px;
    font-family: var(--fb); font-size: 13px; font-weight: 300;
    color: var(--dim); line-height: 1.4;
    transition: color .2s, background .2s, padding-left .2s;
    border-left: 2px solid transparent; margin-left: -3px;
}
.lg-toc__item a:hover {
    color: var(--navy); background: var(--off);
    padding-left: 22px;
}
.lg-toc__item a.active {
    color: var(--navy); font-weight: 500;
    border-left-color: var(--red);
    padding-left: 22px; background: var(--off);
}

.lg-content { display: flex; flex-direction: column; gap: 40px; }

.lg-section {
    scroll-margin-top: 80px;
}

.lg-section__title {
    font-family: var(--fd);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600; color: var(--navy);
    line-height: 1.2; margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}
.lg-section__num {
    font-family: var(--fc); font-size: 12px; font-weight: 700;
    letter-spacing: .1em; color: var(--dim);
    background: var(--off); padding: 2px 8px;
    flex-shrink: 0;
}

.lg-section p {
    font-family: var(--fb); font-size: 14.5px; font-weight: 300;
    color: var(--text); line-height: 1.85;
    margin-bottom: 14px;
}
.lg-section p:last-child { margin-bottom: 0; }

.lg-section ul, .lg-section ol {
    padding-left: 0; list-style: none;
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 14px;
}
.lg-section ul li, .lg-section ol li {
    font-family: var(--fb); font-size: 14.5px; font-weight: 300;
    color: var(--text); line-height: 1.75;
    padding-left: 20px; position: relative;
}
.lg-section ul li::before {
    content: '';
    position: absolute; left: 0; top: 10px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
}
.lg-section ol { counter-reset: lg-counter; }
.lg-section ol li { counter-increment: lg-counter; }
.lg-section ol li::before {
    content: counter(lg-counter)'.';
    position: absolute; left: 0;
    font-family: var(--fc); font-size: 11px; font-weight: 700;
    color: var(--dim); top: 2px;
}

.lg-section strong { font-weight: 600; color: var(--navy); }

.lg-section a {
    color: var(--red); border-bottom: 1px solid rgba(200,40,26,.25);
    transition: border-color .2s;
}
.lg-section a:hover { border-color: var(--red); }

.lg-highlight {
    background: rgba(201,168,76,.07);
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    font-family: var(--fb); font-size: 13.5px; font-weight: 300;
    color: var(--text); line-height: 1.75;
    margin-bottom: 14px;
}
.lg-highlight strong { color: var(--navy); font-weight: 600; }

.lg-contact-box {
    background: var(--navy);
    padding: 24px 28px;
    display: flex; flex-direction: column; gap: 6px;
}
.lg-contact-box__title {
    font-family: var(--fd); font-size: 18px; font-weight: 600;
    color: var(--white); margin-bottom: 6px;
}
.lg-contact-box a {
    color: var(--gold); border-bottom: 1px solid rgba(201,168,76,.25);
    font-family: var(--fb); font-size: 14px; font-weight: 300;
    transition: border-color .2s;
}
.lg-contact-box a:hover { border-color: var(--gold); }
.lg-contact-box p {
    font-family: var(--fb); font-size: 13.5px; font-weight: 300;
    color: rgba(245,243,238,.55); line-height: 1.7;
    margin-bottom: 0;
}

.lg-related {
    max-width: 900px; margin: 0 auto;
    padding: 0 40px 60px;
    display: flex; gap: 3px;
}
.lg-related__link {
    flex: 1; background: #fff;
    padding: 20px 22px;
    border-top: 3px solid var(--border);
    display: flex; flex-direction: column; gap: 4px;
    transition: border-color .25s, background .25s;
}
.lg-related__link:hover { border-top-color: var(--gold); background: var(--off); }
.lg-related__link span:first-child {
    font-family: var(--fc); font-size: 10px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.lg-related__link span:last-child {
    font-family: var(--fd); font-size: 18px; font-weight: 600; color: var(--navy);
}

@media (max-width: 900px) {
    .lg-body { grid-template-columns: 1fr; gap: 32px; }
    .lg-toc  { position: static; display: flex; flex-wrap: wrap; gap: 0; padding: 12px 0; }
    .lg-toc__title { display: none; }
    .lg-toc__list  { display: flex; flex-wrap: wrap; }
    .lg-toc__item a {
        padding: 6px 14px; border: none; border-bottom: 2px solid transparent;
        margin: 0; font-size: 12.5px;
    }
    .lg-toc__item a:hover, .lg-toc__item a.active {
        padding-left: 14px; border-bottom-color: var(--red);
        background: transparent;
    }
}
@media (max-width: 768px) {
    .lg-topnav { padding: 0 20px; }
    .lg-topnav__logo { position: static; transform: none; margin: 0 auto; }
    .lg-topnav__links { display: none; }
    .lg-hero__inner, .lg-body, .lg-related { padding-left: 20px; padding-right: 20px; }
    .lg-hero { padding: 40px 0 32px; }
    .lg-body { padding-top: 32px; padding-bottom: 52px; }
    .lg-related { flex-direction: column; }
}
@media (max-width: 480px) {
    .lg-topnav { padding: 0 14px; }
    .lg-hero__inner, .lg-body, .lg-related { padding-left: 14px; padding-right: 14px; }
    .lg-section__title { font-size: 20px; }
    .lg-section p, .lg-section ul li, .lg-section ol li { font-size: 13.5px; }
}