:root {
  color-scheme: dark;
  --night: #080d17;
  --night-2: #101827;
  --paper: #e9f0f3;
  --muted: #a9bac6;
  --line: #405364;
  --cyan: #a9dcdf;
  --violet: #c5b8e7;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--paper);
  background: var(--night);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; }
::selection { background: #b4dfe0; color: #09111b; }
.wrap { width: min(1360px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; z-index: 50; top: -80px; left: 12px; padding: 10px 16px; background: #e8f3f1; color: #07111b; }
.skip:focus { top: 12px; }
.progress { position: fixed; top: 0; left: 0; z-index: 50; width: 0; height: 2px; background: linear-gradient(90deg, #8cd6d5, #c7b4e9); pointer-events: none; }
.preview-note { padding: 8px 18px; text-align: center; font-size: .77rem; letter-spacing: .035em; line-height: 1.5; color: #cbd8e0; background: #172333; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid #9bb6c125; background: #090f1bdd; backdrop-filter: blur(18px); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 78px; gap: 30px; }
.brand { font-weight: 750; letter-spacing: .035em; text-decoration: none; white-space: nowrap; display: flex; gap: 13px; align-items: center; }
.brand-mark { width: 26px; height: 26px; border: 1.5px solid #a9dcdf; border-radius: 50%; position: relative; }
.brand-mark::after { content: ''; position: absolute; inset: 8px; background: #d1ebea; border-radius: 50%; box-shadow: 0 0 14px #9bd6d6; }
.nav { display: flex; gap: clamp(20px, 3.5vw, 52px); align-items: center; }
.nav a { text-decoration: none; color: #c0d1da; font-size: .9rem; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a:last-child { border: 1px solid #718b9a; border-radius: 100px; padding: 10px 18px; }
.nav a:last-child:hover { border-color: #bfebed; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(720px, 82svh); background: linear-gradient(125deg, #080d17 14%, #122132 62%, #111a2b); }
.hero::before { content: ''; position: absolute; z-index: -2; inset: -25%; filter: blur(70px); opacity: .68; background: radial-gradient(ellipse 38% 26% at 67% 32%, #567da583, transparent 78%), radial-gradient(ellipse 42% 27% at 57% 63%, #5f748886, transparent 77%), radial-gradient(ellipse 27% 24% at 25% 71%, #63587d73, transparent 78%); animation: aurora 19s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#94b8c510 1px, transparent 1px), linear-gradient(90deg, #94b8c510 1px, transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(90deg, transparent, #000 50%); opacity: .6; }
.hero .wrap { position: relative; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding-block: 100px 100px; }
.kicker { display: flex; gap: 12px; align-items: center; margin: 0 0 30px; color: #b8dce1; font-weight: 750; letter-spacing: .16em; font-size: .76rem; }
.kicker::before { content: ''; width: 26px; height: 1px; background: currentColor; }
h1 { font-size: clamp(4rem, 9vw, 9rem); font-weight: 650; letter-spacing: -.078em; line-height: 1.08; margin: 0; max-width: 1000px; }
h1 em { font-style: normal; background: linear-gradient(112deg, #d9f0ee, #b3d4e2 53%, #d4c2e7); color: transparent; background-clip: text; -webkit-background-clip: text; }
.hero-summary { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 54px; }
.hero-summary p { max-width: 570px; color: #d2dfe4; font-size: clamp(1.08rem, 1.8vw, 1.36rem); line-height: 1.7; margin: 0; }
.scroll-cue { display: inline-flex; align-items: center; gap: 22px; text-decoration: none; font-size: .84rem; letter-spacing: .08em; color: #c8dfe2; padding-bottom: 11px; border-bottom: 1px solid #9bc5ca; white-space: nowrap; }
.scroll-cue span { font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.scroll-cue:hover span { transform: translateY(6px); }
.section-rule { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #607385; padding-top: 19px; color: #b4c8d1; font-size: .77rem; font-weight: 750; letter-spacing: .13em; }
.featured { padding: clamp(82px, 9vw, 128px) 0 clamp(90px, 11vw, 150px); background: #0b1421; }
.featured-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 43px 0 46px; }
h2 { font-size: clamp(2.4rem, 5.3vw, 5.5rem); font-weight: 640; letter-spacing: -.06em; line-height: 1.15; margin: 0; }
.featured-intro p { max-width: 340px; margin: 0 0 6px; color: #b5c6d0; line-height: 1.75; font-size: 1rem; }
.showcase { position: relative; min-height: clamp(510px, 65vw, 740px); overflow: hidden; border: 1px solid #6e899479; background: #1a2a3e; isolation: isolate; }
.slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; opacity: 0; transform: translateX(6%); pointer-events: none; transition: opacity .65s ease, transform .8s cubic-bezier(.2,.8,.2,1), visibility .8s; background: linear-gradient(125deg, #182838 10%, #31516a 58%, #334457); }
.slide.is-active { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .65s ease, transform .8s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.slide.variant-two { background: linear-gradient(125deg, #211e36 12%, #444361 57%, #315264); }
.slide::before { content: ''; position: absolute; inset: -30%; opacity: .8; filter: blur(52px); background: radial-gradient(ellipse 30% 38% at 67% 31%, #8acbd1a6, transparent 77%), radial-gradient(ellipse 29% 37% at 79% 70%, #abc7dd91, transparent 77%), radial-gradient(ellipse 31% 28% at 30% 86%, #554c8b87, transparent 75%); animation: art-shift 13s ease-in-out infinite alternate; }
.slide.variant-two::before { background: radial-gradient(ellipse 31% 35% at 70% 36%, #c7a6d6a3, transparent 76%), radial-gradient(ellipse 37% 34% at 74% 71%, #78bac6a3, transparent 79%), radial-gradient(ellipse 31% 28% at 22% 83%, #545b9b87, transparent 75%); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1429dd 0%, #111b2ca6 42%, #0e1a280d 100%); pointer-events: none; }
.slide-art { position: absolute; width: min(48vw, 620px); aspect-ratio: 1; right: 6%; top: 50%; transform: translateY(-50%) rotate(-22deg); border: 1px solid #e0f4fa7a; border-radius: 31%; box-shadow: inset 0 0 0 60px #d7edf513, 0 0 0 72px #d7edf50c, 0 0 75px #b1dfe743; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.variant-two .slide-art { border-radius: 50%; transform: translateY(-50%) rotate(0deg); border-color: #dfcff28c; box-shadow: inset 0 0 0 58px #dfcff217, 0 0 0 72px #dfcff20c, 0 0 75px #cfb8e652; }
.slide.is-active:hover .slide-art { transform: translateY(-50%) rotate(-8deg) scale(1.05); }
.slide.variant-two.is-active:hover .slide-art { transform: translateY(-50%) rotate(12deg) scale(1.05); }
.slide-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 58px); }
.slide-top { display: flex; justify-content: space-between; gap: 20px; font-size: .79rem; font-weight: 750; letter-spacing: .13em; color: #e3f0f2; }
.slide-bottom { max-width: 850px; }
.slide h3 { margin: 0 0 20px; font-size: clamp(3.2rem, 7.5vw, 8rem); font-weight: 650; letter-spacing: -.075em; line-height: 1.08; }
.slide p { max-width: 520px; color: #e2ebef; line-height: 1.75; font-size: clamp(1rem, 1.4vw, 1.22rem); margin: 0 0 28px; }
.project-link { display: inline-flex; align-items: center; gap: 34px; border: 1px solid #d5eaedb8; border-radius: 100px; padding: 14px 20px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: background .25s, color .25s, gap .25s; }
.project-link:hover { background: #ebf5f4; color: #102031; gap: 44px; }
.showcase-controls { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 24px; }
.showcase-status { display: flex; gap: 19px; align-items: center; color: #c3d4dc; font-size: .84rem; letter-spacing: .12em; }
.status-line { width: 80px; height: 1px; background: #718b9b; position: relative; }
.status-line::after { content: ''; position: absolute; width: 50%; height: 2px; top: -1px; left: 0; background: #c1e6e6; transition: transform .4s; }
.showcase[data-index="1"] .status-line::after { transform: translateX(100%); }
.control-pair { display: flex; gap: 10px; }
.control-pair button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #6f8898; background: transparent; color: #e8f2f2; cursor: pointer; font-size: 1.25rem; transition: background .25s, color .25s; }
.control-pair button:hover { background: #d9eff0; color: #0d1a27; }
.about { padding: clamp(90px, 11vw, 160px) 0; background: linear-gradient(145deg, #101b2b, #0c1522); }
.about-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: clamp(55px, 10vw, 145px); margin-top: 62px; align-items: end; }
.about h2 { max-width: 750px; }
.about-lead { color: #d0dfe3; font-size: clamp(1.15rem, 1.8vw, 1.52rem); line-height: 1.8; margin: 28px 0 0; }
.about-detail { color: #b5c8d1; border-left: 1px solid #6a8390; padding-left: clamp(28px, 4vw, 58px); line-height: 1.9; }
.about-detail p { margin: 0 0 18px; }
.contact { padding: clamp(90px, 10vw, 150px) 0 35px; position: relative; overflow: hidden; background: #080d17; }
.contact::before { content: ''; position: absolute; right: -15%; bottom: -65%; width: 65vw; height: 65vw; border-radius: 50%; filter: blur(95px); opacity: .32; background: radial-gradient(circle, #597f91, #65587f 45%, transparent 72%); }
.contact .wrap { position: relative; }
.contact h2 { max-width: 930px; margin: 60px 0 34px; }
.contact h2 em { font-style: normal; color: #bbdce1; }
.contact p { max-width: 630px; color: #bacbd3; line-height: 1.8; font-size: 1.1rem; }
.contact-placeholder { display: inline-block; margin-top: 34px; border: 1px solid #718c99; border-radius: 100px; padding: 16px 24px; color: #dcebec; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(90px, 11vw, 170px); padding-top: 24px; border-top: 1px solid #506475; color: #9fafba; font-size: .84rem; }
footer a { text-underline-offset: 5px; }
.js .reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.page-curtain { position: fixed; z-index: 100; inset: 0; background: #132336; transform: translateY(101%); pointer-events: none; }
.page-leaving .page-curtain { animation: curtain-in .48s cubic-bezier(.7,0,.25,1) forwards; }
main { animation: page-in .65s ease both; }
:focus-visible { outline: 3px solid #addfe3; outline-offset: 4px; }
@keyframes aurora { from { transform: translate(-3%,2%) rotate(-5deg); } to { transform: translate(5%,-3%) rotate(5deg); } }
@keyframes art-shift { from { transform: translate(-3%,3%) rotate(-5deg); } to { transform: translate(4%,-4%) rotate(6deg); } }
@keyframes curtain-in { to { transform: translateY(0); } }
@keyframes page-in { from { opacity: .35; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { min-height: 650px; }
  .hero-summary { align-items: start; }
  .featured-intro { display: block; }
  .featured-intro p { margin-top: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-detail { max-width: 720px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 38px); }
  .site-header .wrap { min-height: 70px; align-items: flex-start; flex-direction: column; padding-block: 17px; gap: 16px; }
  .nav { width: 100%; gap: 22px; white-space: nowrap; overflow-x: auto; }
  .nav a { font-size: .84rem; }
  .nav a:last-child { border: 0; padding: 0; color: #b9e1e2; }
  .hero { min-height: 680px; }
  .hero .wrap { padding-block: 85px; }
  h1 { font-size: clamp(3.4rem, 14vw, 5.5rem); }
  .hero-summary { display: block; }
  .scroll-cue { margin-top: 35px; }
  .section-rule span:last-child { display: none; }
  .showcase { min-height: 590px; }
  .slide::after { background: linear-gradient(0deg, #0b1429e8, #111b2c62 70%); }
  .slide-art { width: 78vw; top: 30%; right: -8%; }
  .slide-inner { padding: 25px; }
  .slide h3 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .slide p { font-size: 1rem; }
  .about-detail { border-left: 0; border-top: 1px solid #6a8390; padding: 25px 0 0; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before,.slide::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide,.slide-art,.status-line::after,.project-link,.control-pair button,.scroll-cue span { transition: none; }
  .page-leaving .page-curtain { animation: none; }
  main { animation: none; }
}
/* Project pages */
.detail-hero { position: relative; min-height: calc(100dvh - 110px); overflow: hidden; isolation: isolate; background: linear-gradient(125deg, #16273a, #344f66 58%, #263f50); }
.detail-hero.variant-two { background: linear-gradient(125deg, #25213c, #4c496a 58%, #2c5162); }
.detail-hero::before { content: ''; position: absolute; inset: -25%; z-index: -2; filter: blur(58px); opacity: .76; background: radial-gradient(ellipse 35% 34% at 70% 32%, #8ac8d6a1, transparent 78%), radial-gradient(ellipse 34% 36% at 48% 67%, #8ba1d994, transparent 78%), radial-gradient(ellipse 25% 30% at 23% 82%, #62568f87, transparent 78%); animation: art-shift 16s ease-in-out infinite alternate; }
.detail-hero.variant-two::before { background: radial-gradient(ellipse 34% 32% at 72% 36%, #ccafd6b6, transparent 78%), radial-gradient(ellipse 34% 38% at 50% 72%, #8dc5ceb0, transparent 79%), radial-gradient(ellipse 27% 29% at 21% 83%, #6e63a78f, transparent 76%); }
.detail-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a1325d8, #0c172d70 50%, transparent); }
.detail-hero .wrap { min-height: inherit; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(25px, 4vh, 42px) clamp(30px, 5vh, 70px); }
.back-link { display: inline-flex; align-items: center; gap: 16px; align-self: flex-start; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid #c9e2e4b6; font-size: .89rem; }
.back-link span { font-size: 1.2rem; }
.detail-title { position: relative; z-index: 2; }
.detail-title .kicker { margin-bottom: 26px; }
.detail-title h1 { font-size: clamp(3.2rem, min(8vw, 10vh), 8rem); }
.detail-title h1 { max-width: 900px; }
.detail-title p { max-width: 620px; margin: 30px 0 0; color: #e2edf0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.7; }
.detail-art { position: absolute; right: -2%; top: 50%; width: min(42vw, 62vh, 570px); aspect-ratio: 1; border-radius: 30%; border: 1px solid #e3f5f7a3; box-shadow: inset 0 0 0 65px #e5f5f216, 0 0 0 75px #e5f5f20f; transform: translateY(-50%) rotate(-25deg); }
.variant-two .detail-art { border-radius: 50%; border-color: #e6d9f1a3; box-shadow: inset 0 0 0 65px #e6d9f116, 0 0 0 75px #e6d9f10f; transform: translateY(-50%) rotate(0deg); }
.detail-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #e7f0f099; padding-top: 20px; font-size: .8rem; letter-spacing: .12em; font-weight: 700; }
.detail-info { background: #0e1827; padding: clamp(85px, 10vw, 140px) 0; }
.detail-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); gap: clamp(50px, 9vw, 140px); margin: 55px 0 95px; }
.detail-intro h2 { max-width: 800px; }
.detail-intro p { color: #bdcdd5; line-height: 1.85; font-size: 1.1rem; margin: 0; align-self: end; }
.detail-rows { border-top: 1px solid #566d7d; }
.detail-row { display: grid; grid-template-columns: minmax(140px, .28fr) 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid #435969; }
.detail-row span { color: #9fb8c4; font-size: .82rem; font-weight: 750; letter-spacing: .1em; }
.detail-row p { color: #d1dfe5; line-height: 1.8; margin: 0; max-width: 790px; }
.next-project { display: block; text-decoration: none; padding: clamp(70px, 9vw, 125px) 0; background: linear-gradient(125deg, #162637, #2a4254); transition: background .35s; }
.next-project.variant-two { background: linear-gradient(125deg, #282840, #3e4860); }
.next-project:hover { background: #344e62; }
.next-project .section-rule { margin-bottom: 35px; }
.next-project h2 { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.next-project h2 span { font-size: .6em; }
@media (max-width: 750px) {
  .detail-hero { min-height: calc(100dvh - 110px); }
  .detail-hero .wrap { padding-block: 30px 45px; }
  .detail-art { width: min(75vw, 70vh); right: -23%; top: 35%; }
  .detail-hero::after { background: linear-gradient(0deg, #0a1325d9, #0c172d55 82%); }
  .detail-intro { grid-template-columns: 1fr; gap: 25px; margin-bottom: 65px; }
  .detail-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 650px) {
  .detail-hero { min-height: calc(100dvh - 135px); }
}
@media (prefers-reduced-motion: reduce) { .detail-hero::before { animation: none; } .next-project { transition: none; } }
