/* ─────────────────────────────────────────
   安靜的交織 Quietly Intertwined
   Style Sheet
───────────────────────────────────────── */

:root {
  --color-bg: #f5f3ef;
  --color-surface: #ede9e3;
  --color-text: #1e1e1c;
  --color-text-light: #4a4845;
  --color-text-muted: #6b6860;
  --color-gold: #b89c6e;
  --color-gold-light: #d4bc92;
  --color-teal: #4a8090;
  --color-teal-light: #6ba3b0;
  --color-line: rgba(184, 156, 110, 0.3);

  --font-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-en: "Cormorant Garamond", "Georgia", serif;

  --max-width: 960px;
  --section-pad: clamp(64px, 10vw, 120px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-zh);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--delay, 0s);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section label ── */
.section-label {
  display: inline-block;
  font-family: var(--font-zh);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 0 3px 6px;
  background: linear-gradient(to top, rgba(184, 156, 110, 0.14) 0 38%, transparent 38% 100%);
  box-shadow: inset 0 -1px 0 rgba(184, 156, 110, 0.22);
}

/* ═══════════════════════════════════════
   01 HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 35, 40, 0.25) 0%,
    rgba(15, 30, 35, 0.65) 55%,
    rgba(10, 22, 28, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(40px, 8vw, 80px) clamp(28px, 6vw, 80px);
  padding-bottom: clamp(60px, 10vw, 100px);
}

.hero__left {
  max-width: 520px;
}

.hero__sub {
  font-size: clamp(15px, 2.9vw, 17px);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  margin-top: 0;
  font-weight: 300;
  line-height: 1.85;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero__title-zh {
  font-family: var(--font-zh);
  font-size: clamp(40px, 8.6vw, 68px);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__title-en {
  font-family: var(--font-en);
  font-size: clamp(18px, 3.9vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero__logo {
  width: clamp(120px, 20vw, 180px);
  opacity: 0.85;
  display: block;
  mix-blend-mode: screen;
}

.hero__line {
  width: 40px;
  height: 1px;
  background: var(--color-gold-light);
  margin-bottom: 16px;
  opacity: 0.8;
}

.hero__date {
  font-family: var(--font-en);
  font-size: clamp(15px, 2.9vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero__venue {
  display: none;
}

@media (max-width: 640px) {
  .hero__logo {
    width: clamp(96px, 28vw, 132px);
  }
}

/* ═══════════════════════════════════════
   02 CONCEPT
═══════════════════════════════════════ */
.concept {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
}

.concept__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.concept__header {
  margin-bottom: 52px;
}

.concept__headline {
  font-family: var(--font-zh);
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.concept__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: 56px;
}

.concept__text p {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 2;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.concept__text p:last-child {
  margin-bottom: 0;
}

.concept__image-wrap {
  position: relative;
}

.concept__image-placeholder {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-surface);
}

.concept__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85);
  transition: transform 0.8s ease;
}

.concept__image:hover {
  transform: scale(1.02);
}

.concept__closing {
  border-top: 1px solid var(--color-line);
  padding-top: 44px;
  text-align: center;
}

.concept__poem {
  font-family: var(--font-zh);
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 300;
  line-height: 2;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   03 ARTISTS
═══════════════════════════════════════ */
.artists {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
}

.artists__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.artists__header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.artists__headline {
  font-family: var(--font-zh);
  font-size: clamp(20px, 3.6vw, 30px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.artists__headline-break {
  display: block;
}

.artist-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(52px, 8vw, 88px);
}

.artist-card:last-child {
  margin-bottom: 0;
}

.artist-card--lynn {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.artist-card__media {
  position: relative;
  padding: 18px 0 0 18px;
}

.artist-card__media::before {
  content: "";
  position: absolute;
  inset: 0 30px 30px 0;
  background: rgba(184, 156, 110, 0.08);
  border-radius: 20px;
  pointer-events: none;
}

.artist-card__media::after {
  content: "";
  position: absolute;
  inset: 10px 10px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 16px;
  pointer-events: none;
}

.artist-card--lynn .artist-card__media {
  padding: 18px 18px 0 0;
  width: 88%;
  margin-left: auto;
}

.artist-card--lynn .artist-card__media::before {
  inset: 0 0 30px 30px;
}

.artist-card__slider {
  position: relative;
  z-index: 1;
}

.artist-card__track {
  position: relative;
}

.artist-card__slide {
  display: none;
}

.artist-card__slide.is-active {
  display: block;
}

.artist-card__image {
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: 0 20px 42px rgba(30, 30, 28, 0.06);
}

.artist-card--luke .artist-card__image {
  aspect-ratio: 5 / 4;
  object-position: center 48%;
}

.artist-card--lynn .artist-card__image {
  aspect-ratio: 4 / 5;
  object-position: center 42%;
}

.artist-card__body {
  position: relative;
  z-index: 1;
}

.artist-card__role {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 26px;
}

.artist-card__text p {
  font-size: clamp(15px, 1.65vw, 17px);
  line-height: 2;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.artist-card__text p:last-child {
  margin-bottom: 0;
}

.artist-card__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.artist-card__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.artist-card__dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(184, 156, 110, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.artist-card__dot.is-active {
  background: rgba(184, 156, 110, 0.72);
  transform: scale(1.12);
}


/* ═══════════════════════════════════════
   04 EVENTS
═══════════════════════════════════════ */
.events {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
  background: var(--color-surface);
}

.events__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.events__header {
  margin-bottom: 48px;
}

.events__intro {
  max-width: 720px;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--color-bg);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--color-gold);
  transition: height 0.5s ease;
}

.event-card:hover::before {
  height: 100%;
}

.event-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.event-card__index {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: #9f7f49;
  letter-spacing: 0.14em;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(184, 156, 110, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(184, 156, 110, 0.08);
  box-shadow: 0 0 10px rgba(184, 156, 110, 0.34), 0 0 26px rgba(184, 156, 110, 0.18);
  animation: indexGlow 3s ease-in-out infinite;
}

@keyframes indexGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(184, 156, 110, 0.3), 0 0 20px rgba(184, 156, 110, 0.15); }
  50% { box-shadow: 0 0 12px rgba(184, 156, 110, 0.5), 0 0 30px rgba(184, 156, 110, 0.25); }
}

.event-card__title {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.event-card__meta {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}

.event-card__date {
  font-family: var(--font-en);
  font-size: 15px;
  color: var(--color-teal);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.event-card__time {
  font-family: var(--font-en);
  font-size: 15px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.event-card__note {
  font-size: 13px;
  color: var(--color-gold);
  letter-spacing: 0.08em;
}

.event-card__desc {
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.9;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  flex: 1;
  margin-bottom: 24px;
}

.event-card__btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 14px;
  font-family: var(--font-zh);
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.event-card__btn:hover {
  background: var(--color-gold);
  color: #fff;
}


/* ═══════════════════════════════════════
   05 VENUE
═══════════════════════════════════════ */
.venue {
  padding: var(--section-pad) clamp(28px, 6vw, 80px);
}

.venue__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.venue__name {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.venue__address {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.venue__note {
  font-size: clamp(14px, 1.5vw, 15px);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  line-height: 2;
}


/* ═══════════════════════════════════════
   FORM MODAL
═══════════════════════════════════════ */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.form-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 30, 34, 0.68);
  backdrop-filter: blur(4px);
}

.form-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(88vh, 920px);
  background: rgba(245, 243, 239, 0.98);
  border: 1px solid rgba(184, 156, 110, 0.35);
  box-shadow: 0 30px 80px rgba(23, 25, 27, 0.28);
  padding: clamp(20px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.form-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.form-modal__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.form-modal__title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.form-modal__close {
  border: 0;
  background: transparent;
  color: var(--color-text-light);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.form-modal__note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.form-modal__frame-wrap {
  flex: 1;
  min-height: 0;
  border: 1px solid rgba(184, 156, 110, 0.24);
  background: #fff;
  overflow: hidden;
  position: relative;
}

.form-modal__frame {
  width: 100%;
  height: min(62vh, 720px);
  border: 0;
  background: #fff;
}

.form-modal__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.96);
  z-index: 1;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.form-modal__loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.form-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.form-modal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  transition: background 0.3s ease, color 0.3s ease;
}

.form-modal__link:hover {
  background: var(--color-gold);
  color: #fff;
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: #2a3035;
  padding: clamp(52px, 8vw, 80px) clamp(28px, 6vw, 80px);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer__title-zh {
  font-family: var(--font-zh);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.footer__title-en {
  font-family: var(--font-en);
  font-size: clamp(13px, 2vw, 16px);
  font-style: italic;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.footer__divider {
  width: 32px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 28px;
  opacity: 0.6;
}

.footer__logo-slot {
  min-height: clamp(36px, 6vw, 52px);
}

.footer__logo-wrap {
  display: block;
  position: static;
  margin: 0 auto;
  width: fit-content;
}

.footer__logo-wrap .hero__logo {
  width: clamp(120px, 22vw, 170px);
  opacity: 0.9;
}


/* ═══════════════════════════════════════
   RWD — Tablet
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .concept__body {
    grid-template-columns: 1fr;
  }

  .concept__image-placeholder {
    aspect-ratio: 4/3;
  }

  .artist-card,
  .artist-card--lynn {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }

  .artist-card__media,
  .artist-card--lynn .artist-card__media {
    padding: 18px 0 0 18px;
    width: 100%;
    margin-left: 0;
  }

  .artist-card--lynn .artist-card__media {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
  }

  .artist-card__controls {
    margin-top: 14px;
  }

  .artist-card--lynn .artist-card__body {
    order: 2;
  }

  .artist-card--lynn .artist-card__media {
    order: 1;
  }

  .events__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-card__btn {
    padding: 16px 20px;
    font-size: 13px;
  }

  .form-modal {
    padding: 0;
    align-items: flex-end;
  }

  .form-modal__panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
    gap: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .form-modal__header {
    align-items: center;
  }

  .form-modal__label {
    margin-bottom: 6px;
  }

  .form-modal__title {
    font-size: 30px;
  }

  .form-modal__note {
    font-size: 13px;
    line-height: 1.6;
  }

  .form-modal__frame-wrap {
    flex: 1;
  }

  .form-modal__frame {
    height: 100%;
  }
}

/* ═══════════════════════════════════════
   RWD — Mobile
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero__sub {
    font-size: 13px;
  }

  .hero__content {
    padding-bottom: 80px;
  }

  .concept__poem {
    font-size: 16px;
  }

  .artists__headline {
    font-size: 17px;
    line-height: 1.9;
  }

  .artists__headline-break {
    display: block;
  }

  .artist-card__media::before,
  .artist-card--lynn .artist-card__media::before {
    inset: 0 24px 24px 0;
  }

  .artist-card__media::after,
  .artist-card--lynn .artist-card__media::after {
    inset: 12px 12px 12px 12px;
  }

  .venue__inner {
    grid-template-columns: 1fr;
  }

  .form-modal__panel {
    padding-left: 0;
    padding-right: 0;
  }

  .form-modal__header,
  .form-modal__note {
    padding-left: 20px;
    padding-right: 20px;
  }

  .form-modal__note {
    display: none;
  }

  .form-modal__frame-wrap {
    border-left: 0;
    border-right: 0;
  }

  .form-modal__close {
    padding-right: 4px;
  }
}
