:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent: #d4af37;
    /* Gold/Amber */
    --accent-dark: #8a6e2f;
    --accent-glow: rgba(212, 175, 55, 0.15);
    --border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbm9pc2UpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent {
    color: var(--accent);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), transparent);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.cta-button {
    border: 1px solid var(--accent);
    padding: 0.8rem 2rem;
    color: var(--accent) !important;
    transition: all 0.3s !important;
    background: rgba(212, 175, 55, 0.05);
}

.cta-button:hover {
    background: var(--accent);
    color: #000 !important;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 500px;
    letter-spacing: 0.05em;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

.line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

/* Founder */
#founder {
    padding: 10rem 10% 0 10%;
}

.founder-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.founder-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.founder-text {
    flex: 1;
}

.founder-text h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.founder-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.role-subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    margin-top: -0.5rem;
}

/* Sections */
section {
    padding: 10rem 10%;
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 6rem;
    position: relative;
}

.section-header h2 {
    font-size: 4rem;
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: -1rem;
    z-index: 0;
    white-space: nowrap;
}

.section-header::after {
    content: attr(data-title);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
    position: relative;
    z-index: 1;
    display: block;
}

.separator {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-top: 1rem;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    padding: 4rem 3rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    opacity: 1;
}

.number {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 3rem;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Projects */
.project-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.project-card:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
    direction: rtl;
}

.project-card:nth-child(even) .project-info {
    direction: ltr;
}

.project-image {
    height: 500px;
    background: #111;
    position: relative;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #000 120%);
}

.project-status {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.8rem 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    border: 1px solid var(--accent);
    color: var(--accent);
    z-index: 2;
    backdrop-filter: blur(5px);
}

.project-info h3 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.genre {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    display: block;
}

.project-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

/* Model Info */
.model-info {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 1px solid var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

.model-info h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.model-info p {
    color: var(--text-main);
    font-size: 1.1rem;
}

.model-details {
    margin-top: 1.5rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
}

.model-details p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.model-details p:first-child {
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* Projects */
#projects {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.project-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

/* Openings */
.job-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.job-card+.job-card {
    margin-top: 2rem;
}

.job-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.job-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.job-card.active .job-header {
    background: rgba(212, 175, 55, 0.05);
    border-bottom-color: var(--border);
}

.job-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.job-title-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.job-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
}

.job-toggle {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s;
}

.job-card.active .job-toggle {
    transform: rotate(45deg);
}

.job-type {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.5rem 1rem;
}

.job-content {
    padding: 0 3rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.job-card.active .job-content {
    padding: 3rem;
    max-height: 1000px;
    /* Arbitrary large height for transition */
    opacity: 1;
}

.job-intro {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 3rem;
    max-width: 800px;
}

.job-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.detail-column h4 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.detail-column ul {
    list-style: none;
}

.detail-column li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.detail-column li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.apply-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.apply-link:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    padding: 5rem;
    border: 1px solid var(--border);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: var(--accent);
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s;
    border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.05));
}

input[type="file"] {
    border: 1px dashed var(--border);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--text-main);
    color: var(--bg-color);
    border: none;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    margin-top: 2rem;
}

.submit-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

/* Contact Links */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-icon {
    color: var(--accent);
    text-decoration: none;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s;
    cursor: pointer;
    padding: 10px;
    overflow: hidden;
}

.contact-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contact-icon:hover {
    color: #fff;
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.discord-copy {
    color: var(--text-muted);
}

.discord-copy:hover {
    color: var(--accent);
}

/* Responsive Design */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    section {
        padding: 8rem 6%;
    }

    #founder {
        padding: 8rem 6% 0 6%;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-card:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .founder-content {
        flex-direction: column;
        gap: 2rem;
    }

    .founder-image {
        width: 200px;
        height: 267px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        top: -1.5rem;
    }

    .section-header::after {
        font-size: 1.8rem;
    }

    /* Layout */
    section {
        padding: 4rem 1.5rem;
    }

    #founder {
        padding: 4rem 1.5rem 0 1.5rem;
    }

    .container {
        width: 100%;
    }

    /* Hero */
    .hero-content {
        padding-top: 4rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    /* Founder */
    .founder-content {
        flex-direction: column;
        text-align: center;
    }

    .founder-text {
        text-align: left;
    }

    /* Projects */
    .project-card,
    .project-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .project-card:nth-child(even) .project-info {
        direction: ltr;
    }

    .project-image {
        height: 300px;
    }

    .project-info h3 {
        font-size: 2rem;
    }

    /* Jobs */
    .job-header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .job-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .job-header h3 {
        font-size: 1.4rem;
    }

    .job-toggle {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .job-card.active .job-content {
        padding: 1.5rem;
    }

    .job-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact */
    .form-container {
        padding: 2rem;
    }

    .contact-links {
        gap: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Layout */
    section {
        padding: 5rem 5%;
    }

    #founder {
        padding: 5rem 5% 0 5%;
    }

    /* Navigation */
    header {
        position: relative;
    }

    nav {
        position: relative;
        padding: 1.5rem 5%;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        box-sizing: border-box;
    }

    /* Hero */
    #hero {
        min-height: 60vh;
    }

    .hero-content {
        padding: 2rem 5% 0 5%;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* Founder */
    .founder-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-image {
        width: 180px;
        height: 240px;
    }

    .role-subtitle {
        font-size: 0.8rem;
    }

    /* Philosophy Cards */
    .grid-3 {
        gap: 2rem;
    }

    .card {
        padding: 2rem;
    }

    /* Projects */
    .project-card {
        gap: 2rem;
    }

    .project-info {
        padding: 2rem;
    }

    .project-card img {
        max-width: 100%;
        height: auto;
    }

    /* Model */
    .model-info {
        padding: 1.5rem;
    }

    .model-details {
        padding: 1rem;
    }

    /* Job Cards */
    .job-card {
        padding: 1.5rem;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .job-title-group {
        width: 100%;
    }

    .job-toggle {
        align-self: flex-end;
    }

    .job-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact */
    .contact-links {
        gap: 2rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    /* Form */
    .form-container {
        padding: 2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 4rem 5%;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 4rem 4%;
    }

    #founder {
        padding: 4rem 4% 0 4%;
    }

    .logo {
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .job-card {
        padding: 1rem;
    }

    .job-content {
        padding: 0 1rem;
    }

    .job-card.active .job-content {
        padding: 1.5rem 1rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .notification-toast {
        padding: 1.5rem 2rem;
    }

    .notification-toast-text {
        font-size: 1rem;
    }
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid var(--accent);
    padding: 2rem 3rem;
    border-radius: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 40px var(--accent-glow);
    backdrop-filter: blur(10px);
}

.notification-toast.show {
    opacity: 1;
}

.notification-toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-toast-icon {
    font-size: 2rem;
    color: var(--accent);
}

.notification-toast-text {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Footer */
footer {
    padding: 6rem 4rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    background: #020202;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .project-card {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .project-image {
        height: 300px;
    }

    section {
        padding: 6rem 5%;
    }

    .form-container {
        padding: 3rem 2rem;
    }
}