html {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background: #f6eee5;
    overflow-x: hidden;
    font-optical-sizing: auto;
}

.fixed-art {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 0;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(var(--art-y, 0));
    will-change: transform;
}

@media (min-width: 1024px) {
    .fixed-art {
        display: flex;
    }
}

.hero-media {
    transform: translateX(-50%) scale(var(--hero-scale, 1));
    transform-origin: center bottom;
    will-change: transform;
}

.content-safe {
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .content-safe {
        padding-bottom: 0;
        padding-right: min(32vw, 24rem);
    }
}

.section-anchor {
    scroll-margin-top: 5rem;
}

.nav-link-active {
    background: #f6eee5;
    color: #04494f;
}

.service-card {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 0.85rem;
    border-radius: 1.75rem;
    background: #fafbfc;
    padding: 1.15rem 1.25rem;
}

.service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    border-radius: 9999px;
    padding: 0.5rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    color: #2e2e2e;
    letter-spacing: 0.08em;
}

.service-title {
    max-width: none;
    font-size: 0.98rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: #04494f;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.72rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    color: #2e2e2e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tag-chip::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.6rem;
    border-radius: 9999px;
    background: currentColor;
    flex: none;
}

.tag-salmon { background: #f8b6a6; }
.tag-mint { background: #8fd4c1; }
.tag-gold { background: #e6cf67; }
.tag-sky { background: #8eb9f2; }
.tag-lime { background: #bfd55a; }
.tag-lilac { background: #dfc0ed; }

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #fafbfc;
}

.secondary-button:hover {
    background: #e57623;
    color: #fafbfc !important;
}

.secondary-button::after {
    content: '+';
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

.contact-link {
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    border-bottom-color: #e57623;
}

.info-card {
    border-radius: 1.75rem;
    background: #fafbfc;
    padding: 1.5rem;
}

.value-item {
    border-top: 1px solid #c9d6d7;
    padding-top: 1rem;
}

.service-block {
    border-radius: 1.75rem;
    background: #fafbfc;
    padding: 1.75rem;
}

.service-nav-button {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 1.5rem;
    background: #fafbfc;
    padding: 1.25rem;
    text-align: left;
    transition: transform 180ms ease, background-color 180ms ease;
}

.service-nav-button:hover {
    transform: translateY(-1px);
}

.service-nav-button.is-active {
    background: #04494f;
}

.service-nav-button.is-active .service-title {
    color: #fafbfc;
}

.service-nav-button.is-active .service-index {
    color: #04494f;
    background: #f6eee5 !important;
}

.service-panel[hidden] {
    display: none;
}

.timeline-card,
.filter-shell,
.project-card,
.project-empty {
    border-radius: 1.75rem;
    background: #fafbfc;
}

.timeline-card {
    padding: 1.75rem;
}

.city-block {
    border-top: 1px solid #c9d6d7;
    padding-top: 1rem;
}

.filter-shell {
    padding: 1.5rem;
}

.filter-mode-button {
    border-radius: 9999px;
    padding: 0.9rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #04494f;
    background: #edf3f3;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-mode-button:hover {
    transform: translateY(-1px);
}

.filter-mode-button.is-active {
    background: #04494f;
    color: #fafbfc;
}

.filter-chip {
    border: 0;
    transition: transform 180ms ease;
    cursor: pointer;
}

.filter-chip:hover {
    transform: translateY(-1px);
}

.filter-chip.is-active {
    box-shadow: none;
}

.project-card {
    padding: 1.5rem;
}

.project-meta {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.5rem 0.85rem;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    color: #04494f;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #edf3f3;
}

.project-empty {
    padding: 2rem;
    text-align: center;
    color: #2e2e2e;
}

.filter-group[hidden] {
    display: none;
}
