body.fm-public {
    --fm-ink: #382213;
    --fm-muted: #8c7559;
    --fm-soft: #f4efe6;
    --fm-paper: #fbf8f1;
    --fm-line: rgba(74, 48, 26, 0.12);
    --fm-green: #2e4a36;
    --fm-brown: #6e4327;
    --fm-red: #ad3524;
    --fm-gold: #de9630;
    background: var(--fm-soft);
    color: var(--fm-ink);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.fm-public .preloader,
body.fm-public .magic-cursor,
body.fm-public #magic-cursor {
    display: none !important;
}

body.fm-public a {
    color: inherit;
    text-decoration: none;
}

body.fm-public img {
    max-width: 100%;
}

.fm-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.fm-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.fm-section {
    padding: 72px 0;
}

.fm-section-tight {
    padding: 48px 0;
}

.fm-eyebrow {
    color: var(--fm-red);
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.fm-title {
    color: var(--fm-ink);
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
}

.fm-title-sm {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.fm-lede {
    color: var(--fm-muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    margin: 14px 0 0;
    max-width: 620px;
}

.fm-btn {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.96rem;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.fm-btn:hover {
    transform: translateY(-1px);
}

.fm-btn-primary {
    background: var(--fm-red);
    color: var(--fm-paper);
}

.fm-btn-primary:hover {
    background: #8a2a1a;
    color: var(--fm-paper);
}

.fm-btn-brown {
    background: var(--fm-brown);
    color: var(--fm-paper);
}

.fm-btn-brown:hover {
    background: #543117;
    color: var(--fm-paper);
}

.fm-btn-ghost {
    background: rgba(251, 248, 241, 0.12);
    border: 1px solid rgba(251, 248, 241, 0.45);
    color: var(--fm-paper);
}

.fm-btn-ghost:hover {
    background: rgba(251, 248, 241, 0.22);
    color: var(--fm-paper);
}

.fm-site-header {
    backdrop-filter: blur(14px);
    background: rgba(244, 239, 230, 0.86);
    border-bottom: 1px solid var(--fm-line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.fm-nav {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 74px;
}

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

.fm-brand img {
    background: #fff;
    border-radius: 8px;
    height: 44px;
    padding: 4px;
    width: auto;
}

.fm-brand-text {
    color: var(--fm-ink);
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.fm-nav-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.fm-nav-links a {
    color: #6e5639;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.16s ease;
}

.fm-nav-links a:hover,
.fm-nav-links a[aria-current="page"] {
    color: var(--fm-red);
}

.fm-hero {
    min-height: min(760px, calc(100vh - 74px));
    position: relative;
}

.fm-hero-media {
    inset: 0;
    overflow: hidden;
    position: absolute;
}

.fm-hero-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.fm-hero::after {
    background: linear-gradient(90deg, rgba(35, 27, 19, 0.72), rgba(35, 27, 19, 0.32) 52%, rgba(35, 27, 19, 0.1));
    content: "";
    inset: 0;
    position: absolute;
}

.fm-hero-content {
    align-items: flex-start;
    color: var(--fm-paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    padding: 72px 0 96px;
    position: relative;
    z-index: 1;
}

.fm-hero .fm-title,
.fm-hero .fm-lede {
    color: var(--fm-paper);
}

.fm-hero .fm-title {
    max-width: 760px;
}

.fm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.fm-grid {
    display: grid;
    gap: 20px;
}

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

.fm-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fm-card {
    background: var(--fm-paper);
    border: 1px solid var(--fm-line);
    border-radius: 8px;
    overflow: hidden;
}

.fm-card-body {
    padding: 26px;
}

.fm-card-media {
    aspect-ratio: 4 / 3;
    background: #e4dcc9;
    overflow: hidden;
}

.fm-card-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.fm-card:hover .fm-card-media img {
    transform: scale(1.035);
}

.fm-card h2,
.fm-card h3,
.fm-card h4 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}

.fm-card p {
    color: var(--fm-muted);
    margin: 10px 0 0;
}

.fm-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fm-chip {
    background: #efe7d6;
    border-radius: 999px;
    color: var(--fm-ink);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 12px;
}

.fm-badge {
    background: rgba(222, 150, 48, 0.18);
    border-radius: 999px;
    color: #7d5310;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    text-transform: uppercase;
}

.fm-badge-green {
    background: rgba(46, 74, 54, 0.12);
    color: var(--fm-green);
}

.fm-muted-card {
    filter: grayscale(0.24);
    opacity: 0.68;
}

.fm-feature-band {
    background: var(--fm-green);
    color: var(--fm-paper);
}

.fm-feature-band .fm-title,
.fm-feature-band .fm-lede {
    color: var(--fm-paper);
}

.fm-feature-band .fm-lede {
    opacity: 0.82;
}

.fm-split {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: 1.05fr 0.95fr;
}

.fm-split-media {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.fm-split-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.fm-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.fm-tab {
    background: var(--fm-paper);
    border: 1px solid var(--fm-line);
    border-radius: 999px;
    color: var(--fm-brown);
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 0.92rem;
    font-weight: 850;
    padding: 10px 18px;
}

.fm-tab.active,
.fm-tab[aria-selected="true"] {
    background: var(--fm-red);
    border-color: var(--fm-red);
    color: var(--fm-paper);
}

.fm-panel {
    display: none;
}

.fm-panel.active {
    animation: fm-panel-in 0.22s ease both;
    display: block;
}

@keyframes fm-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fm-price-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.fm-price-box {
    background: var(--fm-soft);
    border-radius: 8px;
    padding: 20px;
}

.fm-price-value {
    color: var(--fm-brown);
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
}

.fm-list-clean {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fm-list-clean li {
    border-bottom: 1px solid var(--fm-line);
    color: #5d4938;
    padding: 10px 0;
}

.fm-list-clean li:last-child {
    border-bottom: 0;
}

.fm-kv {
    align-items: baseline;
    border-bottom: 1px solid var(--fm-line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.fm-kv:last-child {
    border-bottom: 0;
}

.fm-kv strong {
    color: var(--fm-ink);
}

.fm-cta {
    align-items: center;
    background: var(--fm-brown);
    border-radius: 8px;
    color: var(--fm-paper);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    padding: clamp(28px, 5vw, 48px);
}

.fm-cta .fm-title,
.fm-cta .fm-lede {
    color: var(--fm-paper);
}

.fm-site-footer {
    background: #23382a;
    color: rgba(251, 248, 241, 0.84);
}

.fm-footer-main {
    display: grid;
    gap: 40px;
    grid-template-columns: 1.35fr 1fr 1fr;
    padding: 56px 0 40px;
}

.fm-footer-logo {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fm-footer-logo img {
    background: #fff;
    border-radius: 8px;
    height: 46px;
    padding: 4px;
    width: auto;
}

.fm-footer-main h4 {
    color: var(--fm-gold);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.fm-footer-main p,
.fm-footer-main a {
    color: rgba(251, 248, 241, 0.7);
}

.fm-footer-main a:hover {
    color: var(--fm-gold);
}

.fm-footer-bottom {
    border-top: 1px solid rgba(251, 248, 241, 0.12);
    font-size: 0.86rem;
    padding: 20px 0;
}

.fm-footer-bottom-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    justify-content: space-between;
}

.fm-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.fm-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fm-field label {
    color: var(--fm-brown);
    font-size: 0.86rem;
    font-weight: 800;
}

.fm-field input,
.fm-field textarea,
.fm-field select {
    background: var(--fm-paper);
    border: 1px solid rgba(74, 48, 26, 0.22);
    border-radius: 8px;
    color: var(--fm-ink);
    font: inherit;
    min-height: 46px;
    padding: 11px 12px;
}

.fm-field textarea {
    min-height: 140px;
    resize: vertical;
}

.fm-full {
    grid-column: 1 / -1;
}

@media (max-width: 980px) {
    .fm-grid-3,
    .fm-grid-4,
    .fm-grid-2,
    .fm-split,
    .fm-price-layout,
    .fm-footer-main {
        grid-template-columns: 1fr;
    }

    .fm-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .fm-nav-links {
        justify-content: flex-start;
        gap: 14px 18px;
    }

    .fm-hero {
        min-height: 620px;
    }
}

@media (max-width: 640px) {
    .fm-container {
        width: min(100% - 28px, 1240px);
    }

    .fm-section {
        padding: 52px 0;
    }

    .fm-form-grid {
        grid-template-columns: 1fr;
    }

    .fm-card-body {
        padding: 22px;
    }
}
