:root {
    --terra-primary: #E07A5F;
    --terra-hover: #C25B42;
    --terra-light: #F2CCB8;
    --slate-dark: #2F3640;
    --slate-muted: #718093;
    --paper-bg: #F9F7F1;
    --white: #FFFFFF;
    --font-primary: 'Nunito', sans-serif;
    --spacing-sm: 1.2rem;
    --spacing-md: 3.5rem;
    --spacing-lg: 6.2rem;
    --radius-soft: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--paper-bg);
    color: var(--slate-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.motif-bounds {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--slate-dark);
    letter-spacing: -0.02em;
}

.center-align {
    text-align: center;
}

.action-trigger {
    display: inline-block;
    background-color: var(--terra-primary);
    color: var(--white);
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.action-trigger:hover {
    background-color: var(--terra-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(224, 122, 95, 0.3);
}

/* Header */
.motif-top-bar {
    position: sticky;
    top: 0;
    background-color: rgba(249, 247, 241, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(47, 54, 64, 0.05);
}

.flex-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--slate-dark);
}

.brand-icon {
    color: var(--terra-primary);
    font-size: 1.8rem;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    font-weight: 600;
    font-size: 1rem;
}

.nav-item:hover {
    color: var(--terra-primary);
}

.small-trigger {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
}

/* Hero */
.evt-stage-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding-top: var(--spacing-md);
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.35) sepia(0.2) hue-rotate(-20deg);
}

.hero-content-layer {
    max-width: 800px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(224, 122, 95, 0.2);
    border: 1px solid var(--terra-primary);
    color: var(--terra-light);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.massive-headline {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtext {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.secondary-action {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.secondary-action:hover {
    background-color: var(--white);
    color: var(--slate-dark);
    box-shadow: none;
}

/* About / Context */
.deep-context-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

.context-grid {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.context-narrative {
    flex: 1;
}

.dense-copy {
    font-size: 1.1rem;
    color: var(--slate-muted);
    margin-bottom: 1.5rem;
}

.inline-ref {
    color: var(--terra-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(224, 122, 95, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.inline-ref:hover {
    text-decoration-color: var(--terra-primary);
}

.context-data-panel {
    flex: 1;
    position: relative;
}

.context-visual-asset {
    border-radius: var(--radius-soft);
    box-shadow: 0 20px 40px rgba(47, 54, 64, 0.1);
}

.stat-cluster {
    position: absolute;
    bottom: -3rem;
    left: -3rem;
    background-color: var(--slate-dark);
    padding: 2.5rem;
    border-radius: var(--radius-soft);
    display: flex;
    gap: 2.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stat-node {
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.stat-figure {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--terra-primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--terra-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Solutions */
.solutions-arena {
    padding: var(--spacing-lg) 0;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--slate-muted);
    margin-bottom: 4rem;
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.suite-card {
    background-color: var(--white);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(47, 54, 64, 0.04);
    transition: transform 0.3s ease;
}

.shifted-card {
    transform: translateY(2rem);
}

.suite-card:hover {
    transform: translateY(-10px);
}

.shifted-card:hover {
    transform: translateY(calc(2rem - 10px));
}

.suite-thumbnail {
    height: 240px;
}

.suite-details {
    padding: 2.5rem;
}

.suite-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.suite-desc {
    color: var(--slate-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--slate-dark);
}

.benefit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terra-primary);
}

/* Endorsements */
.endorsement-zone {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

.endorsement-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.endorsement-block {
    background-color: var(--paper-bg);
    padding: 3rem;
    border-radius: var(--radius-soft);
    border-top: 4px solid var(--terra-primary);
}

.endorsement-block.alt-bg {
    background-color: var(--slate-dark);
    color: var(--white);
    border-top-color: var(--terra-light);
}

.endorsement-block.alt-bg .endorser-meta {
    color: var(--white);
}

.endorsement-block.alt-bg .endorser-role {
    color: var(--terra-light);
}

.quote-text {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.endorser-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--terra-primary);
}

.endorser-meta {
    display: flex;
    flex-direction: column;
    color: var(--slate-dark);
}

.endorser-name {
    font-weight: 800;
    font-size: 1.1rem;
}

.endorser-role {
    font-size: 0.9rem;
    color: var(--slate-muted);
}

/* Contact */
.communication-hub {
    padding: var(--spacing-lg) 0;
}

.comm-flex {
    display: flex;
    gap: 4rem;
}

.comm-prompt {
    flex: 1;
}

.comm-lead {
    font-size: 1.2rem;
    color: var(--slate-muted);
    margin-bottom: 2rem;
}

.operational-micro-details {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-soft);
    border-left: 4px solid var(--terra-primary);
}

.operational-micro-details p {
    margin-bottom: 0.5rem;
}

.motif-form {
    flex: 1;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-soft);
    box-shadow: 0 15px 35px rgba(47, 54, 64, 0.05);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--slate-dark);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #D1D8E0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--paper-bg);
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--terra-primary);
    background-color: var(--white);
}

.submit-trigger {
    width: 100%;
}

/* Footer */
.motif-base-footer {
    background-color: var(--slate-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.dark-mode .brand-text,
.dark-mode .brand-icon {
    color: var(--white);
}

.footer-tagline {
    margin-top: 1rem;
    color: var(--slate-muted);
    max-width: 250px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--terra-primary);
}

.footer-contact p,
.footer-links a,
.footer-legal a {
    display: block;
    color: #A4B0BE;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--terra-primary);
}

.unsub-link {
    font-size: 0.8rem !important;
    opacity: 0.6;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #A4B0BE;
}

.tiny-disclaimer {
    font-size: 0.75rem;
    opacity: 0.5;
    max-width: 400px;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .context-grid {
        flex-direction: column;
    }
    .stat-cluster {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -3rem;
        margin-left: 2rem;
        margin-right: 2rem;
        justify-content: center;
    }
    .endorsement-masonry {
        grid-template-columns: 1fr;
    }
    .shifted-card {
        transform: none;
    }
    .shifted-card:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .primary-navigation {
        display: none; /* Simplified for mobile in this demo */
    }
    .massive-headline {
        font-size: 3rem;
    }
    .comm-flex {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .tiny-disclaimer {
        text-align: center;
    }
}
