.faccoes-page {
    position: relative;
    background: var(--color-deep-teal);
    isolation: isolate
}

.faccoes-page::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: .08;
    background-image: repeating-linear-gradient(30deg, transparent 0 44px, rgb(224 189 120 / .4) 45px 46px, transparent 47px 92px), radial-gradient(circle at 18% 15%, rgb(224 189 120 / .45) 0 1px, transparent 2px);
    background-size: auto, 32px 32px;
    pointer-events: none
}

.faccoes-page a:not(.button) {
    font-weight: 700
}

.faccoes-hero__panel {
    display: grid;
    grid-template-columns: minmax(410px, 5fr) minmax(440px, 6fr);
    gap: clamp(2rem, 5vw, 4rem);
    min-width: 0;
    align-items: center;
    padding: 3rem;
    background: var(--color-mahogany);
    color: var(--color-ivory)
}

.faccoes-hero__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4)
}

.faccoes-hero__copy>* {
    margin: 0
}

.faccoes-hero__copy h1 {
    max-width: 16ch;
    font-size: var(--text-hero);
    line-height: 1
}

.faccoes-hero__copy>.lead {
    max-width: 58ch
}

.faccoes-hero__actions {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: var(--space-4)
}

.faccoes-hero__archive {
    display: flex;
    max-width: 58ch;
    flex-direction: column;
    gap: var(--space-2);
    border-top: 1px solid var(--color-border-subtle);
    padding-top: var(--space-4)
}

.faccoes-hero__archive>* {
    margin: 0
}

.faccoes-hero__figure {
    min-width: 0;
    margin: 0
}

.faccoes-hero__figure img {
    width: 100%;
    min-width: 0;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: contrast(1.04) saturate(.82)
}

.faccoes-hero__figure figcaption {
    color: rgb(244 233 208 / .72)
}

.faccoes-index__intro {
    max-width: 62ch;
    margin-bottom: var(--space-7)
}

.faccoes-index__intro .eyebrow,
.faccoes-territory__heading .eyebrow,
.faccoes-profiles__intro .eyebrow,
.faccoes-native__heading .eyebrow,
.faccoes-relations__intro .eyebrow,
.faccoes-routes__intro .eyebrow,
.faccoes-faq__content .eyebrow {
    color: var(--color-aged-gold)
}

.faccoes-index__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5)
}

.faccoes-index__grid>* {
    min-width: 0
}

.faccoes-index__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-top: 3px solid var(--color-aged-gold);
    background: var(--color-parchment-light);
    color: var(--color-ink)
}

.faccoes-index__card>* {
    margin: 0
}

.faccoes-index__bar {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    gap: var(--space-3);
    color: var(--color-muted-ink);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.faccoes-index__card h3 {
    max-width: 18ch
}

.faccoes-index__card p {
    max-width: 31ch
}

.faccoes-index__card--theleme .faccoes-index__bar {
    margin: -1.5rem -1.5rem 0;
    padding: var(--space-3) var(--space-5);
    background: var(--color-mahogany);
    color: var(--color-ivory)
}

.faccoes-index__card--guard {
    background: var(--color-mahogany);
    color: var(--color-ivory)
}

.faccoes-index__card--guard .faccoes-index__bar {
    color: var(--color-aged-gold-light)
}

.faccoes-index__card--nautas {
    background: var(--color-deep-teal-raised);
    color: var(--color-ivory)
}

.faccoes-index__card--nautas .faccoes-index__bar {
    color: var(--color-aged-gold-light)
}

.faccoes-index__card--native {
    border-top-color: var(--color-moss-green)
}

.faccoes-territory__heading {
    margin-bottom: var(--space-7)
}

.faccoes-territory__layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(560px, 8fr);
    gap: var(--space-6);
    align-items: start
}

.faccoes-territory__layout>* {
    min-width: 0
}

.faccoes-territory__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5)
}

.faccoes-territory__copy>* {
    margin: 0
}

.faccoes-territory__copy p {
    max-width: 54ch
}

.faccoes-territory__copy blockquote {
    max-width: 28ch
}

.faccoes-territory__map-wrap {
    min-width: 0
}

.faccoes-map {
    margin: 0;
    overflow: hidden;
    background: var(--color-parchment-light)
}

.faccoes-map__image-wrap {
    position: relative;
    min-width: 560px
}

.faccoes-map img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    background: var(--color-parchment)
}

.faccoes-map__marker {
    position: absolute;
    min-height: 44px;
    border: 1px solid var(--color-aged-gold);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    background: var(--color-deep-teal);
    color: var(--color-ivory);
    font-size: var(--text-xs);
    font-weight: 700
}

.faccoes-map__marker--nova {
    top: 46%;
    left: 28%
}

.faccoes-map__marker--san {
    top: 30%;
    left: 62%
}

.faccoes-map__marker--hikmet {
    top: 58%;
    left: 66%
}

.faccoes-map__legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-border-subtle);
    border-top: 1px solid var(--color-border-subtle)
}

.faccoes-map__legend>* {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3);
    background: var(--color-parchment-light);
    color: var(--color-ink);
    font-size: var(--text-sm)
}

.faccoes-map__method {
    margin: var(--space-3) 0 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border-subtle);
    color: var(--color-ivory);
    font-size: var(--text-sm)
}

.faccoes-profiles__intro {
    max-width: 64ch;
    margin-bottom: var(--space-7)
}

.faccoes-profiles__list {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: var(--space-6)
}

.faccoes-profile {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr);
    gap: clamp(2rem, 6vw, 5rem);
    min-width: 0;
    padding: var(--space-6);
    border-top: 2px solid var(--color-aged-gold);
    background: var(--color-parchment-light);
    color: var(--color-ink)
}

.faccoes-profile>* {
    min-width: 0
}

.faccoes-profile__narrative {
    min-width: 0
}

.faccoes-profile__narrative p {
    max-width: 60ch
}

.faccoes-profile__catalog {
    margin-bottom: var(--space-3);
    color: var(--color-link-on-light);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.faccoes-profile__facts {
    align-self: start;
    padding: var(--space-5);
    border-left: 1px solid var(--color-border-subtle);
    background: var(--color-parchment)
}

.faccoes-profile__facts dl {
    margin: 0 0 var(--space-5)
}

.faccoes-profile__facts dd {
    max-width: 24ch
}

.faccoes-profile--dark {
    background: var(--color-deep-teal-raised);
    color: var(--color-ivory)
}

.faccoes-profile--dark .faccoes-profile__catalog {
    color: var(--color-aged-gold-light)
}

.faccoes-profile--dark .faccoes-profile__facts {
    background: var(--color-parchment);
    color: var(--color-ink)
}

.faccoes-profile--mahogany {
    background: var(--color-mahogany);
    color: var(--color-ivory)
}

.faccoes-profile--mahogany .faccoes-profile__catalog {
    color: var(--color-aged-gold-light)
}

.faccoes-profile__facts--light {
    background: var(--color-parchment-light);
    color: var(--color-ink)
}

.faccoes-native__heading {
    margin-bottom: var(--space-7)
}

.faccoes-native__main {
    display: grid;
    grid-template-columns: minmax(360px, 5fr) minmax(0, 6fr);
    gap: var(--space-6);
    align-items: start
}

.faccoes-native__main>* {
    min-width: 0
}

.faccoes-native__figure {
    margin: 0
}

.faccoes-native__image-button {
    display: block;
    width: 100%;
    padding: 0;
    background: transparent
}

.faccoes-native__figure img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover
}

.faccoes-native__figure figcaption {
    color: rgb(244 233 208 / .72)
}

.faccoes-native__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6)
}

.faccoes-native__copy>* {
    margin: 0
}

.faccoes-native__copy p {
    max-width: 56ch
}

.faccoes-native__axes {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-5);
    margin-top: var(--space-6)
}

.faccoes-native__axes>* {
    min-width: 0
}

.faccoes-native__axis {
    padding: var(--space-5)
}

.faccoes-native__axis p {
    max-width: 66ch
}

.faccoes-native__axis--dark {
    background: var(--color-deep-teal-raised);
    color: var(--color-ivory)
}

.faccoes-relations__intro {
    max-width: 64ch;
    margin-bottom: var(--space-7)
}

.faccoes-relations__quote {
    margin-bottom: 0;
    color: var(--color-link-on-light);
    font-family: var(--font-heading);
    font-size: var(--text-card-title);
    font-weight: 600
}

.faccoes-relations__layout {
    display: grid;
    grid-template-columns: minmax(620px, 8fr) minmax(0, 4fr);
    gap: var(--space-6);
    align-items: start
}

.faccoes-relations__layout>* {
    min-width: 0
}

.faccoes-diagram-wrap {
    padding: var(--space-4);
    border: 1px solid var(--color-border-subtle);
    background: var(--color-parchment-light);
    overflow-x: auto
}

.faccoes-diagram {
    width: 100%;
    min-width: 620px;
    height: auto;
    color: var(--color-ink)
}

.faccoes-diagram__lines path {
    fill: none;
    stroke: var(--color-line-gold);
    stroke-width: 4;
    stroke-dasharray: 10 7;
    transition: stroke var(--transition-fast), stroke-width var(--transition-fast)
}

.faccoes-diagram__core {
    fill: var(--color-mahogany);
    stroke: var(--color-aged-gold);
    stroke-width: 3
}

.faccoes-diagram text {
    fill: var(--color-ivory);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-anchor: middle
}

.faccoes-diagram__node {
    cursor: pointer
}

.faccoes-diagram__node circle {
    fill: var(--color-deep-teal-raised);
    stroke: var(--color-aged-gold);
    stroke-width: 2;
    transition: fill var(--transition-fast), stroke-width var(--transition-fast)
}

.faccoes-diagram__node[data-node="nativos"] circle {
    fill: var(--color-moss-green)
}

.faccoes-diagram__node.is-active circle,
.faccoes-diagram__node:focus circle {
    fill: var(--color-mahogany);
    stroke: var(--color-aged-gold-light);
    stroke-width: 5
}

.faccoes-diagram__lines path.is-active {
    stroke: var(--color-aged-gold);
    stroke-width: 8
}

.faccoes-diagram__legend {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-3);
    color: var(--color-muted-ink);
    font-size: var(--text-sm)
}

.faccoes-diagram__legend span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: var(--space-2)
}

.faccoes-diagram__legend b,
.faccoes-diagram__legend i,
.faccoes-diagram__legend em {
    display: block;
    width: 24px;
    height: 4px;
    background: var(--color-line-gold)
}

.faccoes-diagram__legend i {
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-line-gold) 0 7px, transparent 7px 11px)
}

.faccoes-diagram__legend em {
    background: var(--color-moss-green)
}

.faccoes-relations__notes {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: var(--space-4)
}

.faccoes-relation-note {
    min-width: 0;
    padding: var(--space-4);
    border-left: 2px solid var(--color-aged-gold);
    background: var(--color-parchment-light);
    color: var(--color-ink)
}

.faccoes-relation-note h3 {
    font-size: 1.5rem
}

.faccoes-relation-note p {
    max-width: 34ch
}

.faccoes-relation-note--mahogany {
    border-left-color: var(--color-moss-green);
    background: var(--color-mahogany);
    color: var(--color-ivory)
}

.faccoes-relation-note.is-active {
    outline: 2px solid var(--color-aged-gold);
    outline-offset: 3px
}

.faccoes-reputation__intro {
    max-width: 64ch;
    margin-bottom: var(--space-7);
    padding: var(--space-6)
}

.faccoes-reputation__intro>* {
    max-width: 64ch
}

.faccoes-reputation__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5)
}

.faccoes-reputation__grid>* {
    min-width: 0
}

.faccoes-principle {
    min-width: 0;
    padding: var(--space-5);
    border-top: 2px solid var(--color-aged-gold);
    background: var(--color-parchment-light);
    color: var(--color-ink)
}

.faccoes-principle p {
    max-width: 40ch
}

.faccoes-principle--dark {
    background: var(--color-deep-teal-raised);
    color: var(--color-ivory)
}

.faccoes-save-note {
    display: flex;
    max-width: 52ch;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding: var(--space-5);
    border: 1px solid var(--color-aged-gold-light);
    background: var(--color-mahogany);
    color: var(--color-ivory)
}

.faccoes-save-note>* {
    margin: 0
}

.faccoes-routes__intro {
    max-width: 58ch;
    margin-bottom: var(--space-7)
}

.faccoes-routes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5)
}

.faccoes-routes__grid>* {
    min-width: 0
}

.faccoes-route {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-top: 2px solid var(--color-aged-gold);
    background: var(--color-parchment-light);
    color: var(--color-ink);
    text-decoration: none
}

.faccoes-route>* {
    margin: 0
}

.faccoes-route span {
    color: var(--color-link-on-light);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.faccoes-route p {
    max-width: 34ch
}

.faccoes-route strong {
    margin-top: auto;
    color: var(--color-link-on-light);
    text-decoration: underline;
    text-underline-offset: .2em
}

.faccoes-route--dark {
    background: var(--color-deep-teal-raised);
    color: var(--color-ivory)
}

.faccoes-route--dark span,
.faccoes-route--dark strong {
    color: var(--color-aged-gold-light)
}

.faccoes-route:hover {
    outline: 1px solid var(--color-aged-gold);
    outline-offset: 3px;
    color: inherit
}

.faccoes-faq__content {
    width: min(100%, 760px);
    margin-inline: auto
}

.faccoes-faq__content header {
    margin-bottom: var(--space-6)
}

.faccoes-faq__content header p {
    max-width: 58ch
}

.faccoes-faq__list {
    border-top: 1px solid var(--color-border-subtle)
}

.faccoes-faq__item {
    margin: 0;
    border-bottom: 1px solid var(--color-border-subtle);
    background: var(--color-parchment-light);
    color: var(--color-ink)
}

.faccoes-faq__item h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-lead)
}

.faccoes-faq__item button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4);
    background: transparent;
    color: var(--color-ink);
    font-weight: 700;
    text-align: left
}

.faccoes-faq__item button span {
    color: var(--color-link-on-light);
    font-size: 1.5rem;
    line-height: 1
}

.faccoes-faq__panel {
    overflow: hidden;
    padding: 0 var(--space-4) var(--space-4);
    border-left: 3px solid var(--color-aged-gold);
    transition: opacity var(--transition-fast)
}

.faccoes-faq__panel p {
    max-width: 66ch;
    margin: 0
}

.faccoes-faq__item:has(button[aria-expanded="true"]) {
    background: var(--color-parchment)
}

.faccoes-faq__item:has(button[aria-expanded="true"]) button span {
    transform: rotate(45deg)
}

.faccoes-closing__panel {
    display: flex;
    width: min(100%, 920px);
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-inline: auto;
    padding: 4rem 3rem;
    background: var(--color-mahogany);
    color: var(--color-ivory);
    text-align: center
}

.faccoes-closing__panel>* {
    margin: 0
}

.faccoes-closing__panel p {
    max-width: 54ch
}

.faccoes-lightbox[hidden] {
    display: none
}

.faccoes-lightbox {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: grid;
    place-items: center;
    padding: var(--space-4)
}

.faccoes-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / .75)
}

.faccoes-lightbox__dialog {
    position: relative;
    display: flex;
    width: min(100%, 720px);
    max-height: calc(100vh - 2rem);
    min-width: 0;
    flex-direction: column;
    gap: var(--space-3);
    overflow: auto;
    padding: var(--space-4);
    background: var(--color-parchment-light);
    color: var(--color-ink);
    box-shadow: var(--shadow-parchment)
}

.faccoes-lightbox__dialog img {
    width: 100%;
    height: auto
}

.faccoes-lightbox__dialog p {
    margin: 0
}

.faccoes-lightbox__close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--color-aged-gold);
    border-radius: var(--radius-sm);
    background: var(--color-deep-teal);
    color: var(--color-ivory);
    font-size: 2rem;
    line-height: 1
}

@media (max-width:62.5rem) {

    .faccoes-territory__layout,
    .faccoes-relations__layout {
        grid-template-columns: 1fr
    }

    .faccoes-territory__map-wrap,
    .faccoes-relations__layout>* {
        width: 100%
    }

    .faccoes-territory__copy {
        max-width: 64ch
    }

    .faccoes-profile {
        grid-template-columns: 1fr
    }

    .faccoes-profile__facts {
        width: 100%;
        border-top: 1px solid var(--color-border-subtle);
        border-left: 0
    }

    .faccoes-native__main {
        grid-template-columns: 1fr
    }

    .faccoes-native__figure {
        max-width: 560px
    }

    .faccoes-native__axes {
        grid-template-columns: 1fr
    }

    .faccoes-relations__notes {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .faccoes-relations__notes>* {
        min-width: 0
    }
}

@media (max-width:56.25rem) {
    .faccoes-hero__panel {
        grid-template-columns: 1fr;
        padding: var(--space-5)
    }

    .faccoes-hero__figure {
        order: 2
    }

    .faccoes-hero__figure img {
        min-height: 320px;
        max-height: 620px
    }

    .faccoes-index__grid,
    .faccoes-reputation__grid,
    .faccoes-routes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .faccoes-index__grid>*,
    .faccoes-reputation__grid>*,
    .faccoes-routes__grid>* {
        min-width: 0
    }
}

@media (max-width:40rem) {
    .faccoes-hero__panel {
        gap: var(--space-5);
        padding: var(--space-5) var(--space-4)
    }

    .faccoes-hero__copy h1 {
        max-width: 16ch;
        font-size: clamp(2.75rem, 12vw, 3rem);
        line-height: 1.045
    }

    .faccoes-hero__actions {
        width: 100%;
        flex-direction: column
    }

    .faccoes-hero__actions>* {
        width: 100%
    }

    .faccoes-index__intro,
    .faccoes-territory__heading,
    .faccoes-profiles__intro,
    .faccoes-native__heading,
    .faccoes-relations__intro,
    .faccoes-routes__intro {
        margin-bottom: var(--space-6)
    }

    .faccoes-index__grid,
    .faccoes-reputation__grid,
    .faccoes-routes__grid,
    .faccoes-relations__notes {
        grid-template-columns: 1fr
    }

    .faccoes-index__card,
    .faccoes-profile,
    .faccoes-native__copy,
    .faccoes-reputation__intro {
        padding: var(--space-5)
    }

    .faccoes-map__image-wrap {
        min-width: 560px
    }

    .faccoes-map__legend {
        grid-template-columns: 1fr
    }

    .faccoes-profile {
        gap: var(--space-5)
    }

    .faccoes-profile__facts {
        padding: var(--space-4)
    }

    .faccoes-native__axes {
        margin-top: var(--space-5)
    }

    .faccoes-diagram-wrap {
        padding: var(--space-3)
    }

    .faccoes-diagram {
        min-width: 620px
    }

    .faccoes-relations__layout {
        gap: var(--space-5)
    }

    .faccoes-save-note {
        max-width: none
    }

    .faccoes-closing__panel {
        padding: var(--space-6) var(--space-5)
    }

    .faccoes-closing__panel .button {
        width: min(100%, 360px)
    }

    .faccoes-faq__content {
        width: 100%
    }
}

@media (hover:hover) and (pointer:fine) {
    .faccoes-hero__figure:hover {
        box-shadow: 0 0 0 2px var(--color-aged-gold-light)
    }

    .faccoes-index__card:hover,
    .faccoes-principle:hover {
        box-shadow: inset 0 0 0 1px var(--color-aged-gold)
    }

    .faccoes-diagram__node:hover circle {
        fill: var(--color-mahogany);
        stroke: var(--color-aged-gold-light);
        stroke-width: 5
    }
}

@media (prefers-reduced-motion:reduce) {

    .faccoes-faq__panel,
    .faccoes-diagram__lines path,
    .faccoes-diagram__node circle {
        transition: none
    }
}