:root {
    --rft-ink: #17233d;
    --rft-paper: #fff8ed;
    --rft-coral: #f26b5b;
    --rft-coral-dark: #d84c3f;
    --rft-mint: #a9dec9;
    --rft-gold: #f3c665;
    --rft-blue: #90b6dd;
    --rft-line: #e5e1da;
    --rft-muted: #5f697c;
    --rft-black: #0c0808;
}

body {
    color: var(--rft-ink);
    background: #fff;
}

.site-header {
    background: var(--rft-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .inside-header {
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.main-navigation,
.main-navigation ul ul {
    background: transparent;
}

.main-navigation .main-nav ul li a {
    position: relative;
    padding-inline: 20px;
    font-size: 0.95rem;
    font-weight: 650;
}

.main-navigation .main-nav ul li:not(.search-item) a::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    height: 2px;
    background: var(--rft-coral);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.main-navigation .main-nav ul li:hover a::after,
.main-navigation .main-nav ul li.current-menu-item a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
    background: transparent;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a {
    color: #fff;
    background: transparent;
}

.site-branding .main-title a,
.main-navigation .main-nav ul li a {
    color: #fff;
}

.site-branding .main-title a {
    font-weight: 800;
    letter-spacing: -0.035em;
}

.site-header .header-image {
    display: block;
    width: min(310px, calc(100vw - 40px));
    height: auto;
}

.home .site-content {
    display: block;
    max-width: none;
    padding: 0;
}

.home .content-area {
    width: 100%;
}

.home .widget-area,
.home .entry-header {
    display: none;
}

.home .site-main,
.home .inside-article,
.home .entry-content {
    margin: 0;
    padding: 0;
}

.rft-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 6vw, 82px) 28px clamp(72px, 7vw, 98px);
    background:
        radial-gradient(circle at 73% 43%, rgba(255, 255, 255, 0.82) 0 1px, transparent 2px) 0 0 / 26px 26px,
        var(--rft-paper);
}

.rft-hero *,
.rft-hero *::before,
.rft-hero *::after {
    box-sizing: border-box;
}

.rft-hero::before {
    content: "";
    position: absolute;
    width: min(48vw, 690px);
    aspect-ratio: 1;
    right: -11%;
    top: -31%;
    border: 105px solid rgba(242, 107, 91, 0.07);
    border-radius: 50%;
}

.rft-hero-inner,
.rft-latest {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.rft-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.9fr);
    align-items: center;
    gap: clamp(44px, 6vw, 76px);
}

.rft-eyebrow,
.rft-card-kicker {
    margin: 0 0 12px;
    color: var(--rft-coral-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rft-eyebrow span {
    display: inline-block;
    width: 25px;
    height: 2px;
    margin-right: 9px;
    vertical-align: middle;
    background: currentColor;
}

.rft-hero h1 {
    margin: 0;
    color: var(--rft-ink);
    font-size: clamp(3.15rem, 4.4vw, 4.65rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.rft-hero h1 em {
    position: relative;
    color: var(--rft-coral-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.055em;
}

.rft-hero-lede {
    max-width: 610px;
    margin: 22px 0 0;
    color: var(--rft-muted);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.58;
}

.rft-search {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    max-width: 650px;
    margin-top: 26px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(23, 35, 61, 0.1);
    border-radius: 15px;
    box-shadow: 0 18px 48px rgba(23, 35, 61, 0.11);
}

.rft-search > br {
    display: none;
}

.rft-search-icon {
    position: relative;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #82899a;
    border-radius: 50%;
}

.rft-search-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    right: -5px;
    bottom: -2px;
    background: #82899a;
    transform: rotate(45deg);
}

.rft-search input[type="search"] {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 11px 8px;
    color: var(--rft-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font: inherit;
    line-height: 1.4;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
}

.rft-search input[type="search"]::placeholder {
    color: #858c9c;
}

.rft-search button[type="submit"] {
    min-height: 46px;
    margin: 0;
    padding: 12px 20px;
    color: #fff;
    background: var(--rft-ink);
    border: 0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.rft-search button[type="submit"]:hover {
    background: var(--rft-coral-dark);
    transform: translateY(-1px);
}

.rft-search button[type="submit"]:focus-visible,
.rft-popular a:focus-visible {
    outline: 3px solid rgba(216, 76, 63, 0.38);
    outline-offset: 3px;
}

.rft-search:focus-within {
    border-color: var(--rft-coral);
    box-shadow: 0 18px 48px rgba(23, 35, 61, 0.13), 0 0 0 3px rgba(242, 107, 91, 0.16);
}

.rft-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
    color: #7b8392;
    font-size: 0.82rem;
}

.rft-popular > span {
    margin-right: 3px;
    font-weight: 700;
}

.rft-popular a {
    padding: 6px 10px;
    color: var(--rft-ink);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(23, 35, 61, 0.1);
    border-radius: 999px;
    text-decoration: none;
}

.rft-popular a:hover {
    color: var(--rft-coral-dark);
    background: #fff;
}

.rft-hero-scene {
    position: relative;
    min-height: 400px;
}

.rft-hero-scene::before,
.rft-hero-scene::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.rft-hero-scene::before {
    width: 330px;
    height: 330px;
    right: 4%;
    top: 8%;
    background: var(--rft-mint);
}

.rft-hero-scene::after {
    width: 105px;
    height: 105px;
    right: -2%;
    bottom: 5%;
    background: var(--rft-gold);
}

.rft-message {
    position: absolute;
    z-index: 2;
    width: min(340px, 82%);
    padding: 19px 22px 21px;
    border: 1px solid rgba(23, 35, 61, 0.11);
    border-radius: 22px 22px 22px 6px;
    box-shadow: 0 20px 50px rgba(23, 35, 61, 0.14);
}

.rft-message::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -13px;
    border-top: 15px solid currentColor;
    border-right: 18px solid transparent;
    color: inherit;
}

.rft-message-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(23, 35, 61, 0.58);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rft-message strong {
    color: var(--rft-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    font-weight: 400;
    line-height: 1.32;
}

.rft-message-one {
    top: 5%;
    right: 1%;
    color: #fff;
    background: #fff;
    transform: rotate(2.5deg);
}

.rft-message-two {
    top: 39%;
    left: -2%;
    color: #ffd9d3;
    background: #ffd9d3;
    transform: rotate(-2.5deg);
}

.rft-message-three {
    right: 3%;
    bottom: 2%;
    color: #fff;
    background: #fff;
    transform: rotate(1.5deg);
}

.rft-scene-spark {
    position: absolute;
    z-index: 3;
    color: var(--rft-coral-dark);
    font-size: 2.3rem;
}

.rft-scene-spark-one {
    left: 3%;
    top: 9%;
}

.rft-scene-spark-two {
    right: 3%;
    top: 41%;
    color: var(--rft-ink);
    font-size: 1.55rem;
}

.rft-proof {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 48px));
    margin: -34px auto 0;
    background: var(--rft-ink);
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(23, 35, 61, 0.18);
}

.rft-proof-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 22px 30px;
}

.rft-proof-inner div {
    position: relative;
    display: grid;
    gap: 3px;
    padding: 0 28px;
}

.rft-proof-inner div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.rft-proof strong {
    color: #fff;
    font-size: 0.95rem;
}

.rft-proof span {
    color: #bfc7d6;
    font-size: 0.8rem;
}

.rft-latest {
    padding: clamp(70px, 7vw, 94px) 24px clamp(64px, 7vw, 92px);
}

.rft-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.rft-section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    letter-spacing: -0.045em;
}

.rft-section-head .rft-eyebrow {
    margin-bottom: 9px;
}

.rft-section-head p {
    max-width: 470px;
    margin: 0;
    color: #657084;
}

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

.rft-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rft-line);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(23, 34, 56, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(23, 34, 56, 0.13);
}

.rft-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--rft-paper);
}

.rft-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.rft-card:hover .rft-card-media img {
    transform: scale(1.025);
}

.rft-card-art {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--rft-gold), #f7dfa3);
}

.rft-card-art::before,
.rft-card-art::after,
.rft-card-art span {
    content: "";
    position: absolute;
}

.rft-card-art::before {
    width: 46%;
    height: 72%;
    left: 8%;
    top: 13%;
    border-radius: 50% 50% 14% 50%;
    background: var(--rft-coral);
    transform: rotate(12deg);
}

.rft-card-art::after {
    width: 44%;
    height: 44%;
    right: 7%;
    bottom: 8%;
    border-radius: 50%;
    background: var(--rft-blue);
}

.rft-card-art span {
    z-index: 1;
    width: 30%;
    height: 12%;
    right: 18%;
    top: 20%;
    border-radius: 999px;
    background: var(--rft-ink);
    transform: rotate(-24deg);
}

.rft-card-body {
    padding: 22px 22px 24px;
}

.rft-card-body h2 {
    margin: 0 0 13px;
    font-size: 1.24rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.rft-card-body h2 a,
.rft-card-link {
    color: var(--rft-ink);
    text-decoration: none;
}

.rft-card-body > p:not(.rft-card-kicker) {
    color: #647084;
    line-height: 1.6;
}

.rft-card-link {
    display: inline-block;
    margin-top: 5px;
    font-weight: 800;
}

.rft-card-link span {
    display: inline-block;
    transition: transform 180ms ease;
}

.rft-card-link:hover span {
    transform: translateX(4px);
}

.rft-empty {
    padding: 52px;
    text-align: center;
    background: var(--rft-paper);
    border-radius: 18px;
}

@media (max-width: 900px) {
    .rft-hero-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .rft-hero-copy {
        max-width: 730px;
    }

    .rft-hero-scene {
        width: min(600px, 100%);
        min-height: 320px;
        margin-inline: auto;
    }

    .rft-hero-scene::before {
        width: 280px;
        height: 280px;
    }

    .rft-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .site-header .inside-header {
        min-height: 62px;
    }

    .site-header .header-image {
        width: min(225px, calc(100vw - 105px));
    }

    .rft-hero {
        padding: 42px 18px 72px;
    }

    .rft-hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.25rem);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .rft-hero-lede {
        margin-top: 18px;
        font-size: 1rem;
        line-height: 1.52;
    }

    .rft-search {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 6px 0;
        margin-top: 22px;
        padding: 6px;
        border-radius: 14px;
    }

    .rft-search-icon {
        width: 18px;
        height: 18px;
        margin-left: 8px;
    }

    .rft-search input[type="search"] {
        height: 44px;
        padding: 10px 9px;
        font-size: 16px;
    }

    .rft-search button[type="submit"] {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 46px;
        font-size: 0.95rem;
    }

    .rft-popular {
        gap: 7px;
        margin-top: 16px;
    }

    .rft-popular > span {
        flex-basis: 100%;
        margin: 0 0 1px;
    }

    .rft-popular a {
        padding: 7px 10px;
    }

    .rft-hero-scene {
        display: none;
    }

    .rft-proof {
        width: calc(100% - 32px);
        margin-top: -36px;
    }

    .rft-proof-inner {
        grid-template-columns: 1fr;
        padding: 10px 24px;
    }

    .rft-proof-inner div {
        padding: 17px 4px;
    }

    .rft-proof-inner div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .rft-card-grid {
        grid-template-columns: 1fr;
    }

    .rft-section-head {
        align-items: start;
        flex-direction: column;
    }

    .rft-latest {
        padding-inline: 16px;
    }
}

@media (max-width: 360px) {
    .rft-hero {
        padding-inline: 15px;
    }

    .rft-hero h1 {
        font-size: clamp(2.35rem, 11.7vw, 2.65rem);
    }

    .rft-search input[type="search"] {
        padding-inline: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rft-card,
    .rft-card-media img,
    .rft-card-link span,
    .rft-search button[type="submit"],
    .main-navigation .main-nav ul li a::after {
        transition: none;
    }
}
