.page-raffa {
    --raffa-ink: #243329;
    --raffa-forest: #294d39;
    --raffa-moss: #6f875e;
    --raffa-bark: #795039;
    --raffa-wood: #bd8d5f;
    --raffa-honey: #dca64a;
    --raffa-cream: #f4eedf;
    --raffa-paper: #fbf8ef;
    color: var(--raffa-ink);
    background:
        radial-gradient(circle at 8% 18%, rgba(111, 135, 94, 0.2), transparent 22rem),
        radial-gradient(circle at 92% 44%, rgba(189, 141, 95, 0.22), transparent 26rem),
        linear-gradient(135deg, #eee4cf, var(--raffa-cream) 45%, #e9dcc4);
    font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
}

.page-raffa::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image:
        repeating-linear-gradient(92deg, transparent 0 3rem, rgba(72, 52, 35, 0.035) 3.1rem 3.16rem),
        repeating-linear-gradient(3deg, transparent 0 5rem, rgba(72, 52, 35, 0.025) 5.1rem 5.16rem);
    content: "";
    pointer-events: none;
}

.page-raffa .site-shell {
    width: min(100% - 2rem, 78rem);
}

.page-raffa .site-header {
    border-color: var(--raffa-ink);
    color: var(--raffa-ink);
    background: rgba(251, 248, 239, 0.9);
    box-shadow: 0 0.28rem 0 var(--raffa-ink);
    backdrop-filter: blur(12px);
}

.page-raffa .brand__mark {
    color: var(--raffa-cream);
    background: var(--raffa-forest);
}

.page-raffa .site-header__note {
    color: var(--raffa-paper);
    background: var(--raffa-bark);
}

.raffa-main {
    overflow: hidden;
}

.raffa-page {
    width: min(100% - 2rem, 78rem);
    margin-inline: auto;
    padding-bottom: 5rem;
}

.raffa-kicker {
    margin: 0 0 0.8rem;
    color: var(--raffa-bark);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.raffa-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: center;
    min-height: 42rem;
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.raffa-hero::after {
    position: absolute;
    right: 2%;
    bottom: 1rem;
    left: 2%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(36, 51, 41, 0.45), transparent);
    content: "";
}

.raffa-hero__copy {
    position: relative;
    z-index: 2;
}

.raffa-hero h1,
.raffa-heading h2,
.raffa-balance h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.raffa-hero h1 {
    margin: 0;
    font-size: clamp(5rem, 13vw, 10rem);
    line-height: 0.8;
}

.raffa-hero__headline {
    max-width: 29rem;
    margin: 2.2rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.17;
}

.raffa-hero__intro {
    max-width: 36rem;
    margin: 1.35rem 0 0;
    color: rgba(36, 51, 41, 0.82);
    font-size: 1.05rem;
    line-height: 1.72;
}

.raffa-hero__totem {
    position: relative;
    display: grid;
    min-height: 28rem;
    place-items: center;
}

.raffa-rings {
    position: relative;
    display: grid;
    width: min(25rem, 82vw);
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(74, 48, 31, 0.4);
    border-radius: 48% 52% 49% 51% / 54% 46% 52% 48%;
    background:
        repeating-radial-gradient(ellipse at 46% 52%, transparent 0 1.3rem, rgba(74, 48, 31, 0.22) 1.34rem 1.47rem),
        radial-gradient(ellipse at 46% 52%, #d3a875, #a76f45 72%, #70452e);
    box-shadow:
        inset 0 0 3rem rgba(62, 36, 23, 0.28),
        1.25rem 1.5rem 0 rgba(41, 77, 57, 0.16);
    transform: rotate(4deg);
}

.raffa-rings::before {
    position: absolute;
    width: 1.3rem;
    height: 68%;
    border-radius: 50%;
    background: rgba(91, 53, 32, 0.2);
    content: "";
    filter: blur(0.5px);
    transform: rotate(24deg);
}

.raffa-rings i {
    position: absolute;
    border: 1px solid rgba(76, 45, 28, 0.26);
    border-radius: 50%;
}

.raffa-rings i:nth-child(1) { width: 18%; aspect-ratio: 1.5; }
.raffa-rings i:nth-child(2) { width: 34%; aspect-ratio: 1.4; }
.raffa-rings i:nth-child(3) { width: 52%; aspect-ratio: 1.35; }
.raffa-rings i:nth-child(4) { width: 70%; aspect-ratio: 1.3; }
.raffa-rings i:nth-child(5) { width: 88%; aspect-ratio: 1.25; }

.raffa-rings span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 5rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(36, 51, 41, 0.55);
    border-radius: 50%;
    color: var(--raffa-cream);
    background: rgba(41, 77, 57, 0.9);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
    box-shadow: 0 0.6rem 1.6rem rgba(55, 35, 22, 0.3);
    transform: rotate(-4deg);
}

.raffa-leaf {
    position: absolute;
    width: 4rem;
    height: 7.5rem;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, var(--raffa-moss), var(--raffa-forest));
    box-shadow: inset 0.5rem 0.5rem 1rem rgba(255, 255, 255, 0.09);
    transform-origin: bottom left;
}

.raffa-leaf::after {
    position: absolute;
    top: 8%;
    left: 48%;
    width: 1px;
    height: 82%;
    background: rgba(244, 238, 223, 0.48);
    content: "";
    transform: rotate(-42deg);
    transform-origin: bottom;
}

.raffa-leaf--one {
    top: 5%;
    right: 4%;
    transform: rotate(32deg) scale(0.88);
}

.raffa-leaf--two {
    right: 0;
    bottom: 2%;
    transform: rotate(104deg) scale(0.7);
}

.raffa-leaf--three {
    bottom: 4%;
    left: 2%;
    transform: rotate(-34deg) scale(0.58);
}

.raffa-triad {
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.raffa-heading {
    display: grid;
    grid-template-columns: 1fr minmax(17rem, 2fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 3rem;
}

.raffa-heading .raffa-kicker {
    margin: 0;
}

.raffa-heading h2 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.96;
}

.raffa-triad__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(36, 51, 41, 0.38);
    background: rgba(251, 248, 239, 0.46);
    box-shadow: 0 1rem 3rem rgba(78, 54, 36, 0.1);
}

.raffa-triad__grid article {
    position: relative;
    min-height: 18rem;
    padding: 2rem;
    overflow: hidden;
}

.raffa-triad__grid article + article {
    border-left: 1px solid rgba(36, 51, 41, 0.38);
}

.raffa-triad__grid article::after {
    position: absolute;
    right: -2.5rem;
    bottom: -3rem;
    width: 10rem;
    aspect-ratio: 1;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    opacity: 0.12;
}

.raffa-triad__grid article:nth-child(1) { color: var(--raffa-paper); background: var(--raffa-forest); }
.raffa-triad__grid article:nth-child(2) { background: #d7c690; }
.raffa-triad__grid article:nth-child(3) { background: #d6a15b; }

.raffa-triad__grid article > span {
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.raffa-triad__grid h3 {
    margin: 5rem 0 0.6rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.raffa-triad__grid p {
    margin: 0;
    font-size: 0.96rem;
}

.raffa-balance {
    display: grid;
    grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.raffa-balance__symbol {
    position: relative;
    display: grid;
    width: min(22rem, 78vw);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
    border: 1px solid rgba(36, 51, 41, 0.32);
    border-radius: 50%;
}

.raffa-balance__symbol::before,
.raffa-balance__symbol::after,
.raffa-balance__symbol span,
.raffa-balance__symbol i {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.raffa-balance__symbol::before {
    inset: 11%;
    border: 1px solid rgba(36, 51, 41, 0.28);
}

.raffa-balance__symbol::after {
    inset: 25%;
    background: var(--raffa-forest);
    box-shadow: 0.7rem 0.7rem 0 var(--raffa-honey);
}

.raffa-balance__symbol span:first-child {
    top: 5%;
    right: 14%;
    width: 3.4rem;
    aspect-ratio: 1;
    background: var(--raffa-moss);
}

.raffa-balance__symbol span:nth-child(2) {
    bottom: 8%;
    left: 8%;
    width: 1.8rem;
    aspect-ratio: 1;
    background: var(--raffa-bark);
}

.raffa-balance__symbol i {
    top: 26%;
    left: 3%;
    width: 0.65rem;
    aspect-ratio: 1;
    background: var(--raffa-honey);
}

.raffa-balance h2 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
}

.raffa-balance__copy > p:last-child {
    max-width: 38rem;
    margin: 1.5rem 0 0;
    color: rgba(36, 51, 41, 0.8);
    font-size: 1.05rem;
    line-height: 1.75;
}

.raffa-mantra {
    position: relative;
    margin: 0;
    padding: clamp(3rem, 8vw, 6rem);
    overflow: hidden;
    color: var(--raffa-paper);
    background: var(--raffa-ink);
}

.raffa-mantra > span {
    position: absolute;
    top: -3.5rem;
    left: 1.5rem;
    color: rgba(244, 238, 223, 0.08);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16rem;
    line-height: 1;
}

.raffa-mantra p {
    position: relative;
    max-width: 28ch;
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.25;
    text-align: center;
}

.raffa-switcher {
    margin-top: 5rem;
    border-color: var(--raffa-ink);
    color: var(--raffa-ink);
    background: rgba(251, 248, 239, 0.55);
}

.raffa-switcher a[aria-current="page"] {
    color: var(--raffa-paper);
    background: var(--raffa-forest);
}

.raffa-footer {
    display: flex;
    width: min(100% - 2rem, 78rem);
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1.5rem 0 2.5rem;
    border-top: 1px solid rgba(36, 51, 41, 0.3);
    font-size: 0.88rem;
}

.raffa-footer p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
}

.raffa-footer a {
    font-weight: 750;
    text-underline-offset: 0.25rem;
}

@media (max-width: 54rem) {
    .raffa-hero {
        grid-template-columns: 1fr;
        padding-top: 5rem;
    }

    .raffa-hero__totem {
        min-height: auto;
    }

    .raffa-rings {
        width: min(22rem, 78vw);
    }

    .raffa-heading,
    .raffa-balance {
        grid-template-columns: 1fr;
    }

    .raffa-heading {
        gap: 1rem;
    }

    .raffa-balance__symbol {
        justify-self: start;
    }
}

@media (max-width: 42rem) {
    .raffa-triad__grid {
        grid-template-columns: 1fr;
    }

    .raffa-triad__grid article {
        min-height: 13rem;
    }

    .raffa-triad__grid article + article {
        border-top: 1px solid rgba(36, 51, 41, 0.38);
        border-left: 0;
    }

    .raffa-triad__grid h3 {
        margin-top: 3rem;
    }
}

@media (max-width: 34rem) {
    .raffa-page,
    .raffa-footer {
        width: min(100% - 1.2rem, 78rem);
    }

    .raffa-hero h1 {
        font-size: clamp(4rem, 26vw, 6.6rem);
    }

    .raffa-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-raffa * {
        scroll-behavior: auto !important;
    }
}
