* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Questrial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a1520;
    overflow-x: hidden;
    font-size: clamp(14px, 1.5vw, 16px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dot Matrix Background */
.dot-matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.dot-matrix.formula-code-bg,
.dot-matrix.kline-bg {
    background: #0a1520;
}

.dot-matrix.kline-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00d9ff;
    border-radius: 50%;
    opacity: 0;
    animation: dotFade 4s ease-in-out infinite;
}

@keyframes dotFade {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.6; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
    background: rgba(10, 21, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00d9ff;
}

.nav-links a.active {
    color: #00d9ff;
}

.menu-toggle {
    display: none;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 1;
    font-family: 'Questrial', sans-serif;
}

.hero-title-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.hero-title-wrapper::before,
.hero-title-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #cdcdcd;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.1s forwards;
}

.hero-title-wrapper::before {
    top: -20px;
}

.hero-title-wrapper::after {
    bottom: -20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 200;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #cdcdcd;
    font-family: 'Questrial', sans-serif;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 200;
    color: rgb(219, 219, 219);
    letter-spacing: 0.05em;
    margin-top: 2rem;
    font-family: 'Questrial', sans-serif;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Sections */
.content-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
}

/* About Section with Blue to Transparent Gradient */
.content-section:first-of-type {
    background: linear-gradient(135deg, #2a3a4a 0%, #1a2a3a 50%, #0f1f2f 100%);
    margin: clamp(1rem, 2vw, 2rem) auto;
    border-radius: 2;
    max-width: min(90vw, 1200px);
    display: flex;
    justify-content: center;
}

.section-grid {
    margin: clamp(2rem, 5vw, 5rem) auto;
    display: flex;
    padding: clamp(2rem, 5vw, 5rem);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.section-content {
    flex: 1;
    max-width: 1200px;
}

.section-content:first-child {
    flex: 2;
    max-width: 700px;
    text-align: center;
}

.section-content:last-child {
    flex: 1;
   
}

.section-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-content p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: clamp(1rem, 2vw, 2rem);
}
/* About Button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 5rem 4rem;
    padding: 1.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #808080;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);

    
}

/* Careers Button - matches about page format */
.btn-careers {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    background: #7e8594;
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: clamp(0.875rem, 2vw, 1rem);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: clamp(0.25rem, 1vw, 0.5rem);
    text-decoration: none;
}

.btn-careers:hover {
    background: rgba(137, 137, 137, 0.552);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-light {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0a1520;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}    

/* Image Container */
.image-container {
    position: relative;
    margin: 5rem;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border: 15px solid #1e3a52;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    margin: clamp(2rem, 5vw, 5rem);
    width: clamp(50%, 65vw, 65%);
    overflow: hidden;
}

.slideshow-wrapper {
    position: flex;
    width: 100%;
    margin: 5rem, 5rem;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 15px solid #1e3a52;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Mission Section */
.mission-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
}

.mission-grid {
    max-width: min(95vw, 1400px);
    margin: clamp(2rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.mission-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.geometric-shapes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.shape {
    width: 175px;
    height: 175px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shape.diamond {
    transform: rotate(45deg);
}

.shape.circle {
    border-radius: 100%;
    position: relative;
    width: 192px; /* 2 inches */
    height: 192px; /* 2 inches */
}

.target-circle {
    position: relative;
}

.target-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    pointer-events: none;
}

.target-ring-1 {
    width: 70%;
    height: 70%;
}

.target-ring-2 {
    width: 40%;
    height: 40%;
}

.shape-inner {
    transform: rotate(-45deg);
}

.arrow-icon {
    width: 192px; /* 2 inches */
    height: 192px; /* 2 inches */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10em;
    flex-shrink: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    line-height: 1;
}

/* Values Section */
.values-section {
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
}

.values-grid {
    max-width: min(95vw, 1400px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.value-card {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-card:nth-child(1) {
    background: #192936;
}

.value-card:nth-child(2) {
    background: #3d5266;
}

.value-card:nth-child(3) {
    background: #e8e8e8;
    color: #192936;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}
.icon-font {
    width: auto;
    height: auto;
    font-size: 60px;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.value-card:nth-child(3) p {
    color: #192936;
}

/* CTA Section */
.cta-section {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #0a1520 0%, #1e3a52 100%);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
}

.btn-light {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #0a1520;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Waveform Pattern */
.waveform {
    width: 100%;
    height: 100px;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.wave-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 4px,
        rgba(0, 217, 255, 0.3) 4px,
        rgba(0, 217, 255, 0.3) 5px
    );
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

/* Footer */
footer {
    background: #0a1520;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 1rem 1rem;
    padding-left: 96px; /* 1 inch */
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-locations {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.location h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.location p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.contact-info a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
    .section-grid,
    .mission-grid {
        max-width: min(90vw, 1200px);
    }
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .section-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 3rem);
        max-width: min(90vw, 1200px);
    }

    .geometric-shapes {
        justify-items: center;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 5rem);
        text-align: center;
    }

    .slideshow-container {
        width: 85%;
        margin: clamp(1rem, 3vw, 2rem) auto;
    }

    .nav-links {
        gap: clamp(1rem, 2vw, 1.5rem);
    }

    .nav-links a {
        font-size: clamp(0.85rem, 2vw, 0.9rem);
        padding: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .section-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 3rem);
    }

    .geometric-shapes {
        justify-items: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 5rem);
        text-align: center;
    }

    .slideshow-container {
        width: 90%;
        margin: clamp(1rem, 3vw, 2rem) auto;
    }
}

/* Navigation links are now always visible horizontally */

/* Mobile Styles (below 768px) */
@media (max-width: 768px) {
    /* Base font size for readability */
    body {
        font-size: clamp(16px, 4vw, 18px);
    }

    nav {
        padding: clamp(0.75rem, 3vw, 1rem) clamp(0.75rem, 3vw, 1rem);
        flex-wrap: wrap;
    }

    .logo {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 0.5rem;
    }

    .nav-links {
        gap: clamp(0.5rem, 2vw, 0.75rem);
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-links a {
        font-size: clamp(0.875rem, 3.5vw, 0.9rem);
        padding: clamp(0.5rem, 2vw, 0.75rem);
        min-height: 44px; /* Tappable size */
        display: flex;
        align-items: center;
    }

    .hero,
    .content-section,
    .mission-section,
    .cta-section {
        padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem);
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .section-grid {
        padding: clamp(1.5rem, 5vw, 2.5rem);
        margin: clamp(1rem, 4vw, 2rem) auto;
        flex-direction: column;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .section-content {
        max-width: 100%;
    }

    .section-content:first-child,
    .section-content:last-child {
        flex: 1;
        max-width: 100%;
    }

    .section-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .section-content p {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .mission-grid {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 3rem);
    }

    .mission-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .mission-content p {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .geometric-shapes {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .shape,
    .arrow-icon {
        width: clamp(120px, 30vw, 192px); /* 2 inches max */
        height: clamp(120px, 30vw, 192px); /* 2 inches max */
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .value-card {
        padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2rem);
    }

    .value-card h3 {
        font-size: clamp(1.1rem, 4vw, 1.2rem);
    }

    .value-card p {
        font-size: clamp(0.9rem, 3.5vw, 0.95rem);
    }

    .value-icon {
        font-size: clamp(40px, 10vw, 60px);
    }

    .cta-section h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    /* Buttons - ensure tappable size */
    .btn-careers,
    .btn-outline,
    .btn-light {
        padding: clamp(0.875rem, 3vw, 1rem) clamp(1.5rem, 5vw, 2.5rem);
        font-size: clamp(0.9375rem, 3.5vw, 1rem);
        min-height: 44px;
        min-width: 120px;
    }

    .footer-locations {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 4rem);
    }

    .footer-content {
        padding-left: clamp(1rem, 4vw, 2rem);
    }

    .slideshow-container {
        width: 100%;
        margin: clamp(1rem, 3vw, 1.5rem) 0;
    }

    .slideshow-wrapper {
        padding-bottom: 56.25%; /* 16:9 aspect ratio for mobile */
    }

    .slideshow-btn {
        width: clamp(44px, 10vw, 50px);
        height: clamp(44px, 10vw, 50px);
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .slideshow-btn.prev {
        left: clamp(10px, 3vw, 15px);
    }

    .slideshow-btn.next {
        right: clamp(10px, 3vw, 15px);
    }
}

/* Small Phone Styles (below 480px) */
@media (max-width: 480px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    body {
        font-size: 16px; /* Minimum readable size */
        overflow-x: hidden;
    }

    nav {
        padding: 0.75rem 0.5rem;
    }

    .logo {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.875rem;
    }

    .nav-links a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section,
    .mission-section,
    .cta-section {
        padding: 2rem 1rem;
    }

    .section-grid {
        padding: 1.5rem 1rem;
        margin: 1rem auto;
    }

    .section-content h2 {
        font-size: 1.75rem;
    }

    .section-content p {
        font-size: 1rem;
    }

    .btn-careers,
    .btn-outline,
    .btn-light {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .footer-content {
        padding-left: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Scroll Card Animations */
.scroll-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger animation for child elements */
.scroll-card .section-content,
.scroll-card .mission-content,
.scroll-card .values-grid,
.scroll-card .cta-section > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-card.animate-in .section-content,
.scroll-card.animate-in .mission-content,
.scroll-card.animate-in .values-grid,
.scroll-card.animate-in .cta-section > * {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for multiple children */
.scroll-card.animate-in .section-content:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-card.animate-in .section-content:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-card.animate-in .value-card:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-card.animate-in .value-card:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-card.animate-in .value-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Card-like appearance with shadow and border */
.scroll-card {
    background: rgba(10, 21, 32, 0.6);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2rem 0;
    padding: 2rem;
}

/* Override for sections that already have backgrounds */
.content-section:first-of-type.scroll-card {
    background: linear-gradient(135deg, #2a3a4a 0%, #1a2a3a 50%, #0f1f2f 100%);
}

/* Ensure smooth performance */
.scroll-card,
.scroll-card * {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* About page (and general) reveal animations without "card" styling */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}