.profileOuter {
    position: relative;

    width: calc(100% - (var(--site-side-band) * 2));
    margin: 0 auto;
}

.profileContents {
    position: relative;

    width: 100%;
    overflow: hidden;
    isolation: isolate;

    padding:
        70px
        clamp(28px, 5vw, 90px)
        110px;

    box-sizing: border-box;

    color: var(--color-text-dark);

    background:
        linear-gradient(
            180deg,
            #e6ddd0 0%,
            #d4c4b0 100%
        );
}

.profileHero {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(28px, 5vw, 70px);

    align-items: center;

    margin-bottom: 80px;
}

.profileIconFrame {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    padding: 14px;

    box-sizing: border-box;

    background: rgba(36, 29, 25, 0.92);
    border: 1px solid var(--color-gold-line);
}

.profileIconFrame {
    position: absolute;
    inset: 0;

    z-index: 3;

    padding: 14px;

    border: 1px solid var(--color-gold-line);

    pointer-events: none;
}

.profileIconStage {
    position: relative;

    width: 260px;
    aspect-ratio: 1 / 1;

    overflow: visible;
}

.profileSecretYume {
    position: absolute;
    inset: 14px;

    z-index: 1;

    overflow: hidden;

    pointer-events: none;
}

.profileIconStage:hover .profileSecretYume {
    animation:
        enableYumeLink
        0s
        linear
        3.6s
        forwards;
}

@keyframes enableYumeLink {
    from {
        pointer-events: none;
    }

    to {
        pointer-events: auto;
    }
}

.profileSecretYume img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profileIconFrame {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 14px;

    box-sizing: border-box;

    border: 1px solid var(--color-gold-line);

    pointer-events: none;
}

.profileIconMain {
    width: 100%;
    height: 100%;

    transform-origin: center;
}

.profileIconMain img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profileIntroduction {
    position: relative;

    margin-top: 32px;
    padding-left: 26px;
}

.profileIntroduction::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 3px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--color-gold) 12%,
            var(--color-gold) 88%,
            transparent
        );

    opacity: 0.65;
}

@keyframes profileIconReveal {

    0% {
        transform:
            scale(1)
            translate(0, 0)
            rotate(0deg);
    }

    40% {
        transform:
            scale(1)
            translate(0, 0)
            rotate(0deg);
    }

    70% {
        transform:
            scale(0.9)
            translate(-2px, -1px)
            rotate(-3deg);
    }

    100% {
        transform:
            scale(0.85)
            translate(-80px, 20px)
            rotate(-20deg);
    }
}

.profileIconStage:hover .profileIconMain {
    animation:
        profileIconReveal
        2s
        forwards;

    animation-delay: 3s;
}

.profileIconViewport {
    position: absolute;
    inset: 14px;

    z-index: 2;

    overflow: hidden;

    pointer-events: none;
}


.profileEyebrow {
    margin: 0 0 12px;

    color: var(--color-gold);

    font-size: 0.75rem;
    letter-spacing: 0.35em;
}

.profileHeroText h1 {
    margin: 0;

    color: var(--color-ink);
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    letter-spacing: 0.08em;
}

.profileCatch {
    margin: 24px 0 16px;

    color: var(--color-ink);
    font-size: 1.05rem;
    line-height: 1.9;
}

.profileLead {
    margin: 0;

    color: var(--color-ink-soft);
    line-height: 2;
}

.sectionOrnament {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 22px 0 10px;
}

.sectionOrnament span {
    display: block;

    width: clamp(70px, 8vw, 140px);
    height: 1px;

    background: linear-gradient(
        90deg,
        rgba(155, 123, 73, 0.15),
        rgba(155, 123, 73, 0.85),
        rgba(155, 123, 73, 0.15)
    );
}

.sectionOrnament i {
    display: block;

    width: 10px;
    height: 10px;

    transform: rotate(45deg);

    border: 1px solid rgba(155, 123, 73, 0.9);
}

.profileSection {
    position: relative;
    z-index: 1;

    margin-bottom: 70px;
    padding: 36px clamp(20px, 4vw, 45px);

    background: rgba(238, 229, 215, 0.48);
    border: 1px solid rgba(155, 123, 73, 0.18);
}

.profileSectionHeader {
    margin-bottom: 28px;
    text-align: center;
}

.profileSectionHeader > p {
    margin: 0 0 6px;

    color: var(--color-gold);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
}

.profileSectionHeader h2 {
    margin: 0;

    color: var(--color-ink);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}

.activityGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.activityCard {
    padding: 24px;
    background: rgba(255,255,255,0.28);
    border: 1px solid rgba(155, 123, 73, 0.18);
}

.activityCard h3 {
    margin: 0 0 12px;
    color: var(--color-gold);
    letter-spacing: 0.15em;
}

.activityCard p {
    margin: 0;
    color: var(--color-ink-soft);
    line-height: 1.9;
}

.circleList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.circleCard {
    display: block;

    padding: 22px 24px;

    color: var(--color-ink);
    text-decoration: none;

    background: rgba(36, 29, 25, 0.9);
    border: 1px solid var(--color-gold-line);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.circleCard:hover {
    transform: translateY(-2px);
    border-color: rgba(185, 154, 99, 0.65);
}

.circleCard h3 {
    margin: 0 0 10px;

    color: var(--color-text);
}

.circleCard p {
    margin: 0;

    color: var(--color-muted);
    line-height: 1.8;
}

.profileSceneryPanel {
    max-width: 860px;
    margin: 0 auto;

    padding: 12px;
    background: rgba(36, 29, 25, 0.92);
    border: 1px solid var(--color-gold-line);
}

.profileSceneryPanel img {
    display: block;
    width: 100%;
    height: auto;
}

.profileHero::before {
    content: "";

    position: absolute;
    right: -6%;
    top: -30px;

    width: 38%;
    height: 120%;

    background:
        url("../imgs/profile_scenery_01.jpg")
        center center / cover
        no-repeat;

    opacity: 0.18;

    mix-blend-mode: multiply;

    pointer-events: none;
}

@media screen and (max-width: 900px) {
    .profileHero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profileHeroVisual {
        max-width: 260px;
        margin: 0 auto;
    }

    .activityGrid,
    .circleList {
        grid-template-columns: 1fr;
    }
}