:root {
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --surface: #ffffff;
    --surface-strong: #eef2f8;
    --text: #111827;
    --text-soft: #667085;
    --border: #dfe5ee;
    --blue: #2b32c9;
    --blue-dark: #1820a7;
    --orange: #ef6537;
    --ink: #07111f;
    --shadow-sm: 0 10px 30px rgba(25, 38, 68, .08);
    --shadow-lg: 0 28px 80px rgba(16, 31, 63, .14);
    --radius: 20px;
    --radius-lg: 32px;
    --container: min(1180px, calc(100vw - 40px));
    --header-height: 78px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html[data-theme="dark"] {
    --bg: #080b11;
    --bg-soft: #0f141d;
    --surface: #111722;
    --surface-strong: #171f2d;
    --text: #f7f8fb;
    --text-soft: #a7b0bf;
    --border: #283142;
    --ink: #ffffff;
    --shadow-sm: 0 14px 34px rgba(0, 0, 0, .24);
    --shadow-lg: 0 32px 90px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    transition: background .25s ease, color .25s ease;
}
body.nav-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(43, 50, 201, .18); }

.container { width: var(--container); margin-inline: auto; }
.narrow { width: min(760px, 100%); }
.section { padding: 104px 0; }
.section-muted { background: var(--bg-soft); }
.section-dark { background: #090d15; color: #fff; }
.section-dark .eyebrow { color: #ff8a5f; }
.section-dark p { color: #a9b2c3; }
.section-dark .text-link { color: #fff; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 9999;
    background: var(--text);
    color: var(--bg);
    padding: 10px 16px;
    border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: .25s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 8px 28px rgba(18, 29, 55, .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 112px; height: 52px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-soft);
    letter-spacing: .02em;
    padding: 28px 0;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 18px;
    height: 2px;
    background: var(--orange);
    transition: right .25s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
    transition: .2s ease;
}
.icon-button:hover { transform: translateY(-2px); border-color: var(--blue); }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: inline; }
.menu-toggle { display: none; position: relative; }
.menu-toggle span { position: absolute; width: 18px; height: 2px; background: currentColor; transition: .2s; }
.menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle span:nth-child(3) { transform: translateY(6px); }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg); }

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 12px 24px rgba(43, 50, 201, .18); }
.button-primary:hover { box-shadow: 0 16px 32px rgba(43, 50, 201, .26); }
.button-outline { background: transparent; color: var(--text); border-color: var(--border); }
.button-outline:hover { border-color: var(--orange); color: var(--orange); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 12px; }

.eyebrow {
    display: inline-block;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 18px;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(50px, 6vw, 86px); }
h2 { font-size: clamp(38px, 4.5vw, 62px); }
h3 { font-size: 22px; }
h1 span, h2 span { color: var(--orange); }
p { color: var(--text-soft); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); }
.text-link span { color: var(--orange); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--blue) 10%, transparent);
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}



.hero { padding: 44px 0 0; overflow: hidden; }
.hero-grid {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 54px;
}
.hero-copy { padding: 36px 0 82px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy p { max-width: 600px; font-size: 18px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 17, 31, .55), transparent 48%);
    pointer-events: none;
}
.floating-card {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: rgba(6, 14, 27, .72);
    backdrop-filter: blur(12px);
    color: #fff;
}
.floating-card span, .floating-card strong { display: block; }
.floating-card span { color: #aeb9ca; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.floating-card strong { font-size: 17px; }
.stats-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: -38px;
    position: relative;
    z-index: 5;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.stats-strip div { padding: 22px 25px; border-right: 1px solid var(--border); }
.stats-strip div:last-child { border-right: 0; }
.stats-strip strong { display: block; font-family: Georgia, serif; font-size: 30px; color: var(--text); line-height: 1; }
.stats-strip span { color: var(--text-soft); font-size: 11px; }

.split-section, .story-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 92px;
    align-items: start;
}
.section-copy p { font-size: 18px; max-width: 500px; margin-bottom: 28px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.values-grid article {
    min-height: 170px;
    padding: 28px;
    border: 1px solid var(--border);
    margin: -1px 0 0 -1px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.values-grid article span { color: var(--orange); font-weight: 900; font-size: 12px; }
.values-grid h3 { margin: 28px 0 8px; font-size: 20px; }
.values-grid p { margin: 0; font-size: 14px; }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}
.section-heading h2 { margin-bottom: 0; }

.business-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.image-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius);
    background: #101827;
    box-shadow: var(--shadow-sm);
}
.image-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 10, 18, .96), rgba(5, 10, 18, .05) 64%); }
.image-card > div { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; color: #fff; }
.image-card h3 { margin: 0 0 8px; font-size: 18px; }
.image-card p { color: #b8c1cf; font-size: 13px; margin: 0; }
.image-card div > span { position: absolute; right: 0; bottom: 0; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; color: var(--orange); }
.image-card:hover img { transform: scale(1.05); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-card {
    position: relative;
    min-height: 250px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface-strong);
    cursor: zoom-in;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.gallery-card > span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(5, 10, 18, .68);
    backdrop-filter: blur(9px);
    text-align: left;
    transform: translateY(8px);
    opacity: .94;
    transition: .25s var(--ease);
}
.gallery-card strong { font-size: 14px; }
.gallery-card small { color: #b9c4d3; }
.gallery-card:hover img { transform: scale(1.04); filter: saturate(1.08); }
.gallery-card:hover > span { transform: translateY(0); opacity: 1; }
.gallery-preview .gallery-card:nth-child(1), .gallery-preview .gallery-card:nth-child(5) { grid-column: span 2; }

.career-banner {
    min-height: 470px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}
.career-banner p { max-width: 500px; font-size: 18px; }
.career-banner img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .25s var(--ease), box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card > div { padding: 24px; }
.post-card h2, .post-card h3 { font-family: inherit; font-size: 21px; font-weight: 800; line-height: 1.25; margin: 16px 0 12px; letter-spacing: -.025em; }
.post-card p { font-size: 14px; }
.post-card small { color: var(--text-soft); }
.post-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--text-soft); }
.post-meta a { color: var(--blue); font-weight: 800; }

.cta-section { padding-top: 0; }
.cta-card {
    padding: 46px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 80% 10%, rgba(239, 101, 55, .25), transparent 30%), linear-gradient(135deg, #0f1b32, #080c14);
    color: #fff;
}
.cta-card h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); }
.cta-card .eyebrow { color: #ff9a76; }

.page-hero { padding: 74px 0 52px; }
.page-hero.compact { padding: 86px 0 62px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: center; }
.page-hero h1 { margin-bottom: 24px; }
.page-hero p { max-width: 680px; font-size: 19px; }
.page-hero-grid > img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.prose p { font-size: 19px; margin-top: 0; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-panel { min-height: 280px; padding: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature-panel span { color: var(--orange); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.feature-panel h3 { font-family: Georgia, serif; font-weight: 500; font-size: 29px; margin-top: 80px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--border); }
.timeline article { position: relative; padding-top: 48px; }
.timeline article::before { content: ""; position: absolute; top: 8px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px color-mix(in srgb, var(--orange) 15%, transparent); }
.timeline strong { color: var(--blue); font-size: 13px; }
.timeline h3 { margin: 14px 0 10px; }
.timeline p { font-size: 14px; }
.values-wide { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }

.business-list { display: grid; gap: 34px; }
.business-row {
    display: grid;
    grid-template-columns: 70px .85fr 1.15fr;
    align-items: center;
    gap: 34px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.business-row:nth-child(even) img { order: 3; }
.business-row:nth-child(even) > div:last-child { order: 2; }
.business-number { align-self: start; color: var(--orange); font-weight: 900; }
.business-row img { width: 100%; min-height: 290px; object-fit: cover; border-radius: var(--radius); }
.business-row h2 { font-size: 44px; margin-bottom: 18px; }
.business-row p { font-size: 16px; max-width: 520px; }

.asset-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.asset-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.asset-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.asset-card > div { padding: 30px; }
.asset-card h2 { font-family: inherit; font-size: 29px; font-weight: 800; margin: 16px 0 12px; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-button {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    padding: 9px 15px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.filter-button.active, .filter-button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.masonry-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.masonry-grid .gallery-card:nth-child(4n+1) { grid-row: span 2; min-height: 516px; }
.gallery-card[hidden] { display: none !important; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px 90px;
    background: rgba(2, 5, 10, .94);
}
.lightbox[hidden] { display: none; }
.lightbox figure { width: min(1120px, 100%); margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 16px; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 20px; color: #fff; padding: 14px 4px 0; }
.lightbox figcaption span { color: #9fabbd; }
.lightbox-close, .lightbox-nav {
    position: absolute;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
}
.lightbox-close { top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 70px; border-radius: 14px; font-size: 40px; }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }

.job-filters {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 14px;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.job-list { display: grid; gap: 14px; }
.job-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.job-card[hidden] { display: none; }
.job-card h2 { font-family: inherit; font-size: 25px; font-weight: 800; margin: 13px 0 8px; }
.job-card p { margin: 0; }
.job-meta { display: grid; justify-items: end; gap: 7px; color: var(--text-soft); font-size: 13px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefits-grid article { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.benefits-grid article > span { color: var(--orange); font-weight: 900; font-size: 12px; }

.job-detail-hero .tag { margin-bottom: 18px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--text-soft); font-weight: 700; }
.job-detail-meta { display: flex; gap: 18px; color: var(--text-soft); }
.job-detail-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 72px; align-items: start; }
.job-content h2 { font-family: inherit; font-size: 28px; font-weight: 800; margin-top: 46px; }
.job-content h2:first-child { margin-top: 0; }
.job-content p, .job-content li { color: var(--text-soft); font-size: 17px; }
.job-content li { margin-bottom: 10px; }
.application-panel, .contact-form-card {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.application-panel h2, .contact-form-card h2 { font-family: inherit; font-size: 28px; font-weight: 800; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label > span { font-size: 12px; font-weight: 800; color: var(--text); }
.form-grid label small { color: var(--text-soft); font-weight: 500; }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    padding: 12px 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 13%, transparent); }
textarea { resize: vertical; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-errors { padding: 14px 16px; margin-bottom: 18px; border: 1px solid #d92d20; border-radius: 10px; background: rgba(217, 45, 32, .08); color: #b42318; }
.form-errors p { color: inherit; margin: 0; font-size: 13px; }
.flash { margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-weight: 700; }
.flash-success { background: rgba(18, 183, 106, .12); border: 1px solid rgba(18, 183, 106, .3); color: #087443; }
.flash-error { background: rgba(217, 45, 32, .1); border: 1px solid rgba(217, 45, 32, .28); color: #b42318; }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.article-header { padding: 92px 0 48px; text-align: center; }
.article-header .narrow { margin-inline: auto; }
.article-header h1 { font-size: clamp(48px, 7vw, 82px); margin: 18px 0 20px; }
.article-header p { font-size: 20px; }
.article-image { margin-bottom: 60px; }
.article-image img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article-content { margin-inline: auto; padding-bottom: 110px; }
.article-content p { color: var(--text-soft); font-size: 19px; line-height: 1.85; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.contact-details { display: grid; gap: 26px; }
.contact-details > div:not(.map-card) { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.contact-details span { display: block; color: var(--orange); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.contact-details a, .contact-details p { font-size: 18px; color: var(--text); margin: 0; }
.map-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--surface-strong), var(--bg-soft));
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
}
.map-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .4;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
    transform: rotate(8deg) scale(1.2);
}
.map-pin { position: relative; z-index: 2; color: var(--orange); font-size: 44px; filter: drop-shadow(0 8px 12px rgba(239,101,55,.35)); }
.map-card strong { position: absolute; bottom: 54px; z-index: 2; }
.contact-form-card { position: static; padding: 38px; }

.legal-page { padding-top: 100px; }
.legal-page .narrow { margin-inline: auto; }
.legal-page h1 { margin-bottom: 38px; }
.legal-page h2 { font-family: inherit; font-size: 24px; font-weight: 800; margin-top: 44px; }
.legal-page p { font-size: 17px; }
.empty-page { min-height: 62vh; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-page h1 { margin-bottom: 10px; }

.site-footer { padding: 72px 0 22px; background: #070b12; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 54px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 9px; }
.footer-grid h3 { font-size: 14px; margin: 8px 0 14px; color: #fff; }
.footer-grid a, .footer-grid p { color: #a5afbf; font-size: 13px; margin: 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 150px; height: 80px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.footer-bottom { margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: #818b9a; font-size: 12px; }
.footer-bottom div { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }

@media (max-width: 1080px) {
    .desktop-contact { display: none; }
    .main-nav { gap: 17px; }
    .business-grid { grid-template-columns: repeat(3, 1fr); }
    .image-card { min-height: 380px; }
    .stats-strip { grid-template-columns: repeat(3, 1fr); }
    .stats-strip div:nth-child(3) { border-right: 0; }
    .stats-strip div:nth-child(n+4) { border-top: 1px solid var(--border); }
    .business-row { grid-template-columns: 50px 1fr; }
    .business-row img { grid-column: 2; }
    .business-row > div:last-child { grid-column: 2; }
    .business-row:nth-child(even) img,
    .business-row:nth-child(even) > div:last-child { order: initial; }
}

@media (max-width: 880px) {
    :root { --header-height: 70px; --container: min(100% - 28px, 720px); }
    .section { padding: 78px 0; }
    .menu-toggle { display: inline-grid; order: 2; }
    .header-actions { order: 3; }
    .brand { order: 1; }
    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 auto;
        height: calc(100dvh - var(--header-height));
        padding: 24px;
        display: grid;
        align-content: start;
        gap: 0;
        background: var(--bg);
        border-top: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform .32s var(--ease);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 16px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
    .main-nav a::after { display: none; }
    .hero-grid, .page-hero-grid, .split-section, .story-grid, .career-banner, .values-wide, .job-detail-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .hero-grid { min-height: auto; }
    .hero-copy { padding: 50px 0 8px; }
    .hero-visual { min-height: 430px; }
    .stats-strip { margin-top: 20px; }
    .mission-grid, .post-grid, .blog-grid, .benefits-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid, .masonry-grid { grid-template-columns: 1fr 1fr; }
    .gallery-preview .gallery-card:nth-child(1), .gallery-preview .gallery-card:nth-child(5) { grid-column: span 1; }
    .masonry-grid .gallery-card:nth-child(4n+1) { grid-row: auto; min-height: 250px; }
    .asset-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .timeline::before { display: none; }
    .timeline article { padding-top: 34px; }
    .timeline article::before { top: 0; }
    .career-banner img { order: -1; }
    .job-filters { grid-template-columns: 1fr; }
    .application-panel { position: static; }
    .contact-details { order: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    :root { --container: min(100% - 22px, 560px); }
    h1 { font-size: clamp(42px, 14vw, 62px); }
    h2 { font-size: clamp(34px, 11vw, 48px); }
    .section { padding: 64px 0; }
    .header-inner { gap: 10px; }
    .brand img { width: 95px; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .stats-strip div { border-top: 1px solid var(--border); }
    .stats-strip div:nth-child(1), .stats-strip div:nth-child(2) { border-top: 0; }
    .stats-strip div:nth-child(even) { border-right: 0; }
    .stats-strip div:last-child { grid-column: 1 / -1; }
    .values-grid, .mission-grid, .post-grid, .blog-grid, .benefits-grid, .gallery-grid, .masonry-grid { grid-template-columns: 1fr; }
    .business-grid { grid-template-columns: 1fr; }
    .image-card { min-height: 360px; }
    .section-heading { align-items: start; flex-direction: column; }
    .timeline { grid-template-columns: 1fr; }
    .business-row { display: block; padding: 18px; }
    .business-number { margin-bottom: 12px; }
    .business-row img { min-height: 220px; margin-bottom: 24px; }
    .business-row h2 { font-size: 36px; }
    .cta-card { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
    .job-card { grid-template-columns: 1fr; }
    .job-meta { justify-items: start; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
    .lightbox { padding: 70px 14px 20px; }
    .lightbox-nav { width: 42px; height: 56px; font-size: 34px; }
    .lightbox-nav.prev { left: 8px; }
    .lightbox-nav.next { right: 8px; }
    .lightbox figcaption { flex-direction: column; gap: 2px; }
    .contact-form-card { padding: 25px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SPS Industrie Businesses Page
============================================================ */

.business-page {
    width: 100%;
    overflow: hidden;
    color: var(--text-primary, #101828);
    background: var(--background, #ffffff);
}

.business-page .container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* ============================================================
   Hero
============================================================ */

.business-page-hero {
    position: relative;
    padding: clamp(8.75rem, 13vw, 11rem) 0 clamp(4rem, 8vw, 6.5rem);
    overflow: hidden;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(39, 57, 205, 0.11),
            transparent 35%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(239, 93, 48, 0.08),
            transparent 32%
        ),
        var(--background, #ffffff);
}

.business-page-hero::after {
    content: "";
    position: absolute;
    top: 24%;
    right: -10%;
    width: 420px;
    height: 420px;
    border-radius: 42% 58% 66% 34% / 38% 48% 52% 62%;
    background: rgba(39, 57, 205, 0.05);
    transform: rotate(-18deg);
    pointer-events: none;
}

.business-breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted, #667085);
    font-size: 0.86rem;
}

.business-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.business-breadcrumb a:hover {
    color: var(--primary, #2739cd);
}

.business-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: center;
}

.business-hero-copy {
    min-width: 0;
}

.business-hero-copy h1 {
    max-width: 820px;
    margin: 0.75rem 0 1.5rem;
    color: var(--text-primary, #101828);
    font-size: clamp(3.2rem, 7vw, 6.6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.business-hero-copy h1 span {
    color: var(--accent, #ef5d30);
}

.business-hero-copy > p {
    max-width: 720px;
    margin: 0;
    color: var(--text-muted, #667085);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
}

.business-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.business-hero-panel {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    overflow: hidden;
    border-radius: 34px 14px 34px 14px;
    background:
        linear-gradient(
            145deg,
            #1829b5 0%,
            #2d42d5 55%,
            #14218f 100%
        );
    box-shadow: 0 25px 70px rgba(31, 46, 173, 0.22);
}

.business-hero-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.business-hero-panel__label {
    position: relative;
    display: block;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.business-hero-stat {
    position: relative;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.business-hero-stat strong {
    display: block;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.business-hero-stat span {
    display: block;
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.76);
}

.business-hero-panel > p {
    position: relative;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ============================================================
   Sections
============================================================ */

.business-page-section {
    position: relative;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.business-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.business-section-heading h2 {
    max-width: 760px;
    margin: 0.65rem 0 0;
    color: var(--text-primary, #101828);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.business-section-heading > p {
    max-width: 580px;
    margin: 0;
    color: var(--text-muted, #667085);
    line-height: 1.8;
}

/* ============================================================
   Business Cards
============================================================ */

.sps-business-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.sps-business-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, 0.09);
    border-radius: 26px;
    background: var(--surface, #ffffff);
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.05);
    transition:
        transform 260ms ease,
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.sps-business-card:hover {
    transform: translateY(-6px);
    border-color: rgba(39, 57, 205, 0.2);
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.11);
}

.sps-business-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}

.sps-business-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 600ms ease;
}

.sps-business-card:hover .sps-business-card__media img {
    transform: scale(1.045);
}

.sps-business-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(8, 14, 30, 0.32),
            transparent 48%
        );
    pointer-events: none;
}

.sps-business-card__number {
    position: absolute;
    z-index: 2;
    left: 1rem;
    bottom: 1rem;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(10, 20, 55, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sps-business-card__content {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.sps-business-card__content h3 {
    margin: 0.65rem 0 0.85rem;
    color: var(--text-primary, #101828);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.sps-business-card__content p {
    min-height: 5.4em;
    margin: 0 0 1.4rem;
    color: var(--text-muted, #667085);
    line-height: 1.75;
}

/* ============================================================
   Global Presence
============================================================ */

.business-presence-section {
    background: var(--surface-muted, #f7f8fc);
}

.business-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.business-location-card {
    position: relative;
    min-height: 190px;
    padding: 1.7rem;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 22px;
    background: var(--surface, #ffffff);
}

.business-location-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -45px;
    width: 120px;
    height: 120px;
    border-radius: 48% 52% 38% 62%;
    background: rgba(39, 57, 205, 0.07);
    transform: rotate(22deg);
}

.business-location-card__number {
    display: block;
    color: var(--accent, #ef5d30);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.business-location-card h3 {
    position: relative;
    z-index: 1;
    margin: 2rem 0 0.4rem;
    color: var(--text-primary, #101828);
    font-size: 1.55rem;
}

.business-location-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-muted, #667085);
}

/* ============================================================
   CTA
============================================================ */

.business-page-cta-section {
    padding-top: clamp(4rem, 8vw, 7rem);
}

.business-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    color: #ffffff;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255, 255, 255, 0.15),
            transparent 30%
        ),
        linear-gradient(135deg, #111d8f, #2a3dce);
    box-shadow: 0 25px 70px rgba(24, 40, 162, 0.22);
}

.business-page-cta .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.business-page-cta h2 {
    max-width: 760px;
    margin: 0.6rem 0 0.8rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
}

.business-page-cta p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.business-page-cta .button-primary {
    flex: 0 0 auto;
    background: #ffffff;
    color: #1829b5;
}

/* ============================================================
   Dark Theme
============================================================ */

[data-theme="dark"] .business-page {
    --background: #080c16;
    --surface: #101622;
    --surface-muted: #0c111c;
    --text-primary: #f4f7ff;
    --text-muted: #a9b2c6;
}

[data-theme="dark"] .business-page-hero {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .sps-business-card,
[data-theme="dark"] .business-location-card {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}

[data-theme="dark"] .sps-business-card__media {
    background: #161e2d;
}

/* ============================================================
   Responsive
============================================================ */

@media (max-width: 980px) {
    .business-hero-grid,
    .business-section-heading {
        grid-template-columns: 1fr;
    }

    .business-hero-panel {
        max-width: 620px;
    }

    .business-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-page-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .business-page .container {
        width: min(100% - 28px, 1180px);
    }

    .business-page-hero {
        padding-top: 7.5rem;
    }

    .business-hero-copy h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .business-page-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .business-page-actions .button {
        width: 100%;
        justify-content: center;
    }

    .sps-business-grid,
    .business-location-grid {
        grid-template-columns: 1fr;
    }

    .sps-business-card__content p {
        min-height: auto;
    }

    .business-page-cta .button {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sps-business-card,
    .sps-business-card__media img {
        transition: none;
    }

    .sps-business-card:hover {
        transform: none;
    }

    .sps-business-card:hover .sps-business-card__media img {
        transform: none;
    }
}