/* Minimal Single-Page Design - No Rounded Corners */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #2C3E50;        /* Deep Slate Blue */
    --secondary: #F4F2EC;      /* Soft White */
    --accent1: #C8A356;        /* Warm Taupe */
    --accent2: #4361EE;        /* Cobalt Blue */
    --neutral: #BFC6C9;        /* Mist Gray */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-light: #e5e5e5;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-padding: 0 24px;
    --max-width: 1000px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Modern One-Page Layout with Scroll Snap */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    box-sizing: border-box;
}

/* Disable scroll snap on mobile for better UX */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Main page container with gap-based spacing */
.page {
    display: flex;
    flex-direction: column;
    gap: 0; /* No gap between sections for scroll snap */
    min-height: 100vh;
    min-height: 100svh; /* Modern viewport units */
    min-height: 100dvh;
}

/* Section System */
section {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: clamp(1rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    max-inline-size: 100%;
    overflow-wrap: break-word;
}

/* Disable scroll snap alignment on mobile */
@media (max-width: 768px) {
    .page {
        padding-top: 80px; /* Account for fixed header */
        padding-bottom: 60px; /* Account for fixed footer */
    }
    
    section {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        min-height: auto;
        align-items: flex-start;
        padding-top: clamp(2rem, 8vw, 4rem);
    }
    
    /* Hero section should take space between header and footer on mobile */
    .hero {
        min-height: calc(100vh - 140px);
        min-height: calc(100svh - 140px);
        min-height: calc(100dvh - 140px);
        align-items: center;
        justify-content: center;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    transition: width 0.3s ease;
}

.nav-logo:hover .logo-text::after {
    width: 100%;
}

.nav-logo:hover .logo-text {
    background: linear-gradient(135deg, var(--accent2) 0%, var(--accent1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: var(--accent2);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
    transition: color 0.3s ease;
}

.nav-logo:hover .logo-subtitle {
    color: var(--accent1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--accent2);
}

.nav-cta {
    background-color: transparent;
    color: var(--primary) !important;
    padding: 12px 24px;
    transition: all 0.3s ease;
    font-weight: 400;
    border: 1px solid var(--primary);
}

.nav-cta:hover {
    background-color: var(--primary);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

/* Home Page */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.hero-container {
    max-width: var(--max-width);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    min-height: 100%;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: clamp(1rem, 3vw, 2rem);
    letter-spacing: -0.5px;
    max-inline-size: 100%;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    max-inline-size: 100%;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 18px 36px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

/* Philosophy Page */
.philosophy-section {
    background-color: #ffffff;
}

.philosophy-content {
    max-width: 900px;
    width: 100%;
    display: grid;
    place-items: center;
    text-align: left;
    padding: clamp(1rem, 3vw, 2rem);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
    letter-spacing: -0.5px;
    text-align: center;
    max-inline-size: 100%;
}

.philosophy-subsection {
    margin-bottom: 24px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    border-bottom: 2px solid var(--accent1);
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
}

.philosophy-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 300;
}

.framework-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    margin: clamp(1rem, 3vw, 2rem) 0;
}

.framework-item {
    background: var(--secondary);
    padding: 12px;
    border-left: 3px solid var(--accent2);
}

.framework-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.framework-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.4;
}

.philosophy-highlight {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent2);
    text-align: center;
    margin: 16px 0;
    font-style: italic;
}

.philosophy-quote {
    background-color: var(--secondary);
    padding: 16px;
    margin-top: 16px;
    border-left: 4px solid var(--accent1);
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.quote-attribution {
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* About Page (Team) */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    width: 100%;
    max-width: 1000px;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background: white;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.member-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    border-bottom: 2px solid var(--accent1);
    padding-bottom: 8px;
    display: inline-block;
}

.member-title {
    color: var(--accent2);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 16px;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 14px;
}

.member-quote-box {
    background: var(--secondary);
    padding: 12px;
    border-left: 3px solid var(--accent2);
    margin-top: 16px;
}

.member-quote {
    font-style: italic;
    color: var(--primary);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Contact Page */
.contact-section {
    background-color: #ffffff;
}

.contact-content {
    width: 100%;
    max-width: 1000px;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 20px;
}

.contact-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 16px;
}

.contact-form {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    font-size: 14px;
    font-family: var(--font-body);
    background-color: white;
    transition: border-color 0.3s ease;
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: transparent;
    color: var(--primary);
    padding: 12px;
    border: 1px solid var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 2px;
}

.footer-logo-subtitle {
    font-size: 9px;
    font-weight: 500;
    color: var(--accent1);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.footer-brand p {
    color: var(--neutral);
    font-size: 16px;
    font-weight: 300;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 999;
    padding: 20px 0;
}

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

.mobile-menu .nav-link {
    display: block;
    padding: 15px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
}

.mobile-menu .nav-cta {
    margin: 15px 24px;
    text-align: center;
    border: 1px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .framework-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(0.75rem, 2vw, 1.5rem);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 28px;
        height: 35px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .philosophy-content {
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .philosophy-text {
        font-size: 14px;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
        gap: clamp(0.5rem, 1.5vw, 1rem);
    }
    
    .framework-item {
        padding: 16px;
    }
    
    .framework-title {
        font-size: 16px;
    }
    
    .framework-desc {
        font-size: 13px;
    }
    
    .quote-text {
        font-size: 16px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-member {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .philosophy-subsection {
        margin-bottom: 20px;
    }
    
    .philosophy-quote {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 24px;
        height: 30px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .philosophy-text {
        font-size: 13px;
    }
    
    .framework-item {
        padding: 12px;
    }
    
    .framework-title {
        font-size: 14px;
    }
    
    .framework-desc {
        font-size: 12px;
    }
    
    .team-member {
        padding: 16px;
    }
    
    .member-name {
        font-size: 18px;
    }
    
    .member-title {
        font-size: 13px;
    }
    
    .member-bio {
        font-size: 13px;
    }
    
    .member-quote {
        font-size: 13px;
        padding: 12px;
    }
    
    .contact-form {
        padding: 16px;
    }
    
    .contact-description {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .philosophy-quote {
        padding: 12px;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .quote-attribution {
        font-size: 11px;
    }
}

/* Smooth transitions for sections */
section {
    transition: opacity 0.3s ease;
}

/* Focus states for accessibility */
.cta-button:focus,
.submit-btn:focus,
.nav-link:focus {
    outline: 2px solid var(--accent2);
    outline-offset: 2px;
}