:root {
  --bg-main: #F7F1E7;
  --bg-card: #FFFDF8;
  --text-main: #1F1B16;
  --text-muted: #6F675C;
  --gold: #BFA46A;
  --gold-dark: #8A6F35;
  --line: #E2D6C2;
  --shadow: 0 20px 60px rgba(44, 32, 16, .10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(191, 164, 106, .18), transparent 36%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 22px;
  background: rgba(247, 241, 231, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 214, 194, .8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.brand-logo {
  width: 110px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  line-height: 1.16;
  min-width: 0;
}

.brand-text strong {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand-text small {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: .01em;
  white-space: nowrap;
}

.top-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--text-muted);
}

.top-nav a:hover {
  color: var(--gold-dark);
}

.nav-lang,
.mobile-lang,
.header-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: all .18s ease;
}

.nav-lang,
.mobile-lang {
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--gold);
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,253,248,.56));
  color: var(--gold-dark) !important;
  box-shadow:
    0 6px 18px rgba(83, 62, 28, .08),
    inset 0 0 0 1px rgba(255,255,255,.48);
}

.nav-lang:hover,
.mobile-lang:hover {
  background: rgba(255,255,255,.94);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.lang-flag {
  position: relative;
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(31, 27, 22, .12);
}

.flag-fr {
  background: linear-gradient(90deg, #1d3f91 0 33.333%, #fff 33.333% 66.666%, #e33a45 66.666%);
}

.flag-cn {
  background: #df2d32;
}

.flag-cn::after {
  content: "★";
  position: absolute;
  left: 2px;
  top: -1px;
  color: #ffd34e;
  font-size: 7px;
  line-height: 1;
}

.header-signup {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #16120d !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 54px 22px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 12, 9, .62) 0%, rgba(14, 12, 9, .35) 45%, rgba(247, 241, 231, .68) 100%),
    linear-gradient(180deg, rgba(14, 12, 9, .10) 0%, rgba(14, 12, 9, .34) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 160px;
  background: linear-gradient(to bottom, rgba(247, 241, 231, 0), var(--bg-main));
}

.hero-content {
  width: min(620px, 100%);
  margin-left: clamp(0px, 5vw, 76px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 30px;
  background: rgba(255, 253, 248, .17);
  border: 1px solid rgba(255, 247, 232, .30);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  color: #FFF8EA;
}

.hero-eyebrow {
  color: #D2B56B;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -.02em;
}

h1 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(42px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: .02em;
}

.chinese-page .hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: .045em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .14);
}

h2 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: clamp(28px, 7vw, 46px);
}

h3 {
  font-size: 20px;
}

.hero-lead {
  margin: 18px 0 24px;
  max-width: 520px;
  font-size: 17px;
  color: rgba(255, 248, 234, .88);
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}

.hero-facts div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 253, 248, .80);
  color: var(--text-main);
}

.hero-facts span {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts strong {
  font-size: 15px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #16120d;
  box-shadow: 0 10px 26px rgba(138,111,53,.22);
}

.button.secondary {
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: rgba(255,253,248,.6);
}

.button.secondary.light {
  border-color: rgba(255, 248, 234, .72);
  color: #FFF8EA;
  background: rgba(255, 253, 248, .12);
}

/* Shared sections */

.section {
  padding: 58px 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 16px;
}

.cards {
  display: grid;
  gap: 18px;
}

.card,
.info-card,
.timeline-item,
.signup-widget,
.contact-item {
  background: rgba(255,253,248,.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(44,32,16,.06);
}

/* Event cards */

.card {
  position: relative;
  padding: 34px 30px 30px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,164,106,.18), transparent 70%);
}

.card-number {
  display: inline-flex;
  margin: 18px 0 18px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  background: transparent;
}

.card h3 {
  margin-bottom: 18px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 28px;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

.info-card {
  margin-top: 18px;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.info-card p {
  margin: 8px 0;
  color: var(--text-muted);
}

.info-card strong {
  color: var(--text-main);
}

/* About */

.split-section {
  display: grid;
  gap: 24px;
  padding-bottom: 38px;
}

.split-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

details {
  margin-top: 16px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--gold-dark);
}

/* Gallery */

.gallery-grid {
  display: grid;
  gap: 16px;
}

figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(44,32,16,.06);
}

figure img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}

figcaption {
  padding: 12px 14px 14px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Director */

.director-section {
  display: grid;
  gap: 36px;
  align-items: center;
  padding-top: 38px;
}

.director-content {
  min-width: 0;
}

.director-portrait {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.director-photo {
  position: relative;
  width: 88%;
  height: 430px;
  isolation: isolate;
}

.director-photo::before {
  content: "";
  position: absolute;
  inset: 5% 2% 2%;
  z-index: -1;
  border-radius: 30%;
  background:
    radial-gradient(circle at 70% 18%, rgba(191,164,106,.20), transparent 34%),
    radial-gradient(ellipse at center, rgba(239,225,200,.92) 0%, rgba(239,225,200,.72) 54%, rgba(239,225,200,.30) 74%, transparent 100%);
  filter: blur(14px);
  pointer-events: none;
}

.director-photo img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 126%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 24px rgba(44,32,16,.13));
}

.director-heading {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.director-heading .eyebrow {
  margin-bottom: 14px;
}

.director-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
}

.director-text {
  color: var(--text-muted);
}

.director-text p {
  margin: 0 0 18px;
  font-size: 16px;
}

/* Timeline */

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 20px;
}

.timeline-item span {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 900;
  margin-bottom: 8px;
}

/* Contact */

.contact-section {
  max-width: 980px;
}

.contact-section .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  gap: 14px;
}

.contact-item {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
}

.contact-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(191,164,106,.10), transparent 52%);
  pointer-events: none;
}

.contact-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #EFE1C8;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.contact-item a,
.contact-item p {
  position: relative;
  margin: 0;
  font-size: 20px;
  color: var(--text-main);
  word-break: break-word;
  line-height: 1.35;
}

/* Signup */

.signup-section {
  scroll-margin-top: 90px;
}

.signup-widget {
  padding: 8px;
  overflow: hidden;
}

.signup-widget iframe {
  width: 100%;
  min-height: 760px;
  border: none;
  border-radius: 18px;
  background: #fff;
}

.signup-fallback {
  margin-top: 16px;
  text-align: center;
}

/* Final CTA */

.final-cta {
  text-align: center;
  max-width: 860px;
  margin-bottom: 30px;
  padding: 58px 22px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(31,27,22,.92), rgba(75,55,27,.90)),
    radial-gradient(circle at top, rgba(191,164,106,.45), transparent 50%);
  color: #F8F1E6;
}

.final-cta p {
  color: #D8CCB8;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta .cta-actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  padding: 30px 20px 42px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 14px;
  mix-blend-mode: multiply;
}

.site-footer a {
  color: var(--gold-dark);
  font-weight: 800;
}

/* Desktop */

@media (min-width: 760px) {
  .site-header {
    padding: 10px 34px;
  }

  .brand-logo {
    width: 118px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .top-nav {
    display: flex;
  }

  .mobile-lang,
  .header-signup {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 74px);
    padding: 80px 7vw;
  }

  .hero-content {
    margin-left: 0;
  }

  .cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 28px;
  }

  .split-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .director-section {
    grid-template-columns: 1fr 1fr;
  }

  .split-image img {
    height: 520px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

}

@media (min-width: 1100px) {
  figure img {
    height: 260px;
  }
}

/* Mobile */

@media (max-width: 759px) {
  .site-header {
    min-height: 72px;
    padding: 8px 12px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .brand-logo {
    width: 76px;
    height: 36px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 14px;
    white-space: nowrap;
    line-height: 1.12;
  }

  .brand-text small {
    display: block;
    margin-top: 2px;
    font-size: 8px;
    line-height: 1.1;
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
    align-items: center;
  }

  .mobile-lang {
    min-width: 58px;
    height: 44px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 900;
  }

  .header-signup {
    min-width: 70px;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 900;
  }

  .hero {
    min-height: calc(100vh - 72px);
    align-items: flex-end;
    padding: 38px 16px 48px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(14, 12, 9, .10) 0%, rgba(14, 12, 9, .28) 36%, rgba(14, 12, 9, .72) 100%),
      linear-gradient(90deg, rgba(14, 12, 9, .38), rgba(14, 12, 9, .10));
  }

  .hero-content {
    margin-left: 0;
    padding: 22px 18px;
    border-radius: 26px;
    background: rgba(31, 27, 22, .42);
    border-color: rgba(255, 247, 232, .22);
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .chinese-page .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.16;
    letter-spacing: .055em;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-facts div {
    background: rgba(255, 253, 248, .86);
  }

  .section {
    padding: 52px 18px;
  }

  .card {
    padding: 32px 28px 28px;
  }

  .card-number {
    font-size: 32px;
    margin-top: 18px;
  }

  .card h3 {
    font-size: 27px;
  }

  .gallery-grid {
    gap: 14px;
  }

  figure img {
    height: 220px;
  }

  .director-section {
    gap: 28px;
    padding-top: 16px;
  }

  .director-content {
    order: 2;
  }

  .director-portrait {
    order: 1;
    width: 60%;
    min-height: 265px;
    margin: 0 auto;
  }

  .director-photo {
    width: 80%;
    height: 250px;
  }

  .director-photo img {
    width: 135%;
  }

  .split-section {
    padding-bottom: 18px;
  }

  .director-heading .eyebrow {
    font-size: 12px;
    letter-spacing: .16em;
  }

  .director-heading h2 {
    font-size: 32px;
  }

  .director-text {
    margin-top: 0;
  }

  .director-text p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .contact-section .section-heading {
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-item {
    grid-template-columns: 78px 1fr;
    padding: 18px 18px;
    gap: 14px;
    border-radius: 20px;
  }

  .contact-label {
    min-height: 36px;
    font-size: 12px;
    padding: 6px 10px;
  }

  .contact-item a,
  .contact-item p {
    font-size: 17px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 70px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 7.5px;
    max-width: 138px;
  }

  .mobile-lang {
    min-width: 56px;
    height: 42px;
    padding: 0 9px;
    font-size: 13px;
  }

  .header-signup {
    min-width: 66px;
    height: 42px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-content {
    padding: 20px 16px;
  }

  .director-portrait {
    width: 60%;
    min-height: 215px;
  }

  .director-photo {
    height: 205px;
  }

  .director-photo img {
    width: 135%;
  }
}

/* French page */

.french-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.french-page h1,
.french-page h2,
.french-page h3,
.french-page .brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
}

.french-page .brand-text strong {
  font-size: 14px;
}

.french-page .brand-short {
  display: none;
}

.french-page .hero-content {
  width: min(690px, 100%);
}

.french-page h1 {
  font-size: clamp(42px, 6vw, 62px);
  letter-spacing: -.025em;
}

.french-page h2 {
  font-size: clamp(30px, 5vw, 46px);
}

.french-page .hero-lead {
  max-width: 590px;
}

.french-page .card h3 {
  font-size: 25px;
}

.french-page .contact-label {
  letter-spacing: .02em;
}

@media (min-width: 760px) and (max-width: 1099px) {
  .french-page .top-nav {
    display: none;
  }

  .french-page .mobile-lang,
  .french-page .header-signup {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 14px;
  }

  .french-page .cards.three {
    grid-template-columns: 1fr;
  }

  .french-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .french-page .top-nav {
    gap: 15px;
    font-size: 13px;
  }

  .french-page .nav-lang {
    padding: 7px 11px;
  }
}

@media (max-width: 759px) {
  .french-page .brand-text strong {
    font-size: 12px;
  }

  .french-page .brand-full {
    display: none;
  }

  .french-page .brand-short {
    display: inline;
  }

  .french-page .mobile-lang {
    min-width: 54px;
    padding: 0 10px;
    font-size: 13px;
  }

  .french-page .header-signup {
    min-width: 84px;
    padding: 0 12px;
    font-size: 13px;
  }

  .french-page h1 {
    font-size: clamp(39px, 11.5vw, 52px);
    line-height: 1.05;
  }

  .french-page h2 {
    font-size: 32px;
  }

  .french-page .hero-lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .french-page .card h3 {
    font-size: 25px;
  }

  .french-page .contact-item {
    grid-template-columns: 88px 1fr;
  }

  .french-page .contact-item a,
  .french-page .contact-item p {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .french-page .brand-text strong {
    font-size: 11px;
  }

  .french-page .brand-text small {
    font-size: 8px;
  }

  .french-page .header-signup {
    min-width: 78px;
    padding: 0 10px;
    font-size: 12px;
  }
}
