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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

.container {
    max-width: 1400px; /* Increased from 1200px to match reference page width */
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: sticky; /* Keeps header visible at top when scrolling */
    top: 0;
    padding: 30px 0;
    background-color: #fff; /* Solid background so content doesn't show through */
    z-index: 1000; /* Ensures header stays above page content */
    transition: box-shadow 0.3s ease;
    /* Note: No border-bottom - reference design has no visible line under header */
}

/* About page header matches the page background */
.about-page header {
    background-color: #F0EFEA;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    cursor: pointer;
}

nav a {
    margin-left: 40px;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

nav a.active {
    color: #ff6b35;
}

nav a:hover {
    color: #ff6b35;
}

/* Hero Section */
.hero {
    padding: 100px 0 40px; /* Increased top padding to match reference scale; bottom padding minimized to reduce space before first principle */
    text-align: center;
}

.hero h1 {
    font-size: 64px; /* Increased to match reference scale */
    font-weight: 600;
    line-height: 1.3;
    max-width: 1150px; /* Wider to accommodate larger font while keeping 2 lines */
    margin: 0 auto 40px;
    letter-spacing: 0.2px;
}

.hero-research-link {
    margin: -14px 0 16px;
}

.hero-research-link a {
    font-size: 18px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #c7c7c7;
    padding-bottom: 1px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-research-link a:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.subtitle {
    font-size: 20px; /* Increased to match reference */
    font-weight: 500; /* Medium weight to make it bolder */
    text-transform: capitalize;
    color: #141413;
    margin-bottom: 15px; /* Reduced from 60px to 15px so subtitle sits closer to divider line */
    line-height: 30px;
    letter-spacing: 0.6px;
}

.subtitle.subtitle--plain {
    text-transform: none;
}

/* Blog */
.blog-hero {
    padding: 80px 0 30px;
    text-align: left;
}

.blog-hero h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px;
}

.blog-list {
    padding: 10px 0 110px;
}

.blog-list-wrap {
    border-top: none;
}

.blog-list-grid {
    display: flex;
    flex-direction: column;
}

.blog-card {
    border-bottom: 1px solid #e3e3e3;
}

.blog-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 0;
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 32px 0 36px;
    transition: transform 0.2s ease;
}

.blog-card-link:hover {
    transform: translateX(4px);
}

.blog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.blog-meta-author {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin: 20px 0 30px;
}

.blog-card h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.28;
}

.blog-card p {
    font-size: 16px;
    color: #333;
    max-width: 900px;
    margin-bottom: 18px;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #c7c7c7;
    padding-bottom: 2px;
}

.blog-card-link:hover .blog-card-cta {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.blog-list-empty {
    padding: 34px 0;
    color: #666;
}

.blog-post {
    padding: 60px 0 100px;
}

.blog-post .post-wrap {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.blog-share-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 12px 0 24px;
    font-size: 14px;
}

.blog-share-bar-bottom {
    margin-top: 32px;
    margin-bottom: 8px;
}

.blog-share-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background-color: #f7f7f7;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-share-button:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

.blog-share-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.blog-share-confirmation {
    min-height: 1em;
    color: #666;
}

.blog-post .post-wrap img {
    display: block;
    max-width: 720px;
    width: 100%;
    height: auto;
    margin: 32px auto;
}

.blog-post .blog-video-wrap {
    max-width: 720px;
    width: 100%;
    margin: 32px auto;
}

.blog-post .blog-video-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    width: 100%;
    margin: 32px auto;
}

.blog-post .blog-video-table--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-post .blog-video-cell {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.blog-post .blog-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background-color: #000;
}

.blog-post .blog-video-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

.blog-post .blog-video-table--featured .blog-video-caption {
    order: -1;
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    color: #141413;
    text-align: left;
    min-height: 58px;
}

.blog-post h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.25;
    text-align: center;
}

.blog-post p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 18px;
}

.blog-post ul,
.blog-post ol {
    margin: 0 0 20px 10px;
    padding-left: 30px;
}

.blog-post li {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 6px;
}

.blog-post .post-wrap h1 + p,
.blog-post .post-wrap h1 + p + p,
.blog-post .post-wrap h1 + .blog-share-bar + p,
.blog-post .post-wrap h1 + .blog-share-bar + p + .blog-meta-author + hr + p,
.blog-meta-author {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.blog-post h2 {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.blog-post h2.blog-post-center-heading {
    text-align: center;
}

.blog-post h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-top: 36px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.blog-post hr.blog-separator {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
    width: 100%;
}

.blog-post em {
    font-style: italic;
}

.blog-post strong {
    font-weight: 600;
}

/* Principles Section */
.principles {
    padding: 40px 0 80px;
}

.principle {
    padding: 50px 0 120px; /* Increased spacing between sections */
    border-top: 1px solid #141413; /* Dark divider line between sections (container width) */
}

/* First principle gets full-width divider line that spans entire viewport */
.principle:first-child {
    position: relative;
    border-top: none; /* Remove default border for first principle */
}

/* Full-width line under "Our Three Guiding Research Principles" */
.principle:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; /* Full viewport width - extends beyond container */
    height: 1px;
    background-color: #141413; /* Solid black to match reference */
}

.principle-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.principle h2 {
    font-size: 48px; /* Increased to match reference scale */
    font-weight: 600;
    line-height: 1.3;
    padding-right: 40px;
    letter-spacing: 0.2px;
}

.principle-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principle-text p {
    font-size: 18px; /* Increased to match reference scale */
    color: #333;
    line-height: 1.7;
    letter-spacing: 0.4px;
}

/* Home Blog Nudge */
.blog-nudge {
    position: fixed;
    right: 28px;
    bottom: 34px;
    z-index: 900;
    max-width: 420px;
}

.blog-nudge a {
    display: block;
    text-decoration: none;
    color: #141413;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
    padding: 20px 22px 18px;
    min-height: 172px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-nudge a:hover {
    transform: translateY(-2px);
    border-color: #bdbdbd;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.blog-nudge-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 6px;
}

.blog-nudge strong {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-nudge p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-nudge-cta {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #c7c7c7;
    padding-bottom: 1px;
}

.blog-nudge a:hover .blog-nudge-cta {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

/* About Page Styles */
.about-hero {
    padding: 70px 0 50px;
    text-align: left;
    background-color: #F0EFEA;
}

.about-hero h1 {
    font-size: 70px;
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: 0.2px;
    margin: 0 0 20px 0;
}

.about-hero .subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: 1px;
    color: #141413;
    margin: 0;
    max-width: 950px;
}

/* Team Section */
.team-section {
    padding: 50px 0 80px;
    background-color: #F0EFEA;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 100px;
}

.team-member {
    text-align: left;
}

.team-member-image {
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
}

.team-member-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.team-member h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.team-member h4 {
    font-size: 12px;
    font-weight: 400;
    color: #D38267;
    margin-bottom: 12px;
    text-transform: none;
}

.team-member p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Investors Section */
.investors-section {
    padding: 80px 0;
    background-color: #fff;
}

.investors-section h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
}

.investors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.investor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.investor-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.investor-logo img {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

.investor-logo a img {
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 34px 0 30px;
}

.contact-button a {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #fff;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.contact-button a:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid #333;
}

.footer-logo-social {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: start;
}

.footer-logo {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.footer-logo a {
    display: inline-block;
    line-height: 0;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    cursor: pointer;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s, color 0.3s;
}

.social-icons a:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.footer-contact {
    justify-self: center;
}

.footer-contact a {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #6d6d6d;
    border-radius: 999px;
    color: #d8d8d8;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.2px;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.footer-contact a:hover {
    color: #1a1a1a;
    border-color: #fff;
    background-color: #fff;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-self: end;
}

.footer-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a.active {
    color: #ff6b35;
}

.footer-nav a:hover {
    color: #ff6b35;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 12px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 55px;
        line-height: 65px;
    }

    .principle h2 {
        font-size: 35px;
        line-height: 45px;
    }

    .blog-nudge {
        right: 18px;
        bottom: 20px;
        max-width: 360px;
    }

    .blog-hero h1 {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav a {
        margin-left: 20px;
    }

    nav a:first-child {
        margin-left: 0;
    }

    .hero {
        padding: 40px 0 50px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 46px;
    }

    .hero-research-link {
        margin: -8px 0 14px;
    }

    .hero-research-link a {
        font-size: 16px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .principle {
        padding: 30px 0 60px;
    }

    .principle-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .principle h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .blog-nudge {
        display: none;
    }

    .blog-hero h1 {
        font-size: 34px;
    }

    .blog-card h2 {
        font-size: 24px;
    }

    .blog-card-link {
        padding: 24px 0 28px;
    }

    .blog-post h1 {
        font-size: 32px;
    }

    .blog-post .blog-video-table {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .investors-section h2 {
        font-size: 32px;
    }

    .investors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
