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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background-color: #faf9f7;
    overflow-x: hidden;
    max-width: 100vw;
}

body.loading {
    opacity: 0;
}

body.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

/* Header */
.header {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
    background-color: rgba(250, 249, 247, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .container {
    max-width: 1600px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #ccbbb2 0%, #bb9e8d 100%);
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    border-radius: 0;
    margin: 0;
    padding: 0 60px 52px;
    overflow: hidden;
    transition: min-height 0.6s ease, margin 0.6s ease, border-radius 0.6s ease;
}

.hero.scrolled {
    min-height: 88dvh;
    border-radius: 24px;
    margin: 0 40px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    z-index: 0;
    transition: border-radius 0.6s ease;
}

.hero.scrolled .hero-bg-image {
    border-radius: 24px;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    max-width: none;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.2;
    color: #3d3a37;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #2c2926;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
    
}

.features-intro {
    max-width: 480px;
    margin-bottom: 60px;
}

.features-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.features-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #4a4a4a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.feature-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Examples Section */
.examples {
    padding: 0px 0 80px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    aspect-ratio: 2/1;
}

.example-item-square-sm,
.example-item-square-lg,
.example-item-long {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 16px;
}

.example-item-square-sm {
    grid-column: span 1;
    grid-row: span 1;
}

.example-item-square-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.example-item-long {
    grid-column: span 2;
    grid-row: span 1;
}

.example-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.example-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.example-item-square-sm:hover .example-overlay,
.example-item-square-lg:hover .example-overlay,
.example-item-long:hover .example-overlay,
.example-item-square-sm.touched .example-overlay,
.example-item-square-lg.touched .example-overlay,
.example-item-long.touched .example-overlay {
    opacity: 1;
}

.example-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.example-sublabel {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
}

/* Curated Section */
.curated {
    background-color: #ebe9e5;
    padding: 80px 0;
}

.curated-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.curated-content {
    padding-top: 40px;
}

.curated-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.curated-subtitle {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 12px;
    font-weight: 350;
    color: #a15947;
    line-height: 1.6;
    margin-bottom: 8px;

}

.curated-subtitle span {
    font-weight: 500;
}

.curated-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-link {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-block;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Was 3x1, there is a thrid pic at the beginning which is commented out. */
    gap: 24px;
}

.tile {
    display: flex;
    flex-direction: column;
}

.tile-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 12px;
}

.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: linear-gradient(135deg, #ccbbb2 0%, #bb9e8d 100%);
}

.tile-caption {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #4a4a4a;
}

/* Founder Section */
.founder {
    padding: 100px 0;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.founder-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 5/4;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.founder-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: stretch;
    gap: 40px;
}

.founder-quotecontainer {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.founder-quote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
}

.founder-infocontact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.founder-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.founder-role {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #6a6a6a;
}

.contact-link {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #1a1a1a;
    border-radius: 24px;
    padding: 12px 24px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    background-color: #1a1a1a;
    color: #faf9f7;
}

/* Photo Credit */
.photo-credit {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: #c4c4c4;
    font-family: 'Inter', sans-serif;
    font-size: 6pt;
    font-weight: 400;
    line-height: 1;
    padding: 4px 8px;
    white-space: nowrap;
    border-top-left-radius: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.photo-credit::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.2a3.2 3.2 0 1 0 0-6.4 3.2 3.2 0 0 0 0 6.4z' fill='black'/%3E%3Cpath d='M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.2a3.2 3.2 0 1 0 0-6.4 3.2 3.2 0 0 0 0 6.4z' fill='black'/%3E%3Cpath d='M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #e5e3df;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #6a6a6a;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-section .container {
    padding: 0 0px;
}

.contact-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: stretch;
    width: 100%;
}

.contact-image-container {
    position: relative;
    overflow: hidden;
    width: 50%;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 40px;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.form-input,
.form-textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1a1a1a;
    padding: 12px 16px;
    border: 1px solid #e5e3df;
    border-radius: 8px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 24px;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.form-button:hover {
    background-color: #faf9f7;
    color: #1a1a1a;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.hamburger.active span {
    background-color: #ffffff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -4px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #042842;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: left 0.3s ease;
        z-index: 100;
    }

    .nav.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 24px 0;
        font-size: 18px;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 0;
    }

    .hero .container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding: 36px;
        max-width: none;
        width: 100%;
        border-radius: 0;
        margin: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .features .container {
        flex-direction: column;
    }

    .features-intro {
        margin-bottom: 0px;
    }

    .features-title {
        font-size: 28px;
    }

    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        aspect-ratio: auto;
    }

    .curated {
        padding: 0px 0px 80px;
    }

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

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

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

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-image-container {
        width: 100%;
        height: 33vh;
    }

    .contact-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .contact-content {
        width: 100%;
    }

}