:root {
    --site-bg: #f3f5f2;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-muted: #e8ece7;
    --ink: #171c19;
    --ink-soft: #4f5a54;
    --ink-muted: #6f7b74;
    --line: rgba(23, 28, 25, 0.1);
    --line-strong: rgba(23, 28, 25, 0.16);
    --accent: #df7a22;
    --accent-deep: #b95c11;
    --accent-soft: rgba(223, 122, 34, 0.14);
    --shadow-soft: 0 18px 45px rgba(23, 28, 25, 0.08);
    --shadow-card: 0 10px 30px rgba(23, 28, 25, 0.06);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

body.site-shell {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(223, 122, 34, 0.08), transparent 26rem),
        radial-gradient(circle at top right, rgba(52, 63, 57, 0.08), transparent 24rem),
        linear-gradient(180deg, #fbfcfa 0%, var(--site-bg) 100%);
    min-height: 100vh;
}

.site-shell a {
    color: inherit;
}

.site-shell .container {
    max-width: 1180px;
}

.site-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 1rem 0 0;
}

.site-nav {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-card);
    padding: 0.75rem 1.1rem;
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    line-height: 1;
}

.site-brand-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.site-brand-meta {
    color: var(--ink-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav .navbar-nav .nav-link {
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .nav-link.active-link {
    color: var(--ink);
    background: var(--surface-muted);
}

.site-nav .navbar-toggler {
    border: 0;
    box-shadow: none;
}

.site-user {
    color: var(--ink-muted);
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff !important;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta:active,
.nav-cta:visited {
    background: #252c28;
    color: #fff !important;
}

.site-main {
    padding: 1.75rem 0 4rem;
}

.site-flash {
    margin-bottom: 1.25rem;
}

.site-flash .alert {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.site-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-shell {
    padding: 1.25rem 0 0;
}

.hero-panel {
    overflow: hidden;
    padding: 1.5rem;
}

.hero-grid {
    align-items: stretch;
    row-gap: 1.5rem;
}

.hero-copy,
.hero-visual {
    height: 100%;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.8rem;
    height: 1px;
    background: var(--accent);
}

.hero-title,
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.75rem);
    line-height: 0.95;
    margin: 1rem 0 1.1rem;
    max-width: 10ch;
}

.hero-lead {
    color: var(--ink-soft);
    font-size: 1.06rem;
    line-height: 1.8;
    max-width: 42rem;
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-industrial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.88rem 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.btn-industrial-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 26px rgba(223, 122, 34, 0.2);
}

.btn-industrial-primary:hover {
    background: var(--accent-deep);
    color: #fff;
}

.btn-industrial-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.btn-industrial-secondary:hover {
    background: #fff;
    color: var(--ink);
}

.hero-note {
    margin-top: 1.25rem;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-media {
    position: relative;
    min-height: 100%;
    background: linear-gradient(135deg, rgba(223, 122, 34, 0.12), rgba(23, 28, 25, 0.05));
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-lg) - 6px);
    padding: 1rem;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 12px);
    box-shadow: var(--shadow-card);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.metric-card {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1rem 0.9rem;
    box-shadow: var(--shadow-card);
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.metric-label {
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.5;
}

.section-block {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.section-lead {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 50rem;
}

.capability-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.capability-card,
.feature-card {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.capability-index {
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.capability-card h3,
.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    margin: 0.85rem 0 0.6rem;
}

.capability-card p,
.feature-card p,
.content-muted {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 0;
}

.showcase-grid,
.ownership-grid,
.cta-grid {
    align-items: center;
    row-gap: 1.5rem;
}

.showcase-media,
.video-shell,
.ownership-card,
.cta-card {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.showcase-media {
    padding: 0.9rem;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 18px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.4rem;
    padding: 0;
    list-style: none;
}

.feature-list li {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
}

.video-shell {
    padding: 1rem;
}

.video-shell iframe {
    border-radius: 18px;
}

.ownership-card,
.cta-card {
    padding: 1.35rem;
}

.ownership-card h3,
.cta-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.8rem;
}

.ownership-points {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.15rem;
}

.ownership-point {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.ownership-point:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ownership-point strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.cta-band {
    background: linear-gradient(135deg, #1a1f1c, #28302b);
    color: #f3f5f2;
    border: 0;
}

.cta-band .section-title,
.cta-band .content-muted,
.cta-band .cta-card,
.cta-band .cta-card h3 {
    color: inherit;
}

.cta-band .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.cta-band .eyebrow::before {
    background: rgba(255, 255, 255, 0.4);
}

.cta-band .cta-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.btn-industrial-light {
    background: #fff;
    color: var(--ink) !important;
}

.btn-industrial-light:hover,
.btn-industrial-light:focus,
.btn-industrial-light:active,
.btn-industrial-light:visited {
    background: #f0f1ee;
    color: var(--ink) !important;
}

.cta-band .btn-industrial-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.cta-band .btn-industrial-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-black {
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 600;
    padding: 0.7rem 1rem;
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active,
.btn-black:visited {
    background: #2b342f;
    color: #fff !important;
}

.listing-card {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.listing-card-header,
.listing-card-footer {
    background: rgba(232, 236, 231, 0.7);
    border: 0;
}

.listing-card-header {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.listing-card-body {
    display: flex;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.25rem;
}

.listing-card-media {
    flex: 0 0 220px;
}

.listing-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

.listing-card-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.listing-card-summary {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 1rem;
    max-height: 13.5rem;
    overflow: auto;
    padding-right: 0.35rem;
}

.listing-card-summary p {
    margin-bottom: 0.9rem;
}

.listing-card-actions {
    margin-top: auto;
    padding-top: 0.35rem;
}

.listing-card-footer {
    border-top: 1px solid var(--line);
    color: var(--ink-muted) !important;
    font-size: 0.9rem;
    padding: 0.9rem 1.25rem;
}

.site-footer {
    padding: 0 0 2.5rem;
}

.site-footer-inner {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-top: 1rem;
    padding: 1.25rem 1.4rem;
}

.site-footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.site-footer-copy,
.site-footer-meta {
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent-deep);
}

@media (max-width: 991.98px) {
    .site-nav {
        border-radius: 26px;
    }

    .hero-copy,
    .hero-panel,
    .section-block {
        padding: 1.25rem;
    }

    .hero-cards,
    .capability-grid,
    .feature-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-main {
        padding-top: 1rem;
    }

    .hero-title {
        max-width: none;
    }

    .hero-media img {
        min-height: 260px;
    }

    .showcase-media img {
        min-height: 220px;
    }

    .listing-card-body {
        flex-direction: column;
    }

    .listing-card-media {
        flex-basis: auto;
    }

    .listing-card-media img {
        height: auto;
        max-height: 280px;
    }

    .listing-card-summary {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .site-footer-inner {
        text-align: center;
        gap: 0.75rem;
    }
}
