:root {
    color-scheme: light;
    --paper: #fbf8f0;
    --paper-deep: #f2ebdd;
    --ink: #39372f;
    --muted: #888274;
    --blue: #d8edf0;
    --blue-deep: #8dbbc1;
    --coral: #d78669;
    --line: #e8e0d2;
    --serif: "Kaisei Opti", "Yu Mincho", "Hiragino Mincho ProN", serif;
    --round: "Yusei Magic", "Hiragino Maru Gothic ProN", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

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

a:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 5px;
}

.page-shell {
    width: min(100% - 64px, 1240px);
    margin-inline: auto;
}

.site-header {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgb(87 76 57 / 8%);
}

.brand-mark img {
    width: 37px;
    height: 37px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--round);
    font-size: 19px;
    line-height: 1.1;
    letter-spacing: .04em;
}

.brand-name small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 10px;
    letter-spacing: .12em;
    text-align: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
    margin-left: auto;
}

.main-nav a,
.header-note,
.eyebrow,
.section-kicker,
.hero-photo figcaption,
.work-number,
.footer-top {
    font-family: var(--round);
}

.main-nav a {
    color: #6e695e;
    font-size: 12px;
    letter-spacing: .12em;
    transition: color .2s ease;
}

.main-nav a:hover,
.header-note:hover,
.footer-top:hover {
    color: var(--coral);
}

.header-note {
    padding: 9px 16px;
    border: 1px solid #e7d8c9;
    border-radius: 999px;
    color: #665e52;
    font-size: 12px;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
}

.header-note span {
    margin-left: 6px;
    color: var(--coral);
}

.hero {
    min-height: 610px;
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 5%;
    padding: 72px 8% 82px;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 470px;
    height: 470px;
    right: 7%;
    top: 52px;
    border-radius: 48% 52% 59% 41% / 47% 42% 58% 53%;
    background: var(--blue);
    transform: rotate(-8deg);
}

.hero-copy {
    padding-bottom: 14px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 19px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .18em;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
}

.hero h1 {
    margin: 0 0 24px;
    color: var(--coral);
    font-family: var(--round);
    font-size: clamp(58px, 7.5vw, 100px);
    font-weight: 400;
    letter-spacing: .12em;
    line-height: 1.15;
}

.hero h1 span {
    display: block;
    margin: 9px 0 0 8px;
    color: #9a9385;
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: .28em;
}

.hero-phrase {
    margin: 0 0 27px 4px;
    font-size: 15px;
    letter-spacing: .08em;
    line-height: 1.9;
}

.hero-phrase p {
    margin: 0;
}

.phrase-last {
    color: var(--coral);
}

.pill-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 45px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--ink);
    color: #fffdf8;
    font-family: var(--round);
    font-size: 12px;
    letter-spacing: .04em;
    transition: transform .2s ease, background .2s ease;
}

.pill-button:hover {
    background: var(--coral);
    transform: translateY(-2px);
}

.pill-button span {
    font-size: 15px;
}

.hero-visual {
    position: relative;
    width: min(100%, 420px);
    justify-self: center;
}

.hero-photo {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    margin: 0;
    border: 9px solid #fffdf8;
    border-radius: 46% 46% 24px 24px;
    background: #dedbd5;
    box-shadow: 0 20px 55px rgb(72 67 55 / 14%);
    transform: rotate(2deg);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}

.hero-photo figcaption {
    position: absolute;
    right: 13px;
    bottom: 13px;
    left: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 13px;
    border-radius: 5px;
    background: rgb(255 253 248 / 92%);
    color: #756d61;
    font-size: 11px;
    letter-spacing: .06em;
}

.hero-photo figcaption span:first-child {
    color: var(--coral);
    font-size: 13px;
}

.hero-sticker {
    position: absolute;
    z-index: 2;
    right: -21px;
    bottom: 48px;
    display: grid;
    width: 86px;
    height: 86px;
    place-content: center;
    border-radius: 50%;
    background: #f3d8c9;
    color: #766052;
    font-family: var(--round);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    transform: rotate(10deg);
}

.hero-spark {
    position: absolute;
    z-index: 2;
    color: var(--coral);
    font-size: 35px;
}

.spark-one {
    top: 8%;
    left: -30px;
}

.spark-two {
    right: 2%;
    top: -25px;
    color: #9abec0;
    font-size: 25px;
}

.hero-side-note {
    position: absolute;
    right: 13px;
    bottom: 95px;
    color: #a19a8d;
    font-size: 9px;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
}

.ribbon {
    overflow: hidden;
    padding: 11px 0;
    border-block: 1px solid #e7ded0;
    color: #938b7d;
    font-family: var(--round);
    font-size: 10px;
    letter-spacing: .17em;
    text-align: center;
}

.section-block {
    padding: 112px 5%;
}

.section-heading {
    margin-bottom: 37px;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
    color: var(--coral);
    font-size: 11px;
    letter-spacing: .15em;
}

.section-kicker span {
    color: #938b7d;
    font-size: 10px;
}

.section-heading h2,
.about-copy h2 {
    margin: 0;
    font-family: var(--round);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 400;
    letter-spacing: .07em;
    line-height: 1.5;
}

.section-intro {
    margin-top: 13px;
    color: #777166;
    font-size: 13px;
    line-height: 2;
}

.story-section {
    padding-bottom: 83px;
}

.story-section .section-heading {
    text-align: center;
}

.story-section .section-kicker {
    justify-content: center;
}

.story-card {
    position: relative;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    padding: 25px 5%;
    border: 1px solid #eee7db;
    border-radius: 22px;
    background: #fffdf9;
    box-shadow: 0 12px 36px rgb(91 78 54 / 5%);
}

.story-copy {
    position: relative;
    padding: 22px 0 30px 5%;
}

.handwritten {
    display: block;
    margin-bottom: 19px;
    color: var(--blue-deep);
    font-family: var(--round);
    font-size: 13px;
    letter-spacing: .08em;
}

.story-copy p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 2.2;
}

.story-copy strong {
    color: var(--coral);
    font-weight: 500;
}

.story-doodle {
    position: absolute;
    right: 12%;
    bottom: -5px;
    color: #e7f1ed;
    font-size: 84px;
    line-height: 1;
}

.story-card > img {
    width: 100%;
    border-radius: 13px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
}

.section-heading-row .section-intro {
    margin: 0 0 4px;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr 1fr;
    align-items: start;
    gap: 22px;
}

.work-card:nth-child(2) {
    margin-top: 33px;
}

.work-card:nth-child(3) {
    margin-top: 66px;
}
.work-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 15px;
}

.work-card-link:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 5px;
}

.work-image {
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 1 / .83;
    padding: 12px;
    border-radius: 15px;
}

.work-image-soft {
    background: #eee8dc;
}

.work-image-blue {
    background: #e3f1f1;
}

.work-image-paper {
    background: #efe9dd;
}

.work-image img {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    object-fit: cover;
    transition: transform .45s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.035);
}

.work-card:nth-child(2) .work-image img {
    object-fit: contain;
}

.work-caption {
    display: grid;
    grid-template-columns: 28px 1fr 22px;
    align-items: center;
    gap: 10px;
    padding: 15px 3px 0;
}

.work-number {
    align-self: start;
    padding-top: 4px;
    color: var(--coral);
    font-size: 10px;
}

.work-caption h3 {
    margin: 0;
    font-family: var(--round);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
}

.work-caption p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.work-arrow {
    color: #a89f90;
    font-size: 15px;
}

.about-section {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 26px;
    overflow: hidden;
    margin: 0 5% 80px;
    padding: 35px 7%;
    border-radius: 20px;
    background: #e6f0ed;
}

.about-mark {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 50%;
    background: #fffdf8;
}

.about-mark img {
    width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.about-copy {
    position: relative;
    z-index: 1;
}

.about-copy .section-kicker {
    margin-bottom: 7px;
}

.about-copy h2 {
    font-size: 23px;
}

.about-copy > p:last-child {
    margin-top: 8px;
    color: #686b60;
    font-size: 12px;
    line-height: 1.9;
}

.social-area {
    position: relative;
    z-index: 1;
    min-width: 230px;
}

.social-area > p {
    margin-bottom: 9px;
    color: #747467;
    font-size: 11px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgb(125 145 136 / 22%);
    border-radius: 999px;
    background: rgb(255 253 248 / 76%);
    font-family: var(--round);
    font-size: 10px;
    transition: background .2s ease, transform .2s ease;
}

.social-links a:hover {
    background: #fff;
    transform: translateY(-2px);
}

.social-links img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.social-links a span {
    color: var(--coral);
}

.about-cloud {
    position: absolute;
    color: rgb(255 255 255 / 42%);
    font-size: 72px;
    line-height: 1;
}

.cloud-left {
    top: -25px;
    left: 38%;
}

.cloud-right {
    right: 5%;
    bottom: -44px;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 20px 30px;
    color: #8e877a;
    text-align: center;
}

.contact-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 42px;
    padding: 76px 7% 84px;
    border-top: 1px solid var(--line);
}

.contact-section .section-heading {
    margin-bottom: 0;
}

.contact-form {
    display: grid;
    gap: 11px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 10px 35px rgb(87 76 57 / 5%);
}

.contact-form label {
    margin-top: 5px;
    color: #665e52;
    font-family: var(--round);
    font-size: 12px;
    letter-spacing: .04em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e7dfd2;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue-deep);
    outline: 2px solid rgb(141 187 193 / 22%);
}

.contact-submit {
    justify-self: start;
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

.contact-note {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.footer-top {
    margin-bottom: 9px;
    color: #706a60;
    font-size: 11px;
    letter-spacing: .08em;
}

.site-footer p {
    font-size: 11px;
}

.site-footer small {
    margin-top: 7px;
    font-family: var(--round);
    font-size: 9px;
    letter-spacing: .15em;
}

@media (max-width: 800px) {
    .page-shell {
        width: min(100% - 36px, 650px);
    }

    .site-header {
        min-height: 78px;
        gap: 18px;
    }

    .main-nav {
        gap: 20px;
    }

    .header-note {
        display: none;
    }

    .hero {
        min-height: 560px;
        padding: 62px 4% 72px;
        gap: 3%;
    }

    .hero::before {
        width: 360px;
        height: 360px;
        right: 0;
        top: 86px;
    }

    .hero-visual {
        width: min(100%, 340px);
    }

    .hero-side-note {
        display: none;
    }

    .section-block {
        padding: 85px 2%;
    }

    .work-grid {
        gap: 15px;
    }

    .work-card:nth-child(2) {
        margin-top: 22px;
    }

    .work-card:nth-child(3) {
        margin-top: 44px;
    }

    .work-caption {
        grid-template-columns: 22px 1fr;
        gap: 7px;
    }

    .work-arrow {
        display: none;
    }

    .about-section {
        grid-template-columns: 76px 1fr;
        gap: 20px;
        margin-inline: 2%;
        padding: 30px 6%;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 58px 1% 66px;
    }

    .contact-form {
        gap: 9px;
        padding: 20px 16px;
        border-radius: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 11px 12px;
        font-size: 16px;
    }

    .contact-submit {
        justify-self: stretch;
        justify-content: center;
    }

    .about-mark {
        width: 72px;
        height: 72px;
    }

    .about-mark img {
        width: 58px;
        max-height: 58px;
    }

    .social-area {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    html {
        scroll-padding-top: 24px;
    }

    .page-shell {
        width: min(100% - 28px, 430px);
    }

    .site-header {
        min-height: 72px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-mark img {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 16px;
    }

    .main-nav {
        gap: clamp(13px, 4vw, 23px);
    }

    .main-nav a {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 56px 5% 62px;
    }

    .hero-copy {
        position: relative;
        z-index: 2;
        padding: 0;
        text-align: center;
    }

    .eyebrow {
        justify-content: center;
        margin-bottom: 14px;
        font-size: 9px;
    }

    .hero h1 {
        margin-bottom: 18px;
        font-size: clamp(57px, 18vw, 76px);
    }

    .hero h1 span {
        font-size: 10px;
    }

    .hero-phrase {
        margin: 0 0 20px;
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-visual {
        width: min(82%, 320px);
        margin-bottom: 3px;
    }

    .hero::before {
        width: min(78vw, 330px);
        height: min(78vw, 330px);
        top: auto;
        right: 50%;
        bottom: 42px;
        transform: translateX(50%) rotate(-8deg);
    }

    .hero-photo {
        border-width: 7px;
        border-radius: 46% 46% 19px 19px;
    }

    .hero-sticker {
        right: -23px;
        bottom: 35px;
        width: 72px;
        height: 72px;
        font-size: 11px;
    }

    .spark-one {
        left: -24px;
        font-size: 27px;
    }

    .spark-two {
        right: -8px;
        top: -19px;
    }

    .ribbon {
        padding: 9px 0;
        font-size: 9px;
    }

    .section-block {
        padding: 72px 1% 67px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .section-heading h2,
    .about-copy h2 {
        font-size: 25px;
    }

    .section-intro {
        font-size: 12px;
    }

    .story-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 17px 17px;
        border-radius: 16px;
    }

    .story-copy {
        padding: 6px 2px 14px;
        text-align: center;
    }

    .handwritten {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .story-copy p {
        font-size: 13px;
        line-height: 2;
    }

    .story-doodle {
        right: 4px;
        bottom: -10px;
        font-size: 55px;
    }

    .story-card > img {
        border-radius: 9px;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row .section-intro {
        margin-top: 10px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .work-card:nth-child(2),
    .work-card:nth-child(3) {
        margin-top: 0;
    }

    .work-image {
        aspect-ratio: 1.25 / 1;
        padding: 10px;
    }

    .work-card:nth-child(2) .work-image {
        aspect-ratio: 1.2 / 1;
    }

    .work-caption {
        grid-template-columns: 28px 1fr 22px;
        gap: 10px;
        padding-top: 11px;
    }

    .work-arrow {
        display: inline;
    }

    .about-section {
        grid-template-columns: 62px 1fr;
        gap: 14px;
        margin: 0 1% 58px;
        padding: 23px 18px;
        border-radius: 16px;
    }

    .about-mark {
        width: 60px;
        height: 60px;
    }

    .about-mark img {
        width: 48px;
        max-height: 48px;
    }

    .about-copy h2 {
        font-size: 20px;
    }

    .about-copy > p:last-child {
        font-size: 11px;
    }

    .social-area {
        grid-column: 1 / -1;
        padding-left: 3px;
    }

    .social-links a {
        padding: 8px 12px;
        font-size: 11px;
    }

    .site-footer {
        padding-bottom: 24px;
    }

    .site-footer p {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}


.paintings-page {
    padding-bottom: 56px;
}

.paintings-intro {
    padding: clamp(46px, 8vw, 92px) 0 42px;
    text-align: center;
}

.paintings-intro h1 {
    margin: 9px 0 5px;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 500;
    letter-spacing: .04em;
}

.paintings-intro > p:last-child {
    margin: 0;
    color: var(--muted);
}

.paintings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
}

.painting-card {
    overflow: hidden;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fffdf8;
}

.painting-card img {
    width: 100%;
    height: auto;
    border-radius: 9px;
}

.painting-card figcaption {
    padding: 12px 4px 1px;
    color: var(--muted);
    font-family: var(--round);
    font-size: 12px;
    letter-spacing: .08em;
}

.paintings-back {
    display: flex;
    justify-content: center;
    padding-top: 38px;
}

@media (max-width: 760px) {
    .paintings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .paintings-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .painting-card {
        padding: 10px;
    }
}
