/* ========================================
   Opening Invitation - Gallery Focused
   ======================================== */

.opening-page {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.opening-page main {
    display: block;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.op-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.op-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-accent-warm);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.op-label--light {
    color: rgba(255, 255, 255, 0.55);
}

.op-label--gold {
    color: var(--color-accent-warm);
}

.op-heading {
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.op-heading--light {
    color: var(--color-text-light);
}

.op-text {
    font-size: 0.98rem;
    line-height: 1.9;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    word-break: keep-all;
    word-wrap: break-word;
}

.op-text--light {
    color: rgba(255, 255, 255, 0.72);
}

.op-text--muted {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

/* ===== HERO ===== */
.op-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #0a0a0a;
}

.op-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.op-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%) brightness(0.75);
}

.op-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.95) 100%);
}

.op-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 1.5rem 5rem;
    color: var(--color-text-light);
}

.op-hero__label {
    display: block;
    font-size: clamp(2rem, 7vw, 3.25rem);
    letter-spacing: 0.12em;
    color: var(--color-accent-warm);
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.op-hero__title {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.op-hero__divider {
    width: 42px;
    height: 1px;
    background-color: var(--color-accent-warm);
    margin-bottom: 1.5rem;
}

.op-hero__subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.op-hero__date {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    color: var(--color-accent-warm);
    font-weight: 500;
}

.op-hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 1px;
    height: 32px;
    overflow: hidden;
}

.op-hero__scroll span {
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--color-accent-warm);
    animation: opScrollLine 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: top;
}

@keyframes opScrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.op-section {
    padding: 4.5rem 0;
}

.op-section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.op-section--dark .op-text {
    color: rgba(255, 255, 255, 0.72);
}

/* ===== GREETING ===== */
.op-greeting {
    text-align: center;
    padding-top: 5rem;
}

.op-greeting .op-label,
.op-greeting .op-heading {
    text-align: center;
}

.op-quote {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text-primary);
    margin: 0 0 2.5rem;
    padding: 0;
    text-align: center;
    letter-spacing: -0.005em;
}

.op-quote::before,
.op-quote::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--color-accent-warm);
    margin: 1.25rem auto;
}

.op-greeting .op-text {
    text-align: left;
}

/* ===== ABOUT ===== */
.op-about {
    background-color: #F3EEE3;
    padding-bottom: 5rem;
}

.op-lead {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-primary);
    font-weight: 300;
    word-break: keep-all;
    letter-spacing: -0.005em;
    margin-bottom: 0;
}

.op-about__images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 0 1rem;
}

.op-about__img {
    overflow: hidden;
    background-color: #e8e3d7;
}

.op-about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.op-about__img:hover img {
    transform: scale(1.03);
}

.op-about__img--main {
    aspect-ratio: 16 / 10;
    width: 100%;
}

.op-about__img--sub {
    aspect-ratio: 4 / 3;
    width: 70%;
    margin-right: auto;
    margin-top: -3.5rem;
    position: relative;
    box-shadow:
        12px -12px 0 #F3EEE3,
        -12px -12px 0 #F3EEE3,
        -12px 0 0 #F3EEE3;
}

/* ===== STATS ===== */
.op-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.op-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.op-stats__num {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.op-stats__label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.op-stats__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--color-accent-warm);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ===== DIRECTOR SECTION ===== */
.op-director-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: var(--color-text-light);
    position: relative;
}

.op-director {
    margin-top: 3rem;
    background-color: #ffffff;
    color: var(--color-text-primary);
    border-top: 3px solid var(--color-accent-warm);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.op-director__head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.75rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.op-director__monogram {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif KR', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-accent-warm);
    background-color: #F3EEE3;
    border-radius: 50%;
    letter-spacing: 0;
}

.op-director__title-small {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-accent-warm);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.op-director__name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.op-director__name span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    margin-left: 0.15rem;
}

.op-director__role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    line-height: 1.5;
    word-break: keep-all;
}

.op-director__body {
    padding: 1.75rem 1.75rem 2rem;
}

.op-director__bio {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin-bottom: 0.9rem;
    word-break: keep-all;
}

.op-director__bio:last-of-type {
    margin-bottom: 1.5rem;
}

.op-director__quote {
    margin: 0;
    padding: 1.25rem 1rem 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-primary);
    font-style: normal;
    letter-spacing: -0.005em;
    text-align: center;
    position: relative;
}

.op-director__quote::before {
    content: '"';
    display: block;
    font-size: 2.5rem;
    line-height: 0.5;
    color: var(--color-accent-warm);
    margin-bottom: 0.75rem;
    font-family: 'Noto Serif KR', serif;
}

/* ===== INAUGURAL ===== */
.op-inaugural {
    background-color: var(--color-bg-primary);
}

.op-inaugural__feature {
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.op-inaugural__images {
    position: relative;
    width: calc(100% - 3rem);
    margin: 0 auto 1.75rem;
    max-width: 500px;
}

.op-inaugural__image {
    overflow: hidden;
    background-color: var(--color-bg-secondary);
}

.op-inaugural__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.op-inaugural__image:hover img {
    transform: scale(1.03);
}

.op-inaugural__image--work {
    aspect-ratio: 4 / 3;
    width: 100%;
}

.op-inaugural__image--portrait {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 45%;
    margin-top: -20%;
    margin-left: auto;
    margin-right: -0.75rem;
    box-shadow:
        0 0 0 8px var(--color-bg-primary),
        0 16px 32px rgba(0, 0, 0, 0.18);
}

.op-inaugural__caption {
    position: absolute;
    left: 0;
    bottom: -1.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: none;
    font-weight: 500;
}

.op-inaugural__info {
    padding: 0 1.5rem;
    max-width: 560px;
    margin: 0 auto;
}

.op-inaugural__kicker {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--color-accent-warm);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.op-inaugural__title {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.op-inaugural__period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.op-inaugural__desc {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin-bottom: 1.75rem;
    word-break: keep-all;
}

/* ===== VIP ===== */
.op-vip {
    background-color: var(--color-bg-secondary);
}

.op-vip__list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.op-vip__item {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background-color: #ffffff;
    border-left: 2px solid var(--color-accent-warm);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    flex-wrap: wrap;
}

.op-vip__role {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: var(--color-accent-warm);
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.op-vip__name {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    font-weight: 500;
    letter-spacing: -0.005em;
}

.op-vip__affiliation {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    margin-left: auto;
    word-break: keep-all;
}

/* ===== OPENING INFO ===== */
.op-info {
    margin: 0;
    padding: 0;
}

.op-info__item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

.op-info__item:last-child {
    border-bottom: none;
}

.op-info__item dt {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--color-accent-warm);
    font-weight: 500;
    padding-top: 0.15rem;
}

.op-info__item dd {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-text-light);
    font-weight: 300;
}

.op-info__item dd a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 0.1rem;
}

.op-info__sub {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== LOCATION ===== */
.op-location {
    background-color: #F6F3E9;
    text-align: center;
}

.op-location__header {
    margin-bottom: 2rem;
}

.op-location .op-label,
.op-location .op-heading {
    text-align: center;
}

.op-location .op-heading {
    margin-bottom: 0;
}

.op-location__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.op-location__brand img {
    width: 220px;
    max-width: 60%;
}

.op-location__info {
    margin: 0 auto 2.5rem;
    max-width: 400px;
}

.op-location__divider {
    width: 40px;
    height: 1px;
    background-color: var(--color-accent-warm);
    margin: 0 auto 2rem;
    opacity: 0.5;
}

.op-location__divider:last-child {
    margin: 2rem auto 0;
}

.op-address {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.op-tel,
.op-parking {
    margin: 0;
}

.op-tel a,
.op-parking {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 0.3rem 0;
}

.op-parking {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.op-tel svg,
.op-parking svg {
    color: var(--color-accent-warm);
}

.op-map-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    max-width: 480px;
    margin: 0 auto;
}

.op-map-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.1rem 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: var(--color-text-primary);
    min-height: 76px;
    overflow: hidden;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.op-map-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--btn-accent, transparent);
}

.op-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.op-map-btn__icon {
    width: 20px;
    height: 20px;
    color: var(--btn-accent);
}

.op-map-btn__icon svg { width: 100%; height: 100%; }

.op-map-btn--naver { --btn-accent: #03C75A; }
.op-map-btn--kakao { --btn-accent: #FEE500; }
.op-map-btn--kakao .op-map-btn__icon { color: #191919; }
.op-map-btn--google { --btn-accent: #4285F4; }

/* ===== CTA ===== */
.op-cta {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: var(--color-text-light);
    text-align: center;
    padding: 5.5rem 0 6rem;
    overflow: hidden;
}

.op-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--color-accent-warm));
}

.op-cta__ornament {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--color-accent-warm);
    opacity: 0.8;
}

.op-cta__text {
    font-size: 1.15rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 300;
    margin-bottom: 3rem;
    word-break: keep-all;
    letter-spacing: 0.02em;
}

.op-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    min-height: 48px;
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
}

.op-btn--outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

.op-btn--outline:hover {
    background-color: var(--color-text-primary);
    color: var(--color-text-light);
}

.op-btn--ghost {
    background-color: transparent;
    color: var(--color-text-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.op-btn--ghost:hover {
    background-color: var(--color-text-light);
    color: #0f0f0f;
    border-color: var(--color-text-light);
}

.op-btn--gold {
    background-color: var(--color-accent-warm);
    color: #1a1a1a;
    border-color: var(--color-accent-warm);
}

.op-btn--gold:hover {
    background-color: var(--color-accent-warm-hover);
    border-color: var(--color-accent-warm-hover);
}

.op-btn svg {
    transition: transform var(--transition-fast);
}

.op-btn:hover svg {
    transform: translateX(2px);
}

/* ===== TOAST ===== */
.op-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 20px);
    padding: 0.85rem 1.5rem;
    font-size: 0.88rem;
    color: #fff;
    background-color: rgba(20, 20, 20, 0.92);
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

.op-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ===== FOOTER ===== */
.op-footer {
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    background-color: #0a0a0a;
    color: var(--color-text-light);
}

.op-footer__logo {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.op-footer__sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.op-footer__copy {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

/* ===== TABLET ===== */
@media (min-width: 600px) {
    .op-container { max-width: 640px; padding: 0 2rem; }
    .op-section { padding: 6rem 0; }
    .op-hero__content { padding: 3rem 2.5rem 6rem; }
    .op-heading { font-size: 2rem; }
    .op-quote { font-size: 1.55rem; }
    .op-info__item { grid-template-columns: 100px 1fr; gap: 1.5rem; }
    .op-about__img--sub { width: 60%; margin-top: -5rem; }

    .op-director__head { padding: 2.5rem 2.25rem 1.75rem; gap: 1.5rem; }
    .op-director__body { padding: 2rem 2.25rem 2.25rem; }
    .op-director__monogram { width: 68px; height: 68px; font-size: 2rem; }
    .op-director__name { font-size: 1.65rem; }

    .op-inaugural__title { font-size: 2rem; }

    .op-vip__item { padding: 1.15rem 1.5rem; }
}

/* ===== DESKTOP ===== */
@media (min-width: 900px) {
    .op-container { max-width: 720px; }
    .op-hero { min-height: 100vh; }
    .op-hero__content { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 7rem; }
    .op-hero__title { font-size: 5.5rem; }
    .op-section { padding: 8rem 0; }
    .op-heading { font-size: 2.4rem; }
    .op-quote { font-size: 1.8rem; }
    .op-about__img--sub { width: 50%; margin-top: -7rem; }
    .op-about__images { max-width: 900px; margin-left: auto; margin-right: auto; }

    .op-inaugural__feature {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 3.5rem;
        max-width: 1040px;
        margin: 2rem auto 0;
        padding: 2rem 2rem 2rem;
        align-items: center;
    }
    .op-inaugural__images { width: 100%; margin: 0; max-width: none; }
    .op-inaugural__info { padding: 0; max-width: none; }
    .op-inaugural__image--portrait {
        width: 42%;
        margin-top: -22%;
        margin-right: -1rem;
    }
}
