:root {
    --fg-green-950: #0b2f20;
    --fg-green-900: #103d29;
    --fg-green-800: #155236;
    --fg-green-700: #1b6a43;
    --fg-green-600: #248653;
    --fg-green-500: #35a565;
    --fg-green-100: #e9f6ee;
    --fg-green-50: #f4fbf6;
    --fg-lime-500: #b7ef3a;
    --fg-lime-300: #d7f77d;
    --fg-gold-500: #c89218;
    --fg-cream: #f7f4ea;
    --fg-warm-white: #fbfaf6;
    --fg-white: #ffffff;
    --fg-ink: #16211a;
    --fg-muted: #68746d;
    --fg-border: #dde5df;
    --fg-border-strong: #c8d4cc;
    --fg-info: #2f6fc1;
    --fg-warning: #c58a14;
    --fg-danger: #cf4949;
    --fg-success: #1f8a50;

    --fg-radius-xs: 6px;
    --fg-radius-sm: 10px;
    --fg-radius-md: 14px;
    --fg-radius-lg: 20px;
    --fg-radius-xl: 28px;
    --fg-radius-pill: 999px;

    --fg-space-1: 4px;
    --fg-space-2: 8px;
    --fg-space-3: 12px;
    --fg-space-4: 16px;
    --fg-space-5: 20px;
    --fg-space-6: 24px;
    --fg-space-8: 32px;
    --fg-space-10: 40px;
    --fg-space-12: 48px;
    --fg-space-16: 64px;
    --fg-space-20: 80px;

    --fg-shadow-sm: 0 1px 2px rgba(10, 34, 23, 0.05);
    --fg-shadow-md: 0 8px 24px rgba(10, 34, 23, 0.08);
    --fg-shadow-lg: 0 20px 50px rgba(10, 34, 23, 0.12);

    --fg-container: 1280px;
    --fg-container-wide: 1440px;
    --fg-transition: 180ms ease;
}

/*
 * FarmicleGrow V2 is intentionally opt-in during Phase 1.
 * Wrap redesigned surfaces in .fg-v2 so the existing theme can coexist
 * until each page is migrated and tested.
 */
.fg-v2 {
    color: var(--fg-ink);
    background: var(--fg-warm-white);
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

.fg-v2 *,
.fg-v2 *::before,
.fg-v2 *::after {
    box-sizing: border-box;
}

.fg-v2 img,
.fg-v2 video {
    max-width: 100%;
    height: auto;
}

.fg-v2 a {
    color: inherit;
}

.fg-v2 a:focus-visible,
.fg-v2 button:focus-visible,
.fg-v2 [role="tab"]:focus-visible,
.fg-v2 input:focus-visible,
.fg-v2 select:focus-visible,
.fg-v2 textarea:focus-visible {
    outline: 3px solid rgba(53, 165, 101, 0.34);
    outline-offset: 3px;
}

.fg-v2 .fg-section--dark a:focus-visible,
.fg-v2 .fg-section--dark button:focus-visible,
.fg-v2 .fg-hero-slider a:focus-visible,
.fg-v2 .fg-hero-slider button:focus-visible,
.fg-v2 .fg-team-hero a:focus-visible,
.fg-v2 .fg-team-hero button:focus-visible {
    outline-color: rgba(215, 247, 125, 0.86);
}

.fg-container {
    width: min(calc(100% - 32px), var(--fg-container));
    margin-inline: auto;
}

.fg-container--wide {
    width: min(calc(100% - 32px), var(--fg-container-wide));
    margin-inline: auto;
}

.fg-section {
    padding-block: clamp(56px, 7vw, 104px);
}

.fg-section--compact {
    padding-block: clamp(36px, 5vw, 64px);
}

.fg-section--dark {
    color: var(--fg-white);
    background: var(--fg-green-950);
}

.fg-section--soft {
    background: var(--fg-green-50);
}

.fg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--fg-green-700);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fg-heading-xl,
.fg-heading-lg,
.fg-heading-md {
    margin: 0;
    color: inherit;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.fg-heading-xl {
    font-size: clamp(44px, 7vw, 92px);
}

.fg-heading-lg {
    font-size: clamp(36px, 5vw, 64px);
}

.fg-heading-md {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.05;
}

.fg-lead {
    max-width: 760px;
    margin: 0;
    color: var(--fg-muted);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.6;
}

.fg-section--dark .fg-lead,
.fg-on-dark {
    color: rgba(255, 255, 255, 0.78);
}

.fg-accent {
    color: var(--fg-green-600);
}

.fg-accent--lime {
    color: var(--fg-lime-500);
}

.fg-grid {
    display: grid;
    gap: var(--fg-space-6);
}

.fg-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fg-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fg-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fg-card {
    border: 1px solid var(--fg-border);
    border-radius: var(--fg-radius-md);
    background: var(--fg-white);
}

.fg-card--interactive {
    transition: transform var(--fg-transition), border-color var(--fg-transition), box-shadow var(--fg-transition);
}

@media (hover: hover) and (pointer: fine) {
    .fg-card--interactive:hover {
        transform: translateY(-3px);
        border-color: var(--fg-border-strong);
        box-shadow: var(--fg-shadow-md);
    }
}

.fg-card__body {
    padding: clamp(18px, 2.4vw, 28px);
}

.fg-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--fg-radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--fg-transition), border-color var(--fg-transition), color var(--fg-transition), transform var(--fg-transition);
}

.fg-btn:focus-visible,
.fg-tab:focus-visible,
.fg-control:focus-visible {
    outline: 3px solid rgba(53, 165, 101, 0.28);
    outline-offset: 2px;
}

.fg-btn--primary {
    color: var(--fg-white);
    background: var(--fg-green-700);
}

.fg-btn--primary:hover {
    color: var(--fg-white);
    background: var(--fg-green-800);
}

.fg-btn--lime {
    color: var(--fg-green-950);
    background: var(--fg-lime-500);
}

.fg-btn--lime:hover {
    color: var(--fg-green-950);
    background: var(--fg-lime-300);
}

.fg-btn--outline {
    color: var(--fg-green-900);
    border-color: var(--fg-green-700);
    background: transparent;
}

.fg-btn--outline:hover {
    color: var(--fg-white);
    background: var(--fg-green-800);
}

.fg-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: var(--fg-radius-pill);
    background: var(--fg-green-100);
    color: var(--fg-green-800);
    font-size: 12px;
    font-weight: 700;
}

.fg-status--success { color: var(--fg-success); background: #e9f7ef; }
.fg-status--warning { color: #8b6508; background: #fff5d8; }
.fg-status--danger { color: #a83232; background: #fdeaea; }
.fg-status--info { color: #24578f; background: #eaf2fb; }
.fg-status--neutral { color: #5d6861; background: #eef1ef; }

.fg-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--fg-border);
    border-radius: var(--fg-radius-sm);
    background: var(--fg-white);
    color: var(--fg-ink);
    font: inherit;
    transition: border-color var(--fg-transition), box-shadow var(--fg-transition);
}

.fg-control:focus {
    border-color: var(--fg-green-500);
    box-shadow: 0 0 0 3px rgba(53, 165, 101, 0.12);
}

.fg-label {
    display: block;
    margin-bottom: 7px;
    color: var(--fg-ink);
    font-size: 13px;
    font-weight: 700;
}

.fg-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid var(--fg-border);
    scrollbar-width: thin;
}

.fg-tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 13px 16px;
    border: 0;
    background: transparent;
    color: var(--fg-muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fg-tab[aria-selected="true"],
.fg-tab.is-active {
    color: var(--fg-green-800);
}

.fg-tab[aria-selected="true"]::after,
.fg-tab.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--fg-green-600);
}

.fg-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--fg-radius-lg);
    background: var(--fg-green-950);
}

.fg-media > img,
.fg-media > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 32, 21, 0.88), rgba(6, 32, 21, 0.38) 55%, rgba(6, 32, 21, 0.08));
}

.fg-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.fg-stat__value {
    margin: 0;
    color: var(--fg-ink);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 750;
    letter-spacing: -0.03em;
}

.fg-stat__label {
    margin: 0;
    color: var(--fg-muted);
    font-size: 13px;
}

.fg-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--fg-border);
    border-radius: var(--fg-radius-md);
    background: var(--fg-white);
}

.fg-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.fg-table th,
.fg-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--fg-border);
    text-align: left;
    vertical-align: middle;
}

.fg-table th {
    color: var(--fg-muted);
    background: #fafcfb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fg-table tr:last-child td {
    border-bottom: 0;
}

.fg-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--fg-muted);
}

.fg-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Homepage hero slider */
.fg-hero-slider {
    position: relative;
    min-height: clamp(580px, 72vh, 820px);
    overflow: hidden;
    color: var(--fg-white);
    background: var(--fg-green-950);
}

.fg-hero-slider__viewport {
    position: relative;
    min-height: inherit;
}

.fg-hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    min-height: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 560ms ease, visibility 560ms ease;
}

.fg-hero-slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.fg-hero-slide__media,
.fg-hero-slide__overlay {
    position: absolute;
    inset: 0;
}

.fg-hero-slide__media picture,
.fg-hero-slide__media img,
.fg-hero-slide__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fg-hero-slide__video {
    position: absolute;
    inset: 0;
}

.fg-hero-slide__overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 30, 20, var(--fg-hero-overlay, .55)) 0%, rgba(5, 30, 20, calc(var(--fg-hero-overlay, .55) * .75)) 46%, rgba(5, 30, 20, .16) 74%, rgba(5, 30, 20, .05) 100%);
}

.fg-hero-slide__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: clamp(580px, 72vh, 820px);
    align-items: center;
    padding-block: clamp(88px, 11vw, 144px);
}

.fg-hero-slide__inner--center {
    justify-content: center;
    text-align: center;
}

.fg-hero-slide__inner--right {
    justify-content: flex-end;
    text-align: right;
}

.fg-hero-slide__content {
    width: min(100%, 720px);
}

.fg-hero-slide__inner--center .fg-hero-slide__content {
    margin-inline: auto;
}

.fg-hero-slide__inner--right .fg-hero-slide__content {
    margin-left: auto;
}

.fg-hero-slide__eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--fg-lime-300);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fg-hero-slide__title {
    margin: 0;
    max-width: 820px;
    color: var(--fg-white);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 720;
    letter-spacing: -.055em;
    line-height: .94;
}

.fg-hero-slide__description {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.55;
}

.fg-hero-slide__inner--center .fg-hero-slide__description {
    margin-inline: auto;
}

.fg-hero-slide__inner--right .fg-hero-slide__description {
    margin-left: auto;
}

.fg-hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.fg-hero-slide__inner--center .fg-hero-slide__actions { justify-content: center; }
.fg-hero-slide__inner--right .fg-hero-slide__actions { justify-content: flex-end; }

.fg-hero-slide__secondary,
.fg-team-hero__outline {
    color: var(--fg-white);
    border-color: rgba(255,255,255,.68);
    background: rgba(6,35,23,.16);
    backdrop-filter: blur(8px);
}

.fg-hero-slide__secondary:hover,
.fg-team-hero__outline:hover {
    color: var(--fg-green-950);
    border-color: var(--fg-white);
    background: var(--fg-white);
}

.fg-hero-slide__play {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.82);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.fg-hero-slider__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(4,29,19,.26);
    color: var(--fg-white);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.fg-hero-slider__arrow--prev { left: max(18px, calc((100vw - var(--fg-container-wide)) / 2 - 68px)); }
.fg-hero-slider__arrow--next { right: max(18px, calc((100vw - var(--fg-container-wide)) / 2 - 68px)); }

.fg-hero-slider__pagination {
    position: absolute;
    z-index: 5;
    right: max(24px, calc((100vw - var(--fg-container-wide)) / 2));
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,.86);
}

.fg-hero-slider__count {
    font-size: 12px;
    letter-spacing: .08em;
}

.fg-hero-slider__dots {
    display: flex;
    gap: 7px;
}

.fg-hero-slider__dot {
    width: 24px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: width var(--fg-transition), background var(--fg-transition);
}

.fg-hero-slider__dot.is-active {
    width: 44px;
    background: var(--fg-lime-500);
}

/* Public team page */
.fg-team-hero {
    position: relative;
    overflow: hidden;
    color: var(--fg-white);
    background:
        radial-gradient(circle at 78% 25%, rgba(183,239,58,.22), transparent 26%),
        linear-gradient(115deg, #082a1c 0%, #0d4029 56%, #1b6a43 100%);
}

.fg-team-hero::after {
    content: "";
    position: absolute;
    right: -9vw;
    bottom: -24vw;
    width: min(58vw, 780px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02);
}

.fg-team-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
    min-height: 560px;
    padding-block: clamp(84px, 9vw, 132px);
}

.fg-team-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.fg-team-hero__visual {
    position: relative;
    display: grid;
    min-height: 340px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
    backdrop-filter: blur(12px);
}

.fg-team-hero__monogram {
    color: rgba(255,255,255,.08);
    font-size: clamp(140px, 20vw, 300px);
    font-weight: 800;
    letter-spacing: -.1em;
    line-height: .8;
}

.fg-team-hero__note {
    position: absolute;
    right: 28px;
    bottom: 24px;
    color: var(--fg-lime-300);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.05;
    transform: rotate(-4deg);
}

.fg-team-intro,
.fg-team-featured__intro,
.fg-team-values__intro,
.fg-team-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: end;
}

.fg-team-filters {
    display: flex;
    gap: 8px;
    margin: 40px 0 30px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.fg-team-filter {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid var(--fg-border-strong);
    border-radius: var(--fg-radius-pill);
    color: var(--fg-muted) !important;
    background: var(--fg-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.fg-team-filter.is-active,
.fg-team-filter:hover {
    color: var(--fg-white) !important;
    border-color: var(--fg-green-800);
    background: var(--fg-green-800);
}

.fg-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.fg-team-card {
    overflow: hidden;
    border: 1px solid var(--fg-border);
    border-radius: var(--fg-radius-lg);
    background: var(--fg-white);
    transition: transform var(--fg-transition), box-shadow var(--fg-transition);
}

.fg-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fg-shadow-md);
}

.fg-team-card__media {
    position: relative;
    aspect-ratio: 4 / 3.25;
    overflow: hidden;
    background: linear-gradient(135deg, var(--fg-green-100), var(--fg-cream));
}

.fg-team-card__media img,
.fg-team-featured__card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fg-team-card__initials {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--fg-green-800);
    background: linear-gradient(135deg, var(--fg-green-100), var(--fg-cream));
    font-size: 54px;
    font-weight: 800;
}

.fg-team-card__featured {
    position: absolute;
    top: 14px;
    left: 14px;
}

.fg-team-card__body {
    padding: 19px 19px 20px;
}

.fg-team-card__meta {
    margin-bottom: 7px;
    color: var(--fg-green-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fg-team-card h3,
.fg-team-featured__card h3,
.fg-team-values h3 {
    margin: 0;
    color: var(--fg-ink);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.025em;
}

.fg-team-card__role {
    margin: 4px 0 0;
    color: var(--fg-green-700);
    font-size: 14px;
    font-weight: 700;
}

.fg-team-card__bio {
    margin: 13px 0 0;
    color: var(--fg-muted);
    font-size: 14px;
    line-height: 1.55;
}

.fg-team-card__links {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.fg-team-card__links a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--fg-border);
    border-radius: 50%;
    color: var(--fg-green-800);
    text-decoration: none;
}

.fg-team-empty {
    grid-column: 1 / -1;
    border: 1px dashed var(--fg-border-strong);
    border-radius: var(--fg-radius-lg);
    background: var(--fg-white);
}

.fg-team-featured__intro {
    margin-bottom: 38px;
}

.fg-team-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fg-team-featured__card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--fg-radius-lg);
    background: rgba(255,255,255,.06);
}

.fg-team-featured__card > img,
.fg-team-featured__card > .fg-team-card__initials {
    aspect-ratio: 4 / 2.7;
}

.fg-team-featured__card > div:last-child {
    padding: 19px;
}

.fg-team-featured__card h3 { color: var(--fg-white); }
.fg-team-featured__card p { margin: 4px 0 14px; color: var(--fg-lime-300); font-weight: 700; }
.fg-team-featured__card blockquote { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }

.fg-team-values__intro {
    margin-bottom: 36px;
}

.fg-team-values .fg-card__body p {
    margin: 12px 0 0;
    color: var(--fg-muted);
}

.fg-team-value__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--fg-green-900);
    background: var(--fg-lime-300);
    font-size: 20px;
}

.fg-team-cta {
    padding-block: clamp(52px, 7vw, 84px);
    color: var(--fg-white);
    background: linear-gradient(115deg, var(--fg-green-950), var(--fg-green-800));
}

.fg-team-cta__inner {
    align-items: center;
}

.fg-team-cta__inner p {
    max-width: 650px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 1199.98px) {
    .fg-team-grid,
    .fg-team-featured__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .fg-grid--4,
    .fg-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fg-team-hero__inner,
    .fg-team-intro,
    .fg-team-featured__intro,
    .fg-team-values__intro,
    .fg-team-cta__inner {
        grid-template-columns: 1fr;
    }

    .fg-team-hero__visual {
        min-height: 220px;
    }

    .fg-team-grid,
    .fg-team-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fg-hero-slider__arrow {
        top: auto;
        bottom: 26px;
        transform: none;
    }

    .fg-hero-slider__arrow--prev { left: 22px; }
    .fg-hero-slider__arrow--next { right: 22px; }

    .fg-hero-slider__pagination {
        right: 50%;
        bottom: 39px;
        transform: translateX(50%);
    }
}

@media (max-width: 767.98px) {
    .fg-container,
    .fg-container--wide {
        width: min(calc(100% - 24px), var(--fg-container));
    }

    .fg-grid--4,
    .fg-grid--3,
    .fg-grid--2,
    .fg-team-grid,
    .fg-team-featured__grid {
        grid-template-columns: 1fr;
    }

    .fg-heading-xl {
        line-height: 1.02;
    }

    .fg-hero-slider,
    .fg-hero-slide__inner {
        min-height: 640px;
    }

    .fg-hero-slide__inner {
        align-items: flex-end;
        padding-top: 120px;
        padding-bottom: 118px;
    }

    .fg-hero-slide__inner--center,
    .fg-hero-slide__inner--right {
        justify-content: flex-start;
        text-align: left;
    }

    .fg-hero-slide__title {
        font-size: clamp(43px, 14vw, 62px);
    }

    .fg-hero-slide__inner--center .fg-hero-slide__description,
    .fg-hero-slide__inner--right .fg-hero-slide__description,
    .fg-hero-slide__inner--right .fg-hero-slide__content {
        margin-left: 0;
    }

    .fg-hero-slide__inner--center .fg-hero-slide__actions,
    .fg-hero-slide__inner--right .fg-hero-slide__actions {
        justify-content: flex-start;
    }

    .fg-hero-slide__actions .fg-btn {
        width: 100%;
    }

    .fg-hero-slider__count {
        display: none;
    }

    .fg-team-hero__inner {
        min-height: auto;
        padding-block: 72px;
    }

    .fg-team-hero__visual {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fg-v2 *,
    .fg-v2 *::before,
    .fg-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}