@font-face {
    font-family: Archivo Black;
    src: url(fonts/archivo-black.woff2) format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Space Grotesk;
    src: url(fonts/space-grotesk.woff2) format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --ink: #17151a;
    --paper: #f8f1e4;
    --pink: #ff61a4;
    --blue: #3427d8;
    --acid: #e0f942;
    --display: "Archivo Black", "Arial Black", sans-serif;
    --body: "Space Grotesk", Arial, sans-serif;
    --rule: 2px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1rem/1.5 var(--body);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }

:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

h1, h2, p { margin: 0; }

.shell {
    width: min(100% - clamp(2.5rem, 10vw, 10rem), 83rem);
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.screen-reader-text:focus {
    z-index: 10;
    inset: 1rem auto auto 1rem;
    width: auto;
    height: auto;
    padding: .75rem 1rem;
    clip-path: none;
    background: var(--paper);
}

.site-header { border-bottom: var(--rule); }

.masthead, .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}

.brand strong { font-family: var(--display); font-weight: 400; }

.brand-mark, .collage-star {
    display: block;
    background: var(--pink);
    clip-path: polygon(50% 0, 60% 31%, 86% 10%, 82% 39%, 100% 49%, 74% 60%, 88% 89%, 61% 79%, 49% 100%, 37% 74%, 7% 91%, 24% 62%, 0 49%, 26% 39%, 10% 8%, 41% 28%);
}

.brand-mark {
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 auto;
    transform: rotate(-12deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    font-size: .92rem;
    font-weight: 700;
}

.site-nav a { display: inline-flex; align-items: center; min-height: 2rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.nav-contact {
    padding: .5rem .85rem;
    border: var(--rule);
    background: var(--acid);
    white-space: nowrap;
}

.nav-contact .arrow-out { margin-left: .45em; }

.hero {
    min-height: clamp(34rem, 45vw, 44rem);
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: clamp(1rem, 3.8vw, 4rem);
    padding-block: 2.75rem 4.5rem;
}

.hero-copy { position: relative; z-index: 2; }

.hero h1 {
    font: 400 clamp(4.1rem, 9.45vw, 9.15rem)/.8 var(--display);
    letter-spacing: -.082em;
    white-space: nowrap;
}

.hero h1 > span {
    display: block;
    margin-bottom: .12em;
    font-size: .49em;
    letter-spacing: -.07em;
    line-height: 1;
}

.hero h1 strong { font-weight: 400; }
.title-dot { color: var(--blue); margin-left: .025em; }

.hero p {
    margin-block: 1.65rem 1.7rem;
    font-size: clamp(1.05rem, 1.7vw, 1.45rem);
    font-weight: 500;
    line-height: 1.35;
}

.button, .text-link {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    font-weight: 700;
}

.button {
    min-height: 3rem;
    padding: .65rem .95rem;
    border: var(--rule);
    box-shadow: 4px 4px 0 var(--ink);
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
}

.button span, .text-link span { font-size: 1.12em; }

.arrow-out { display: inline-grid; place-items: center; flex: 0 0 auto; }

.arrow-out::before, .art-open::before {
    content: "";
    display: block;
    width: .72em;
    height: .72em;
    background: currentColor;
    clip-path: polygon(35% 0, 100% 0, 100% 65%, 85% 65%, 85% 25%, 11% 100%, 0 89%, 75% 15%, 35% 15%);
}

.button-ink {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 4px 4px 0 var(--blue);
}

.button-ink:hover { box-shadow: 2px 2px 0 var(--blue); }

.button-ink:focus-visible, .button-pink:focus-visible { outline-color: var(--blue); }

.button-paper, .button-pink { color: var(--ink); }
.button-paper { background: var(--paper); }
.button-pink { background: var(--pink); }
.button-paper:focus-visible { outline-color: var(--paper); }

.text-link {
    text-decoration-thickness: 2px;
    text-underline-offset: .28em;
}

.text-link:hover { text-decoration: none; }

.hero-collage {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 1.04;
    max-width: 39rem;
    justify-self: end;
}

.hero-painting, .hero-portrait, .about-photo, .book-cover {
    border: var(--rule);
    box-shadow: 8px 8px 0 var(--ink);
    background: var(--paper);
}

.hero-painting {
    position: absolute;
    top: 3%;
    left: 7%;
    width: 79%;
    height: 91%;
    padding: 10px;
    transform: rotate(-6deg);
}

.hero-painting img, .hero-portrait img, .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--ink);
}

.hero-painting img, .hero-portrait img { object-position: center 40%; }

.hero-portrait {
    position: absolute;
    right: 1.5%;
    bottom: 1%;
    z-index: 2;
    width: 39%;
    aspect-ratio: 1;
    padding: 7px;
    padding-bottom: 14px;
    transform: rotate(9deg);
}

.collage-star {
    position: absolute;
    z-index: 1;
    top: -1%;
    right: -2%;
    width: 28%;
    aspect-ratio: 1;
    transform: rotate(11deg);
}

.collage-dot {
    position: absolute;
    left: 2%;
    bottom: 3%;
    width: 8%;
    aspect-ratio: 1;
    border: var(--rule);
    border-radius: 50%;
    background: var(--acid);
}

.section-edge { border-top: var(--rule); }

.work {
    padding-block: clamp(2.7rem, 5vw, 5rem) clamp(3.7rem, 6vw, 6rem);
    color: var(--paper);
    background: var(--blue);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: clamp(1.6rem, 3.5vw, 3.1rem);
}

.section-heading h2, .about h2, .contact h2 {
    font: 400 clamp(3.25rem, 8.15vw, 8rem)/.86 var(--display);
    letter-spacing: -.068em;
}

.section-heading h2 span { color: var(--acid); }

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.85rem, 2vw, 1.6rem);
    padding: 0;
    margin: 0;
    list-style: none;
}

.art-link {
    display: block;
    position: relative;
    aspect-ratio: 1.05;
    padding: 6px;
    border: var(--rule);
    background: var(--paper);
    box-shadow: 5px 5px 0 var(--ink);
}

.art-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--ink);
}

.art-open {
    position: absolute;
    right: .7rem;
    bottom: .7rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: var(--rule);
    background: var(--paper);
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1;
}

.art-link:hover .art-open, .art-link:focus-visible .art-open { background: var(--acid); }

.art-dialog {
    box-sizing: border-box;
    width: min(52rem, calc(100vw - 1.5rem));
    max-height: calc(100% - 1.5rem);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--paper);
}

.art-dialog::backdrop { background: rgb(23 21 26 / 94%); }

.viewer {
    display: grid;
    justify-items: center;
    gap: .5rem;
}

.viewer-image {
    width: 100%;
    height: 100%;
    max-height: min(73vh, calc(100dvh - 9rem));
    object-fit: contain;
}

.viewer-tools, .viewer-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.viewer-tools {
    width: 100%;
    justify-content: space-between;
    padding: .4rem;
}

.viewer-nav { padding: .4rem; }

.viewer button {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: var(--rule);
    background: var(--paper);
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
}

.viewer button:hover { background: var(--acid); }
.viewer button:focus-visible { outline-color: var(--paper); }

.about { background: var(--pink); }

.about-grid, .book-grid, .contact-grid {
    display: grid;
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    padding-block: clamp(3.4rem, 7.5vw, 7.25rem);
}

.about-grid { grid-template-columns: .85fr 1.15fr; }

.about-photo {
    width: 92%;
    max-width: 31rem;
    margin-inline: auto;
    aspect-ratio: 1.04;
    padding: 8px;
    transform: rotate(-4deg);
}

.about h2 { font-size: clamp(3.05rem, 7.15vw, 6.75rem); }
.about h2 span, .contact h2 span { color: var(--blue); }

.about-copy > p, .book-copy > p, .contact-copy > p {
    margin-top: 1.15rem;
    max-width: 35rem;
    font-size: clamp(1rem, 1.55vw, 1.24rem);
}

.about-copy .text-link { margin-top: 1.3rem; }

.book-grid { grid-template-columns: .77fr 1.23fr; }

.book-visual {
    min-height: 24rem;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
}

.book-visual::before {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 9% 5%;
    border: var(--rule);
    background: var(--acid);
    transform: rotate(5deg);
}

.book-cover {
    width: min(63%, 17rem);
    transform: rotate(-7deg);
    box-shadow: 9px 9px 0 var(--ink);
}

.book-cover img { width: 100%; }

.book-copy .kicker {
    margin: 0 0 .75rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8rem;
    font-weight: 700;
}

.book h2 {
    font: 400 clamp(2.6rem, 5.05vw, 5.1rem)/.93 var(--display);
    letter-spacing: -.064em;
}

.book-copy .book-subtitle { font-weight: 700; }

.book-links, .social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem 1.5rem;
    margin-top: 1.45rem;
}

.contact { background: var(--acid); }
.contact-grid { grid-template-columns: .82fr 1.18fr; gap: clamp(1.75rem, 5vw, 5rem); }

.contact-panel {
    padding: clamp(1rem, 3.2vw, 2.65rem);
    border: var(--rule);
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--ink);
    overflow-wrap: anywhere;
}

.contact-form, .contact-form label { display: grid; gap: .4rem; }
.contact-form { gap: 1rem; }
.contact-form label { font-weight: 700; }

.form-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    min-width: 0;
    border: var(--rule);
    border-radius: 0;
    padding: .58rem .65rem;
    background: #fffdf7;
    font-weight: 400;
}

.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.form-notice { margin-bottom: 1em; font-weight: 700; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer {
    background: var(--ink);
    color: var(--paper);
}

.footer-links {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem 1.2rem;
}

.site-footer .privacy-policy-link { font-size: .9rem; }

.content-page {
    min-height: 62vh;
    padding-block: clamp(2rem, 7vw, 6rem);
    overflow-wrap: anywhere;
}

.content-page h1 {
    font: 400 clamp(2rem, 5vw, 4.5rem)/1.05 var(--display);
    letter-spacing: -.06em;
    margin: 0 0 1.4rem;
}

.content-page p, .content-page article + article { margin-top: 1rem; }
.content-page iframe { max-width: 100%; }

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr .94fr;
        min-height: 30rem;
    }

    .hero h1 { font-size: clamp(3.75rem, 9.1vw, 7.4rem); }
    .book-visual { min-height: 19rem; }
}

@media (max-width: 700px) {
    .masthead {
        min-height: 0;
        padding-block: .65rem;
        flex-wrap: wrap;
        gap: .55rem 1rem;
    }

    .site-nav { gap: .65rem 1rem; }
    .nav-contact { padding: .27rem .55rem; }

    .hero {
        grid-template-columns: 1fr;
        gap: 1.85rem;
        padding-block: 2.25rem 2.75rem;
    }

    .hero h1 { font-size: clamp(3.35rem, 13.4vw, 6.5rem); }
    .hero p { margin-block: 1.1rem 1.15rem; }
    .desktop-break { display: none; }

    .hero-collage {
        justify-self: center;
        width: min(95%, 28rem);
    }

    .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .about-grid, .book-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-photo { width: min(82%, 26rem); }
    .book-visual { min-height: 0; width: min(100%, 27rem); margin-inline: auto; }
    .book-visual::before { inset: 10% 8%; }
    .footer-inner { flex-wrap: wrap; padding-block: 1rem; gap: .35rem 1.2rem; }
    .footer-links { flex-basis: 100%; }
}

@media (max-width: 360px) {
    .shell { width: calc(100% - 2rem); }
    .hero h1 { font-size: 3.15rem; }
    .form-pair { grid-template-columns: 1fr; }
}
