@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
    color-scheme: light;
    --paper: #f6f4eb;
    --ink: #18332c;
    --muted: #66726c;
    --green: #173a31;
    --lime: #d7f36a;
    --coral: #f2775b;
    --blue: #5676dd;
    --rule: #deded2;
    --sans: 'DM Sans', sans-serif;
    --serif: 'Playfair Display', Georgia, serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

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

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

.page-shell {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    max-width: 1600px;
    min-height: 100vh;
    margin: 0 auto;
    overflow: clip;
}

.profile-rail {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 34px 36px 28px;
    overflow: hidden;
    background: var(--green);
    color: #f8f7f0;
}

.profile-rail::after {
    position: absolute;
    right: -130px;
    bottom: 85px;
    width: 300px;
    height: 300px;
    border: 1px solid rgb(215 243 106 / 20%);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.wordmark {
    z-index: 1;
    width: fit-content;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.wordmark span {
    color: var(--lime);
}

.portrait-mark {
    position: relative;
    display: grid;
    width: 106px;
    aspect-ratio: 1;
    place-items: center;
    margin-top: 70px;
    overflow: hidden;
    border: 1px solid rgb(246 244 235 / 48%);
    border-radius: 50%;
    color: var(--lime);
}

.portrait-mark::before,
.portrait-mark::after {
    position: absolute;
    width: 74px;
    height: 74px;
    border: 1px solid rgb(246 244 235 / 30%);
    border-radius: 50%;
    content: '';
}

.portrait-mark::before {
    transform: translate(15px, -15px);
}

.portrait-mark::after {
    transform: translate(-15px, 15px);
}

.portrait-mark span {
    z-index: 1;
    font-family: var(--serif);
    font-size: 48px;
    font-style: italic;
}

.portrait-mark i {
    position: absolute;
    top: 13px;
    right: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
}

.rail-intro {
    margin-top: 23px;
}

.rail-kicker,
.eyebrow,
.section-label,
.topline,
.rail-footer,
.page-footer {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.rail-kicker {
    max-width: 180px;
    margin: 0 0 16px;
    color: var(--lime);
    line-height: 1.7;
}

.rail-intro h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 35px;
    font-weight: 500;
    line-height: 1.12;
}

.rail-note {
    max-width: 190px;
    margin: 13px 0 0;
    color: #c4d0c8;
    font-size: 13px;
    line-height: 1.65;
}

.rail-nav {
    z-index: 1;
    display: grid;
    gap: 4px;
    margin-top: 55px;
}

.rail-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    border-bottom: 1px solid rgb(246 244 235 / 16%);
    color: #eef0e8;
    font-size: 13px;
    transition: color 180ms ease, padding-left 180ms ease;
}

.rail-nav a span {
    color: var(--lime);
    font-size: 10px;
}

.rail-nav a:hover {
    padding-left: 5px;
    color: var(--lime);
}

.rail-footer {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 0 0;
    padding-top: 34px;
    color: #c4d0c8;
    font-size: 9px;
}

.rail-footer span {
    color: var(--coral);
    font-size: 17px;
}

.main-content {
    min-width: 0;
    padding: 0 8.1%;
    background-color: var(--paper);
    background-image: radial-gradient(#b4b5a8 0.65px, transparent 0.65px);
    background-position: 3px 3px;
    background-size: 22px 22px;
}

.topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    border-bottom: 1px solid var(--rule);
    color: var(--muted);
    font-size: 9px;
}

.topline a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.topline a span {
    color: var(--coral);
    font-size: 17px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(210px, 0.82fr);
    align-items: center;
    min-height: 540px;
    padding: 64px 0 80px;
}

.hero-copy {
    z-index: 1;
    animation: arrive 650ms ease-out both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 9px;
}

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

.hero h1,
.section-body h2,
.note-section h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
}

.hero h1 {
    font-size: 66px;
    line-height: 1.06;
}

.hero h1 em,
.section-body h2 em,
.note-section h2 em {
    color: #557267;
    font-weight: 500;
}

.hero-description {
    max-width: 410px;
    margin: 24px 0 23px;
    color: #4e5d56;
    font-size: 15px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    color: var(--coral);
    font-size: 17px;
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateY(3px);
}

.hero-art {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 1;
    justify-self: end;
    animation: arrive 700ms 120ms ease-out both;
}

.art-sun {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--coral);
}

.art-ring {
    position: absolute;
    right: 0;
    bottom: 4%;
    width: 78%;
    aspect-ratio: 1;
    border: 1px solid var(--ink);
    border-radius: 50%;
}

.art-ring::before {
    position: absolute;
    inset: 13%;
    border: 1px solid rgb(24 51 44 / 50%);
    border-radius: 50%;
    content: '';
}

.art-letter {
    position: absolute;
    top: 17%;
    left: 10%;
    color: var(--green);
    font-family: var(--serif);
    font-size: 205px;
    font-style: italic;
    line-height: 1;
}

.art-caption {
    position: absolute;
    right: -5%;
    bottom: 10%;
    padding: 12px 15px;
    background: var(--lime);
    color: var(--ink);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.6;
    transform: rotate(-5deg);
}

.art-spark {
    position: absolute;
    top: 1%;
    left: 3%;
    color: var(--blue);
    font-size: 37px;
}

.hero-index {
    position: absolute;
    bottom: 24px;
    left: 0;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.content-section {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
    padding: 74px 0 80px;
    border-top: 1px solid var(--rule);
}

.section-label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 8px;
    color: var(--muted);
    font-size: 9px;
}

.section-label span:first-child {
    color: var(--coral);
}

.section-body h2,
.note-section h2 {
    font-size: 38px;
    line-height: 1.2;
}

.section-body > p {
    max-width: 580px;
    margin: 22px 0 0;
    color: #4e5d56;
    font-size: 14px;
    line-height: 1.9;
}

.interests-section {
    padding-top: 72px;
    padding-bottom: 84px;
}

.interests-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.heading-doodle {
    padding: 3px 11px 8px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 25px;
    transform: rotate(45deg);
}

.interest-list {
    margin-top: 35px;
    border-top: 1px solid var(--rule);
}

.interest-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 16px;
    min-height: 100px;
    border-bottom: 1px solid var(--rule);
}

.interest-number {
    align-self: start;
    padding-top: 29px;
    color: var(--muted);
    font-size: 10px;
}

.interest-item h3 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
}

.interest-item p {
    margin: 0;
    color: #5d6962;
    font-size: 12px;
    line-height: 1.65;
}

.interest-symbol {
    display: grid;
    width: 30px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    font-size: 17px;
}

.symbol-coral {
    background: #f5b19e;
}

.symbol-blue {
    background: #bac8fa;
}

.symbol-lime {
    background: var(--lime);
}

.note-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 245px;
    padding: 40px 44px;
    overflow: hidden;
    background: var(--lime);
}

.note-section::after {
    position: absolute;
    right: 38px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border: 1px solid rgb(24 51 44 / 24%);
    border-radius: 50%;
    content: '';
}

.note-star {
    position: absolute;
    top: 25px;
    right: 30px;
    color: var(--coral);
    font-size: 24px;
}

.note-section .eyebrow {
    margin-bottom: 13px;
    color: #4e5d31;
}

.note-section h2 {
    font-size: 34px;
}

.note-section h2 em {
    color: #46603c;
}

.note-signature {
    z-index: 1;
    align-self: end;
    margin: 0 8px 5px 20px;
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
    white-space: nowrap;
    transform: rotate(-8deg);
}

.note-signature span {
    color: #d85f48;
    font-family: var(--sans);
    font-style: normal;
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 90px;
    color: var(--muted);
    font-size: 8px;
}

.page-footer a {
    color: var(--ink);
    white-space: nowrap;
}

.footer-star {
    padding-left: 4px;
    color: var(--coral);
}

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .page-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .profile-rail {
        padding-right: 28px;
        padding-left: 28px;
    }

    .main-content {
        padding-right: 7%;
        padding-left: 7%;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 0.72fr);
        min-height: 490px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .art-letter {
        font-size: 165px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        display: block;
    }

    .profile-rail {
        position: relative;
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: center;
        gap: 0 15px;
        min-height: 0;
        padding: 19px 24px 17px;
    }

    .profile-rail::after,
    .portrait-mark,
    .rail-intro,
    .rail-footer {
        display: none;
    }

    .wordmark {
        grid-row: 1 / span 2;
    }

    .rail-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        margin: 7px 0 0;
    }

    .rail-nav a {
        min-height: 25px;
        gap: 6px;
        border: 0;
        font-size: 11px;
    }

    .rail-nav a span {
        font-size: 8px;
    }

    .main-content {
        padding: 0 7%;
    }

    .topline {
        min-height: 61px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) 190px;
        min-height: 430px;
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero-description {
        font-size: 13px;
    }

    .art-letter {
        font-size: 130px;
    }

    .content-section {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 20px;
        padding: 58px 0 64px;
    }

    .section-body h2 {
        font-size: 32px;
    }

    .note-section {
        min-height: 220px;
        padding: 34px 30px;
    }
}

@media (max-width: 560px) {
    .profile-rail {
        grid-template-columns: 40px minmax(0, 1fr);
        padding-right: 18px;
        padding-left: 18px;
    }

    .rail-nav {
        gap: 5px 13px;
    }

    .rail-nav a {
        font-size: 10px;
    }

    .main-content {
        padding-right: 22px;
        padding-left: 22px;
    }

    .topline {
        font-size: 8px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 57px 0 56px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        max-width: 390px;
        margin-top: 18px;
    }

    .hero-art {
        width: 210px;
        margin: 33px 12px 0 auto;
    }

    .art-letter {
        font-size: 135px;
    }

    .hero-index {
        bottom: 21px;
    }

    .content-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 46px 0 52px;
    }

    .section-label {
        flex-direction: row;
        gap: 12px;
        padding: 0;
    }

    .section-body h2,
    .note-section h2 {
        font-size: 30px;
    }

    .section-body > p {
        margin-top: 17px;
        font-size: 13px;
    }

    .interest-list {
        margin-top: 25px;
    }

    .interest-item {
        grid-template-columns: 26px minmax(0, 1fr) 30px;
        gap: 10px;
        min-height: 96px;
    }

    .interest-item p {
        font-size: 11px;
    }

    .note-section {
        align-items: flex-start;
        flex-direction: column;
        min-height: 235px;
        padding: 38px 27px 28px;
    }

    .note-signature {
        align-self: flex-end;
        margin: 18px 3px 0 0;
    }

    .page-footer {
        flex-wrap: wrap;
        justify-content: space-between;
        min-height: 82px;
        font-size: 7px;
    }

    .page-footer span:nth-child(2) {
        order: 3;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}