@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500&family=Inter:wght@400;500;600&display=swap');

:root {
    --background: #f5f4f0;
    --text: #111111;
    --muted: #666666;
    --line: #d6d4ce;
    --card-background: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 5%;
    border-bottom: 1px solid var(--line);
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-mark {
    font-size: 46px;
    line-height: 1;
}

.logo-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.desktop-nav {
    display: flex;
    gap: 34px;
    font-size: 14px;
}

.desktop-nav a {
    position: relative;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;
    background: var(--text);

    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    padding: 5px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    max-width: 1150px;
    margin: 0 auto;
    padding: 115px 5% 105px;
}

.eyebrow {
    margin: 0 0 22px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin-top: 0;
}

h1,
h2 {
    font-family: "Bodoni Moda", Georgia, serif;
    font-weight: 400;
}

h1 {
    max-width: 850px;
    margin-bottom: 32px;

    font-size: clamp(48px, 7vw, 100px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero-description {
    max-width: 520px;
    margin-bottom: 30px;

    font-size: 17px;
    line-height: 1.7;
    color: #444444;
}

.text-link,
.project-link {
    display: inline-block;

    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--text);
    padding-bottom: 5px;
}

.work-section {
    padding: 90px 5%;
    background: #e9e7e1;
}

.section-heading {
    max-width: 1150px;
    margin: 0 auto 45px;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    max-width: 1150px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-background);
}

.project-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #d9d8d3;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-content {
    padding: 28px;
}

.project-number {
    margin: 0 0 18px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;
    color: var(--muted);
}

.project-content h3 {
    margin-bottom: 14px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.project-content p:not(.project-number) {
    min-height: 105px;
    margin-bottom: 28px;

    font-size: 14px;
    line-height: 1.7;
    color: #555555;
}

.closing-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 120px 5%;
}

.closing-section h2 {
    margin-bottom: 20px;
}

.closing-section > p:not(.eyebrow) {
    margin-bottom: 30px;
    color: var(--muted);
}

.button {
    display: inline-block;
    padding: 14px 22px;

    background: var(--text);
    color: white;

    font-size: 13px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #444444;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 25px 5%;
    border-top: 1px solid var(--line);

    font-size: 12px;
    color: var(--muted);
}

/* Card selection (toggled by script.js) */
.project-card {
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card.selected {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

/* Tablet layout */
@media (max-width: 900px) {

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card:last-child {
        grid-column: span 2;
    }

    .project-card:last-child .project-image {
        aspect-ratio: 16 / 9;
    }

}

/* Mobile layout */
@media (max-width: 600px) {

    .site-header {
        padding: 22px 6%;
    }

    .logo-mark {
        font-size: 38px;
    }

    .logo-name {
        font-size: 14px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        padding: 80px 6% 75px;
    }

    h1 {
        font-size: clamp(45px, 13vw, 70px);
    }

    .hero-description {
        font-size: 15px;
    }

    .work-section {
        padding: 70px 6%;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-card:last-child {
        grid-column: auto;
    }

    .project-card:last-child .project-image {
        aspect-ratio: 4 / 5;
    }

    .project-content {
        padding: 24px;
    }

    .project-content p:not(.project-number) {
        min-height: auto;
    }

    .closing-section {
        padding: 80px 6%;
    }

    .site-footer {
        flex-direction: column;
        padding: 25px 6%;
    }

}


/* =========================
   ABOUT PAGE
========================= */

.about-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 45px 5% 120px;
}

.about-heading {
    margin-bottom: 70px;
}

.about-heading h1 {
    max-width: 900px;
    margin: 0;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
}


/* INTRO */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 100px;

    align-items: start;

    max-width: 1050px;
    margin: 0 auto;
}

.about-text {
    max-width: 550px;
    padding-top: 5px;
}

.about-text p {
    margin: 0 0 24px;

    font-size: 20px;
    line-height: 1.45;
}

.about-photo {
    width: 100%;
}

.about-photo img {
    display: block;

    width: 100%;
    height: 560px;

    object-fit: cover;
}


/* GENERAL ABOUT SECTION */

.about-section {
    display: grid;
    grid-template-columns: 30% 70%;

    padding: 120px 5%;

    border-top: 1px solid var(--line);
}

.section-label {
    padding-right: 30px;
}

.about-section-content {
    max-width: 750px;
}

.about-section-content h2 {
    max-width: 700px;
    margin-bottom: 45px;
}

.about-section-content p {
    max-width: 650px;

    font-size: 17px;
    line-height: 1.75;

    color: #444;
}


/* DIGITAL + PHYSICAL */

.creative-section {
    padding: 120px 5%;

    background: #e9e7e1;
}

.creative-heading {
    max-width: 1150px;
    margin: 0 auto 70px;
}

.creative-heading h2 {
    font-size: clamp(48px, 6vw, 80px);
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 1150px;
    margin: 0 auto;

    border-top: 1px solid #bdbbb5;
}

.creative-card {
    min-height: 300px;

    padding: 30px;

    border-right: 1px solid #bdbbb5;
}

.creative-card:first-child {
    padding-left: 0;
}

.creative-card:last-child {
    border-right: none;
}

.card-number {
    margin: 0 0 70px;

    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--muted);
}

.creative-card h3 {
    margin-bottom: 18px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.creative-card > p:last-child {
    max-width: 300px;

    font-size: 14px;
    line-height: 1.7;

    color: #555;
}


/* SKILLS */

.skills-section {
    display: grid;
    grid-template-columns: 30% 70%;

    padding: 120px 5%;

    border-top: 1px solid var(--line);
}

.skills-content {
    max-width: 850px;
}

.skills-content h2 {
    max-width: 650px;

    margin-bottom: 65px;
}

.skills-list {
    border-top: 1px solid var(--line);
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 0;

    border-bottom: 1px solid var(--line);

    font-size: 15px;
}

.skill-item span:last-child {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--muted);
}


/* CTA */

.about-cta {
    padding: 140px 5%;

    text-align: center;

    background: #111;
    color: white;
}

.about-cta .eyebrow {
    color: #aaa;
}

.about-cta h2 {
    margin-bottom: 25px;

    font-size: clamp(55px, 8vw, 110px);
}

.about-cta > p:not(.eyebrow) {
    max-width: 450px;

    margin: 0 auto 35px;

    color: #bbb;

    line-height: 1.7;
}

.about-cta .button {
    background: white;
    color: #111;
}

.about-cta .button:hover {
    background: #ddd;
}


/* ABOUT ME (mobile) */

@media (max-width: 800px) {

    .about-hero {
        padding-top: 35px;
        padding-bottom: 80px;
    }

    .about-heading {
        margin-bottom: 50px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-text {
        max-width: 600px;
    }

    .about-text p {
        font-size: 18px;
    }

    .about-photo img {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .about-section,
    .skills-section {
        grid-template-columns: 1fr;
        gap: 50px;

        padding: 80px 6%;
    }

    .creative-section {
        padding: 80px 6%;
    }

    .creative-grid {
        grid-template-columns: 1fr;
    }

    .creative-card,
    .creative-card:first-child {
        min-height: auto;

        padding: 30px 0;

        border-right: none;
        border-bottom: 1px solid #bdbbb5;
    }

    .creative-card:first-child {
        padding-top: 30px;
    }

    .creative-card:last-child {
        border-bottom: none;
    }

    .card-number {
        margin-bottom: 35px;
    }

    .about-cta {
        padding: 90px 6%;
    }

}


/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 5% 100px;
}

.contact-hero h1 {
    max-width: 1000px;
    margin: 0 0 30px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(58px, 8vw, 110px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.contact-intro {
    max-width: 560px;
    margin: 0;

    font-size: 17px;
    line-height: 1.8;
    color: #555;
}


/* CONTACT INFORMATION + FORM */

.contact-main {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;

    padding: 90px 8% 110px;

    border-top: 1px solid var(--line);
    background: #e9e7e1;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin: 0 0 25px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.contact-description {
    max-width: 400px;
    margin-bottom: 45px;

    font-size: 15px;
    line-height: 1.8;
    color: #555;
}


/* CONTACT DETAILS */

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 22px 0;

    border-top: 1px solid #c9c7c0;
}

.detail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.17em;
    color: #666;
}

.contact-detail a,
.contact-detail p {
    margin: 0;
    font-size: 15px;
}

.contact-detail a {
    width: fit-content;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.contact-detail a:hover {
    border-color: var(--text);
}


/* CONTACT FORM */

.contact-form-wrapper {
    padding: 38px;

    background: #f9f8f5;
}

.contact-form-wrapper h2 {
    font-size: clamp(32px, 3.5vw, 43px);
    margin-bottom: 35px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field label {
    font-size: 12px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 0;

    border: none;
    border-bottom: 1px solid #c9c7c0;
    border-radius: 0;

    background: transparent;
    color: var(--text);

    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;

    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: var(--text);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #898780;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    width: fit-content;
    padding: 16px 24px;

    border: 1px solid #111;
    background: #111;
    color: #fff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;

    transition: background 0.25s ease, color 0.25s ease;
}

.contact-submit:hover {
    background: transparent;
    color: #111;
}

.form-note {
    margin-top: 20px;

    font-size: 11px;
    line-height: 1.6;
    color: #777;
}


/* CLOSING SECTION */

.contact-closing {
    padding: 120px 5%;

    text-align: center;
}

.contact-closing h2 {
    margin: 0 0 35px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(45px, 7vw, 85px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
}


/* =====================================================
   3D MODELING PROJECT PAGE
   JURASSIC WORLD GYROSPHERE
===================================================== */


/* PROJECT HERO */

.project-page {
    width: 100%;
}

.project-hero {
    max-width: 1250px;
    margin: 0 auto;
    padding: 100px 5% 80px;
}

.project-hero h1 {
    max-width: 1000px;
    margin: 0 0 30px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(55px, 8vw, 110px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.project-subtitle {
    max-width: 550px;
    margin: 0 0 65px;

    font-size: 18px;
    line-height: 1.6;
    color: #555;
}


/* PROJECT DETAILS */

.project-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);
}

.project-details div {
    padding: 20px 20px 0 0;
}

.project-details div:not(:last-child) {
    border-right: 1px solid var(--line);
}

.project-details span {
    display: block;

    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;

    color: #777;
}

.project-details p {
    margin: 0;

    font-size: 14px;
}


/* HERO IMAGE */

.project-hero-image {
    width: 100%;

    padding: 0 5% 120px;
}

.project-hero-image img {
    display: block;

    width: 100%;
    max-width: 1400px;
    height: auto;

    margin: 0 auto;

    object-fit: cover;
}


/* STORY SECTIONS */

.project-story {
    display: grid;
    grid-template-columns: 30% 70%;

    max-width: 1400px;
    margin: 0 auto;

    padding: 120px 5%;

    border-top: 1px solid var(--line);
}

.story-label {
    padding-right: 30px;
}

.story-content {
    max-width: 750px;
}

.story-content h2 {
    max-width: 700px;

    margin: 0 0 45px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(45px, 5vw, 75px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.story-content p {
    max-width: 650px;

    margin: 0 0 25px;

    font-size: 16px;
    line-height: 1.8;

    color: #4f4f4f;
}


/* REFERENCE COMPARISON */

.reference-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 30px;

    max-width: 1400px;
    margin: 0 auto;

    padding: 0 5% 120px;
}

.reference-image {
    margin: 0;
}

.reference-image img {
    display: block;

    width: 100%;
    height: 650px;

    object-fit: cover;

    background: #e9e7e1;
}

.reference-image p {
    margin: 14px 0 0;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;

    color: #777;
}


/* APPROACH */

.approach-section {
    background: #e9e7e1;

    max-width: none;

    padding-left: 10%;
    padding-right: 10%;
}

.approach-section .story-content {
    max-width: 800px;
}


/* PROCESS LIST */

.process-list {
    margin-top: 60px;

    border-top: 1px solid #c4c2bc;
}

.process-list div {
    display: grid;
    grid-template-columns: 50px 1fr;

    align-items: center;

    padding: 18px 0;

    border-bottom: 1px solid #c4c2bc;
}

.process-list span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #777;
}

.process-list p {
    margin: 0;

    font-size: 14px;
    color: #222;
}


/* MODELING PROCESS */

.modeling-section {
    max-width: 1400px;
    margin: 0 auto;

    padding: 120px 5%;
}

.section-heading {
    max-width: 800px;

    margin-bottom: 70px;
}

.section-heading h2 {
    margin-bottom: 30px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(45px, 6vw, 80px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-heading > p:last-child {
    max-width: 600px;

    font-size: 16px;
    line-height: 1.8;

    color: #555;
}


/* MODELING GRID */

.modeling-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.modeling-grid figure {
    margin: 0;
}

.modeling-grid img {
    display: block;

    width: 100%;
    height: auto;

    background: #e9e7e1;
}

.modeling-grid .wide-image {
    grid-column: span 2;
}

.modeling-grid figcaption {
    margin-top: 12px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;

    color: #777;
}


/* MODEL VIEWS */

.model-views {
    padding: 120px 5%;

    background: #e9e7e1;
}

.model-views .section-heading {
    max-width: 1400px;

    margin-left: auto;
    margin-right: auto;
}


/* VIEWS GRID */

.views-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    max-width: 1400px;
    margin: 0 auto;
}

.views-grid figure {
    margin: 0;
}

.views-grid img {
    display: block;

    width: 100%;
    height: auto;

    background: #d8d7d2;
}

.views-grid figcaption {
    margin-top: 12px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;

    color: #777;
}


/* LARGE THREE-QUARTER VIEW */

.views-grid .large-view {
    grid-column: span 2;
}

.views-grid .large-view img {
    max-height: 850px;

    object-fit: contain;
}


/* FINAL MODEL */

.final-model {
    max-width: 1400px;
    margin: 0 auto;

    padding: 140px 5%;
}

.final-model h2 {
    margin-bottom: 25px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(50px, 6vw, 85px);
    font-weight: 400;
    line-height: 1;

    letter-spacing: -0.04em;
}

.final-model > p:not(.eyebrow) {
    max-width: 600px;

    margin-bottom: 70px;

    font-size: 16px;
    line-height: 1.8;

    color: #555;
}

.final-model img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;
}


/* NEXT PROJECT */

.next-project {
    padding: 100px 5% 130px;

    border-top: 1px solid var(--line);

    text-align: center;
}

.next-project a {
    display: inline-block;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(35px, 5vw, 65px);
    font-weight: 400;

    border-bottom: 1px solid #111;

    padding-bottom: 8px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .project-hero {
        padding-top: 75px;
    }

    .project-details {
        grid-template-columns: repeat(2, 1fr);

        row-gap: 25px;
    }

    .project-details div:nth-child(2) {
        border-right: none;
    }

    .reference-image img {
        height: 500px;
    }

    .project-story {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .story-label {
        padding-right: 0;
    }

    .modeling-grid,
    .views-grid {
        gap: 20px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    /* HERO */

    .project-hero {
        padding: 60px 6% 65px;
    }

    .project-hero h1 {
        font-size: clamp(48px, 13vw, 70px);
    }

    .project-subtitle {
        margin-bottom: 50px;

        font-size: 16px;
    }


    /* DETAILS */

    .project-details {
        grid-template-columns: 1fr 1fr;

        gap: 0;
    }

    .project-details div {
        padding: 18px 10px 18px 0;

        border-bottom: 1px solid var(--line);
    }

    .project-details div:nth-child(2) {
        border-right: none;
    }

    .project-details div:nth-child(3) {
        border-right: 1px solid var(--line);
    }


    /* HERO IMAGE */

    .project-hero-image {
        padding: 0 6% 80px;
    }


    /* STORY */

    .project-story {
        display: block;

        padding: 80px 6%;
    }

    .story-label {
        margin-bottom: 40px;
    }

    .story-content h2 {
        font-size: 48px;

        margin-bottom: 35px;
    }

    .story-content p {
        font-size: 15px;
    }


    /* REFERENCE */

    .reference-section {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 0 6% 80px;
    }

    .reference-image img {
        height: auto;

        aspect-ratio: 4 / 5;
    }


    /* APPROACH */

    .approach-section {
        padding-left: 6%;
        padding-right: 6%;
    }


    /* PROCESS */

    .process-list {
        margin-top: 45px;
    }


    /* MODELING */

    .modeling-section {
        padding: 80px 6%;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: 48px;
    }

    .modeling-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .modeling-grid .wide-image {
        grid-column: auto;
    }


    /* MODEL VIEWS */

    .model-views {
        padding: 80px 6%;
    }

    .views-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .views-grid .large-view {
        grid-column: auto;
    }

    .views-grid .large-view img {
        max-height: none;
    }


    /* FINAL MODEL */

    .final-model {
        padding: 90px 6%;
    }

    .final-model h2 {
        font-size: 50px;
    }

    .final-model > p:not(.eyebrow) {
        margin-bottom: 45px;

        font-size: 15px;
    }


    /* NEXT PROJECT */

    .next-project {
        padding: 80px 6% 100px;
    }

    .next-project a {
        font-size: 40px;
    }

}