/* FiberSwift v2 polish: type hierarchy, section rhythm and long-form page components.
   Loaded after modern.css; uses the same brand tokens (green + navy). */
:root {
    --fs-bg-alt: #f5f7f6;
    --fs-radius-lg: 24px;
}
body { color: var(--fs-ink); }
h1, h2, h3, h4 { letter-spacing: -.015em; }
.fs-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 22px; color: var(--fs-navy); }
.fs-lead-p { font-size: 17.5px; line-height: 1.85; color: var(--fs-ink); margin-bottom: 18px; }
.fs-alt { background: var(--fs-bg-alt); }
.fs-section { padding: 96px 0; }
.fs-hero { padding: 160px 0 96px; }
.fs-hero .fs-kicker { color: var(--fs-green); }
.fs-hero .fs-subtitle { color: var(--fs-green); font-weight: 700; font-size: 20px; margin: 0 0 4px; }
.fs-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
}
.fs-hero > .container { position: relative; z-index: 1; }

.fs-ghost-btn {
    display: inline-flex; align-items: center; padding: 13px 26px; margin-left: 10px; border-radius: 999px; font-weight: 700;
    color: #fff; border: 1.5px solid rgba(255,255,255,.35); transition: all .2s;
}
.fs-ghost-btn:hover { border-color: var(--fs-green); color: var(--fs-green); }
@media (max-width: 575px) { .fs-ghost-btn { margin: 12px 0 0; } }

/* stat band */
.fs-statbar { background: var(--fs-navy-2); padding: 34px 0 10px; border-top: 1px solid rgba(255,255,255,.08); }
.fs-bigstat { text-align: left; padding: 6px 4px 24px; }
.fs-bigstat b { display: block; font-size: clamp(34px, 4vw, 50px); font-weight: 800; color: #fff; line-height: 1.05; }
.fs-bigstat b.sm { font-size: 18px; line-height: 1.35; font-weight: 700; }
.fs-bigstat span { display: block; color: var(--fs-green); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }
.fs-bigstat b + span { color: rgba(255,255,255,.65); }
.fs-bigstat span:first-child { margin: 0 0 6px; }

/* cards */
.fs-num { display: block; font-size: 13px; letter-spacing: .12em; font-weight: 800; color: var(--fs-green-dark); margin-bottom: 14px; text-transform: uppercase; }
.fs-focus { padding: 30px 28px; border-radius: var(--fs-radius); transition: transform .3s, box-shadow .3s, border-color .3s; }
.fs-focus:hover { transform: translateY(-4px); box-shadow: var(--fs-shadow); border-color: var(--fs-green); }
.fs-sidecard { padding: 30px; border-radius: var(--fs-radius-lg); background: var(--fs-navy); color: #fff; }
.fs-sidecard h4 { color: #fff; margin-bottom: 18px; font-size: 18px; }
.fs-ticks { list-style: none; margin: 0; padding: 0; }
.fs-ticks li { padding: 0 0 16px 28px; position: relative; color: rgba(255,255,255,.7); font-size: 14.5px; line-height: 1.55; }
.fs-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--fs-green); font-weight: 800; }
.fs-ticks b { display: block; color: #fff; font-size: 15.5px; }
.fs-toolgroup { padding: 28px; border-radius: var(--fs-radius); background: #fff; border: 1px solid var(--fs-line); height: 100%; }
.fs-toolgroup h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--fs-green-dark); margin-bottom: 16px; }
.fs-toolgroup .fs-chip { font-size: 13.5px; padding: 7px 13px; margin: 0 6px 8px 0; }
.fs-chip { transition: background .2s, color .2s; }
.fs-chip:hover { background: var(--fs-green); color: #fff; }
.fs-quote { font-size: clamp(20px, 2.4vw, 28px); padding: 52px; border-radius: var(--fs-radius-lg); }

/* lists */
.fs-bullets { margin: 14px 0 0; padding: 0; list-style: none; }
.fs-bullets li { position: relative; padding: 0 0 9px 20px; color: var(--fs-muted); font-size: 14.5px; line-height: 1.5; }
.fs-bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--fs-green); }
.fs-bullets.big li { font-size: 17px; color: var(--fs-ink); padding-bottom: 14px; }
.fs-checks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; }
.fs-checks.one { columns: 1; }
.fs-checks li { break-inside: avoid; position: relative; padding: 0 0 16px 32px; font-size: 16px; color: var(--fs-navy); font-weight: 600; }
.fs-checks li::before { content: "\2713"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; background: var(--fs-green-soft); color: var(--fs-green-dark); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
@media (max-width: 767px) { .fs-checks { columns: 1; } }

/* numbered process */
.fs-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.fs-steps::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: var(--fs-line); }
.fs-steps li { position: relative; display: flex; gap: 24px; padding: 0 0 34px; }
.fs-steps .n { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--fs-navy); color: var(--fs-green); font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--fs-line); }
.fs-steps h4 { margin: 4px 0 6px; font-size: 20px; color: var(--fs-navy); }
.fs-steps p { margin: 0; color: var(--fs-muted); font-size: 16px; line-height: 1.7; }

/* FAQ */
.fs-faq { background: #fff; border: 1px solid var(--fs-line); border-radius: 16px; margin-bottom: 14px; padding: 0 24px; }
.fs-faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--fs-navy); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after { content: "+"; color: var(--fs-green-dark); font-size: 24px; line-height: 1; }
.fs-faq[open] summary::after { content: "\2212"; }
.fs-faq p { color: var(--fs-muted); padding-bottom: 20px; margin: 0; line-height: 1.75; }

/* in-page nav */
.fs-subnav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--fs-line); overflow-x: auto; white-space: nowrap; }
.fs-subnav .container { display: flex; gap: 6px; }
.fs-subnav a { padding: 16px 14px; font-weight: 700; font-size: 14px; color: var(--fs-muted); border-bottom: 2px solid transparent; }
.fs-subnav a:hover { color: var(--fs-green-dark); border-color: var(--fs-green); }

/* service + project imagery */
.fs-hero-img, .fs-hero-shot { aspect-ratio: 16 / 11; border-radius: var(--fs-radius-lg); background: #1b1933 center/cover no-repeat; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px -25px rgba(0,0,0,.7); }
.fs-hero-shot { aspect-ratio: 16 / 10; }
.fs-svc-card, .fs-case { display: block; height: 100%; border-radius: var(--fs-radius); overflow: hidden; background: #fff; border: 1px solid var(--fs-line); color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
.fs-svc-card:hover, .fs-case:hover { transform: translateY(-6px); box-shadow: var(--fs-shadow); border-color: var(--fs-green); color: inherit; }
.fs-svc-card .img { aspect-ratio: 16 / 9; background: #ddd center/cover no-repeat; }
.fs-case .cover { aspect-ratio: 16 / 10; background: #1b1933 center/cover no-repeat; }
.fs-svc-card .body, .fs-case .body { padding: 24px 26px 28px; }
.fs-svc-card h3, .fs-case h3 { font-size: 21px; color: var(--fs-navy); margin: 0 0 8px; }
.fs-svc-card p, .fs-case p { color: var(--fs-muted); font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.fs-tags { margin-bottom: 12px; }
.fs-tags span { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; margin-right: 6px; background: var(--fs-green-soft); color: var(--fs-green-dark); }
/* branded cover used when a project has no screenshot yet: type only, no invented logos */
.fs-cover-type { display: grid; place-items: center; padding: 20px; text-align: center; background: radial-gradient(500px 260px at 80% 0%, rgba(100,192,79,.35), transparent 60%), linear-gradient(150deg, var(--fs-navy), var(--fs-navy-2)); }
.fs-cover-type span { color: #fff; font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.02em; }
.fs-shot { width: 100%; border-radius: 16px; border: 1px solid var(--fs-line); box-shadow: var(--fs-shadow); }

.fs-feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--fs-radius-lg); overflow: hidden; background: var(--fs-navy); color: #fff; box-shadow: var(--fs-shadow); transition: transform .3s; }
.fs-feature:hover { transform: translateY(-4px); color: #fff; }
.fs-feature-img { min-height: 300px; background: center/cover no-repeat; }
.fs-feature-body { padding: 46px; display: flex; flex-direction: column; justify-content: center; }
.fs-feature-body h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 12px; }
.fs-feature-body p { color: rgba(255,255,255,.75); font-size: 17px; }
.fs-feature-body .fs-more { color: var(--fs-green); }
.fs-badge-inline { align-self: flex-start; background: var(--fs-green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 6px 13px; border-radius: 999px; text-transform: uppercase; }
.fs-filter-item[style*="display: none"] { display: none !important; }
@media (max-width: 767px) {
    .fs-feature { grid-template-columns: 1fr; }
    .fs-feature-body { padding: 28px; }
    .fs-quote { padding: 32px; }
    .fs-hero { padding: 120px 0 60px; }
    .fs-section { padding: 64px 0; }
}

body.dark-1 .fs-alt { background: #12102a; }
body.dark-1 .fs-svc-card, body.dark-1 .fs-case, body.dark-1 .fs-toolgroup, body.dark-1 .fs-faq { background: #1b1933; border-color: rgba(255,255,255,.08); }
body.dark-1 .fs-svc-card h3, body.dark-1 .fs-case h3, body.dark-1 .fs-h2, body.dark-1 .fs-steps h4, body.dark-1 .fs-faq summary, body.dark-1 .fs-checks li { color: #fff; }
body.dark-1 .fs-lead-p { color: rgba(255,255,255,.8); }
body.dark-1 .fs-subnav { background: rgba(21,19,42,.95); }
body.dark-1 .fs-steps .n { border-color: #12102a; }
