:root {
    --navy: #0f2747;
    --navy-deep: #09192d;
    --orange: #f36f21;
    --orange-deep: #d75a12;
    --steel: #5b6b7d;
    --sand: #f4efe7;
    --mist: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(243, 111, 33, 0.08), transparent 24%),
        radial-gradient(circle at bottom right, rgba(15, 39, 71, 0.08), transparent 26%),
        #ffffff;
}

::selection {
    background: rgba(243, 111, 33, 0.18);
    color: var(--navy);
}

.display-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.04em;
}

.hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, rgba(9, 25, 45, 0.9), rgba(15, 39, 71, 0.72));
    background-size: 38px 38px, 38px 38px, cover;
}

.inner-hero-grid {
    background:
        linear-gradient(135deg, rgba(9, 25, 45, 0.96), rgba(15, 39, 71, 0.86)),
        linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(243, 111, 33, 0.08) calc(100% - 1px)),
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(243, 111, 33, 0.08) calc(100% - 1px));
    background-size: cover, 100% 36px, 36px 100%;
}

.blueprint-panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.92)),
        linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(15, 39, 71, 0.06) calc(100% - 1px)),
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(15, 39, 71, 0.06) calc(100% - 1px));
    background-size: cover, 100% 28px, 28px 100%;
    backdrop-filter: blur(18px);
}

.slab-panel {
    position: relative;
    overflow: hidden;
}

.slab-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(243, 111, 33, 0.08), transparent 42%);
    pointer-events: none;
}

.section-label {
    letter-spacing: 0.32em;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.panel-rise,
.service-frame,
.project-card,
.value-card,
.timeline-card,
.quote-card,
.choice-card,
.filter-chip {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.panel-rise:hover,
.service-frame:hover,
.project-card:hover,
.value-card:hover,
.timeline-card:hover,
.quote-card:hover,
.choice-card:hover {
    transform: translateY(-6px);
}

.filter-chip.is-active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
}

.choice-card {
    border: 1px solid rgba(91, 107, 125, 0.18);
}

.choice-card.is-selected {
    border-color: rgba(243, 111, 33, 0.55);
    background: linear-gradient(180deg, rgba(243, 111, 33, 0.12), rgba(243, 111, 33, 0.03));
    box-shadow: 0 18px 40px -28px rgba(243, 111, 33, 0.55);
}

.choice-check {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.choice-card.is-selected .choice-check {
    opacity: 1;
    transform: scale(1);
}

.step-pill {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.step-pill.is-active {
    background: var(--orange);
    color: #ffffff;
    border-color: var(--orange);
    transform: scale(1.03);
}

.step-pill.is-complete {
    background: rgba(31, 157, 85, 0.12);
    color: #1f9d55;
    border-color: rgba(31, 157, 85, 0.2);
}

.quote-step[hidden] {
    display: none;
}

.field-error {
    border-color: rgba(220, 38, 38, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.mobile-sheet {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

.mobile-sheet.active {
    transform: translateX(0);
}

.steel-rule {
    background-image: linear-gradient(90deg, rgba(91, 107, 125, 0.22) 1px, transparent 1px);
    background-size: 26px 100%;
}

.project-card[hidden] {
    display: none;
}

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

    .reveal,
    .panel-rise,
    .service-frame,
    .project-card,
    .value-card,
    .timeline-card,
    .quote-card,
    .choice-card,
    .filter-chip,
    .mobile-sheet {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}