/* 화면별 문구·이미지·링크: index.php / 등장 간격: js/anniversary.js */
:root {
    --ink: #090708;
    --gold: #b58e40;
    --gold-light: #e5cca0;
    --line: rgba(181, 142, 64, 0.25);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}
body {
    margin: 0;
    background: var(--ink);
    color: #fff;
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic",
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.modal-open {
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button {
    color: inherit;
}
button:disabled {
    cursor: wait;
    opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}
img,
svg {
    max-width: 100%;
    display: block;
}
button {
    border: 0;
}
p,
h1,
h2,
h3 {
    margin-top: 0;
}
button,
select {
    touch-action: manipulation;
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: -70px;
    left: 20px;
    background: var(--gold);
    color: #090708;
    padding: 10px;
    z-index: 300;
}
.skip-link:focus {
    top: 10px;
}
.reading-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 110;
    background: transparent;
}
.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gold-light);
    transform-origin: left;
    transform: scaleX(0);
}
.site-header {
    height: 84px;
    max-width: 1440px;
    margin: auto;
    padding: 0 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
}
.wordmark {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wordmark > b {
    font-family: Georgia, serif;
    font-size: 37px;
    line-height: 1;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: -2px;
}
.wordmark > b > span {
    font: 9px Arial, sans-serif;
    letter-spacing: 1px;
    vertical-align: top;
    margin-left: 2px;
    display: inline-block;
    padding-top: 5px;
}
.wordmark > span {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}
.wordmark small {
    display: block;
    font-size: 8px;
    letter-spacing: 0.2em;
    color: #a7a099;
}
.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 12px;
    color: #c8c3bc;
}
.site-header nav > a {
    position: relative;
}
.site-header nav > a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.site-header nav > a:hover:after {
    transform: scaleX(1);
}
.hero-section {
    position: relative;
    max-width: 1440px;
    margin: auto;
    overflow: hidden;
}
.hero-frame {
    position: relative;
    width: min(100%, 780px);
    margin: auto;
    background: #090708;
    isolation: isolate;
    aspect-ratio: 1448/2048;
}
.hero-original {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
}
.hero-layers {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-frame.is-animating .hero-original {
    opacity: 0;
}
.hero-frame.is-animating .hero-layers {
    display: block;
}
.hero-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    will-change: opacity, transform;
}
.layer-gold {
    mask-image: none;
    -webkit-mask-image: none;
}
.layer-left {
    mask-image: url("../images/layers/left.svg");
    -webkit-mask-image: url("../images/layers/left.svg");
}
.layer-right {
    mask-image: url("../images/layers/right.svg");
    -webkit-mask-image: url("../images/layers/right.svg");
}
.layer-orchestra {
    mask-image: url("../images/layers/orchestra.svg");
    -webkit-mask-image: url("../images/layers/orchestra.svg");
}
.layer-copy {
    mask-image: url("../images/layers/copy.svg");
    -webkit-mask-image: url("../images/layers/copy.svg");
}
.layer-details {
    mask-image: url("../images/layers/details.svg");
    -webkit-mask-image: url("../images/layers/details.svg");
}
.hero-frame.is-animating .layer-gold {
    animation: gold-reveal 1.7s var(--ease) 0.05s both;
}
.hero-frame.is-animating .layer-left {
    animation: left-reveal 1.45s var(--ease) 1.05s both;
}
.hero-frame.is-animating .layer-right {
    animation: right-reveal 1.45s var(--ease) 1.9s both;
}
.hero-frame.is-animating .layer-orchestra {
    animation: rise-reveal 1.5s var(--ease) 2.8s both;
}
.hero-frame.is-animating .layer-copy {
    animation: copy-reveal 1.5s var(--ease) 3.8s both;
}
.hero-frame.is-animating .layer-details {
    animation: rise-reveal 1.4s var(--ease) 4.15s both;
}
.hero-frame.is-finishing .hero-original {
    opacity: 1;
    transition: opacity 0.55s;
}
.hero-sheen {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(211, 176, 100, 0.04) 40%,
        rgba(247, 223, 172, 0.1) 48%,
        transparent 63%
    );
    transform: translateX(-100%);
}
.hero-frame.is-animating .hero-sheen {
    animation: sheen 2.6s ease 3.3s both;
}
.hero-side {
    position: absolute;
    top: 37%;
    font-size: 9px;
    letter-spacing: 0.3em;
    color: #9d896a;
    writing-mode: vertical-rl;
}
.side-left {
    left: 65px;
    transform: rotate(180deg);
}
.side-right {
    right: 65px;
}
.hero-actions {
    max-width: 1000px;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px 38px;
}
.text-button {
    background: transparent;
    color: inherit;
    font-size: 11px;
    letter-spacing: 0.025em;
    padding: 8px 0;
}
.hero-actions .text-button {
    color: #9e978b;
}
.scroll-cue {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: #b2a48a;
    display: flex;
    align-items: center;
    gap: 18px;
}
.scroll-cue span {
    font-size: 24px;
    animation: scroll-nudge 2.5s ease-in-out infinite;
}
.invitation {
    position: relative;
    text-align: center;
    padding: 108px 24px 120px;
    border-top: 1px solid var(--line);
    background: radial-gradient(
        ellipse at 50% 40%,
        rgba(133, 96, 40, 0.09),
        transparent 68%
    );
    overflow: hidden;
}
.eyebrow {
    font: 10px/1.6 Arial, sans-serif;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 30px;
}
.invitation h2,
.closing-note h2 {
    font-family: "Noto Serif KR", "Batang", serif;
    font-size: clamp(29px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.035em;
}
.gold-rule {
    width: 1px;
    height: 46px;
    background: linear-gradient(var(--gold), transparent);
    margin: 28px auto;
}
.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 57px;
    min-width: 265px;
    padding: 17px 26px;
    background: linear-gradient(110deg, #b58e40, #dbbd7c);
    color: #17120b;
    font-size: 14px;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.gold-button:after {
    content: "";
    position: absolute;
    inset: -100%;
    background: linear-gradient(
        110deg,
        transparent 40%,
        #ffffff55 50%,
        transparent 60%
    );
    transform: translateX(-70%);
    transition: transform 0.7s;
}
.gold-button:hover:after {
    transform: translateX(70%);
}
.gold-button:hover {
    box-shadow: 0 6px 30px #b58e4020;
    transform: translateY(-2px);
}
.gold-button > span {
    font-size: 22px;
    line-height: 1;
}
.artists-section {
    background: white;
    color: #131313;
    padding: 68px max(5vw, 22px) 90px;
    overflow: hidden;
}
.section-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    color: #9b773a;
    border-bottom: 1px solid #e7dfd1;
    padding-bottom: 12px;
    font: 10px Arial, sans-serif;
    letter-spacing: 0.2em;
}
.section-topline .text-button {
    letter-spacing: 0;
    color: #6d6a64;
}
.artists-heading {
    width: 100%;
    max-width: 1200px;
    margin: 26px auto 0;
}
.artist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px 55px;
    max-width: 1200px;
    margin: 0 auto;
}
.artist-card {
    position: relative;
    min-width: 0;
    padding: 20px 0 25px;
    border-bottom: 1px solid #e6e1d8;
    transform-origin: center;
    transition: opacity 0.9s var(--ease), transform 1.15s var(--ease);
}
.artist-index {
    display: block;
    color: #9f824c;
    font: 9px/1.5 Arial, sans-serif;
    letter-spacing: 0.17em;
    margin-bottom: 17px;
}
.artist-card svg {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.artist-card:before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 1px;
    background: #ab8235;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s 0.3s;
}
.artist-card.is-visible:before {
    transform: scaleX(1);
}
.motion-ready .artist-card {
    opacity: 0;
    transform: translateX(-65px);
}
.motion-ready .artist-card.from-right {
    transform: translateX(65px);
}
.motion-ready .artist-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.orchestra-profile {
    max-width: 1200px;
    margin: 70px auto 0;
    padding-top: 25px;
    border-top: 1px solid #cbb585;
}
.orchestra-grid {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 30px;
    align-items: center;
}
.orchestra-grid svg {
    width: 100%;
}
.location-section {
    max-width: 1040px;
    margin: auto;
    padding: 105px 35px 0;
}
.location-title {
    text-align: center;
    margin-bottom: 45px;
}
.location-title h2 {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.04em;
}
.location-title p:not(.eyebrow) {
    font-size: 20px;
    margin-bottom: 10px;
}
.location-title strong {
    font-weight: 400;
    color: var(--gold-light);
}
.location-title address {
    font-size: 12px;
    color: #a49d94;
    font-style: normal;
}
.map-frame {
    position: relative;
    min-height: 360px;
    background: #181613;
    border: 1px solid var(--line);
}
.kakaomap {
    height: 360px;
}
.kakaomap #map {
    position: relative;
    z-index: 1;
}
.kakaomap #map img {
    max-width: none;
}
.kakaomap .map-fallback {
    z-index: 2;
}
.map-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    background: radial-gradient(ellipse, #242017, #14120f);
    font-size: 12px;
    color: #bcb2a2;
}
.map-fallback strong {
    font-size: 20px;
    font-weight: 400;
    color: #e9ddc6;
}
.map-pin {
    font-size: 56px;
    color: var(--gold);
    line-height: 1;
}
.directions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.directions > a,
.directions > button {
    flex: 1;
    text-align: center;
    border: 1px solid #393023;
    background: none;
    font-size: 11px;
    padding: 15px 8px;
    color: #c9b591;
    transition: background 0.25s;
}
.directions > a:hover,
.directions > button:hover {
    background: #2b2318;
}
.closing-note {
    text-align: center;
    padding: 115px 20px;
}
.closing-note h2 {
    font-size: 35px;
    margin-bottom: 35px;
}
.site-footer {
    border-top: 1px solid var(--line);
    padding: 50px max(5vw, 26px) 110px;
    max-width: 1440px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    font-size: 11px;
    color: #9c958c;
}
.site-footer strong {
    font-size: 18px;
    letter-spacing: 0.09em;
    color: #d9cab0;
    font-weight: 400;
}
.site-footer p {
    margin: 9px 0;
}
.site-footer nav {
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 25px;
    justify-content: flex-end;
}
.site-footer button {
    background: none;
    font-size: 11px;
    padding: 0;
}
.site-footer small {
    font: 8px Arial, sans-serif;
    letter-spacing: 0.15em;
    grid-column: 1/-1;
    color: #746e64;
}
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 30px;
    z-index: 29;
    width: 40px;
    height: 40px;
    border: 1px solid #5b4b30;
    background: #15110c;
    color: #c1a66e;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.motion-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1.15s var(--ease);
}
.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: #090708f7;
}
.image-viewer > section {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.viewer-toolbar {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 12px 25px;
    border-bottom: 1px solid #3e3320;
    font-size: 12px;
    flex-shrink: 0;
}
.viewer-toolbar > span {
    flex: 1;
}
.viewer-toolbar a {
    font-size: 11px;
    color: var(--gold-light);
}
.viewer-toolbar button {
    font: 30px Arial;
    background: none;
    width: 36px;
}
.viewer-scroll {
    overflow: auto;
    flex: 1;
    overscroll-behavior: contain;
    padding: 20px;
}
.viewer-scroll img {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: auto;
    touch-action: pan-x pan-y pinch-zoom;
}
.toast {
    position: fixed;
    z-index: 200;
    left: 50%;
    bottom: 110px;
    transform: translate(-50%, 15px);
    opacity: 0;
    background: #eee5d3;
    color: #302718;
    padding: 12px 20px;
    font-size: 12px;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    max-width: 90vw;
    white-space: nowrap;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
@keyframes gold-reveal {
    from {
        opacity: 0;
        transform: scale(1.055);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes left-reveal {
    from {
        opacity: 0;
        transform: translateX(-4%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes right-reveal {
    from {
        opacity: 0;
        transform: translateX(4%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes rise-reveal {
    from {
        opacity: 0;
        transform: translateY(2%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes copy-reveal {
    from {
        opacity: 0;
        transform: translateY(1.2%);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
@keyframes sheen {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    15%,
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}
@keyframes scroll-nudge {
    0%,
    100% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(4px);
    }
}

@media (min-width: 1600px) {
    .hero-frame {
        width: 850px;
    }
}
@media (max-width: 1100px) {
    .hero-side {
        display: none;
    }
    .hero-frame {
        max-width: 740px;
    }
    .artist-grid {
        gap: 25px;
    }
    .artists-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    .site-header {
        padding: 0 30px;
    }
    .site-footer {
        padding-left: 35px;
        padding-right: 35px;
    }
}
@media (max-width: 700px) {
    html {
        scroll-padding-top: 18px;
    }
    .site-header {
        height: 68px;
        padding: 0 20px;
    }
    .wordmark {
        gap: 12px;
    }
    .wordmark > b {
        font-size: 31px;
    }
    .wordmark > span {
        font-size: 11px;
    }
    .wordmark small {
        font-size: 6px;
        letter-spacing: 0.12em;
    }
    .site-header nav {
        gap: 18px;
        font-size: 10px;
    }
    .site-header nav > a {
        display: inline-block;
    }
    .hero-actions {
        padding: 10px 21px 24px;
        margin: 0;
    }
    .hero-actions .text-button {
        font-size: 10px;
    }
    .scroll-cue {
        font-size: 8px;
        letter-spacing: 0.1em;
        gap: 5px;
    }
    .scroll-cue span {
        font-size: 18px;
    }
    .invitation {
        padding: 74px 20px 80px;
    }
    .eyebrow {
        font-size: 9px;
        margin-bottom: 22px;
    }
    .invitation h2 {
        font-size: 29px;
    }
    .gold-button {
        min-width: 250px;
        font-size: 16px;
        min-height: 54px;
    }
    .artists-section {
        padding: 40px 23px 50px;
    }
    .section-topline {
        font-size: 9px;
    }
    .section-topline .text-button {
        font-size: 10px;
    }
    .artists-heading {
        margin: 24px 0 7px;
    }
    .artist-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .artist-card {
        padding: 20px 0 22px;
    }
    .artist-index {
        font-size: 8px;
        margin-bottom: 14px;
    }
    .orchestra-profile {
        margin-top: 40px;
    }
    .orchestra-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .orchestra-grid svg {
        width: 100%;
    }
    .location-section {
        padding: 70px 23px 0;
    }
    .location-title h2 {
        font-size: 26px;
    }
    .location-title p:not(.eyebrow) {
        font-size: 18px;
    }
    .map-frame {
        min-height: 300px;
    }
    .kakaomap {
        height: 300px;
    }
    .directions {
        gap: 7px;
    }
    .directions > a,
    .directions > button {
        font-size: 10px;
        padding: 12px 5px;
    }
    .closing-note {
        padding: 80px 0;
    }
    .closing-note h2 {
        font-size: 30px;
    }
    .site-footer {
        grid-template-columns: 1fr;
        padding: 35px 25px 45px;
        gap: 22px;
    }
    .site-footer nav {
        justify-content: flex-start;
        gap: 12px 22px;
    }
    .back-to-top {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: 16px;
        width: 34px;
        height: 34px;
    }
    .viewer-toolbar {
        padding: 12px 16px;
        gap: 12px;
        font-size: 11px;
    }
    .viewer-scroll {
        padding: 10px;
    }
    .motion-ready .artist-card {
        transform: translateX(-42px);
    }
    .motion-ready .artist-card.from-right {
        transform: translateX(42px);
    }
}
@media (max-width: 360px) {
    .scroll-cue {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
    .motion-ready .reveal,
    .motion-ready .artist-card,
    .motion-ready .artist-card.from-right {
        opacity: 1;
        transform: none;
    }
    .hero-layers,
    .hero-sheen {
        display: none !important;
    }
    .hero-original {
        opacity: 1 !important;
    }
}
.hero-frame.is-preparing .hero-original {
    opacity: 0;
}

/* 합쳐진 포스터에서 인물이 가린 숫자 부분만 임시 벡터로 이어 줍니다. 원본에는 덧씌우지 않습니다. */
.copy-veil {
    position: absolute;
    left: 24%;
    right: 24%;
    top: 39%;
    height: 24%;
    background: linear-gradient(
        transparent 0%,
        #090708 27%,
        #090708 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 16%,
        #000 84%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 16%,
        #000 84%,
        transparent
    );
    pointer-events: none;
}
.hero-frame.is-animating .copy-veil {
    animation: veil-out 1.6s ease 3.8s both;
}
@keyframes veil-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media (max-width: 700px) {
    .motion-ready .artist-card.from-right.is-visible {
        transform: translateX(0);
    }
}

video {
    display: block;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
/* 인사말: 각 문단이 화면에 들어올 때 기존 reveal 효과로 한 번씩 등장합니다. */
.greeting-letter {
    max-width: 780px;
    margin: 0 auto;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.greeting .greeting-title {
    font-family: inherit;
    font-size: clamp(15px, 2.2vw, 23px);
    line-height: 1.8;
    letter-spacing: -0.035em;
    color: var(--gold-light);
    margin-bottom: 0;
}
.greeting .gold-rule {
    margin: 30px auto 38px;
}
.greeting-intro {
    font-family: "Noto Serif KR", "Batang", serif;
    font-size: clamp(19px, 2.7vw, 27px);
    line-height: 1.9;
    letter-spacing: -0.035em;
    margin-bottom: 38px;
}
.greeting-paragraph,
.greeting-details {
    font-size: 16px;
    line-height: 2.15;
    letter-spacing: -0.025em;
    color: #c6beb2;
    margin-bottom: 30px;
}
.greeting-paragraph strong {
    color: var(--gold-light);
    font-weight: 500;
}
.greeting-concert {
    position: relative;
    padding: 27px 12px;
    margin: 40px auto 28px;
    font-size: 16px;
    line-height: 2.1;
    color: var(--gold-light);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.greeting-concert strong {
    display: inline-block;
    font-family: "Noto Serif KR", "Batang", serif;
    font-size: clamp(21px, 3vw, 29px);
    font-weight: 400;
    letter-spacing: -0.04em;
}
.greeting-concert::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(229, 204, 160, 0.1) 50%,
        transparent 75%
    );
    opacity: 0;
}
.motion-ready .greeting-concert.is-visible::after {
    animation: greeting-glow 2.2s ease-out 0.25s both;
}
.greeting-details {
    color: #e0d7c8;
    margin-bottom: 36px;
}
.greeting-signature {
    font-size: 15px;
    color: #c6beb2;
    margin: 40px 0 45px;
    letter-spacing: 0.02em;
}
.greeting-signature strong {
    color: var(--gold-light);
    font-weight: 500;
    margin-left: 8px;
}
.motion-ready .greeting .reveal {
    transition-duration: 1.25s, 1.4s;
}
@keyframes greeting-glow {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}
@media (max-width: 700px) {
    .greeting {
        padding: 72px 22px 80px;
    }
    .greeting-paragraph,
    .greeting-details,
    .greeting-concert {
        font-size: 14px;
    }
    .greeting-paragraph {
        margin-bottom: 27px;
    }
    .greeting-concert {
        padding: 24px 4px;
        margin-top: 34px;
    }
    .greeting-signature {
        font-size: 13px;
        margin: 34px 0 38px;
    }
}

/* 우측 상단 음악 제어 / 첫 방문 안내 */
.site-header {
    padding-right: 160px;
}
.music-toggle {
    position: fixed;
    top: 18px;
    right: 20px;
    top: max(18px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    width: 112px;
    padding: 10px;
    border: 1px solid #705832;
    background: rgba(15, 12, 9, 0.95);
    color: var(--gold-light);
    box-shadow: 0 5px 24px #0003;
    font: 10px/1.5 Arial, sans-serif;
    letter-spacing: 0.08em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.music-toggle > span {
    white-space: nowrap;
}
.music-toggle b {
    font-weight: 400;
}
.music-toggle:hover {
    border-color: var(--gold-light);
}
.music-bars {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 19px;
}
.music-bars i {
    width: 2px;
    height: 5px;
    background: currentColor;
    transform-origin: center;
}
.music-toggle.is-playing .music-bars i {
    height: 17px;
    animation: music-wave 0.9s ease-in-out infinite alternate;
}
.music-toggle.is-playing .music-bars i:nth-child(2) {
    animation-delay: -0.45s;
}
.music-toggle.is-playing .music-bars i:nth-child(3) {
    animation-delay: -0.2s;
}
.music-toggle.is-playing .music-bars i:nth-child(4) {
    animation-delay: -0.65s;
}
@keyframes music-wave {
    from {
        transform: scaleY(0.25);
    }
    to {
        transform: scaleY(1);
    }
}
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(9, 7, 8, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.welcome-dialog {
    width: 100%;
    max-width: 440px;
    margin: auto;
    padding: 42px 26px 32px;
    text-align: center;
    border: 1px solid #705832;
    background: radial-gradient(ellipse at top, #302519, #100d0b 75%);
    box-shadow: 0 25px 100px #0008;
}
.welcome-dialog .eyebrow {
    font-size: 9px;
    letter-spacing: 0.18em;
    margin-bottom: 22px;
}
.welcome-symbol {
    font-size: 38px;
    line-height: 1.3;
    color: var(--gold-light);
    margin-bottom: 18px;
}
.welcome-dialog h2 {
    font-family: "Noto Serif KR", "Batang", serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}
.welcome-dialog #welcomeMessage {
    font-size: 16px;
    line-height: 1.9;
    color: #e3dacb;
    word-break: keep-all;
}
.welcome-hint {
    color: #a89c89;
    font-size: 11px;
    line-height: 1.8;
    word-break: keep-all;
    margin: 22px 0 28px;
}
.welcome-dialog .gold-button {
    width: 100%;
    min-width: 0;
}
@media (max-width: 700px) {
    .music-toggle {
        top: 12px;
        right: 16px;
        top: max(12px, env(safe-area-inset-top));
        right: max(16px, env(safe-area-inset-right));
        width: 98px;
        min-height: 44px;
        gap: 8px;
        font-size: 9px;
    }
    .site-header {
        height: 116px;
        padding: 18px 128px 12px 20px;
        align-items: flex-start;
    }
    .site-header .wordmark {
        flex-shrink: 0;
    }
    .site-header nav {
        position: absolute;
        right: 20px;
        bottom: 12px;
    }
    .welcome-overlay {
        padding: 20px;
    }
    .welcome-dialog {
        padding: 34px 20px 26px;
    }
    .welcome-dialog #welcomeMessage {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .music-toggle.is-playing .music-bars i {
        animation: none;
    }
}
