/* -------------------------------------------------------------------------- */
/* Public FTS website                                                         */
/* -------------------------------------------------------------------------- */

:root {
    --fts-bg: #111110;
    --fts-bg-soft: #171715;
    --fts-card: #1c1c19;
    --fts-text: #f5f2eb;
    --fts-muted: #aaa69d;
    --fts-line: rgba(255, 255, 255, 0.12);
    --fts-accent: #d7b27e;
    --fts-content: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

.fts-site {
    min-width: 320px;
    background: var(--fts-bg);
    color: var(--fts-text);
    font-family: 'Instrument Sans', Arial, sans-serif;
    text-align: left;
    overflow-x: hidden;
}

.fts-site *,
.fts-site *::before,
.fts-site *::after {
    box-sizing: border-box;
}

.fts-site a {
    color: inherit;
    text-decoration: none;
}

.fts-container {
    width: min(var(--fts-content), calc(100% - 64px));
    margin-inline: auto;
}

.fts-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    height: 82px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(16, 16, 15, 0.58);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.fts-header__inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.fts-brand,
.fts-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.fts-brand img,
.fts-footer__brand img {
    display: block;
    object-fit: contain;
}

.fts-brand__name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.05;
}

.fts-brand__name strong {
    font-size: 15px;
    letter-spacing: 0.08em;
}

.fts-brand__name small {
    color: rgba(245, 242, 235, 0.62);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.fts-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 32px);
}

.fts-nav a,
.fts-account-link {
    color: rgba(245, 242, 235, 0.82);
    font-size: 13px;
    font-weight: 500;
    transition: color 180ms ease;
}

.fts-nav a:hover,
.fts-account-link:hover {
    color: var(--fts-accent);
}

.fts-header__account {
    flex: 0 0 auto;
}

.fts-account-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.fts-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 9px;
    border: 1px solid var(--fts-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.fts-menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--fts-text);
}

.fts-hero {
    position: relative;
    display: flex;
    min-height: min(820px, 94vh);
    min-height: min(820px, 94svh);
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background-color: #201b19;
    background-image: var(--hero-image);
    background-position: center 38%;
    background-size: cover;
}

.fts-hero__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 12, 11, 0.94) 0%, rgba(12, 12, 11, 0.76) 43%, rgba(12, 12, 11, 0.2) 100%),
        linear-gradient(0deg, rgba(17, 17, 16, 0.96) 0%, rgba(17, 17, 16, 0.05) 54%, rgba(17, 17, 16, 0.35) 100%);
}

.fts-hero__content {
    position: relative;
    padding-top: 100px;
    padding-bottom: 110px;
}

.fts-eyebrow,
.fts-section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    color: var(--fts-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.fts-eyebrow span {
    width: 25px;
    height: 1px;
    background: var(--fts-accent);
}

.fts-hero h1 {
    max-width: 850px;
    margin: 27px 0 0;
    color: var(--fts-text);
    font-size: clamp(46px, 6.1vw, 82px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.fts-hero h1 span {
    display: block;
    color: var(--fts-accent);
}

.fts-hero__description {
    max-width: 520px;
    margin: 26px 0 0;
    color: rgba(245, 242, 235, 0.76);
    font-size: 17px;
    line-height: 1.65;
}

.fts-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.fts-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.fts-button:hover {
    transform: translateY(-2px);
}

.fts-button--accent {
    background: var(--fts-accent);
    color: #171512 !important;
}

.fts-button--accent:hover {
    background: #e5c493;
}

.fts-button--glass {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
    color: var(--fts-text);
}

.fts-button--glass:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.12);
}

.fts-scroll-cue {
    position: absolute;
    right: max(32px, calc((100vw - var(--fts-content)) / 2));
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(245, 242, 235, 0.58) !important;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fts-scroll-cue span {
    width: 34px;
    height: 1px;
    background: var(--fts-accent);
}

.fts-section {
    padding: 108px 0;
}

.fts-section--surface {
    background: var(--fts-bg-soft);
}

.fts-intro {
    border-bottom: 1px solid var(--fts-line);
}

.fts-intro__grid {
    display: grid;
    grid-template-columns: 1fr 2.3fr auto;
    align-items: start;
    gap: 50px;
}

.fts-intro__body h2,
.fts-section-heading h2,
.fts-contact-panel h2 {
    margin: 0;
    color: var(--fts-text);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.fts-intro__body p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--fts-muted);
    font-size: 16px;
    line-height: 1.8;
}

.fts-intro__mark {
    padding-top: 8px;
    color: rgba(215, 178, 126, 0.16);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.85;
    text-align: right;
}

.fts-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}

.fts-section-heading h2 {
    margin-top: 13px;
}

.fts-text-link,
.fts-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(215, 178, 126, 0.55);
    color: var(--fts-accent) !important;
    font-size: 12px;
    font-weight: 600;
    transition: color 180ms ease, border-color 180ms ease;
}

.fts-text-link:hover,
.fts-inline-link:hover {
    border-color: var(--fts-text);
    color: var(--fts-text) !important;
}

.fts-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fts-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fts-line);
    border-radius: 10px;
    background: var(--fts-card);
    transition: transform 220ms ease, border-color 220ms ease;
}

.fts-news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(215, 178, 126, 0.48);
}

.fts-news-card__image {
    height: 225px;
    overflow: hidden;
    background: #272521;
}

.fts-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.fts-news-card:hover .fts-news-card__image img {
    transform: scale(1.035);
}

.fts-news-card__image--empty {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 50%, #373229, #201f1b 70%);
}

.fts-news-card__image--empty img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    opacity: 0.35;
}

.fts-news-card__content {
    min-height: 190px;
    padding: 22px 22px 24px;
}

.fts-card-date {
    margin: 0;
    color: var(--fts-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fts-news-card h3,
.fts-document-card h3,
.fts-event-copy h3 {
    margin: 12px 0 0;
    color: var(--fts-text);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.fts-card-description,
.fts-document-card__copy p,
.fts-event-copy p {
    margin: 10px 0 0;
    color: var(--fts-muted);
    font-size: 13px;
    line-height: 1.65;
}

.fts-heading-note {
    padding-bottom: 8px;
    color: var(--fts-muted);
    font-size: 12px;
}

.fts-events-list {
    border-top: 1px solid var(--fts-line);
}

.fts-event-row {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 30px;
    padding: 25px 8px;
    border-bottom: 1px solid var(--fts-line);
    transition: background 180ms ease, padding 180ms ease;
}

.fts-event-row:hover {
    padding-inline: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.fts-event-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--fts-accent);
}

.fts-event-date strong {
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.fts-event-date span {
    font-size: 11px;
    letter-spacing: 0.07em;
}

.fts-event-copy h3 {
    margin-top: 0;
}

.fts-event-copy p {
    max-width: 720px;
}

.fts-event-arrow {
    color: var(--fts-accent);
    font-size: 22px;
    text-align: right;
}

.fts-documents-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fts-document-card {
    display: flex;
    min-height: 190px;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--fts-line);
    border-radius: 10px;
    background: var(--fts-card);
    transition: border-color 180ms ease, transform 180ms ease;
}

.fts-document-card:hover {
    transform: translateY(-3px);
    border-color: rgba(215, 178, 126, 0.48);
}

.fts-document-card__icon {
    display: grid;
    width: 42px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(215, 178, 126, 0.38);
    border-radius: 7px;
    color: var(--fts-accent);
}

.fts-document-card__icon svg {
    width: 25px;
    height: 25px;
}

.fts-document-card__copy {
    min-width: 0;
    flex: 1;
}

.fts-document-card h3 {
    margin-top: 1px;
    font-size: 16px;
}

.fts-document-card__copy p {
    margin-bottom: 12px;
}

.fts-document-card__open {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--fts-line);
    border-radius: 50%;
    color: var(--fts-accent) !important;
    font-size: 15px;
}

.fts-empty-state {
    display: flex;
    min-height: 175px;
    align-items: flex-start;
    gap: 25px;
    padding: 36px;
    border: 1px solid var(--fts-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.fts-empty-state--wide {
    min-height: 205px;
}

.fts-empty-state__number {
    color: var(--fts-accent);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.fts-empty-state h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.fts-empty-state p {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--fts-muted);
    font-size: 13px;
    line-height: 1.7;
}

.fts-empty-state .fts-inline-link {
    margin-top: 19px;
}

.fts-contact-section {
    padding-top: 80px;
    padding-bottom: 110px;
}

.fts-contact-panel {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    padding: 62px;
    border: 1px solid rgba(215, 178, 126, 0.27);
    border-radius: 14px;
    background:
        radial-gradient(circle at 8% 100%, rgba(215, 178, 126, 0.12), transparent 42%),
        #1b1a17;
}

.fts-contact-panel h2 {
    margin-top: 18px;
    font-size: clamp(36px, 4vw, 54px);
}

.fts-contact-panel h2 span {
    color: var(--fts-accent);
}

.fts-contact-panel__copy > p:last-child {
    max-width: 440px;
    margin: 22px 0 0;
    color: var(--fts-muted);
    font-size: 14px;
    line-height: 1.7;
}

.fts-contact-panel__details {
    align-self: center;
}

.fts-contact-panel__details a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--fts-line);
}

.fts-contact-panel__details a:first-child {
    border-top: 1px solid var(--fts-line);
}

.fts-contact-panel__details a > span:first-child {
    grid-column: 1;
    color: var(--fts-muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fts-contact-panel__details strong {
    grid-column: 1;
    font-size: 15px;
    font-weight: 500;
}

.fts-contact-panel__details a > span:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--fts-accent);
}

.fts-footer {
    padding: 52px 0 22px;
    border-top: 1px solid var(--fts-line);
    background: #0c0c0b;
}

.fts-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
    padding-bottom: 42px;
}

.fts-footer__brand strong {
    font-size: 14px;
    letter-spacing: 0.1em;
}

.fts-footer__identity p {
    margin: 16px 0 9px;
    color: rgba(245, 242, 235, 0.8);
    font-size: 13px;
    line-height: 1.55;
}

.fts-footer__identity small {
    color: #77736b;
    font-size: 10px;
}

.fts-footer__partners {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.fts-footer__partners a {
    display: flex;
    max-width: 145px;
    align-items: center;
    justify-content: center;
}

.fts-footer__partners img {
    display: block;
    width: 100%;
    max-height: 70px;
    object-fit: contain;
    opacity: 0.72;
    transition: opacity 180ms ease;
}

.fts-footer__partners a:hover img {
    opacity: 1;
}

.fts-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--fts-line);
    color: #77736b;
    font-size: 11px;
}

.fts-footer__bottom a {
    color: var(--fts-muted);
}

@media (max-width: 980px) {
    .fts-nav {
        gap: 15px;
    }

    .fts-nav a {
        font-size: 12px;
    }

    .fts-intro__grid {
        grid-template-columns: 1fr 2fr;
        gap: 28px;
    }

    .fts-intro__mark {
        display: none;
    }

    .fts-news-grid,
    .fts-documents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fts-contact-panel {
        gap: 45px;
        padding: 44px;
    }
}

@media (max-width: 760px) {
    .fts-container {
        width: min(calc(100% - 40px), var(--fts-content));
    }

    .fts-header {
        height: 72px;
    }

    .fts-header__inner {
        gap: 12px;
    }

    .fts-brand img {
        width: 40px;
        height: 40px;
    }

    .fts-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .fts-nav {
        position: absolute;
        top: 71px;
        right: 20px;
        left: 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 18px;
        border: 1px solid var(--fts-line);
        border-radius: 10px;
        background: rgba(17, 17, 16, 0.97);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    }

    .fts-nav.is-open {
        display: flex;
    }

    .fts-nav a {
        padding: 13px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 14px;
    }

    .fts-nav a:last-child {
        border-bottom: 0;
    }

    .fts-account-link {
        min-height: 38px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .fts-hero {
        min-height: 740px;
        min-height: min(780px, 92svh);
        background-position: 58% center;
    }

    .fts-hero__overlay {
        background:
            linear-gradient(90deg, rgba(12, 12, 11, 0.9), rgba(12, 12, 11, 0.48)),
            linear-gradient(0deg, rgba(17, 17, 16, 0.95), rgba(17, 17, 16, 0.08) 65%);
    }

    .fts-hero__content {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .fts-hero h1 {
        margin-top: 22px;
        font-size: clamp(42px, 10vw, 64px);
    }

    .fts-hero__description {
        max-width: 440px;
        font-size: 15px;
    }

    .fts-scroll-cue {
        right: 20px;
        bottom: 27px;
    }

    .fts-section {
        padding: 76px 0;
    }

    .fts-intro__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fts-intro__body h2,
    .fts-section-heading h2 {
        font-size: 37px;
    }

    .fts-intro__body p {
        font-size: 14px;
    }

    .fts-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 27px;
    }

    .fts-news-grid,
    .fts-documents-grid {
        grid-template-columns: 1fr;
    }

    .fts-news-card__image {
        height: 230px;
    }

    .fts-news-card__content {
        min-height: auto;
    }

    .fts-event-row {
        grid-template-columns: 65px minmax(0, 1fr) 20px;
        gap: 15px;
        padding: 20px 2px;
    }

    .fts-event-date strong {
        font-size: 29px;
    }

    .fts-event-copy h3 {
        font-size: 16px;
    }

    .fts-event-copy p {
        font-size: 12px;
    }

    .fts-empty-state {
        gap: 16px;
        padding: 25px 21px;
    }

    .fts-empty-state h3 {
        font-size: 17px;
    }

    .fts-contact-section {
        padding-top: 25px;
        padding-bottom: 76px;
    }

    .fts-contact-panel {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 24px;
    }

    .fts-contact-panel h2 {
        font-size: 40px;
    }

    .fts-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fts-footer__partners {
        grid-column: auto;
        justify-content: flex-start;
    }

    .fts-footer__partners a {
        max-width: 125px;
    }
}

@media (max-width: 420px) {
    .fts-container {
        width: calc(100% - 32px);
    }

    .fts-brand__name small {
        font-size: 10px;
    }

    .fts-hero h1 {
        font-size: 39px;
    }

    .fts-hero__actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 250px;
    }

    .fts-button {
        justify-content: space-between;
    }

    .fts-footer__main {
        grid-template-columns: 1fr;
    }

    .fts-footer__partners {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fts-site *,
    .fts-site *::before,
    .fts-site *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Secondary public pages */
.fts-inner-page {
    min-height: 70vh;
    padding-top: 82px;
}

.fts-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 12vw, 150px) 0 76px;
    border-bottom: 1px solid var(--fts-line);
    background:
        radial-gradient(ellipse at 78% 12%, rgba(215, 178, 126, 0.13), transparent 40%),
        linear-gradient(135deg, #1d1b18 0%, #111110 72%);
}

.fts-page-hero--compact {
    padding-bottom: 58px;
}

.fts-page-hero h1 {
    max-width: 900px;
    margin: 22px 0 0;
    color: var(--fts-text);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.fts-page-hero p:not(.fts-section-kicker) {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--fts-muted);
    font-size: 16px;
    line-height: 1.7;
}

.fts-page-section {
    min-height: 340px;
    padding: 64px 0 88px;
    background: var(--fts-bg);
}

.fts-back-link {
    display: inline-flex;
    margin: 0 0 35px;
    color: var(--fts-accent) !important;
    font-size: 13px;
}

.fts-article {
    max-width: 900px;
}

.fts-article__image {
    display: block;
    width: 100%;
    max-height: 560px;
    margin: 0 auto 38px;
    border: 1px solid var(--fts-line);
    border-radius: 10px;
    object-fit: cover;
}

.fts-article__content {
    color: rgba(245, 242, 235, 0.88);
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.fts-article__meta {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--fts-line);
    color: var(--fts-muted);
    font-size: 12px;
}

.fts-article .fts-inline-link {
    margin-top: 22px;
}

.fts-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
    color: var(--fts-text);
}

.fts-pagination nav,
.fts-pagination > div {
    width: 100%;
}

.fts-pagination a,
.fts-pagination span {
    color: var(--fts-text) !important;
}

.fts-pagination [aria-current="page"] span {
    border-color: rgba(215, 178, 126, 0.5) !important;
    background: rgba(215, 178, 126, 0.16) !important;
    color: var(--fts-accent) !important;
}

.fts-news-card:focus-visible,
.fts-nav a:focus-visible,
.fts-account-link:focus-visible,
.fts-button:focus-visible,
.fts-text-link:focus-visible,
.fts-document-card__open:focus-visible {
    outline: 2px solid var(--fts-accent);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .fts-inner-page {
        padding-top: 70px;
    }

    .fts-page-hero {
        padding-top: 82px;
        padding-bottom: 52px;
    }

    .fts-page-section {
        padding-top: 42px;
        padding-bottom: 64px;
    }

    .fts-page-hero h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .fts-page-hero p:not(.fts-section-kicker) {
        font-size: 14px;
    }

    .fts-article__content {
        font-size: 14px;
        line-height: 1.8;
    }
}
