:root {
  --green: #079b84;
  --green-dark: #087d70;
  --cyan: #31a9df;
  --mint: #bdf5d0;
  --gold: #dcae28;
  --ink: #263c39;
  --paper: #f8fff8;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { overflow-x: clip; margin: 0; color: var(--ink); font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; background: var(--paper); line-height: 1.65; }
body, button { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { color: #053f38; background: #ffe586; }
:focus-visible { outline: 3px solid #ffe16a; outline-offset: 4px; }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: #dff5ed; }
::-webkit-scrollbar-thumb { background: var(--green); border: 3px solid #dff5ed; border-radius: 999px; }

.skip-link { position: fixed; z-index: 9999; left: 16px; top: 10px; padding: 10px 18px; border-radius: 6px; background: #fff; color: #064f45; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-h); color: #fff; background: linear-gradient(180deg, rgba(4, 91, 80, .9), rgba(4, 91, 80, .2)); transition: background .25s ease; }
.header-inner { width: min(100% - 48px, 1340px); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 176px; }
#site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
#site-nav a { position: relative; text-decoration: none; font-weight: 700; font-size: 16px; padding: 12px 0; white-space: nowrap; }
#site-nav a::after { content: ""; position: absolute; height: 2px; inset: auto 0 6px; background: #ffe766; transform: scaleX(0); transition: transform .25s ease; }
#site-nav a:hover::after, #site-nav a.active::after { transform: scaleX(1); }
#site-nav a.active { color: #ffe766; }
#site-nav a:active { transform: translateY(1px); }
.menu-button { display: none; width: 46px; height: 46px; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; }
.menu-button span, .menu-button span::before, .menu-button span::after { display: block; width: 28px; height: 2px; margin: auto; background: currentColor; transition: transform .2s ease; content: ""; }
.menu-button span::before { transform: translateY(-8px); }
.menu-button span::after { transform: translateY(6px); }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { transform: translateY(1px) rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { transform: translateY(-1px) rotate(-45deg); }

.hero { min-height: min(760px, 100vh); background: url("img/home.jpg") center/cover no-repeat; display: grid; align-items: center; padding: calc(var(--header-h) + 54px) 24px 64px; }
.hero-inner { width: min(100%, 1320px); margin: auto; }
.hero h1 { margin: 0; width: min(760px, 58vw); }
.venue { display: flex; align-items: center; gap: 10px; margin: 28px 0 0 22px; font-size: clamp(16px, 1.6vw, 25px); font-weight: 800; color: #113d39; }
.venue img { width: 28px; height: 28px; }
.venue small { font-size: .78em; font-weight: 600; }

.intro { overflow: hidden; position: relative; color: #fff; background: linear-gradient(110deg, #3dc26c 0%, #0c9caa 100%); }
.intro::after { content: "INNOVATION\A DAY"; white-space: pre; position: absolute; right: -40px; bottom: -38px; color: rgba(255,255,255,.08); font-size: clamp(72px, 12vw, 180px); line-height: .72; font-weight: 900; }
.intro-inner { position: relative; z-index: 1; width: min(100% - 48px, 980px); margin: auto; padding: 78px 0; text-align: center; }
.intro h2 { margin: 0 0 28px; color: #ffe579; font-size: clamp(25px, 3vw, 38px); line-height: 1.35; }
.intro h2 span { font-size: .88em; }
.intro p { max-width: 870px; margin: auto; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; }

.award { padding: 84px 24px 110px; background: radial-gradient(circle at 70% 30%, #a5efb4, transparent 46%), linear-gradient(110deg, #effff5, #c6f3dd); }
.slider { position: relative; }
.award-slider { width: min(100%, 960px); margin: auto; display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; gap: 24px; }
.slider-viewport { min-width: 0; overflow: hidden; touch-action: pan-y; }
.slider-track { display: flex; gap: 24px; transition: transform .55s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.award-slide { flex: 0 0 100%; overflow: hidden; border-radius: 28px; box-shadow: 0 18px 42px rgba(5, 115, 97, .14); }
.award-slide img { width: 100%; aspect-ratio: 2.8/1.8; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.award-slide:hover img, .award-slide:focus-visible img { transform: scale(1.035); filter: brightness(1.06); }
.round-arrow { width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: rgba(39, 66, 62, .6); display: grid; place-items: center; line-height: 1; font-size: 36px; cursor: pointer; box-shadow: 0 8px 20px rgba(10, 80, 70, .15); }
.round-arrow { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.round-arrow:hover { background: var(--green-dark); transform: scale(1.08); box-shadow: 0 11px 24px rgba(10, 80, 70, .24); }
.round-arrow:active { transform: scale(.94); }
.round-arrow span { width: 13px; height: 13px; border-block-start: 2px solid currentColor; border-inline-end: 2px solid currentColor; }
.slider-prev span { transform: translateX(3px) rotate(-135deg); }
.slider-next span { transform: translateX(-3px) rotate(45deg); }
.slider-dots { grid-column: 2; display: flex; justify-content: center; gap: 9px; min-height: 12px; margin-top: 4px; }
.slider-dots button { width: 28px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(8, 125, 112, .3); cursor: pointer; transform: scaleX(.32); transition: transform .25s ease, background .25s ease; }
.slider-dots button.active { background: var(--green-dark); transform: scaleX(1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.section-shell, .agenda-shell, .register-shell { width: min(100% - 48px, 1160px); margin: auto; }
.section-title { width: fit-content; margin: 0 auto 70px; color: #087b71; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; text-align: center; }
.section-title::after { content: ""; display: block; width: 116px; height: 5px; margin: 20px auto 0; background: linear-gradient(90deg, #35bb6d, #36a6df); }
.section-title.light { color: #fff; }
.section-title.light::after { background: linear-gradient(90deg, #fff, #ffe36a); }
.section-title.dark { color: #374541; }

.highlights { padding: 100px 0 118px; background: url("img/home.jpg") center/cover fixed no-repeat; position: relative; }
.highlights::before { content: ""; position: absolute; inset: 0; background: rgba(224, 255, 241, .54); }
.highlights .section-shell { position: relative; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.highlight-item { min-height: 310px; padding: 26px 20px 30px; border-radius: 14px; color: #fff; text-align: left; background: linear-gradient(145deg, rgba(237, 203, 70, .96), rgba(195, 139, 16, .94)); box-shadow: 0 22px 44px rgba(65, 108, 67, .18); }
.highlight-item { transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, filter .3s ease; }
.highlight-item img { width: 92px; height: 92px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); transition: transform .35s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.highlight-item:hover, .highlight-item:focus-within { transform: translateY(-10px); box-shadow: 0 30px 54px rgba(65, 108, 67, .28); filter: brightness(1.04); }
.highlight-item:hover img, .highlight-item:focus-within img { transform: scale(1.09) rotate(-3deg); filter: brightness(0) invert(1) drop-shadow(0 7px 8px rgba(83, 59, 0, .14)); }
.highlight-item h3 { margin: 6px 0 10px; font-size: 26px; }
.highlight-item p { margin: 0; font-size: 16px; line-height: 1.55; }

.speakers { padding: 100px 0 118px; background: linear-gradient(110deg, #d8eaff, #9af0b0); }
.speaker-carousel { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 24px; }
.speaker-track { gap: 24px; }
.speaker-card { position: relative; flex: 0 0 calc((100% - 72px) / 4); min-width: 0; overflow: hidden; background: #3d3d3d; color: #fff; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; }
.speaker-card > img { width: 100%; aspect-ratio: .93/1; object-fit: cover; object-position: top; transition: transform .5s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.speaker-card > div { position: relative; min-height: 142px; padding: 18px 22px; background: #3d3d3d; transition: background .3s ease; }
.speaker-card:hover, .speaker-card:focus-within { transform: translateY(-7px); box-shadow: 0 22px 38px rgba(13, 79, 68, .22); }
.speaker-card:hover > img, .speaker-card:focus-within > img { transform: scale(1.055); filter: brightness(1.06); }
.speaker-card:hover > div, .speaker-card:focus-within > div { background: #13726a; }
.speaker-card h3 { margin: 0 0 4px; font-size: 24px; }
.speaker-card p { margin: 0; font-size: 17px; line-height: 1.45; }

.agenda { padding: 110px 0 150px; color: #000; background: url("img/agenda-bg.jpg") center top/cover no-repeat; }
.agenda-shell { max-width: 940px; }
.agenda .section-title.dark { color: #000; }
.agenda-meta { margin-bottom: 32px; font-size: 18px; }
.agenda-meta p { margin: 4px 0; }
.agenda p { color: #000; font-size: 18px; }
.schedule { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.schedule li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 22px; border-radius: 6px; background: rgba(255,255,255,.94); box-shadow: 0 7px 24px rgba(21, 106, 87, .05); }
.schedule li { transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, background .28s ease; }
.schedule li:hover, .schedule li:focus-within { transform: translateX(10px); background: #fff; box-shadow: 0 14px 32px rgba(21, 106, 87, .16); }
.schedule li:active { transform: translateX(6px) scale(.995); }
.schedule time { color: #000; font-family: "Inder", "Trebuchet MS", sans-serif; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule h3 { margin: 0; color: #000; font-size: 18px; }
.schedule h3 span { display: inline-block; margin-right: 10px; padding: 2px 13px; border-radius: 8px; color: #fff; background: #858585; font-size: 14px; }
.schedule li:has(p) h3 { color: #0D9986CC; padding-bottom: 8px; border-bottom: 1px solid #aeb7b5; }
.schedule p { margin: 8px 0 0; }

.exhibition { padding: 82px 0 96px; color: #fff; background: linear-gradient(102deg, rgba(255,255,255,.035) 0 25%, transparent 25% 68%, rgba(0,103,89,.045) 68% 76%, transparent 76%), linear-gradient(90deg, #3cad9d 0%, #22a592 48%, #0a9c84 100%); border-radius: clamp(96px, 24vw, 390px) 0 0; }
.exhibition-grid { width: min(94%, 52rem); margin: 0 auto 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 4rem; }
.exhibition-item { position: relative; width: 100%; aspect-ratio: 1; display: grid; justify-items: center; align-content: center; border: 1px solid #fff; border-radius: 50%; color: #0aa876; background: rgba(255,255,255,.349); text-align: center; cursor: pointer; }
.exhibition-content { position: relative; z-index: 1; width: 80%; aspect-ratio: 1; display: grid; grid-template-rows: 4rem auto; place-content: center; justify-items: center; gap: .5rem; border-radius: 50%; background: #fff; transition: filter .3s ease-in-out; }
.exhibition-grid img { width: 4rem; height: 4rem; object-fit: contain; transition: filter .3s ease-in-out; }
.exhibition-grid h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.exhibition-item .wave { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; background: rgba(255,255,255,.349); transform: scale(.8); transform-origin: 50% 50%; transition: transform .3s ease-in-out; }
.exhibition-item:hover .wave-1, .exhibition-item:focus-visible .wave-1 { transform: scale(1); }
.exhibition-item:hover .wave-2, .exhibition-item:focus-visible .wave-2 { transform: scale(.94); }
.exhibition-item:hover .wave-3, .exhibition-item:focus-visible .wave-3 { transform: scale(.87); }
.exhibition-item:hover .exhibition-content, .exhibition-item:focus-visible .exhibition-content,
.exhibition-item:hover img, .exhibition-item:focus-visible img { filter: brightness(1.1); }

.traffic, .register { background: url("img/map-bg.jpg") center top/cover no-repeat; }
.traffic { padding: 110px 0 70px; }
.map-card { width: min(100%, 1050px); margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: 0 20px 60px rgba(100, 94, 67, .13); }
.map-card { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.map-card:hover, .map-card:focus-within { transform: translateY(-6px); box-shadow: 0 30px 68px rgba(100, 94, 67, .2); }
.map-frame { min-height: 360px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-info { padding: 56px 48px; }
.map-info h3 { margin: 0 0 8px; font-size: 25px; line-height: 1.4; }
.map-info h3 img { display: inline-block; width: 26px; vertical-align: -5px; margin-right: 6px; }
.map-info h4 { margin: 28px 0 4px; color: #0a9d80; font-size: 19px; }
.map-info p { margin: 0; }
.map-link { display: inline-block; margin-top: 22px; padding: 8px 20px; border-radius: 6px; color: #fff; background: #3f4543; font-weight: 700; text-decoration: none; }
.map-link { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.map-link:hover, .map-link:focus-visible { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(7, 95, 82, .22); }
.map-link:active { transform: translateY(0) scale(.97); }

.register { padding: 70px 0 100px; background-position: center bottom; }
.register-shell { max-width: 1060px; }
.form-frame { overflow: hidden; padding: 10px; background: #fff; box-shadow: 0 20px 60px rgba(85, 107, 96, .12); }
.form-frame { transition: box-shadow .3s ease; }
.form-frame:focus-within { box-shadow: 0 28px 70px rgba(39, 127, 105, .2); }
.form-frame iframe { display: block; width: 100%; height: 980px; overflow: hidden; border: 0; background: #fff; }
.form-fallback { margin: 18px 0 0; text-align: center; }
.form-fallback a { color: #067c70; font-weight: 700; text-underline-offset: 4px; }

.site-footer { padding: 34px 24px; display: flex; align-items: center; justify-content: center; gap: 24px; color: #fff; background: #087b70; text-align: center; }
.site-footer img { width: 165px; }
.site-footer p { margin: 0; }
.floating-register { position: fixed; z-index: 900; right: 22px; top: 50%; width: 48px; transform: translateY(-15%); filter: drop-shadow(0 8px 8px rgba(72, 64, 6, .28)); transition: transform .2s ease; }
.floating-register:hover, .floating-register:focus-visible { transform: translateY(-15%) scale(1.08); filter: brightness(1.08) drop-shadow(0 10px 10px rgba(72, 64, 6, .32)); }
.floating-register:active { transform: translateY(-15%) scale(.97); }

.motion-ready .reveal { opacity: 0; transform: translateY(34px); filter: blur(5px); transition: opacity .72s cubic-bezier(.16,1,.3,1), transform .72s cubic-bezier(.16,1,.3,1), filter .72s ease; }
.motion-ready .reveal-right { transform: translateX(-48px); clip-path: inset(0 12% 0 0); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; filter: none; clip-path: inset(0); }
.motion-ready .venue.reveal { transition-delay: 120ms; }
.motion-ready .reveal-list > * { opacity: 0; transform: translateY(26px); filter: blur(3px); transition: opacity .58s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms), transform .58s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms), filter .58s ease var(--reveal-delay, 0ms); }
.motion-ready .reveal-list > *.is-visible { opacity: 1; transform: none; filter: none; }
.section-title::after { transform-origin: left; transition: transform .7s cubic-bezier(.16,1,.3,1) .15s; }
.motion-ready .section-title:not(.is-visible)::after { transform: scaleX(.15); }

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .site-header { background: #078b78; }
  .header-inner { width: min(100% - 28px, 940px); }
  .brand img { width: 145px; }
  .menu-button { display: block; position: relative; z-index: 2; }
  #site-nav { position: fixed; inset: var(--header-h) 0 auto; display: grid; gap: 0; padding: 14px 24px 26px; background: #078b78; transform: translateY(-130%); transition: transform .3s cubic-bezier(.16,1,.3,1); box-shadow: 0 18px 28px rgba(0, 67, 56, .18); }
  #site-nav.open { transform: translateY(0); }
  #site-nav a { padding: 12px; text-align: center; }
  .hero { min-height: 600px; }
  .hero h1 { width: min(760px, 84vw); }
  .venue { max-width: 610px; margin-left: 0; align-items: flex-start; flex-wrap: wrap; }
  .venue small { display: block; width: 100%; margin-left: 38px; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-card { flex-basis: calc((100% - 24px) / 2); }
  .exhibition-grid { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1.5rem; }
}

@media (max-width: 700px) {
  .section-shell, .agenda-shell, .register-shell { width: min(100% - 32px, 640px); }
  .hero { min-height: 500px; padding-inline: 16px; background-position: 63% center; }
  .hero h1 { width: 94vw; max-width: 520px; }
  .venue { margin-top: 18px; font-size: 15px; }
  .intro-inner { width: min(100% - 32px, 620px); padding: 58px 0; }
  .intro p { text-align: left; }
  .award { padding: 60px 16px 76px; }
  .award-slider { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; }
  .award-slide { border-radius: 16px; }
  .round-arrow { width: 36px; height: 36px; font-size: 28px; }
  .section-title { margin-bottom: 48px; }
  .highlights, .speakers { padding: 74px 0 84px; }
  .highlight-grid { gap: 14px; }
  .highlight-item { min-height: 250px; padding: 20px 15px; }
  .highlight-item img { width: 68px; height: 68px; }
  .highlight-item h3 { font-size: 21px; }
  .highlight-item p { font-size: 14px; }
  .speaker-carousel { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
  .speaker-track { gap: 14px; }
  .speaker-card { flex-basis: 100%; }
  .speaker-card > div { min-height: 126px; padding: 15px; }
  .speaker-card h3 { font-size: 22px; }
  .speaker-card p { font-size: 15px; }
  .agenda { padding: 78px 0 100px; }
  .schedule li { grid-template-columns: 1fr; gap: 6px; padding: 15px; }
  .schedule h3 { font-size: 16px; }
  .exhibition { padding: 72px 0 82px; }
  .exhibition-grid { width: min(94%, 500px); grid-template-columns: repeat(2, minmax(8rem, 1fr)); gap: 1.5rem; }
  .exhibition-content { grid-template-rows: 3rem auto; gap: .35rem; }
  .exhibition-grid img { width: 3rem; height: 3rem; }
  .exhibition-grid h3 { font-size: 16px; }
  .traffic { padding-top: 78px; }
  .map-card { grid-template-columns: 1fr; border-radius: 18px; }
  .map-frame, .map-frame iframe { min-height: 270px; }
  .map-info { padding: 30px 24px 38px; }
  .map-info h3 { font-size: 21px; }
  .register { padding: 40px 0 76px; }
  .form-frame { padding: 0; }
  .form-frame iframe { height: 880px; }
  .site-footer { flex-direction: column; gap: 12px; }
  .floating-register { right: 8px; width: 40px; }
}

@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; filter: none; }
  .highlights { background-attachment: scroll; }
}

@media (hover: none) {
  .award-slide:hover img, .highlight-item:hover, .highlight-item:hover img,
  .speaker-card:hover, .speaker-card:hover > img, .schedule li:hover,
  .exhibition-grid article:hover, .exhibition-grid article:hover img,
  .map-card:hover, .map-link:hover { transform: none; }
  .exhibition-item:hover .wave { transform: scale(.8); }
}
