/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid #000000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 1.5rem 3rem;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -0.05em;
    background: none;
    border: none;
    cursor: pointer;
    color: #000000;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #000000;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #000000;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid #000000;
    margin-top: 1.5rem;
    background: #ffffff;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu button {
    text-align: left;
    font-size: 1.125rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: none;
    border: none;
    cursor: pointer;
    color: #000000;
    transition: opacity 0.3s;
    min-height: 44px;
    padding: 0.5rem 0;
}

.mobile-menu button:hover {
    opacity: 0.6;
}

/* Consistent across all screen sizes */
@media (min-width: 768px) {
    .mobile-menu {
        /* Keep the same dropdown style on all screen sizes */
        padding: 2rem 1.5rem;
    }

    .mobile-menu button {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .mobile-menu {
        padding: 2.5rem 2rem;
    }

    .mobile-menu button {
        font-size: 1.25rem;
    }
}

/* Sections */
.section {
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

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

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

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

.section-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 4rem;
    margin-left: 0;
    padding-left: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 4.5rem;
    }
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .subsection-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .subsection-title {
        font-size: 2rem;
    }
}

/* Intro Section */
.intro-section {
    padding-top: 8rem;
    min-height: 100vh;
}

.main-heading {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    margin-left: 0;
    padding-left: 0;
}

@media (min-width: 768px) {
    .main-heading {
        font-size: 6rem;
    }
}

@media (min-width: 1024px) {
    .main-heading {
        font-size: 7rem;
    }
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 48rem;
    opacity: 0.6;
    line-height: 1.7;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .intro-text {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .intro-text {
        font-size: 1.5rem;
    }
}

/* Buttons */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-outline:hover {
    background: #000000;
    color: #ffffff;
}

.icon {
    width: 16px;
    height: 16px;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.text-box {
    border-left: 2px solid #000000;
    padding-left: 2rem;
    max-width: 65ch;
}

.text-box p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .text-box p {
        font-size: 1.125rem;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.value-icon {
    padding: 0.75rem;
    border: 1px solid #000000;
    transition: all 0.3s;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item:hover .value-icon {
    background: #000000;
    color: #ffffff;
}

.value-item p {
    padding-top: 0.75rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .value-item p {
        font-size: 1.125rem;
    }
}

/* Work Section */
.work-section {
    background: #000000;
    color: #ffffff;
}

.work-section .section-title {
    color: #ffffff;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-item {
    display: block;
    border-top: 1px solid #ffffff;
    padding: 4rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.project-item:hover {
    background: #ffffff;
    color: #000000;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .project-content {
        grid-template-columns: 150px 1fr;
        gap: 3rem;
    }
}

.project-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.project-item:hover .project-image img {
    filter: grayscale(0%);
}

.color-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.project-item:hover .color-overlay {
    opacity: 0.3;
}

.project-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .project-header {
        grid-template-columns: 2fr 1fr 1fr auto;
        gap: 2rem;
    }
}

.project-header h3 {
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .project-header h3 {
        font-size: 2.25rem;
    }
}

.project-category {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.project-year {
    font-size: 0.875rem;
    opacity: 0.6;
}

.arrow-icon {
    display: flex;
    justify-content: flex-end;
}

.arrow-icon svg {
    transition: transform 0.3s;
}

.project-item:hover .arrow-icon svg {
    transform: translateX(0.5rem);
}

.project-description {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .project-description {
        font-size: 1.125rem;
    }
}

/* Background Section */
.background-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.companies-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.company-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.company-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #000000;
    overflow: hidden;
}

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

.company-details {
    border-left: 2px solid #000000;
    padding-left: 2rem;
    padding-top: 0.5rem;
    flex: 1;
    max-width: 65ch;
}

.company-details h4 {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .company-details h4 {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .company-details h4 {
        font-size: 1.5rem;
    }
}

.company-details .role {
    font-size: 1rem;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.company-details .period {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.4;
}

/* Testimonials Section */
.testimonials-section {
    background: #000000;
    color: #ffffff;
}

.testimonials-section .section-title {
    color: #ffffff;
}

.testimonials-content {
    margin-bottom: 8rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 65ch;
}

.quote {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.8;
    font-style: italic;
}

@media (min-width: 768px) {
    .quote {
        font-size: 1.125rem;
    }
}

.author {
    font-weight: 300;
}

.author-role {
    font-size: 0.875rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.accolades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .accolades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accolade-item {
    border: 1px solid #ffffff;
    padding: 2.5rem;
    transition: all 0.3s;
}

.accolade-item:hover {
    background: #ffffff;
    color: #000000;
}

.award-name {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.award-title {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .award-title {
        font-size: 1.25rem;
    }
}

.award-year {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.profile-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.profile-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 28rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.status-heading {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-ping {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-heading {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .contact-heading {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .contact-heading {
        font-size: 4.5rem;
    }
}

/* Footer */
.footer {
    border-top: 1px solid #000000;
    padding: 4rem 0;
}

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

@media (min-width: 1024px) {
    .footer {
        padding: 6rem 0;
    }
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer p {
    font-size: 0.875rem;
    opacity: 0.6;
}
