/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    min-height: 100vh;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
.font-aeonik {
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Container */
.container {
    max-width: 1280px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Header styles */
#header {
    background-color: transparent;
    transition: all 0.3s ease;
}

#header .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#header.scrolled {
    background-color: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-link {
    display: inline-block;
}

.h-8 {
    height: 2rem;
}

.w-auto {
    width: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-link:hover {
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 10rem 2rem 6rem;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Section Spacing */
.section-padding {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
}

/* Background Section */
.bg-section {
    background-color: transparent;
}

/* About Section */
.section-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-image-container {
    flex-shrink: 0;
    text-align: center;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-text-container {
    flex-grow: 1;
}

.about-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 2rem;
    font-weight: 300;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* Thesis Section */
.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.thesis-item {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.thesis-item:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.thesis-number {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thesis-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.thesis-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Portfolio Section */
.portfolio-carousel {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-carousel::-webkit-scrollbar {
    display: none;
}

.overflow-x-auto {
    overflow-x: auto;
}

.flex {
    display: flex;
}

.gap-8 {
    gap: 2rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.portfolio-card {
    width: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.portfolio-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin-right: 1rem;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-description {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-website {
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-website:hover {
    color: #1d4ed8;
}

/* Substack Section */

.center-embed {
    display: flex;
    justify-content: center;
    width: 100%;
}
.center-embed > div {
    max-width: 600px;
    width: 100%;
}

.substack-carousel {
    margin-top: 2rem;
}

.substack-card {
    width: 320px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 0.75rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.substack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.substack-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: #1e3a8a;
    background-color: rgba(37, 99, 235, 0.1);
    margin-bottom: 0.75rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.substack-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.substack-post-meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.substack-post-excerpt {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.substack-post-cta {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.substack-post-cta span {
    transition: transform 0.2s ease;
}

.substack-card:hover .substack-post-cta span {
    transform: translateX(2px);
}

.substack-footer {
    margin-top: 1.5rem;
    text-align: right;
}

.substack-view-all-link {
    font-size: 0.9rem;
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.substack-view-all-link:hover {
    text-decoration: underline;
}


/* Team Section */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.team-member {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-name {
    font-size: 2.5rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.team-role {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.team-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.team-image-container {
    flex-shrink: 0;
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid rgba(30, 58, 138, 0.2);
}

.team-info {
    flex-grow: 1;
}

.team-bio {
    text-align: left;
    margin-bottom: 2.5rem;
}

.team-bio p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.team-bio p:last-child {
    margin-bottom: 0;
}

.social-links-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link-blue {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background-color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.social-link-blue:hover {
    background-color: #1d4ed8;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-link:hover {
    color: #ffffff;
}

/* Utility classes */
.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md\:flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-10 > * + * {
    margin-left: 2.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.md\:mt-0 {
    margin-top: 0;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

/* Responsive */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .thesis-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .about-image {
        width: 150px;
        height: 150px;
    }
    
    .about-text {
        font-size: 1.25rem;
    }
    
    .team-content {
        flex-direction: column;
        gap: 2rem;
    }

    .team-image {
        width: 150px;
        height: 150px;
    }
}

/* Portfolio Page */

.portfolio-page-hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-grid .portfolio-card {
    width: 100%;
    flex-shrink: unset;
    display: flex;
    flex-direction: column;
}

.nav-link-active {
    opacity: 1;
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 2px;
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0.5rem);
    min-width: 12rem;
    background-color: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 60;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0.75rem);
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* View all portfolio link (homepage) */
.portfolio-footer {
    text-align: right;
    margin-top: 2.5rem;
}

.portfolio-view-all-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portfolio-view-all-link:hover {
    color: white;
}

/* Company Page */

.company-hero {
    padding-top: 5.5rem;
    padding-bottom: 1.5rem;
}

.company-back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s ease;
}

.company-back-link:hover {
    color: white;
}

.company-header-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.company-logo-large {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.company-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-page-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-page-tagline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-description-block {
    max-width: 48rem;
}

.company-page-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-website-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.company-website-btn:hover {
    background-color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.company-founders-section {
    padding: 4rem 0 6rem;
}

.company-section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.founder-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.founder-photo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1e3a8a;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.founder-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.founder-role {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.founder-bio {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

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

    .portfolio-page-hero {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }

    .company-hero {
        padding-top: 7rem;
    }

    .company-page-name {
        font-size: 2rem;
    }

    .company-logo-large {
        width: 4rem;
        height: 4rem;
    }

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

/* Mobile hamburger menu */
.nav-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.nav-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background-color: rgba(30, 58, 138, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 2rem 1.5rem;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile-link {
    display: block;
    padding: 0.85rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-mobile-link:hover,
.nav-mobile-link:active {
    color: #ffffff;
}

.nav-mobile-section {
    padding: 1rem 0 0.25rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-mobile-sublink {
    display: block;
    padding: 0.55rem 0 0.55rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Aeonik Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-mobile-sublink:hover,
.nav-mobile-sublink:active {
    color: #ffffff;
}

@media (max-width: 767px) {
    .nav-menu-toggle {
        display: flex;
    }
}
