/* Hero */
.hero {
    min-height: 100vh;
    background: var(--green-deep);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.018) 2px, rgba(255, 255, 255, 0.018) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 4px);
    pointer-events: none;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8rem 3rem 5rem 4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--green-light);
}

.hero-left h1 {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--white);
}

.hero-left h1 em {
    font-style: italic;
    color: var(--green-pale);
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8rem 4rem 5rem 3rem;
}

.hero-contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 3rem;
}

.hero-contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: padding-left 0.2s;
}

.hero-contact-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-contact-item:hover {
    padding-left: 0.4rem;
}

.hero-contact-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-light);
}

.hero-contact-value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: var(--white);
    color: var(--green-deep);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    align-self: flex-start;
}

.hero-cta:hover {
    background: var(--green-pale);
    transform: translateX(4px);
}

/* Sections */
section {
    padding: 6rem 4rem;
    border-bottom: 1px solid var(--border);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: start;
}

.about-pull {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--green-deep);
}

.about-pull em {
    font-style: italic;
    color: var(--green-light);
}

.about-body p {
    font-size: 0.97rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.5rem;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.skill-item {
    background: var(--white);
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, color 0.2s;
}

.skill-item:hover {
    background: var(--green-wash);
    color: var(--green-deep);
}

.skill-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}

/* Credits */
.credits-list {
    display: flex;
    flex-direction: column;
}

.credit-item {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.credit-item:first-child {
    padding-top: 0;
}

.credit-item:last-child {
    border-bottom: none;
}

.credit-year {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--green-light);
    font-style: italic;
    margin-bottom: 0.2rem;
}

.credit-dept {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.credit-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--green-deep);
    margin-bottom: 0.2rem;
}

.credit-production {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.credit-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 56ch;
}

.credit-type {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--border);
    color: var(--muted);
    white-space: nowrap;
    align-self: start;
}

/* Education */
.edu-list {
    display: flex;
    flex-direction: column;
}

.edu-item {
    border-bottom: 1px solid var(--border);
}

.edu-item:last-child {
    border-bottom: none;
}

.edu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    transition: color 0.2s;
}

.edu-toggle:hover .edu-qual {
    color: var(--green-light);
}

.edu-arrow {
    font-size: 1rem;
    color: var(--green-light);
    transition: transform 0.3s ease;
    display: inline-block;
}

.edu-item.open .edu-arrow {
    transform: rotate(180deg);
}

.edu-qual {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--green-deep);
}

.edu-institution {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.edu-year {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-light);
}

.edu-subjects {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin 0.4s ease;
    margin-bottom: 0;
}

.edu-item.open .edu-subjects {
    max-height: 600px;
    margin-bottom: 2rem;
}

.edu-subject-group {
    margin-bottom: 1.5rem;
}

.edu-subject-group:last-child {
    margin-bottom: 0;
}

.edu-subject-group-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--green-mid);
    padding: 0.6rem 1rem;
}

.edu-subject-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.edu-subject {
    background: var(--green-wash);
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    color: var(--muted);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Work */
.work-intro {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 60ch;
    margin-bottom: 3rem;
    line-height: 1.85;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border);
}

.work-card {
    background: var(--white);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.work-card:hover {
    background: var(--green-wash);
}

.work-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--green-pale);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.work-card:hover .work-card-accent {
    transform: scaleY(1);
    background: var(--green-mid);
}

.work-format {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 1rem;
}

.work-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--green-deep);
    margin-bottom: 0.6rem;
}

.work-role {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.9rem;
    font-style: italic;
}

.work-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.85;
}

.work-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: var(--green-pale);
    font-size: 1.1rem;
    transition: transform 0.25s, color 0.25s;
}

.work-card:hover .work-arrow {
    transform: translate(3px, -3px);
    color: var(--green-mid);
}

/* Contact */
.contact-section {
    background: var(--green-deep);
    border-bottom: none;
    padding: 7rem 4rem;
}

.contact-section .section-label {
    color: var(--green-light);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.9;
    max-width: 36ch;
    margin-top: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.2s, padding-left 0.2s;
}

.contact-link:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.contact-link span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-light);
}

/* Responsive */
@media (max-width: 960px) {
    section {
        padding: 4rem 2rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 7rem 2rem 3rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-right {
        padding: 3rem 2rem 5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .credit-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .credit-type {
        display: none;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}