/* Public company site. Scoped so the CRM stylesheet stays untouched. */

.sf-body {
    margin: 0;
    background: #f6f4ef;
    color: #1c1b19;
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
}

.sf-body *,
.sf-body *::before,
.sf-body *::after { box-sizing: border-box; }

.sf-body a { color: inherit; }

.sf-body a:focus-visible,
.sf-nav-toggle:focus-visible {
    outline: 2px solid #245c4a;
    outline-offset: 3px;
}

.sf-body ::selection {
    background: #245c4a;
    color: #f7f6f3;
}

.sf-frame {
    position: relative;
    overflow: clip;
    background: #f6f4ef;
}

.sf-wrap {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.sf-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0 0.5rem;
    position: relative;
    z-index: 5;
}

.sf-mark {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1c1b19;
}

.sf-mark strong {
    font-family: "Syne", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.sf-mark span {
    color: #6b6760;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
}

.sf-nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    font-size: 0.92rem;
}

.sf-nav-links a {
    text-decoration: none;
    color: #1c1b19;
}

.sf-nav-links a:hover { color: #245c4a; }

.sf-nav-links .sf-enter {
    border: 1px solid #1c1b19;
    color: #1c1b19;
    background: transparent;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-nav-links .sf-enter:hover {
    background: #1c1b19;
    color: #f7f6f3;
}

.sf-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(28, 27, 25, 0.22);
    background: #fffcf8;
    color: #1c1b19;
}

.sf-hero {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 2.5rem 0 2rem;
}

.sf-hero-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 2.5rem;
    align-items: end;
}

.sf-kicker {
    margin: 0 0 0.75rem;
    color: #245c4a;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
}

.sf-hero h1 {
    margin: 0;
    max-width: 18ch;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 2.8vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1c1b19;
}

.sf-hero h1 em {
    font-style: normal;
    color: #1c1b19;
}

.sf-lead {
    max-width: 38rem;
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #3f3c38;
}

.sf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.7rem 1.05rem;
    border-radius: 999px;
    font-weight: 500;
}

.sf-body a.sf-btn-solid {
    background: #1c1b19;
    color: #f7f6f3;
}

.sf-body a.sf-btn-solid:hover {
    background: #245c4a;
    color: #f7f6f3;
}

.sf-btn-ghost {
    border: 1px solid rgba(28, 27, 25, 0.28);
    color: #1c1b19;
}

.sf-btn-ghost:hover {
    border-color: #245c4a;
    color: #245c4a;
}

.sf-index {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(28, 27, 25, 0.12);
}

.sf-index a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(28, 27, 25, 0.12);
    text-decoration: none;
    color: #1c1b19;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.sf-index a span {
    color: #245c4a;
    font-variant-numeric: tabular-nums;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    align-self: center;
}

.sf-index a:hover { color: #245c4a; }

.sf-section {
    padding: 3rem 0;
}

.sf-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.sf-section h2 {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #1c1b19;
}

.sf-section-head p {
    margin: 0;
    max-width: 26rem;
    color: #5c5852;
    font-size: 0.95rem;
    line-height: 1.55;
}

.sf-work {
    display: flex;
    flex-direction: column;
}

.sf-piece {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(28, 27, 25, 0.12);
    color: inherit;
    cursor: default;
}

.sf-piece:last-child { border-bottom: 1px solid rgba(28, 27, 25, 0.12); }

.sf-piece b {
    font-family: "Syne", sans-serif;
    color: #245c4a;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.sf-piece h3 {
    margin: 0 0 0.3rem;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.015em;
    color: #1c1b19;
}

.sf-piece p {
    margin: 0;
    max-width: 40rem;
    color: #3f3c38;
    line-height: 1.6;
}

.sf-piece small {
    color: #245c4a;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.68rem;
    padding-top: 0.35rem;
}

.sf-rail::-webkit-scrollbar { height: 8px; }
.sf-rail::-webkit-scrollbar-thumb {
    background: rgba(28, 27, 25, 0.22);
    border-radius: 99px;
}

.sf-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    scroll-snap-type: x mandatory;
}

.sf-object {
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    background: #fffcf8;
    border: 1px solid #e4e0d8;
    border-radius: 16px;
    overflow: hidden;
    min-height: 100%;
}

.sf-object img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #eceae4;
}

.sf-object div { padding: 0.9rem 1rem 1.1rem; }

.sf-object h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1c1b19;
}

.sf-object:hover { border-color: rgba(36, 92, 74, 0.45); }

.sf-contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    padding: 1.75rem;
    border-radius: 16px;
    background: #fffcf8;
    border: 1px solid #e4e0d8;
}

.sf-contact h2 {
    margin: 0 0 0.6rem;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #1c1b19;
}

.sf-contact p {
    margin: 0;
    color: #3f3c38;
    max-width: 36rem;
    line-height: 1.6;
}

.sf-contact a.sf-mail {
    color: #245c4a;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    font-family: "Syne", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.sf-contact-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    color: #5c5852;
    font-size: 0.92rem;
}

.sf-contact-side a {
    color: #245c4a;
    text-underline-offset: 0.15em;
}

.sf-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0 2rem;
    color: #6b6760;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

@media (max-width: 860px) {
    .sf-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .sf-nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.4rem);
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        background: #fffcf8;
        border: 1px solid #e4e0d8;
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(28, 27, 25, 0.08);
    }
    .sf-nav-links.is-open { display: flex; }
    .sf-nav-links a { color: #1c1b19; }
    .sf-hero-lower,
    .sf-contact,
    .sf-piece { grid-template-columns: 1fr; }
    .sf-piece small { padding-top: 0; }
    .sf-section-head { flex-direction: column; align-items: flex-start; }
    .sf-hero { padding-top: 1.75rem; }
    .sf-hero h1 { font-size: 2rem; }
}

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