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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.8;
    color: #000;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 0;
    text-align: left;
    min-height: auto;
    display: block;
    border-bottom: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 60px 40px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 80px;
    align-items: start;
}

.left-column {
    padding-top: 0;
}

.name-section {
    margin-bottom: 40px;
}

.name-section h2 {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.name-section h2 a {
    color: #000;
    text-decoration: none;
}

.name-section p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.975em;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.email-section {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.78em;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.email-section a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.email-section a:hover {
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.social-link {
    display: flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link svg {
    width: 100%;
    height: 100%;
}

.back-link {
    display: inline-block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.6;
}

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

.career-text {
    font-size: 1.125em;
    font-weight: 500;
    line-height: 2.4;
    color: #000;
    text-align: left;
    word-break: break-word;
}

.career-text p {
    margin-bottom: 0;
}

.career-text a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.career-text a:hover {
    opacity: 0.6;
}

.content-block {
    margin-top: 36px;
}

.content-block + .content-block {
    margin-top: 36px;
}

.content-block--rule {
    border-top: 1px solid #000;
    padding-top: 36px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer {
    padding: 30px 60px;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.75em;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.works-list,
.clients-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.works-list a,
.clients-list a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.works-list a {
    font-size: 0.85em;
    text-decoration: underline;
}

.clients-list a {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.clients-list a span {
    text-decoration: underline;
}

.works-list a:hover,
.clients-list a:hover {
    opacity: 0.6;
}

.external-icon {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
}

.inline-arrow {
    width: 9px;
    height: 9px;
    margin-left: 2px;
    vertical-align: 1px;
}

/* Work detail pages */

.work-title {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: 40px;
}

.work-content p {
    margin-bottom: 20px;
}

.work-content ul {
    list-style: disc;
    padding-left: 1.4em;
    margin-bottom: 20px;
}

.work-content li {
    margin-bottom: 4px;
}

.work-content-secondary {
    font-size: 0.7em;
}

.media-list {
    list-style: none;
    padding-left: 0;
}

.media-source {
    font-size: 0.85em;
    letter-spacing: 0.05em;
    color: #000;
    margin-left: 8px;
}

.media-source::before {
    content: "｜";
    margin-right: 8px;
}

.case-study-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.work-subhead {
    font-size: calc(1em / 0.7);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.work-subhead--accent {
    position: relative;
    padding-left: 10px;
}

.work-subhead--accent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: #000;
}

.work-content .work-subhead {
    margin-top: 8px;
    margin-bottom: 4px;
}

.work-subhead--small {
    font-size: 1em;
}

.section-divider {
    border-top: 1px solid #000;
    margin-top: 32px;
    margin-bottom: 24px;
}

/* Photo grid (Google Photos style) */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 4px;
    margin-top: 48px;
}

.photo-item {
    margin: 0;
    min-width: 0;
}

.photo-image {
    display: block;
    width: 100%;
    height: auto;
    background: #ebebeb;
}

.photo-caption {
    display: block;
    margin-top: 6px;
    font-size: 0.7em;
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: #666;
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        padding: 50px 40px 30px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 30px 20px;
    }

    .name-section {
        margin-bottom: 30px;
    }

    .name-section h2 {
        font-size: 2.25em;
    }

    .career-text {
        font-size: 0.975em;
        line-height: 2.2;
    }

    .content-block {
        margin-top: 28px;
    }

    .content-block + .content-block {
        margin-top: 28px;
    }

    .content-block--rule {
        padding-top: 28px;
    }

    .work-title {
        font-size: 2.25em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 40px 20px 20px;
    }

    .name-section h2 {
        font-size: 1.95em;
    }

    .career-text {
        font-size: 0.9em;
        line-height: 2;
    }

    .content-block {
        margin-top: 24px;
    }

    .content-block + .content-block {
        margin-top: 24px;
    }

    .content-block--rule {
        padding-top: 24px;
    }

    .work-title {
        font-size: 1.95em;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
