:root {
    --cream: #faf4ee;
    --paper: #fff9f4;
    --ink: #231f24;
    --muted: #6c6267;
    --purple: #6f4a84;
    --soft-purple: #ead9e9;
    --line: rgba(111, 74, 132, 0.32);
    --shadow: 0 24px 70px rgba(67, 45, 76, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-image:
        linear-gradient(90deg,
            rgba(250, 244, 238, 0.94) 0%,
            rgba(250, 244, 238, 0.78) 34%,
            rgba(250, 244, 238, 0.12) 64%,
            rgba(250, 244, 238, 0) 100%),
        url("../images/hero.jpg");
    background-size: 110%;
    background-position: 90% center;
    background-repeat: no-repeat;
}

.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: clamp(42px, 5vw, 72px) clamp(44px, 8vw, 128px);
    pointer-events: none;
}

.logo {
    pointer-events: auto;
    color: var(--purple);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(94px, 12vw, 178px);
    line-height: 0.78;
    font-weight: 400;
    letter-spacing: -0.055em;
    margin-left: clamp(0px, 2vw, 24px);
}

.sparkle {
    color: var(--purple);
    font-size: clamp(38px, 4vw, 74px);
    margin-left: 22px;
    vertical-align: top;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(920px, 88vw);
    padding: clamp(320px, 34vh, 420px) 0 80px clamp(60px, 8vw, 140px);
}

.hero-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 7vw, 108px);
    line-height: 0.92;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.hero-script {
    margin-top: clamp(20px, 2.5vw, 36px);
    color: var(--purple);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(46px, 6vw, 92px);
    line-height: 1;
    letter-spacing: 0.03em;
    position: relative;
    width: fit-content;
}

.hero-script::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 2%;
    bottom: -10px;
    height: 3px;
    background: var(--purple);
    transform: rotate(-2deg);
    opacity: 0.85;
}

.hero-body {
    margin-top: clamp(72px, 8vw, 116px);
    max-width: 620px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.55;
    color: #332d30;
}

.heart {
    color: var(--purple);
    font-family: "Segoe Script", cursive;
    padding-left: 12px;
}

.main {
    padding: 92px clamp(30px, 6vw, 96px) 48px;
}

.section {
    max-width: 1360px;
    margin: 0 auto 118px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--purple);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.section-label .icon {
    font-size: 38px;
    line-height: 1;
    font-weight: 300;
}

.rule {
    height: 1px;
    background: var(--line);
    margin-bottom: 34px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.work-card {
    min-height: 420px;
    padding: 42px 40px;
    border: 1px solid rgba(111, 74, 132, 0.18);
    border-radius: 24px;
    background: rgba(255, 249, 244, 0.68);
    box-shadow: var(--shadow);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-content {
    flex: unset;
}

.work-card .star {
    color: var(--purple);
    font-size: 40px;
    line-height: 1;
    margin-bottom: 52px;
}

.work-card h3 {
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    color: #2d2930;
    font-weight: 500;
}

.dash {
    width: 34px;
    height: 3px;
    background: var(--purple);
    margin-bottom: 38px;
}

.work-card p {
    margin: 0;
    min-height: 96px;
    max-width: 330px;
    font-size: 21px;
    line-height: 1.5;
    color: #2d2930;
}

.tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--soft-purple);
    color: var(--purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 600;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.photo-card {
    height: 410px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(111, 74, 132, 0.15);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-card.link-card {
    position: relative;
}

.photo-card.link-card span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(250, 244, 238, 0.78);
    backdrop-filter: blur(12px);
    color: var(--purple);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.page-hero {
    min-height: 58vh;
    display: flex;
    align-items: flex-end;
    padding: 120px clamp(30px, 8vw, 120px) 80px;
}

.page-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 9vw, 132px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 880px;
}

.page-body {
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px clamp(30px, 6vw, 96px) 120px;
}

.back-link {
    display: inline-block;
    color: var(--purple);
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.editorial-grid img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.editorial-copy h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 0 0 28px;
}

.editorial-copy p {
    font-size: 22px;
    line-height: 1.7;
    color: var(--muted);
}

.note-list {
    display: grid;
    gap: 18px;
    margin-top: 40px;
}

.note {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    background: rgba(255, 249, 244, 0.7);
}

@media (max-width: 980px) {
    .hero {
        min-height: 920px;
        background-size: cover;
        background-position: center;
    }

    .site-header {
        align-items: center;
    }

    .logo {
        font-size: 78px;
        margin-left: 0;
    }

    .sparkle {
        font-size: 32px;
        margin-left: 10px;
    }

    .hero-copy {
        padding-top: 260px;
    }

    .work-grid,
    .gallery,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .work-card {
        min-height: 380px;
    }

    .work-card .star {
        margin-bottom: 34px;
    }

    .work-card h3 {
        margin-bottom: 22px;
    }

    .dash {
        margin-bottom: 32px;
    }

    .work-card p {
        min-height: auto;
    }

    .tags {
        margin-top: 28px;
    }

    .photo-card {
        height: 520px;
    }
}

.nullspace {
    max-width: 760px;
    margin: 0 auto 118px;
    padding: 56px;
    border: 1px solid rgba(111, 74, 132, 0.15);
    border-radius: 24px;
    background: rgba(255, 249, 244, 0.65);
    box-shadow: var(--shadow);
}

.nullspace-copy {
    max-width: 620px;
    margin-bottom: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.7;
    color: var(--muted);
}

.nullspace-link {
    color: var(--purple);
    font-weight: 600;
    letter-spacing: 0.04em;
}

#nullspace {
    margin-bottom: 48px;
}

.footer {
    padding: 0 clamp(30px, 6vw, 96px) 48px;
    max-width: none;
}

.footer-rule {
    height: 1px;
    background: var(--line);
    margin-bottom: 24px;
}

.footer-text {
    display: flex;
    justify-content: flex-end;
    color: rgba(111, 74, 132, 0.75);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 0.12em;
}