/* Brand typography and document-style lists. */
.rf-page .hero {
    gap: clamp(24px, 5vw, 72px);
    padding-block: clamp(32px, 6vw, 82px);
}
.rf-page .hero h1 {
    font-size: clamp(36px, 5vw, 68px);
    letter-spacing: -.045em;
}
.rf-page .hero-image {
    height: clamp(240px, 26vw, 370px);
}
.rf-page .hero-image-caption > a {
    display: inline;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: white;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: .25em;
}
.rf-page .quick-links {
    gap: 4px;
    padding: 6px;
    border: 0;
    border-radius: var(--radius-panel);
    background: var(--wash);
}
.rf-page .quick-links > a {
    justify-content: flex-start;
    min-height: 68px;
    padding: 16px clamp(12px, 2vw, 24px);
    border: 0;
    border-radius: var(--radius-control);
    font-weight: 520;
}
.rf-page .quick-links > a:hover,
.rf-page .quick-links > a:focus-visible {
    background: var(--surface);
}
.rf-page .fund-grid,
.rf-page .inner-grid .fund-grid,
.rf-page .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.rf-page .fund-card,
.rf-page .news-card {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
    align-items: baseline;
    gap: 8px 24px;
    min-height: 0;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    transition: color .15s;
}
.rf-page .fund-card:first-child,
.rf-page .news-card:first-child {
    border-top: 1px solid var(--line);
}
.rf-page .fund-card:hover {
    transform: none;
    color: var(--brand-ink);
}
.rf-page .fund-meta > span:last-child {
    font: inherit;
    color: inherit;
}
.rf-page .fund-card h3,
.rf-page .news-card h3 {
    font-size: clamp(18px, 2vw, 23px);
    margin: 0;
}
.rf-page .fund-bottom,
.rf-page .news-card > div {
    grid-column: 2;
    margin: 0;
    padding: 0;
}
.rf-page .section-links > a > span:last-child {
    font-size: inherit;
    color: inherit;
}
.rf-page .text-link,
.rf-page .nav-label a[aria-current="true"] {
    text-decoration: underline;
    text-underline-offset: .3em;
}
@media (min-width: 761px) {
    .rf-page .nav-group:has(.submenu-toggle[aria-expanded="true"]) .submenu {
        display: block;
    }
}
@media (max-width: 550px) {
    .rf-page .fund-card,
    .rf-page .news-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .rf-page .fund-bottom,
    .rf-page .news-card > div {
        grid-column: 1;
    }
}
/* Links use color and keyboard focus instead of underlines. */
.rf-page a:any-link,
.rf-page .nav-label a[aria-current="true"],
.rf-page .hero-image-caption > a {
    text-decoration: none;
}
.rf-page a:any-link:hover {
    color: var(--brand-ink);
}
.rf-page .hero-image-caption > a:hover {
    color: white;
}

/* Masthead and navigation share the same alignment as the page content. */
.rf-page .header-main { height: auto; min-height: 104px; padding-block: 18px; }
.rf-page .header-main .brand { width: clamp(235px, 26vw, 355px); margin-right: auto; }
.rf-page .header-contact { padding-left: 22px; border-left: 1px solid var(--line); }
.rf-page .contact-button { background: var(--wash); }
.rf-page .nav-shell { background: var(--wash); border: 0; }
.rf-page .main-nav { justify-content: space-between; gap: clamp(10px, 2vw, 34px); }
.rf-page .nav-label { min-height: 56px; gap: 5px; font-size: 13px; }
.rf-page .nav-label > a { font-weight: 560; }
.rf-page .nav-label > a[aria-current="true"] { color: var(--brand-ink); }
.rf-page .submenu-toggle {
    display: grid;
    place-items: center;
    position: relative;
    flex: 0 0 auto;
    width: 30px;
    height: 32px;
    color: var(--brand-ink);
}
.rf-page .submenu-toggle::before {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 14px;
    background: currentColor;
    clip-path: polygon(19% 34%, 50% 64%, 81% 34%, 89% 42%, 50% 81%, 11% 42%);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}
.rf-page .submenu-toggle[aria-expanded="true"]::before {
    transform: translate(-50%, -50%) rotate(180deg);
}
@media (hover: hover) {
    .rf-page .nav-group:hover .submenu-toggle::before {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .rf-page .submenu-toggle::before { transition: none; }
}
@media (max-width: 1000px) and (min-width: 761px) {
    .rf-page .nav-label { font-size: 11px; gap: 1px; }
    .rf-page .submenu-toggle { width: 21px; }
}
@media (max-width: 760px) {
    .rf-page .header-main { min-height: 80px; gap: 12px; }
    .rf-page .header-main .brand { width: min(65%, 270px); }
    .rf-page .nav-label { min-height: 48px; font-size: 14px; }
    .rf-page .submenu-toggle { width: 44px; height: 44px; }
}

/* Wide feature banner in the company palette. */
.rf-page .rf-home-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    min-height: clamp(330px, 30vw, 480px);
    margin-block: 32px 24px;
    padding: clamp(28px, 5.5vw, 80px);
    border-radius: var(--radius-panel);
    background: #303631;
    color: #fbfbf8;
}
.rf-banner-copy { position: relative; z-index: 1; max-width: 690px; }
.rf-banner-kicker {
    margin: 0 0 18px;
    color: #e4d6a8;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.rf-banner-copy h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.rf-banner-intro { margin: 20px 0 25px; max-width: 420px; color: #e5e5da; }
.rf-page .rf-banner-link,
.rf-page .rf-banner-link:hover {
    display: inline-block;
    padding: 12px 18px;
    border-radius: var(--radius-control);
    background: #e4d6a8;
    color: #252923;
    font-size: 14px;
    font-weight: 550;
}
.rf-page .rf-banner-link:hover { background: #f1e8c9; }
.rf-banner-graphic { position: absolute; inset: 0 0 0 48%; pointer-events: none; }
.rf-banner-graphic i {
    position: absolute;
    width: min(20vw, 280px);
    height: 140%;
    top: -20%;
    transform: skewX(-32deg);
    border-inline: 1px solid #e4d6a870;
    background: #ad9d6d14;
}
.rf-banner-graphic i:nth-child(1) { left: 26%; }
.rf-banner-graphic i:nth-child(2) { left: 53%; }
.rf-banner-graphic i:nth-child(3) { left: 80%; }
@media (max-width: 760px) {
    .rf-page .rf-home-banner { margin-block: 20px; }
    .rf-banner-copy h1 { font-size: clamp(30px, 8vw, 48px); }
    .rf-banner-graphic { opacity: .38; }
}

/* The fund register pairs a section introduction with a compact index. */
.rf-page .rf-funds {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.35fr);
    align-items: start;
    gap: clamp(32px, 7vw, 105px);
}
.rf-funds .section-heading {
    display: grid;
    justify-items: start;
    gap: 22px;
    margin: 0;
}
.rf-funds h2 {
    max-width: 12ch;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.08;
    letter-spacing: -.04em;
}
.rf-funds .rf-funds-type {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}
.rf-page .rf-funds .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-control);
    background: var(--wash);
    color: var(--ink);
}
.rf-page .rf-funds .text-link:hover { color: var(--brand-ink); }
.rf-funds-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rf-funds-list > li + li { border-top: 1px solid var(--line); }
.rf-page .rf-funds-link {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 70px;
    padding: 9px 12px;
    border-radius: var(--radius-control);
    font-size: clamp(16px, 1.7vw, 22px);
    font-weight: 540;
    line-height: 1.3;
}
.rf-page .rf-funds-link:hover,
.rf-page .rf-funds-link:focus-visible {
    background: var(--wash);
    color: var(--brand-ink);
}
.rf-funds-icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    height: 38px;
    color: var(--brand-ink);
}
.rf-funds-icon svg { width: 25px; height: 25px; }
@media (max-width: 760px) {
    .rf-page .rf-funds { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .rf-funds h2 { max-width: none; }
    .rf-funds .section-heading { gap: 14px; }
    .rf-page .rf-funds-link { min-height: 60px; gap: 12px; padding-inline: 0; }
}

.rf-page .quick-links > a { gap: clamp(8px, 1vw, 14px); }
.rf-quick-icon,
.rf-quick-arrow { flex: none; color: var(--brand-ink); }
.rf-quick-icon { width: 23px; height: 23px; }
.rf-quick-arrow {
    width: 16px;
    height: 16px;
    margin-inline-start: auto;
    transition: transform .18s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .quick-links a:hover .rf-quick-arrow { transform: translateX(2px); }
}

@media (max-width: 760px) {
    .rf-page .mobile-toggle {
        display: grid;
        place-items: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: var(--radius-control);
        background: var(--wash);
        color: var(--brand-ink);
    }
    .rf-page .mobile-toggle[aria-expanded="true"] {
        background: var(--brand-ink);
        border-color: var(--brand-ink);
        color: var(--surface);
    }
    .rf-menu-icon { width: 24px; height: 24px; }
    .rf-menu-icon path {
        transform-origin: 12px 12px;
        transition: transform .18s ease, opacity .18s ease;
    }
    .mobile-toggle[aria-expanded="true"] .rf-menu-icon path:first-child {
        transform: rotate(45deg) translateY(5px);
    }
    .mobile-toggle[aria-expanded="true"] .rf-menu-icon path:nth-child(2) { opacity: 0; }
    .mobile-toggle[aria-expanded="true"] .rf-menu-icon path:last-child {
        transform: rotate(-45deg) translateY(-5px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .rf-menu-icon path { transition: none; }
}

.site-footer {
    background: var(--wash);
    padding-block: clamp(30px, 5vw, 64px) 26px;
}
.footer-contact {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) 1fr auto;
    align-items: center;
    gap: 24px 36px;
    padding: clamp(18px, 3vw, 36px);
    background: var(--surface);
    border-radius: var(--radius-panel);
}
.footer-contact .brand { width: min(100%, 310px); }
.footer-address,
.footer-channels {
    display: grid;
    justify-items: start;
    gap: 4px;
    font-size: 14px;
}
.footer-address span { color: var(--muted); }
.footer-address a,
.footer-channels a:last-child { color: var(--brand-ink); }
.footer-contact .footer-phone {
    font-size: clamp(18px, 2vw, 24px);
    font-variant-numeric: tabular-nums;
}
.footer-sections {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr 1.15fr 1fr;
    gap: 24px clamp(18px, 3vw, 42px);
    padding-block: clamp(26px, 4vw, 46px);
}
.footer-sections h3 {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
}
.footer-sections > div > a,
.footer-directory > a,
.footer-directory summary {
    display: block;
    padding-block: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.footer-directory summary,
.footer-risk summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}
.site-footer summary::-webkit-details-marker { display: none; }
.site-footer summary::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-inline-end: 4px;
    flex: 0 0 7px;
    border: solid var(--brand-ink);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
.site-footer details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.site-footer a:hover,
.site-footer summary:hover { color: var(--brand-ink); }
.footer-legal { border-top: 1px solid #d9dbd1; }
.footer-risk summary {
    min-height: 48px;
    padding-block: 9px;
    font-size: 14px;
}
.footer-risk p {
    max-width: 74ch;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 12px;
}
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-top: 14px;
    color: var(--muted);
    font-size: 12px;
}
.footer-meta span { margin-inline-end: auto; }
@media (max-width: 960px) {
    .footer-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .footer-contact,
    .footer-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-contact .brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-contact { grid-template-columns: 1fr; gap: 14px; }
    .footer-contact .brand { width: min(100%, 250px); }
    .footer-sections > div:first-child { grid-column: 1 / -1; }
    .footer-meta span { flex-basis: 100%; }
}
