:root {
    --purple: #601986;
    --purple-dark: #3f0f5c;
    --purple-soft: #f1e8f5;
    --ink: #202020;
    --muted: #636363;
    --line: #ded9e2;
    --surface: #faf8fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.activity-shell { width: min(1480px, calc(100% - 72px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--purple); }
.skip-link:focus { top: 16px; }

.activity-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(96, 25, 134, .1); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { width: 132px; height: 48px; }
.brand img { object-fit: contain; object-position: left center; }
.activity-header nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 16px; font-weight: 700; }
.activity-header nav a { position: relative; padding: 34px 0; }
.activity-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; background: var(--purple); transition: right .25s ease; }
.activity-header nav a:hover::after, .activity-header nav a[aria-current="page"]::after { right: 0; }
.activity-header nav a[aria-current="page"] { color: var(--purple); }

.activity-hero { padding: clamp(70px, 8vw, 130px) 0 110px; overflow: hidden; background: radial-gradient(circle at 90% 10%, #efe4f4 0, transparent 38%), linear-gradient(135deg, #fff 20%, #faf7fb 100%); }
.hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 7vw, 120px); align-items: center; }
.eyebrow, .event-tag { color: var(--purple); font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.hero-copy h1 { margin: 15px 0 25px; font-size: clamp(52px, 6vw, 94px); line-height: 1; letter-spacing: .08em; }
.hero-copy p { max-width: 600px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.9; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.hero-links a { padding: 11px 16px; border: 1px solid var(--purple); border-radius: 999px; color: var(--purple); font-weight: 700; transition: .2s ease; }
.hero-links a:hover { color: #fff; background: var(--purple); }
.hero-collage { min-height: 540px; display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 15px; transform: rotate(-1deg); }
.hero-collage figure { margin: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 20px 48px rgba(49, 18, 66, .13); }
.hero-collage .hero-main { grid-row: 1 / 3; }

.event-section { padding: 125px 0; scroll-margin-top: 90px; }
.event-section-alt { background: var(--surface); }
.event-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 7vw, 120px); align-items: center; }
.event-layout-reverse .event-copy { order: 2; }
.event-layout-reverse .event-gallery { order: 1; }
.event-copy { position: relative; }
.event-number { position: absolute; right: 0; top: -62px; color: rgba(96, 25, 134, .08); font-size: 120px; font-weight: 900; line-height: 1; }
.event-copy h2 { position: relative; margin: 13px 0 24px; font-size: clamp(38px, 4vw, 60px); line-height: 1.15; }
.event-copy p { color: var(--muted); font-size: 18px; line-height: 1.85; }
.event-copy ul { margin: 28px 0 34px; padding: 0; list-style: none; }
.event-copy li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); font-size: 16px; }
.event-copy li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.primary-link { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 1px solid var(--purple); color: var(--purple); font-weight: 800; transition: .2s ease; }
.primary-link::after { content: "→"; }
.primary-link:hover { color: #fff; background: var(--purple); }

.event-gallery { display: grid; grid-template-columns: 1.35fr .85fr; grid-template-rows: repeat(2, 245px); gap: 16px; }
.event-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: #ddd; }
.event-gallery .gallery-feature { grid-row: 1 / 3; }
.event-gallery figcaption { position: absolute; left: 15px; bottom: 15px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(28, 19, 32, .72); font-size: 14px; font-weight: 700; backdrop-filter: blur(5px); }
.event-gallery img { transition: transform .5s ease; }
.event-gallery figure:hover img { transform: scale(1.035); }

.activity-cta { padding: 90px 0; color: #fff; background: linear-gradient(120deg, var(--purple-dark), var(--purple)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.activity-cta .eyebrow { color: #dfc6eb; }
.activity-cta h2 { margin: 12px 0; font-size: clamp(30px, 3.5vw, 48px); }
.activity-cta p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 17px; }
.activity-cta a { flex: none; padding: 15px 28px; border: 1px solid #fff; border-radius: 999px; font-weight: 800; }
.activity-cta a:hover { color: var(--purple); background: #fff; }

.activity-footer { padding: 50px 0; color: #ddd; background: #1c1a1d; }
.footer-inner { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 50px; }
.footer-brand { display: block; width: 362px; height: 56px; }
.footer-brand img { object-fit: contain; object-position: left center; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.footer-links a:hover { color: #fff; }
.activity-footer p { margin: 0; color: #999; font-size: 13px; }

@media (max-width: 900px) {
    .activity-shell { width: min(100% - 42px, 720px); }
    .header-inner { min-height: 74px; }
    .brand { width: 105px; height: 40px; }
    .activity-header nav { gap: 17px; font-size: 14px; }
    .activity-header nav a { padding: 27px 0; }
    .activity-header nav a::after { bottom: 18px; }
    .activity-header nav a:first-child, .activity-header nav a:nth-child(2), .activity-header nav a:last-child { display: none; }
    .hero-grid, .event-layout { grid-template-columns: 1fr; }
    .activity-hero { padding: 70px 0; }
    .hero-collage { min-height: 430px; }
    .event-section { padding: 90px 0; }
    .event-layout-reverse .event-copy, .event-layout-reverse .event-gallery { order: initial; }
    .event-copy { max-width: 680px; }
    .footer-inner { grid-template-columns: 130px 1fr; }
    .activity-footer p { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 600px) {
    .activity-shell { width: calc(100% - 36px); }
    .activity-header nav { gap: 16px; }
    .activity-header nav a { font-size: 13px; }
    .hero-copy p { font-size: 17px; }
    .hero-collage { min-height: 390px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .65fr; }
    .hero-collage .hero-main { grid-column: 1 / 3; grid-row: 1; }
    .event-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 150px; }
    .event-gallery .gallery-feature { grid-column: 1 / 3; grid-row: 1; }
    .event-copy p { font-size: 16px; }
    .cta-inner { display: block; }
    .activity-cta a { display: inline-block; margin-top: 30px; }
    .footer-inner { display: flex; flex-direction: column; gap: 25px; }
    .footer-brand { width: 130px; }
}
