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

:root {
    --bg-left: #b97791;
    --bg-mid: #a85f78;
    --bg-right: #98516a;
    --white: #fffdfd;
    --white-mute: #b5a2a9;
}
a{
    text-decoration: none;
    color: var(--white);
}

html, body {min-height: 100%; }
body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 1rem;
    font-weight: 200;
    background:
            radial-gradient(circle at 16% 10%, rgba(255,255,255,.10), transparent 34%),
            linear-gradient(100deg, var(--bg-left) 0%, var(--bg-mid) 47%, var(--bg-right) 100%);
    color: var(--white);
}

.persona-card {
    position: relative;
    width: min(99vw, calc(99vh * 16 / 9));
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: var(--white);
    box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.5);
}

.photo-crop {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
}
.photo-crop img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.content {
    position: absolute;
    top: 4%;
    right: 0;
    width: 50%;
    height:92%;
    overflow-Y: scroll;
    padding: 0 2rem 4rem 1rem;
}

.name {
    margin: 0 0 5% 0;
    font-size: clamp(28px, 4.45vw, 55px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: .02em;
    color: #fff;
    text-shadow: 0 0 0 #fff;
}
.name::first-letter { font-weight: 400; }

.block, .text{ margin: 0 0 3% 0; }
.block h2, .text h2 {
    margin: 0;
    font-size: clamp(18px, 2.33vw, 29px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -.02em;
    margin-top: 1rem;
}
.block h3, .text h3 {
    margin: 0;
    font-size: clamp(14px, 1.6vw, 20px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -.02em;
    margin-top: 1rem;
}

.rule {
    height: 1px;
    background: rgba(255,255,255,.88);
    margin: .55% 0 1.05% 0;
}
.block p {
    margin: 0;
}
.text p {
    margin-top: 2%;
}
.about p {
    line-height: 1.4;
}
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4%;
    margin-top: 4%;
}
.compact { margin: 0; }
.compact h2 { font-size: clamp(17px, 2.15vw, 27px); }
.compact .body-copy {
    font-size: 0.9rem;
    line-height: 1.30;
}
.review p {
    margin-top: 0.8rem;
    line-height: 1.4;
}
/*========  Header ========*/
header
{
    font-size: clamp(1rem, 5vw, 5rem);
    font-weight: 300;}
/*========  Footer ========*/
footer
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 100%;
    padding: 1.2% 0;
    font-size: clamp(10px, 1.15vw, 14px);
    line-height: 1.32;
    font-weight: 300;
}
.nav {
    display: flex;
    align-items: center;
    padding: 1.6rem 3rem;
    gap:1rem;
    list-style: none;
    color: var(--white);
}
.nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

@media (max-width: 720px)
{
    body { place-items: start center; background: var(--bg-right); }
    .persona-card {
        width: 100vw;
        min-height: 100vh;
        aspect-ratio: auto;
        overflow: visible;
    }
    .photo-crop {
        position: relative;
        width: 100%;
        height: 58vw;
    }
    .photo-crop img { object-position: left top; }
    .content {
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        padding: 6vw;
    }
    .bottom-grid { grid-template-columns: 1fr; gap: 5vw; }
    .tech-grid { row-gap: 16px; }
}

/* ======== Contact form ======== */
.contact-card .content {
    /* the base .content is already 92% tall and scrolls;
       just tighten the padding so form fields breathe */
    padding: 0 2rem 4rem 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 4%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.field label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--white);
}

.field input,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.4;
    padding: .5rem 0;
    outline: none;
    transition: border-color .18s ease;
    caret-color: var(--white);
}

.field textarea {
    resize: vertical;
    min-height: 7rem;
}

.field input:focus,
.field textarea:focus {
    border-bottom-color: rgba(255, 255, 255, .95);
}

.field input:-webkit-autofill {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, .45);
    font-weight: 200;
}

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
    border-bottom-color: rgba(255, 210, 220, .9);
}

/* honeypot: visually hidden but still in the DOM */
.field.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ======== Submit button ======== */
.submit {
    align-self: flex-start;
    margin-top: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .88);
    color: var(--white);
    font-family: inherit;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    padding: .85rem 2.2rem;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.submit:hover,
.submit:focus-visible {
    background: rgba(255, 255, 255, .92);
    color: var(--bg-mid);
    outline: none;
}

.submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ======== Status messages (success / error after submit) ======== */
.form-status {
    margin-top: 1.2rem;
    padding: .8rem 1rem;
    border-left: 2px solid rgba(255, 255, 255, .88);
    font-size: .9rem;
    line-height: 1.4;
    font-weight: 300;
}

.form-status.error { border-left-color: rgba(255, 210, 220, .95); }

/* ======== Mobile ======== */
@media (max-width: 720px) {
    .contact-card .content { padding: 6vw; }
    .contact-form { gap: 1.2rem; }
    .submit { width: 100%; text-align: center; }
}
/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 2rem 0;
    border-top: 1px solid var(--white);
}

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    font-size: 0.85rem;
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--white);
    transition: background 0.2s ease, color 0.2s ease;
}
.pagination-button:hover { background: var(--white); color: var(--bg-right); text-decoration: none; }
.pagination-button.active { background: var(--white); color: var(--bg-right); font-weight: 900; }
.pagination-button.disabled { opacity: 0.3; pointer-events: none; }

.more-models
{
    border-bottom: 1px solid var(--white-mute);
    padding: 0;
}
.more-models h3
{
    margin: 1rem 0 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}
.more-models img, .more-models a
{
    padding: 0;
    margin: 0;
}

.more-models img
{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
