/* ==========================================================================
   CSS Variables & Liquid Aurora Theme
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Midnight Fluid & Coral */
    --bg-void: #000000;
    /* Pure black for Header/Footer */
    --bg-fluid: #0A0710;
    /* Deep midnight violet base */
    --bg-surface: #140E1E;
    /* Elevated card surface */

    --accent-coral: #FF4E36;
    /* High-energy marketing accent */
    --accent-plum: #8B31FF;
    /* Fluid depth accent */
    --accent-peach: #FFB084;

    /* Typography */
    --text-pure: #FFFFFF;
    --text-main: #F0EBF5;
    --text-muted: #9D96AD;

    /* Structural & Borders */
    --border-soft: rgba(255, 255, 255, 0.06);
    --border-coral: rgba(255, 78, 54, 0.3);

    /* Soft 3D / Claymorphism Shadows */
    --shadow-clay:
        15px 15px 30px rgba(0, 0, 0, 0.6),
        inset 2px 2px 6px rgba(255, 255, 255, 0.08),
        inset -3px -3px 8px rgba(0, 0, 0, 0.5);

    --shadow-clay-hover:
        20px 20px 40px rgba(0, 0, 0, 0.8),
        inset 2px 2px 8px rgba(255, 255, 255, 0.15),
        inset -4px -4px 12px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 78, 54, 0.15);

    /* Typography Fonts */
    --font-display: 'Instrument Serif', serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout & Animation */
    --max-width: 1360px;
    --nav-height: 90px;
    --radius-pill: 100px;
    --radius-clay: 32px;
    --section-gap: 160px;

    --transition-fluid: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-void);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-fluid);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Liquid Noise Overlay for Texture */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: 1.05;
    color: var(--text-pure);
}

/* Signature Serif Emphasizes */
h1 em,
h2 em,
h3 em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent-coral);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* Custom Selection & Scrollbar */
::selection {
    background: var(--accent-coral);
    color: var(--text-pure);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-plum);
}

/* ==========================================================================
   Typography & Fluid Components
   ========================================================================== */
.title-fluid {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 8rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.title-section {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 3rem;
}

.pill-fluid {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    background: rgba(255, 78, 54, 0.05);
    border: 1px solid var(--border-coral);
    border-radius: var(--radius-pill);
    color: var(--accent-coral);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.btn-fluid {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background-color: var(--text-pure);
    color: var(--bg-void);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-fluid);
    z-index: 1;
    border: none;
}

.btn-fluid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-plum));
    border-radius: var(--radius-pill);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.btn-fluid:hover {
    color: var(--text-pure);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 78, 54, 0.3);
}

.btn-fluid:hover::before {
    opacity: 1;
}

/* ==========================================================================
   Master Header (Strictly Pure Black)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-void);
    border-bottom: 1px solid var(--border-soft);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: var(--transition-fluid);
}

.site-header.scrolled {
    height: 75px;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    filter: invert(1);
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-coral);
}

/* Liquid dot hover indicator */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-coral);
    transition: transform var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scale(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-pure);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (Liquid Aurora Concept)
   ========================================================================== */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* The Aurora Mesh Background */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.6;
    border-radius: 50%;
    animation: liquidMorph 15s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-plum);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: var(--accent-coral);
    animation-delay: -5s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}

/* ==========================================================================
   Fluid Marquee
   ========================================================================== */
.marquee-wrapper {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.mq-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    margin: 0 4rem;
    transition: var(--transition-fast);
}

.mq-text:hover {
    color: var(--accent-peach);
    -webkit-text-stroke: 0px;
}

/* ==========================================================================
   Philosophy / Soft 3D Metrics
   ========================================================================== */
.philosophy {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
}

.phil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.clay-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.clay-card {
    background: var(--bg-surface);
    border-radius: var(--radius-clay);
    padding: 3rem;
    box-shadow: var(--shadow-clay);
    text-align: center;
    transition: var(--transition-fluid);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.clay-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-clay-hover);
}

.c-val {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--accent-coral);
    line-height: 1;
    margin-bottom: 1rem;
}

.c-lbl {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Services (Organic Hover Morph)
   ========================================================================== */
.services {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.srv-box {
    background: var(--bg-surface);
    padding: 4rem 3rem;
    border-radius: var(--radius-clay);
    box-shadow: var(--shadow-clay);
    position: relative;
    overflow: hidden;
    transition: var(--transition-fluid);
    z-index: 1;
}

/* Organic Morphing Hover Background */
.srv-box::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-plum);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0;
    transition: var(--transition-fluid);
    z-index: -1;
    filter: blur(30px);
}

.srv-box:hover {
    transform: translateY(-5px);
    border-radius: 40px;
    box-shadow: var(--shadow-clay-hover);
}

.srv-box:hover::before {
    opacity: 0.6;
    transform: scale(2);
    animation: liquidMorph 4s linear infinite alternate;
}

.srv-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-void);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-coral);
    margin-bottom: 2rem;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

.srv-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.srv-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Analytics Dashboard (Organic Area Chart)
   ========================================================================== */
.analytics {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.dash-panel {
    background: var(--bg-surface);
    border-radius: var(--radius-clay);
    padding: 3rem;
    box-shadow: var(--shadow-clay);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

/* CSS Organic Area Chart Concept */
.organic-chart {
    position: relative;
    height: 250px;
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 20px;
}

/* Simulated Curved Area via SVG or CSS Border Radius */
.chart-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 78, 54, 0.2), transparent);
    clip-path: polygon(0 100%, 0 80%, 25% 60%, 50% 70%, 75% 30%, 100% 10%, 100% 100%);
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dash-panel.in-view .chart-fill {
    transform: scaleY(1);
}

.chart-points {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.c-point {
    width: 14px;
    height: 14px;
    background: var(--bg-surface);
    border: 3px solid var(--accent-coral);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dash-panel.in-view .c-point {
    transform: scale(1);
}

.dash-panel.in-view .c-point:nth-child(1) {
    transition-delay: 0.1s;
    margin-bottom: 20%;
}

.dash-panel.in-view .c-point:nth-child(2) {
    transition-delay: 0.2s;
    margin-bottom: 40%;
}

.dash-panel.in-view .c-point:nth-child(3) {
    transition-delay: 0.3s;
    margin-bottom: 30%;
}

.dash-panel.in-view .c-point:nth-child(4) {
    transition-delay: 0.4s;
    margin-bottom: 70%;
}

.dash-panel.in-view .c-point:nth-child(5) {
    transition-delay: 0.5s;
    margin-bottom: 90%;
    background: var(--accent-coral);
    box-shadow: 0 0 15px var(--accent-coral);
}

/* ==========================================================================
   Liquid Calculator
   ========================================================================== */
.calculator {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
}

.calc-wrap {
    background: var(--bg-surface);
    border-radius: var(--radius-clay);
    box-shadow: var(--shadow-clay);
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.slider-group {
    margin-bottom: 3rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.slider-labels label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.slider-labels span {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--accent-peach);
    line-height: 1;
}

/* Custom Liquid Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}


input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 28px;
    width: 28px;
    background: var(--accent-coral);
    border-radius: 50%;
    margin-top: -11px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 78, 54, 0.4);
    transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    border-left: 1px solid var(--border-soft);
    padding-left: 4rem;
}

.res-box h4 {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--text-pure);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.res-box p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* ==========================================================================
   Industry Masonry / Pills
   ========================================================================== */
.industries {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.ind-pill {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    font-size: 1.25rem;
    color: var(--text-main);
    backdrop-filter: blur(10px);
    transition: var(--transition-fluid);
    cursor: default;
}

.ind-pill:hover {
    background: var(--text-pure);
    color: var(--bg-void);
    border-color: var(--text-pure);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
}

.test-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.t-quote {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    color: var(--text-pure);
    margin-bottom: 3rem;
}

.t-auth {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-peach);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Contact & Liquid Chat
   ========================================================================== */
.contact-section {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 1.5rem 0;
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-pure);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--accent-coral);
}

textarea.form-input {
    height: 120px;
    resize: none;
}

/* Soft 3D Chat UI */
.chat-ui {
    background: var(--bg-surface);
    border-radius: var(--radius-clay);
    box-shadow: var(--shadow-clay);
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.chat-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-coral);
    box-shadow: 0 0 10px var(--accent-coral);
}

.chat-body {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.c-bubble {
    max-width: 80%;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.c-bubble.ai {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.c-bubble.user {
    background: linear-gradient(135deg, var(--accent-coral), #FF7B54);
    color: var(--bg-void);
    font-weight: 500;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ==========================================================================
   Legal Pages Specific
   ========================================================================== */
.legal-main {
    padding: calc(var(--nav-height) + 120px) 5% 120px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.legal-card {
    background: var(--bg-surface);
    border-radius: var(--radius-clay);
    box-shadow: var(--shadow-clay);
    padding: 5rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.legal-card h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 1rem;
}

.legal-card h2 {
    font-size: 1.75rem;
    color: var(--accent-peach);
    margin: 3rem 0 1rem;
}

.legal-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ==========================================================================
   Master Footer (Strictly Pure Black)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-void);
    /* Pure black */
    border-top: 1px solid var(--border-soft);
    padding: 100px 5% 40px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto 4rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--text-pure);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a,
.footer-col li {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-coral);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes liquidMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(360deg) scale(1);
    }
}

@keyframes marquee {
    100% {
        transform: translateX(-50%);
    }
}

.reveal-fluid {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-fluid.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 1024px) {

    .phil-grid,
    .analytics-grid,
    .calc-wrap,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .clay-metrics,
    .calc-results {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-soft);
        padding-top: 4rem;
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-void);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-fluid);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .srv-grid,
    .clay-metrics,
    .calc-results {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .calc-wrap,
    .legal-card {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}