:root {
  --bg: #05070b;
  --panel: #10131a;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --light: #f5f5f7;
  --dark: #111114;
  --line: rgba(255, 255, 255, .14);
  --blue: #2997ff;
  --radius: 34px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.page-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 100; }
.page-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #7cc7ff, #e16fff, #ffb457); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  background: rgba(5, 7, 11, .68); border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: saturate(150%) blur(22px); -webkit-backdrop-filter: saturate(150%) blur(22px);
}
.nav-shell { width: var(--shell); height: 56px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.wordmark-star { font-size: 19px; background: linear-gradient(135deg,#79c7ff,#f6cc72,#ff5ca8); color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 12px; color: #d4d4d7; }
.nav-links a { transition: color .25s ease; }
.nav-links a:hover { color: white; }
.nav-links .nav-cta { padding: 8px 15px; color: white; background: #147ce5; border-radius: 999px; }
.menu-button { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 12px 8px; }
.menu-button span { display: block; width: 20px; height: 1px; margin: 5px auto; background: white; transition: transform .25s; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: #02050b; }
.hero-media { position: absolute; inset: 0; background: url("assets/underwater-hero.webp") center 50% / cover no-repeat; transform: scale(1.04); will-change: transform; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,2,7,.26), rgba(0,2,7,.15) 40%, rgba(0,2,7,.92)), radial-gradient(circle at 50% 42%, transparent 10%, rgba(1,3,8,.42) 72%); }
.hero-content { position: relative; z-index: 2; width: var(--shell); text-align: center; padding-top: 70px; }
.eyebrow { margin: 0 0 22px; color: #d9d9de; font-size: 12px; font-weight: 700; letter-spacing: .19em; }
.eyebrow.dark { color: #6e6e73; }
.hero h1 { max-width: 1050px; margin: 0 auto; font-size: clamp(48px, 7.2vw, 108px); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hero-subtitle { margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: clamp(15px, 1.5vw, 21px); letter-spacing: .08em; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 14px; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: #f5f5f7; color: #111; }
.button.ghost { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.scroll-note { position: absolute; z-index: 2; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 9px; margin: 0; color: rgba(255,255,255,.54); font-size: 11px; letter-spacing: .12em; transform: translateX(-50%); }
.scroll-note span { width: 24px; height: 1px; background: rgba(255,255,255,.5); animation: breathe 1.8s infinite; }
@keyframes breathe { 50% { width: 42px; opacity: .5; } }

.section { padding: 150px 0; }
.section-shell { width: var(--shell); margin: auto; }
.wide-shell { width: min(1440px, calc(100vw - 48px)); }
.light-section { color: var(--dark); background: var(--light); }
.section-intro h2, .section-heading h2, .center-heading h2, .contact-content h2 {
  margin: 0; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.055em;
}
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; margin-bottom: 64px; }
.section-heading > p { max-width: 380px; margin: 0 0 9px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.dark-heading > p, .center-heading.dark-heading > p { color: #6e6e73; }

.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 100px; align-items: end; margin-top: 90px; padding-top: 60px; border-top: 1px solid #d5d5d9; }
.year-block { min-width: 0; overflow: visible; }
.year-block strong { display: inline-block; max-width: 100%; padding: .08em .06em .08em 0; font-size: clamp(80px, 13vw, 180px); line-height: .9; letter-spacing: -.08em; background: linear-gradient(120deg,#151519,#555567); color: transparent; background-clip: text; -webkit-background-clip: text; }
.year-block span { display: block; margin-top: 30px; color: #6e6e73; font-size: 16px; }
.about-copy > p { margin: 0 0 22px; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.48; letter-spacing: -.025em; }
.about-copy > p + p { color: #6e6e73; }
.capability-line { display: flex; align-items: center; gap: 16px; margin-top: 46px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.capability-line i { width: 4px; height: 4px; border-radius: 50%; background: #b7b7bc; }

.service-section { background: #05070b; }
.service-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 390px); gap: 18px; }
.service-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #11141b; isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,6,11,.08), rgba(4,6,11,.82)); }
.service-card:hover::before { transform: scale(1.04); }
.card-events { grid-row: 1 / 3; }
.card-events::before { background-image: url("assets/troupe-panorama.webp"); }
.card-tourism::before { background-image: url("assets/festival-drum.webp"); }
.card-performance::before { background-image: url("assets/stage-dance.webp"); }
.card-number { position: absolute; top: 28px; left: 30px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .12em; }
.card-copy { position: absolute; inset: auto 32px 32px; }
.card-copy h3 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; }
.card-copy p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.7; }

.flagship-section { position: relative; background: #020307; }
.flagship-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.flagship-scene { position: absolute; inset: 0; opacity: 0; background-position: center; background-size: cover; transition: opacity 1s ease, transform 1.6s ease; transform: scale(1.04); }
.scene-1 { background-image: url("assets/underwater-wide.webp"); }
.scene-2 { background-image: url("assets/underwater-team.webp"); }
.scene-3 { background-image: url("assets/underwater-ring.webp"); }
.flagship-section[data-scene="1"] .scene-1, .flagship-section[data-scene="2"] .scene-2, .flagship-section[data-scene="3"] .scene-3 { opacity: 1; transform: scale(1); }
.flagship-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,2,8,.74), rgba(0,2,8,.05) 65%), linear-gradient(0deg, rgba(0,2,8,.64), transparent 45%); }
.flagship-label { position: absolute; top: 86px; left: max(24px, calc((100vw - 1180px)/2)); margin: 0; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.flagship-story { position: relative; z-index: 2; margin-top: -100svh; }
.story-beat { min-height: 100svh; width: var(--shell); margin: auto; display: flex; align-items: center; padding: 100px 0; }
.story-beat.align-right { justify-content: flex-end; }
.story-card { width: min(540px, 100%); padding: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: rgba(5,8,14,.56); box-shadow: 0 30px 100px rgba(0,0,0,.32); backdrop-filter: blur(24px); }
.story-card h2 { margin: 0 0 22px; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.story-card > p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.7; }
.story-stat { display: flex; align-items: baseline; gap: 15px; margin-top: 35px; }
.story-stat strong { font-size: 60px; letter-spacing: -.055em; }
.story-stat span { color: var(--muted); font-size: 13px; }
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.project-list span { padding: 13px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #dedee2; font-size: 13px; }
.award { display: inline-flex; margin-top: 30px; padding: 11px 16px; border-radius: 999px; color: #111; background: #f5f5f7; font-size: 13px; font-weight: 650; }

.resources-section { overflow: hidden; }
.resource-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 31vw); gap: 18px; overflow-x: auto; padding: 2px max(0px, calc((100vw - 1180px)/2)) 24px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.resource-track::-webkit-scrollbar { display: none; }
.resource-card { position: relative; height: 540px; overflow: hidden; border-radius: 28px; color: white; background: #101217; scroll-snap-align: start; }
.resource-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.resource-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.resource-card:hover img { transform: scale(1.04); }
.resource-card div { position: absolute; z-index: 2; inset: auto 28px 28px; }
.resource-card span { color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .12em; }
.resource-card h3 { margin: 8px 0 0; font-size: 27px; letter-spacing: -.03em; }
.drag-tip { margin: 16px 0 0; color: #86868b; font-size: 12px; letter-spacing: .08em; }
.drag-tip span { margin-left: 8px; font-size: 18px; }

.scenes-section { background: #080a0f; }
.center-heading { max-width: 880px; margin: 0 auto 70px; text-align: center; }
.center-heading > p:last-child { max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.scene-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 320px); gap: 18px; }
.scene-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #11141b; }
.scene-large { grid-row: 1 / 3; }
.scene-card::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.scene-card:hover img { transform: scale(1.035); }
.scene-card div { position: absolute; z-index: 2; inset: auto 30px 28px; }
.scene-card span { color: rgba(255,255,255,.55); font-size: 11px; }
.scene-card h3 { margin: 8px 0 6px; font-size: 28px; letter-spacing: -.03em; }
.scene-large h3 { font-size: 40px; }
.scene-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }

.method-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 90px 0 0; list-style: none; }
.method-list li { min-width: 0; overflow: hidden; border-radius: 24px; background: #e8e8ec; box-shadow: 0 1px 0 rgba(0,0,0,.05); transition: transform .35s, box-shadow .35s; }
.method-list li:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(0,0,0,.12); }
.method-media { position: relative; height: 205px; overflow: hidden; background: #202127; }
.method-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.34), transparent 55%); }
.method-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.method-list li:hover .method-media img { transform: scale(1.045); }
.method-media span { position: absolute; z-index: 2; top: 17px; left: 18px; display: grid; place-items: center; width: 32px; height: 32px; color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.22); backdrop-filter: blur(12px); font-size: 11px; }
.method-copy { padding: 25px 28px 29px; }
.method-list h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; }
.method-list p { margin: 0; color: #86868b; font-size: 13px; }
.method-quote { margin: 110px auto 0; text-align: center; font-size: clamp(32px, 4.5vw, 62px); line-height: 1.12; letter-spacing: -.045em; }

.advantage-section { background: #05070b; }
.advantage-list { border-top: 1px solid var(--line); }
.advantage-list article { display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 35px; align-items: center; min-height: 150px; border-bottom: 1px solid var(--line); transition: padding .35s, background .35s; }
.advantage-list article:hover { padding: 0 24px; background: rgba(255,255,255,.035); }
.advantage-list span { color: #77777e; font-size: 12px; }
.advantage-list h3 { margin: 0; font-size: 31px; letter-spacing: -.03em; }
.advantage-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.cooperation-section { background: #0d1016; }
.cooperation-list { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.cooperation-list article { min-width: 0; min-height: 480px; display: flex; flex-direction: column; border-right: 1px solid var(--line); transition: background .35s, transform .35s; }
.cooperation-list article:last-child { border-right: 0; }
.cooperation-list article:hover { background: #1b1f29; }
.coop-media { position: relative; height: 230px; overflow: hidden; background: #181b22; }
.coop-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 48%, rgba(10,12,18,.28)); }
.coop-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transition: transform .7s ease, filter .35s ease; }
.cooperation-list article:hover .coop-media img { transform: scale(1.05); filter: saturate(1.04); }
.coop-media span { position: absolute; z-index: 2; top: 18px; left: 19px; display: grid; place-items: center; width: 32px; height: 32px; color: white; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(0,0,0,.25); backdrop-filter: blur(12px); font-size: 11px; }
.coop-copy { flex: 1; display: flex; flex-direction: column; padding: 25px 24px 27px; }
.cooperation-list h3 { margin: 0 0 15px; font-size: 31px; letter-spacing: -.04em; }
.cooperation-list p { min-height: 52px; margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cooperation-list b { margin-top: auto; color: #e8e8ed; font-size: 13px; font-weight: 500; }

.contact-section { position: relative; min-height: 88svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.contact-backdrop { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,9,.56), rgba(3,5,9,.9)), url("assets/mermaid-ray.webp") center / cover no-repeat; }
.contact-content { position: relative; z-index: 2; width: var(--shell); }
.phone-link { display: inline-flex; align-items: center; gap: 14px; margin: 45px 0 26px; color: #6fb8ff; font-size: clamp(25px, 4vw, 52px); letter-spacing: -.03em; }
.phone-link span { font-size: .7em; transition: transform .25s; }
.phone-link:hover span { transform: translate(4px,-4px); }
.contact-content > p:last-child { color: rgba(255,255,255,.62); font-size: 14px; }

.site-footer { min-height: 150px; width: var(--shell); margin: auto; display: grid; grid-template-columns: 1fr auto auto; gap: 50px; align-items: center; color: #73737a; font-size: 11px; }
.footer-brand { color: #d4d4d8; font-weight: 700; letter-spacing: .12em; }
.footer-brand span { color: #ffba4d; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); --radius: 24px; }
  .section { padding: 105px 0; }
  .menu-button { display: block; position: relative; z-index: 3; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 60px 32px; color: white; background: rgba(5,7,11,.97); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s; }
  .nav-links a { font-size: 28px; font-weight: 650; letter-spacing: -.035em; }
  .nav-links .nav-cta { padding: 10px 18px; font-size: 17px; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .hero-content { padding-top: 100px; }
  .hero h1 { font-size: clamp(49px, 13.2vw, 82px); }
  .hero-subtitle { max-width: 320px; margin-left: auto; margin-right: auto; line-height: 1.65; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 30px; margin-bottom: 45px; }
  .section-heading > p { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .year-block strong { font-size: clamp(88px, 16vw, 118px); line-height: .95; }
  .service-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 480px); }
  .card-events { grid-row: auto; }
  .story-card { padding: 30px; }
  .resource-track { grid-auto-columns: minmax(280px, 78vw); }
  .resource-card { height: 460px; }
  .scene-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 420px); }
  .scene-large { grid-row: auto; }
  .method-list { grid-template-columns: repeat(2, 1fr); }
  .advantage-list article { grid-template-columns: 45px 1fr; gap: 15px; padding: 28px 0; }
  .advantage-list article p { grid-column: 2; }
  .cooperation-list { grid-template-columns: repeat(2,1fr); }
  .cooperation-list article { min-height: 440px; border-bottom: 1px solid var(--line); }
  .cooperation-list article:nth-child(2) { border-right: 0; }
  .site-footer { min-height: 210px; grid-template-columns: 1fr; gap: 12px; align-content: center; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; width: min(280px, 90%); margin-left: auto; margin-right: auto; }
  .button { width: 100%; }
  .about-grid { gap: 48px; margin-top: 58px; padding-top: 38px; }
  .year-block strong { width: auto; font-size: clamp(78px, 28vw, 108px); line-height: 1; }
  .year-block span { margin-top: 12px; }
  .about-copy > p { font-size: 20px; }
  .capability-line { gap: 9px; letter-spacing: .06em; }
  .service-grid { grid-template-rows: repeat(3, 390px); }
  .flagship-label { top: 74px; }
  .flagship-shade { background: linear-gradient(0deg, rgba(0,2,8,.86), rgba(0,2,8,.08) 80%); }
  .story-beat, .story-beat.align-right { align-items: flex-end; justify-content: center; padding-bottom: 40px; }
  .story-card h2 { font-size: 42px; }
  .project-list { grid-template-columns: 1fr; }
  .resources-section { overflow: visible; }
  .resources-section .wide-shell { width: var(--shell); }
  .resource-track { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: visible; padding: 0; scroll-snap-type: none; }
  .resource-card { width: 100%; height: 430px; scroll-snap-align: none; }
  .resource-card h3 { font-size: 25px; }
  .drag-tip { display: none; }
  .scene-grid { grid-template-rows: repeat(3, 370px); }
  .method-list { grid-template-columns: 1fr; }
  .method-media { height: 190px; }
  .cooperation-list { grid-template-columns: 1fr; }
  .cooperation-list article { min-height: 0; border-right: 0; }
  .coop-media { height: 245px; }
  .contact-section { min-height: 78svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
