/* ─── Variables ─────────────────────────────────────────── */
:root {
    --bg:             #121212;
    --text:           rgba(255, 255, 255, 0.82);
    --text-dim:       rgba(255, 255, 255, 0.55);
    --circle-idle:    rgba(255, 255, 255, 0.18);
    --circle-hover:   rgba(255, 255, 255, 0.75);
    --circle-size:    28px;
    --header-height:  52px;
    --font-body:      'Spectral', Georgia, serif;
    --font-label:     'Spectral SC', Georgia, serif;
    --transition:     0.45s ease;
    --img-radius:     8px;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body { min-height: 100vh; background: var(--bg); }
a { color: inherit; text-decoration: none; }

/* ─── Fixed Site Header ─────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    z-index: 100;
}

/* Chevron nav — bare, no circle border */
.header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Generous tap target for mobile */
    padding: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
    cursor: pointer;
    font-size: 1rem;
    min-width: 44px;
    min-height: 44px;
}

.header__nav:hover {
    color: var(--circle-hover);
}

/* Name: centered, small, dim, spaced */
.header__name {
    font-family: var(--font-label);
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    color: var(--text-dim);
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

/* ─── Circle: revelation language only ─────────────────── */
.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    border: 1px solid var(--circle-idle);
    background: transparent;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}

/* Enter circle on landing page */
.circle--enter:hover {
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.10);
}

/* Title circle */
.circle--title:hover {
    border-color: var(--circle-hover);
    box-shadow: 0 0 14px rgba(255,255,255,0.06);
}

/* Description circle — half diameter */
.circle--desc {
    width: calc(var(--circle-size) * 0.5);
    height: calc(var(--circle-size) * 0.5);
}

.circle--desc:hover {
    border-color: var(--circle-hover);
    box-shadow: 0 0 10px rgba(255,255,255,0.06);
}

/* ─── Title swap: circle ↔ text ─────────────────────────── */
.gallery__title-swap,
.gallery__desc-swap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__title-swap {
    min-height: var(--circle-size);
}

.gallery__desc-swap {
    min-height: calc(var(--circle-size) * 0.5);
}

/* Title text — hidden by default */
.gallery__title-text {
    font-family: var(--font-label);
    font-weight: 300;
    font-size: 0.88rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    cursor: pointer;
    display: none;
}

/* Description text — hidden by default */
.gallery__description {
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    max-width: 400px;
    line-height: 1.7;
    cursor: pointer;
    display: none;
}

/* Open states: hide circle, show text */
.gallery__title-swap.is-open .circle--title,
.gallery__desc-swap.is-open .circle--desc {
    display: none;
}

.gallery__title-swap.is-open .gallery__title-text,
.gallery__desc-swap.is-open .gallery__description {
    display: block;
}

/* ─── Landing Page ──────────────────────────────────────── */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 3.5rem;
}

.statement {
    max-width: 520px;
    text-align: center;
}

.statement__text {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 2.1;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    letter-spacing: 0.015em;
}

.statement__lead {
    font-style: normal;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.04em;
}

.enter-wrap {
    display: flex;
    justify-content: center;
}

/* ─── Gallery Page ──────────────────────────────────────── */
.gallery {
    padding: calc(var(--header-height) + 3rem) 0 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4vw 0;
}

/* Image wrap — aspect variants */
.gallery__image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.gallery__image-wrap[data-aspect="landscape"] {
    width: 80vw;
    max-width: 1400px;
}

.gallery__image-wrap[data-aspect="panoramic"] {
    width: 94vw;
    max-width: 1600px;
}

.gallery__image-wrap[data-aspect="square"] {
    width: auto;
}

.gallery__image {
    display: block;
    border-radius: var(--img-radius);
    outline: 1px solid #2a2a2a;
    outline-offset: 0px;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.gallery__image-wrap[data-aspect="landscape"] .gallery__image,
.gallery__image-wrap[data-aspect="panoramic"] .gallery__image {
    width: 100%;
    height: auto;
}

.gallery__image-wrap[data-aspect="square"] .gallery__image {
    max-height: 720px;
    width: auto;
    height: auto;
}

.gallery__image.is-visible { opacity: 1; }

/* Glass overlay: prevents casual drag/download */
.gallery__glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--img-radius);
    -webkit-user-select: none;
    user-select: none;
}

.gallery__circle-wrap {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery__circle-wrap--desc {
    margin-top: 0.4rem;
}

/* Reserve enough height for one line of description text so
   the swap doesn't shift content below it */
.gallery__desc-swap {
    min-height: 1.8rem;
}

/* ─── About Page ────────────────────────────────────────── */
.about {
    min-height: 100vh;
    padding: 0 0 8rem;
}

.about__content {
    max-width: 640px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 3rem) 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
}

/* Portrait */
.about__portrait-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--circle-idle);
}

.about__portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.7s ease;
}

.about__portrait-wrap:hover .about__portrait {
    filter: grayscale(0%);
}

/* Bio */
.about__bio {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.about__bio p {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 2;
    font-weight: 300;
    color: var(--text);
}

.about__bio p:first-child {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

.about__authenticity {
    font-size: clamp(0.80rem, 1.0vw, 0.88rem) !important;
    color: var(--text-dim) !important;
    letter-spacing: 0.03em;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.4rem;
    margin-top: 0.4rem;
}

/* Parable section */
.about__parable {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

/* Re-emergence: circular, centered */
.about__parable-image-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--circle-idle);
}

.about__parable-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__parable-title {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--text-dim);
    text-align: center;
}

.about__parable-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 560px;
}

.about__parable-text p {
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    line-height: 2;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
}

/* The quoted voice — slightly different weight */
.about__parable-text p:nth-child(5) {
    color: rgba(255,255,255,0.92);
}

/* Ending + Writing (unified) */
.about__ending {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.about__ending p {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 2;
    font-weight: 300;
    color: var(--text);
}

.about__writing-text {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: var(--text);
    line-height: 1.6;
}

.about__writing-link {
    color: inherit;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 1px;
    transition: border-color var(--transition), color var(--transition);
}

.about__writing-link:hover {
    color: rgba(255,255,255,0.95);
    border-bottom-color: rgba(255,255,255,0.65);
}

.about__writing-link .fa-arrow-up-right-from-square {
    font-size: 0.75em;
    margin-left: 0.25em;
    vertical-align: middle;
}

/* Contact */
.about__contact {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.about__contact-label {
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form__field { width: 100%; }

.contact-form__input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.6rem 0;
    outline: none;
    transition: border-color var(--transition);
    caret-color: var(--text-dim);
}

.contact-form__input::placeholder {
    color: rgba(255,255,255,0.38);
    font-style: italic;
}

.contact-form__input:focus {
    border-bottom-color: rgba(255,255,255,0.40);
}

.contact-form__textarea {
    resize: none;
    line-height: 1.8;
}

.contact-form__submit-wrap {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.6rem;
}

/* Simple Send button */
.contact-form__send {
    background: transparent;
    border: none;
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color var(--transition);
    text-transform: uppercase;
}

.contact-form__send:hover {
    color: var(--text);
}

/* ─── Site Footer ───────────────────────────────────────── */
.site-footer {
    width: 100%;
    padding: 2.5rem 0 1.8rem;
    text-align: center;
}

.site-footer__copy {
    font-family: var(--font-label);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.33);
    margin: 0;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
    .gallery__image-wrap[data-aspect="landscape"] { width: 96vw; }
    .gallery__image-wrap[data-aspect="panoramic"] { width: 98vw; }

    .statement__text {
        font-size: 0.95rem;
        line-height: 2;
    }

    .about__content {
        padding-top: calc(var(--header-height) + 2rem);
    }
}
