:root {
  --navy: #173749;
  --ink: #172543;
  --sea: #4fb5ca;
  --sea-dark: #16778d;
  --sea-light: #e9f6f7;
  --paper: #fffdf8;
  --yellow: #ffda78;
  --orange: #d55e37;
  --muted: #60777d;
  --line: #d9e3df;
  --header-height: 94px;
  --bs-body-font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  --bs-body-color: var(--navy);
  --bs-body-bg: var(--paper);
  --bs-link-color-rgb: 22, 119, 141;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 25px); }
body { margin: 0; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--navy); background: var(--yellow); }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
img { max-width: 100%; }
h1, h2, h3, h4, p, dl { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.4; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; fill: none; vertical-align: middle; }
.container-wide { width: min(100% - 64px, 1560px); margin-inline: auto; padding: 0; }
.container-main { width: min(100% - 112px, 1256px); margin-inline: auto; }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; line-height: 1.6; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 10px 20px; background: var(--yellow); }
.skip-link:focus { top: 10px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 1030; height: var(--header-height); background: rgba(255, 253, 248, .98); border-bottom: 1px solid rgba(23, 55, 73, .1); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px #1737490d; }
.navbar { min-height: var(--header-height); gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-emblem { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); transform: rotate(-13deg); }
.brand-emblem .icon { width: 37px; height: 37px; }
.brand small { display: block; font-size: 9px; letter-spacing: .15em; font-weight: 800; line-height: 1.8; }
.brand strong { display: block; font-size: 20px; letter-spacing: .03em; line-height: 1.5; }
.navbar-nav { align-items: center; gap: 13px; margin-left: auto; }
.navbar .nav-link { position: relative; padding: 12px 0 !important; color: var(--navy); font-size: 18px; white-space: nowrap; font-weight: 700; }
.navbar .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 3px; background: var(--sea); transform: scaleX(0); transition: transform .25s; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link.active { color: var(--sea-dark); }
.mobile-menu-footer { display: none; }
.menu-toggle { width: 44px; height: 48px; padding: 5px; border: 0; border-radius: 0; box-shadow: none !important; }
.menu-toggle > span:not(.menu-label) { display: block; height: 2px; background: var(--navy); margin: 6px auto; width: 26px; }
.menu-toggle .menu-label { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .12em; }

/* The supplied poster is intentionally shown in full, without cropping. */
.hero { background: white; }
.hero-scene { position: relative; isolation: isolate; overflow: hidden; max-width: 1920px; margin-inline: auto; background: var(--sea); container-type: inline-size; }
.poster-parallax { position: relative; z-index: 1; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.poster-enter { animation: poster-in 1.1s cubic-bezier(.2,.75,.25,1) both; }
.hero-poster { display: block; width: 100%; height: auto; }
.ocean-pattern { position: absolute; z-index: 0; inset: -40px; background-color: var(--sea); background-image: url("../wave-pattern.svg"); background-size: 100px 88px; animation: sea-drift 18s ease-in-out infinite alternate; }
.bubbles { position: absolute; pointer-events: none; z-index: 4; inset: 0 0 21%; transition: transform .8s ease; overflow: hidden; }
.bubbles i { --size: 16px; position: absolute; bottom: -50px; width: var(--size); height: var(--size); border: 1.5px solid #ffffffa8; border-radius: 50%; box-shadow: inset 3px 3px 5px #ffffff42, 0 0 10px #ffffff12; background: radial-gradient(circle at 28% 25%, #ffffff91 0 5%, #ffffff08 35%); animation: bubble-rise 11s linear infinite; }
.bubbles i:nth-child(1) { left: 4%; --size: 19px; animation-delay: -2s; }
.bubbles i:nth-child(2) { left: 9%; --size: 10px; animation-delay: -9s; animation-duration: 17s; }
.bubbles i:nth-child(3) { left: 29%; --size: 24px; animation-delay: -5s; }
.bubbles i:nth-child(4) { left: 35%; --size: 12px; animation-delay: -10s; animation-duration: 19s; }
.bubbles i:nth-child(5) { left: 69%; --size: 16px; animation-delay: -3s; }
.bubbles i:nth-child(6) { left: 83%; --size: 8px; animation-delay: -8s; animation-duration: 16s; }
.bubbles i:nth-child(7) { left: 94%; --size: 28px; animation-delay: -6s; animation-duration: 20s; }
.bubbles i:nth-child(8) { left: 97%; --size: 11px; animation-delay: -12s; }
.bubbles i:nth-child(9) { left: 63%; --size: 12px; animation-delay: -4s; animation-duration: 21s; }
.bubbles i:nth-child(10) { left: 18%; --size: 7px; animation-delay: -7s; }
.motion-toggle { position: absolute; z-index: 5; right: 24px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #17374924; border-radius: 30px; background: #fffdf8e8; color: var(--navy); font-size: 10px; letter-spacing: .04em; }
.motion-toggle:disabled { opacity: .65; cursor: default; }
.motion-indicator { height: 9px; width: 7px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-indicator { width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; }
.hero-layers { position: absolute; z-index: 2; inset: 0; overflow: hidden; background: #fff; pointer-events: none; }
.hero-layers[hidden] { display: none; }
.has-layers .poster-parallax { visibility: hidden; }
.has-layers > .ocean-pattern { display: none; }
.layer-sea { position: absolute; inset: 0 0 20%; background: #4fb5ca; }
.sea-drift-wrap { position: absolute; inset: -3% -3% 0; overflow: hidden; transition: transform .75s ease-out; }
.sea-scales { position: absolute; inset: -10%; background-color: #4fb5ca; background-image: url('../wave-pattern.svg'); background-size: clamp(38px, 4cqw, 86px) auto; opacity: .9; animation: scales-swim 15s linear infinite; }
.sea-light { position: absolute; inset: 0; opacity: .35; background: repeating-linear-gradient(115deg, transparent 0 9%, #ddffff38 12%, transparent 17% 30%); background-size: 150% 100%; mix-blend-mode: screen; animation: sunlight-drift 13s ease-in-out infinite alternate; }
.sea-wave { position: absolute; z-index: 1; left: -10%; width: 120%; bottom: -3%; height: 6%; background: url('../banner-wave.svg') bottom / 50% 100% repeat-x; animation: wave-slide 9s ease-in-out infinite alternate; }
.sea-wave--back { opacity: .35; bottom: 0; height: 7%; animation-duration: 12s; animation-direction: alternate-reverse; }
.sea-wave--front { animation-delay: -3s; }
.hero-layer { position: absolute; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.hero-layer > div { width: 100%; height: 100%; }
.hero-layer svg { width: 100%; height: auto; display: block; overflow: hidden; }
.hero-layer--grouper svg { height: 100%; }
.layer-title-enter { animation: title-bounce 1.45s cubic-bezier(.2,.8,.3,1) both; transform-origin: 50% 50%; }
.layer-title { animation: title-hover 6s ease-in-out 1.45s infinite; filter: drop-shadow(0 8px 7px #123a5320); }
.layer-character-enter { animation: character-arrive 1.45s cubic-bezier(.15,.75,.25,1) var(--enter-delay, 0s) both; }
.layer-character { transform-origin: 50% 50%; animation: character-swim var(--float-duration, 7s) ease-in-out var(--float-delay, 0s) infinite; will-change: transform; }
.layer-still { position: relative; }
.hero-sparkles { position: absolute; inset: 0; z-index: 40; }
.hero-sparkles i { position: absolute; height: clamp(8px, 1.2cqw, 22px); width: clamp(8px, 1.2cqw, 22px); background: #ffffffe0; clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%); animation: ocean-twinkle 4.4s ease-in-out infinite; }
.hero-sparkles i:nth-child(1) { left: 32%; top: 15%; animation-delay: -1s; }
.hero-sparkles i:nth-child(2) { left: 94%; top: 22%; animation-delay: -2.6s; }
.hero-sparkles i:nth-child(3) { left: 69%; top: 43%; animation-delay: -3.4s; }
.hero-sparkles i:nth-child(4) { left: 28%; top: 53%; animation-delay: -.7s; }
.hero-sparkles i:nth-child(5) { left: 5%; top: 18%; animation-delay: -2s; }
.hero-sparkles i:nth-child(6) { left: 51%; top: 78%; animation-delay: -3s; }
.hero-replay { position: absolute; right: 130px; bottom: 18px; z-index: 5; padding: 7px 12px; font-size: 10px; color: var(--navy); background: #fffdf8ed; border: 1px solid #17374924; border-radius: 30px; line-height: 1.8; }
.hero-replay:hover:not(:disabled), .motion-toggle:hover:not(:disabled) { background: var(--yellow); }
.hero-replay:disabled { opacity: .45; cursor: default; }
.replaying .layer-title-enter, .replaying .layer-character-enter { animation: none; }
.hero-ripple { position: absolute; z-index: 4; pointer-events: none; width: 50px; height: 50px; margin: -25px 0 0 -25px; border: 2px solid #ffffffb8; box-shadow: 0 0 0 8px #ffffff25, inset 0 0 0 6px #ffffff20; border-radius: 50%; animation: touch-ripple 1.5s ease-out forwards; }
.hero-summary { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 34px 42px; border-bottom: 1px solid var(--line); }
.hero-title .eyebrow { color: var(--sea-dark); margin-bottom: 8px; }
.hero-title h1 { font-size: 25px; margin: 0; letter-spacing: .045em; }
.festival-date > div { display: flex; gap: 16px; align-items: baseline; }
.festival-date time { font-family: Arial, sans-serif; font-size: 37px; font-weight: 800; line-height: 1.15; letter-spacing: -.05em; }
.festival-date time small { display: inline-block; font-family: var(--bs-body-font-family); font-size: 11px; letter-spacing: 0; margin-left: 8px; font-weight: 600; border: 1px solid var(--line); padding: 4px; border-radius: 50%; vertical-align: middle; }
.date-dash { color: var(--sea); font-size: 22px; }
.festival-date > span { display: flex; align-items: center; gap: 4px; font-size: 14px; margin-top: 11px; letter-spacing: .08em; }
.festival-date > span .icon { height: 16px; width: 16px; }
.discover-link { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; }
.discover-link > span { display: grid; place-items: center; height: 48px; width: 48px; background: var(--yellow); border-radius: 50%; transition: transform .3s; }
.discover-link .icon { transform: rotate(90deg); width: 21px; }
.discover-link:hover > span { transform: translateY(5px); }

/* A custom editorial grid over Bootstrap's layout foundations. */
.activity-section { position: relative; padding-block: 90px 100px; overflow: hidden; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.section-heading .eyebrow { color: var(--sea-dark); margin-bottom: 13px; }
.section-heading h2 { font-size: clamp(26px, 2.7vw, 38px); letter-spacing: .03em; margin: 0; }
.section-heading > p { font-size: 15px; color: var(--muted); margin: 0 0 8px; letter-spacing: .04em; }
.activity-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 4px; }
.activity-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 202px; padding: 26px 30px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background-color .3s, color .3s; }
.tile-number { position: absolute; right: 25px; top: 24px; font-family: Georgia, serif; font-size: 12px; color: var(--muted); }
.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 51px; height: 47px; margin-bottom: 12px; }
.tile-icon .icon { width: 43px; height: 43px; stroke-width: 1.5; transition: transform .35s; }
.activity-tile h3 { font-size: 20px; letter-spacing: .04em; margin: 0 0 14px; }
.tile-bottom { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; }
.tile-bottom small { font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.tile-bottom .icon { width: 20px; height: 20px; transition: transform .3s; }
.activity-tile:hover { color: var(--navy); background: var(--sea-light); }
.activity-tile:hover .tile-icon .icon { transform: rotate(-9deg) translateY(-3px); }
.activity-tile:hover .tile-bottom .icon { transform: translateX(5px); }
.activity-tile--chef { background: #fff4d4; }
.activity-tile--painting { background: #e5f4f4; }
.section-decoration { position: absolute; bottom: 9px; right: -20px; color: #d6eeef; transform: rotate(-15deg); }
.section-decoration .icon { width: 175px; height: 120px; stroke-width: .6; }
.competition-section { padding-bottom: 100px; }
.feature-card { display: grid; grid-template-columns: 41% 59%; margin-bottom: 36px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.feature-art { position: relative; min-height: 430px; overflow: hidden; padding: 32px 38px; color: var(--navy); isolation: isolate; }
.feature-art::after { position: absolute; content: ''; inset: 0; z-index: -1; opacity: .13; background-image: url("../wave-pattern.svg"); background-size: 115px 101px; }
.chef-art { background-color: var(--yellow); }
.painting-art { background-color: #9cd9df; }
.art-topline, .art-bottomline { display: block; font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.art-bottomline { position: absolute; bottom: 30px; left: 38px; }
.art-word { display: block; position: relative; z-index: 2; font-weight: 900; font-size: clamp(45px, 5vw, 69px); letter-spacing: -.04em; line-height: 1.2; margin-top: 34px; transform: rotate(-6deg); }
.art-word em { font-style: normal; color: #fffdf8; text-shadow: 2px 3px 0 var(--navy); -webkit-text-stroke: 1px var(--navy); }
.art-plate { position: absolute; bottom: 46px; right: 28px; width: 153px; height: 153px; display: grid; place-items: center; border: 1px solid #17374940; outline: 1px solid #17374925; outline-offset: -12px; border-radius: 50%; background: #fffdf894; transform: rotate(10deg); }
.art-plate .icon { width: 88px; height: 88px; stroke-width: 1.2; }
.painting-art .art-plate { background: #fffdf8ad; transform: rotate(-10deg); }
.art-spark { position: absolute; font-size: 42px; }
.art-spark--one { top: 65px; right: 36px; animation: sparkle 5s ease-in-out infinite; }
.art-spark--two { left: 40px; bottom: 66px; font-size: 32px; animation: sparkle 7s ease-in-out infinite reverse; }
.feature-content { padding: 44px 46px; }
.section-tag { display: block; font-size: 11px; color: var(--sea-dark); font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.feature-content h3 { font-size: 28px; margin-bottom: 12px; letter-spacing: .015em; }
.feature-content > p { color: var(--muted); font-size: 17px; line-height: 1.9; max-width: 530px; margin-bottom: 22px; }
.title-dot { font-size: .65em; }
.feature-facts { font-size: 16px; margin-bottom: 27px; }
.feature-facts > div { display: flex; gap: 24px; padding-block: 5px; }
.feature-facts dt { color: var(--muted); font-weight: 500; white-space: nowrap; }
.feature-facts dd { margin-bottom: 0; min-width: 0; font-weight: 600; }
.button-group { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.sea-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; font-weight: 700; line-height: 1.6; padding: 15px 22px; min-height: 48px; border: 1px solid transparent; border-radius: 50px; transition: background-color .25s, color .25s, transform .25s; }
.sea-button .icon { width: 18px; height: 18px; transition: transform .25s; }
.sea-button:hover .icon { transform: translateX(3px); }
.sea-button--primary { background: var(--navy); color: #fff; }
.sea-button--primary:hover { color: #fff; background: var(--sea-dark); transform: translateY(-2px); }
.sea-button--text { color: var(--navy); padding-inline: 0; border-radius: 0; }
.sea-button--text:hover { color: var(--sea-dark); }
.sea-button--outline { border-color: var(--navy); color: var(--navy); }
.sea-button--outline:hover { background: var(--sea-light); }
.ocean-ribbon { overflow: hidden; background: var(--yellow); padding-block: 17px; border-block: 1px solid #17374926; }
.ocean-ribbon > div { display: flex; align-items: center; gap: 38px; white-space: nowrap; width: max-content; font-size: 23px; font-weight: 800; letter-spacing: .06em; animation: ribbon-travel 60s linear infinite; }
.ocean-ribbon span { color: var(--sea-dark); }

/* Inner pages */
.subhero { position: relative; background: var(--sea-light); padding-block: 24px 50px; overflow: hidden; }
.subhero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .14; background: url("../wave-pattern.svg") right / 120px 106px; }
.subhero .container-main { position: relative; }
.breadcrumb { font-size: 14px; --bs-breadcrumb-divider: '／'; --bs-breadcrumb-item-active-color: var(--sea-dark); margin-bottom: 38px; }
.breadcrumb a:hover { text-decoration: underline; }
.subhero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subhero .eyebrow { color: var(--sea-dark); margin-bottom: 12px; }
.subhero h1 { font-size: clamp(36px, 4vw, 53px); letter-spacing: .08em; margin-bottom: 12px; }
.subhero p { font-size: 17px; letter-spacing: .03em; margin-bottom: 0; }
.subhero-icon { display: grid; place-items: center; width: 134px; height: 134px; margin-right: 4%; background: var(--yellow); border-radius: 44% 56% 55% 45% / 47% 40% 60% 53%; transform: rotate(-8deg); }
.subhero-icon .icon { width: 78px; height: 78px; stroke-width: 1.1; }
.article-layout { padding-top: 62px; padding-bottom: 95px; }
.contents-nav { position: sticky; top: calc(var(--header-height) + 35px); }
.contents-nav .eyebrow { color: var(--sea-dark); font-size: 10px; }
.contents-nav h2 { font-size: 21px; margin-block: 8px 22px; }
.contents-nav > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; margin-right: 12px; font-size: 16px; border-bottom: 1px solid var(--line); }
.contents-nav > a:hover { color: var(--sea-dark); }
.contents-nav .icon { width: 16px; height: 16px; }
.article-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 15px; }
.article-section:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.article-section > h2 { display: flex; align-items: center; gap: 15px; font-size: 26px; letter-spacing: .03em; margin-bottom: 25px; }
.article-section > h2 > span { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--sea-dark); background: var(--sea-light); font-family: Georgia, serif; font-size: 15px; border-radius: 50%; flex-shrink: 0; }
.article-section h3 { font-size: 19px; margin-block: 26px 15px; }
.article-section p, .article-section li, .detail-list { font-size: 17px; line-height: 1.9; }
.article-section p a, .detail-list a { text-decoration: underline; text-decoration-color: #4fb5ca88; text-underline-offset: 4px; overflow-wrap: anywhere; }
.article-section p a:hover, .detail-list a:hover { color: var(--sea-dark); }
.info-note { border-left: 3px solid var(--sea); padding: 17px 22px; background: var(--sea-light); font-size: 16px; line-height: 1.9; margin-block: 20px; }
.table-responsive { margin-top: 5px; }
.sea-table { --bs-table-bg: transparent; --bs-table-color: var(--navy); --bs-table-border-color: var(--line); margin-bottom: 0; font-size: 16px; line-height: 1.8; min-width: 610px; }
.sea-table > :not(caption) > * > * { padding: 18px 20px; }
.sea-table thead { background: var(--navy); --bs-table-color: white; }
.sea-table tbody tr:nth-child(even) { background: #edf6f580; }
.sea-table tbody th { font-weight: 700; white-space: nowrap; }
.detail-list > div { display: flex; gap: 26px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.detail-list dt { min-width: 85px; flex-shrink: 0; color: var(--muted); font-weight: 500; }
.detail-list dd { margin: 0; }
.download-panel { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; background: #fff3d1; padding: 26px; border: 1px dashed #d3ba75; border-radius: 12px; margin-top: 30px; }
.download-panel > div { display: flex; align-items: center; gap: 15px; }
.download-panel > div > .icon { width: 30px; height: 30px; }
.download-panel h3 { font-size: 17px; margin: 0 0 5px; }
.download-panel p { font-size: 15px; margin: 0; color: var(--muted); }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 34px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.score-grid > div { text-align: center; padding: 25px 12px; border-right: 1px solid var(--line); }
.score-grid > div:last-child { border: 0; }
.score-grid strong { display: block; font-family: Arial, sans-serif; font-size: 40px; line-height: 1.2; color: var(--sea-dark); }
.score-grid strong small { font-size: 17px; margin-left: 3px; }
.score-grid span { display: block; font-size: 15px; margin-top: 12px; }
.score-grid--four { grid-template-columns: repeat(4, 1fr); }
.day-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--yellow); padding: 24px; border-radius: 10px; }
.day-banner > span { font-size: 12px; }
.day-banner strong { font-size: 25px; }
.day-banner small { font-size: 14px; margin-left: 8px; }
.event-timeline { margin-block: 30px; }
.event-timeline > div { position: relative; display: grid; grid-template-columns: 145px 1fr; gap: 26px; padding: 5px 0 24px 24px; border-left: 1px solid #95cdd6; }
.event-timeline > div::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--sea-dark); position: absolute; top: 14px; left: -5px; }
.event-timeline > div:last-child { padding-bottom: 0; }
.timeline-time { font-size: 16px; font-weight: 700; color: var(--sea-dark); padding-top: 3px; }
.event-timeline h3 { margin: 0 0 9px; font-size: 18px; }
.event-timeline p { margin: 0; color: var(--muted); font-size: 16px; }
.rules-list { padding-left: 23px; }
.rules-list li { padding-left: 7px; margin-bottom: 18px; }
.rules-list li::marker { color: var(--sea-dark); }
.unconfirmed-date { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.blank-value { display: inline-block; width: 160px; height: 25px; border-bottom: 1px solid var(--line); }
.contact-panel { background: var(--sea-light); border-radius: 14px; padding: 30px; }
.contact-panel h3 { margin-top: 0; }
.contact-panel .detail-list { margin-bottom: 0; }
.contact-panel .detail-list > div:last-child { border: 0; }
.empty-content { display: grid; place-items: center; min-height: 290px; padding-block: 64px; text-align: center; }
.coming-soon h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 38px); letter-spacing: .12em; }
.coming-soon p { margin-bottom: 0; color: var(--sea-dark); font-size: 16px; font-weight: 700; letter-spacing: .16em; }

/* Footer */
.site-footer { position: relative; background: var(--navy); color: #f9fcf6; padding-top: 64px; }
.footer-wave { position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(ellipse at 50% 100%,var(--navy) 67%,transparent 70%) 0 0 / 36px 12px repeat-x; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 45px; }
.footer-brand { display: flex; flex-direction: column; flex-shrink: 0; }
.footer-brand .eyebrow { color: #a8d5dd; font-size: 9px; letter-spacing: .13em; }
.footer-brand > strong { font-size: 44px; font-weight: 900; letter-spacing: .03em; margin-block: 8px; line-height: 1.35; }
.footer-brand > strong > span { color: var(--yellow); }
.footer-brand > span:last-child { font-size: 12px; letter-spacing: .2em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); align-content: center; column-gap: 52px; row-gap: 16px; }
.footer-nav > a { color: #dce8e9; font-size: 14px; }
.footer-nav > a:hover { color: var(--yellow); }
.organizers { display: flex; flex-wrap: wrap; gap: 9px 28px; padding-block: 25px; border-top: 1px solid #ffffff24; }
.organizers p { display: flex; gap: 16px; margin: 0; font-size: 13px; color: #bbced1; line-height: 2; }
.organizers b { font-weight: 500; color: #f9fcf6; white-space: nowrap; }
.organizers-wide { flex-basis: 100%; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #ffffff24; padding-block: 19px; color: #b5cbd0; font-size: 10px; letter-spacing: .06em; }
.footer-bottom .icon { width: 14px; height: 14px; margin-left: 7px; }
.back-top { position: fixed; z-index: 1000; bottom: 24px; right: 24px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #17374924; background: var(--paper); color: var(--navy); border-radius: 50%; box-shadow: 0 2px 15px #17374912; }
.back-top[hidden] { display: none; }
.back-top:hover { background: var(--yellow); }
.back-top .icon { width: 19px; height: 19px; }

/* Motion uses transforms only, and respects accessibility settings. */
.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--reveal-delay, 0ms), transform .7s var(--reveal-delay, 0ms), background-color .25s; }
.reveal-ready.is-visible { opacity: 1; transform: none; }
@keyframes poster-in { from { opacity: .2; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
@keyframes sea-drift { 0% { background-position: 0 0; } 50% { background-position: 20px 10px; } 100% { background-position: 48px 0; } }
@keyframes bubble-rise { 0% { translate: 0 0; opacity: 0; } 10% { opacity: .8; } 75% { opacity: .65; } 100% { translate: 35px calc(-1 * var(--rise, 850px)); opacity: 0; } }
@keyframes title-bounce { 0% { transform: scale(.42) rotate(-12deg); opacity: 0; } 52% { transform: scale(1.085) rotate(2deg); opacity: 1; } 72% { transform: scale(.97) rotate(-1deg); } 88% { transform: scale(1.018); } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes character-arrive { from { opacity: 0; transform: translateY(35px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes character-swim { 0%, 100% { transform: translate(0, 0) rotate(calc(var(--tilt) * -.5)); } 25% { transform: translate(var(--sway), calc(var(--bob) * -.5)) rotate(var(--tilt)); } 50% { transform: translate(0, calc(var(--bob) * -1)) rotate(calc(var(--tilt) * .3)); } 75% { transform: translate(calc(var(--sway) * -1), calc(var(--bob) * -.45)) rotate(calc(var(--tilt) * -1)); } }
@keyframes title-hover { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(clamp(-10px, -.65cqw, -3px)) rotate(.5deg); } }
@keyframes scales-swim { from { transform: translate(-1%, -1%) scale(1.02); } 50% { transform: translate(1%, 1%) scale(1.035); } to { transform: translate(-1%, -1%) scale(1.02); } }
@keyframes sunlight-drift { from { background-position: 0 0; opacity: .15; } to { background-position: 100% 0; opacity: .4; } }
@keyframes wave-slide { from { transform: translateX(-3%) scaleY(.9); } to { transform: translateX(4%) scaleY(1.15); } }
@keyframes ocean-twinkle { 0%, 20%, 100% { opacity: 0; transform: scale(.35) rotate(0deg); } 45% { opacity: .95; transform: scale(1) rotate(30deg); } 65% { opacity: .4; transform: scale(.65) rotate(60deg); } }
@keyframes touch-ripple { from { transform: scale(.3); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
@keyframes character-float { 0%, 100% { transform: translateY(0) rotate(calc(var(--tilt, 1deg) * -1)); } 50% { transform: translateY(-12px) rotate(var(--tilt, 1deg)); } }
@keyframes background-breathe { from { scale: 1.005; } to { scale: 1.02; } }
@keyframes sparkle { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(18deg) scale(.82); } }
@keyframes ribbon-travel { to { transform: translateX(-50%); } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after, .tab-inactive * { animation-play-state: paused !important; }
.motion-paused .poster-enter, .motion-paused .layer-title-enter, .motion-paused .layer-character-enter { animation: none; }
.motion-paused .reveal-ready { opacity: 1; transform: none; transition: none; }

@media (min-width: 1600px) {
  .navbar-nav { gap: 22px; }
  .navbar .nav-link { font-size: 18px; }
}
@media (max-width: 1279px) and (min-width: 1200px) {
  .container-wide { width: calc(100% - 40px); }
  .navbar { gap: 17px; }
  .brand strong { font-size: 18px; }
  .brand-emblem { height: 41px; width: 41px; }
  .navbar-nav { gap: 11px; }
  .navbar .nav-link { font-size: 18px; }
}
@media (max-width: 1199px) {
  :root { --header-height: 82px; }
  .container-main { width: calc(100% - 72px); }
  .navbar .offcanvas { background: var(--paper); width: min(88vw, 390px); }
  .offcanvas-header { padding: 26px; border-bottom: 1px solid var(--line); }
  .offcanvas-header h2 { font-size: 20px; margin: 0; }
  .offcanvas-body { padding: 20px 27px; }
  .navbar-nav { align-items: stretch; gap: 0; }
  .navbar .nav-link { padding: 13px 6px !important; font-size: 16px; border-bottom: 1px solid var(--line); }
  .navbar .nav-link::after { display: none; }
  .navbar .nav-link.active { color: var(--sea-dark); }
  .mobile-menu-footer { display: block; font-size: 12px; letter-spacing: .1em; line-height: 2; padding-top: 28px; color: var(--muted); }
  .hero-title h1 { font-size: 21px; }
  .hero-title .eyebrow { font-size: 9px; }
  .festival-date time { font-size: 30px; }
  .festival-date > div { gap: 9px; }
  .discover-link { gap: 12px; }
  .feature-content { padding: 32px; }
  .feature-content h3 { font-size: 24px; }
  .feature-art { min-height: 425px; padding: 28px; }
  .art-bottomline { left: 28px; }
  .art-plate { width: 128px; height: 128px; right: 22px; bottom: 61px; }
  .art-plate .icon { width: 74px; height: 74px; }
  .feature-facts > div { gap: 14px; }
}
@media (max-width: 991px) {
  .hero-summary { flex-wrap: wrap; row-gap: 25px; }
  .hero-title { flex-basis: 100%; }
  .hero-title h1 { font-size: 25px; }
  .festival-date time { font-size: 35px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading > p { margin: 0; }
  .activity-tile { padding: 23px; min-height: 192px; }
  .activity-tile h3 { font-size: 18px; }
  .tile-number { right: 20px; }
  .tile-bottom small { font-size: 8px; letter-spacing: .04em; }
  .feature-card { grid-template-columns: 37% 63%; }
  .feature-content { padding: 28px; }
  .feature-content h3 { font-size: 23px; }
  .feature-art { padding: 25px; }
  .art-word { font-size: 48px; }
  .art-plate { bottom: 70px; right: 24px; width: 115px; height: 115px; }
  .art-bottomline { left: 25px; font-size: 8px; }
  .art-spark--one { font-size: 29px; top: 62px; right: 25px; }
  .art-spark--two { bottom: 181px; left: 28px; }
  .feature-facts > div { flex-direction: column; gap: 0; padding-block: 5px; }
  .feature-content .button-group { gap: 5px 15px; }
  .article-layout { padding-top: 32px; }
  .contents-nav { position: static; }
  .contents-nav h2 { font-size: 19px; margin-bottom: 15px; }
  .contents-nav > a { display: inline-flex; margin: 0 15px 10px 0; padding: 8px 0; gap: 15px; }
  .contents-nav > a .icon { display: none; }
  .article-layout .row { --bs-gutter-y: 25px; --bs-gutter-x: 0; margin-inline: 0; }
  .footer-top { gap: 40px; }
  .footer-nav { gap: 15px 26px; }
  .footer-brand > strong { font-size: 37px; }
}
@media (max-width: 767px) {
  :root { --header-height: 74px; }
  .container-wide, .container-main { width: calc(100% - 40px); }
  .brand { gap: 8px; }
  .brand-emblem { height: 41px; width: 41px; }
  .brand-emblem .icon { width: 31px; height: 31px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 8px; }
  .hero-scene { padding-bottom: 29px; background: white; }
  .hero-layers { bottom: 29px; }
  .hero-replay { bottom: 5px; right: 106px; font-size: 9px; padding: 4px 9px; }
  .motion-toggle { bottom: 5px; right: 12px; font-size: 9px; padding: 4px 9px; gap: 6px; }
  .ocean-pattern { bottom: 26%; }
  .hero-summary { padding-block: 19px 30px; gap: 23px 10px; }
  .hero-title .eyebrow { font-size: 9px; margin-bottom: 6px; }
  .hero-title h1 { font-size: 25px; }
  .festival-date time { font-size: 31px; }
  .festival-date time small { font-size: 9px; margin-left: 5px; padding: 3px; }
  .festival-date > div { gap: 8px; }
  .festival-date > span { font-size: 11px; margin-top: 8px; }
  .discover-link { font-size: 11px; gap: 10px; }
  .discover-link > span { width: 38px; height: 38px; }
  .activity-section { padding-block: 52px 66px; }
  .section-heading { margin-bottom: 27px; gap: 12px; }
  .section-heading .eyebrow { font-size: 10px; margin-bottom: 10px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading > p { font-size: 14px; letter-spacing: .03em; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-tile { min-height: 180px; padding: 20px; }
  .tile-icon { height: 42px; width: 43px; }
  .tile-icon .icon { width: 37px; height: 37px; }
  .activity-tile h3 { font-size: 18px; margin-bottom: 14px; }
  .tile-bottom small { font-size: 8px; max-width: 110px; }
  .tile-number { font-size: 11px; right: 17px; top: 17px; }
  .activity-tile:last-child { grid-column: span 2; min-height: 134px; }
  .activity-tile:last-child .tile-icon { position: absolute; right: 58px; top: 22px; }
  .activity-tile:last-child h3 { margin-top: 11px; }
  .activity-tile:last-child .tile-bottom small { max-width: none; }
  .tile-bottom .icon { width: 17px; }
  .section-decoration .icon { width: 120px; height: 70px; }
  .competition-section { padding-bottom: 60px; }
  .feature-card { grid-template-columns: 1fr; border-radius: 15px; margin-bottom: 26px; }
  .feature-art { min-height: 250px; padding: 23px 27px; }
  .art-word { font-size: 50px; margin-top: 23px; }
  .art-topline { font-size: 9px; }
  .art-bottomline { left: auto; right: 25px; bottom: 24px; font-size: 8px; }
  .art-plate { bottom: 48px; right: 25px; width: 121px; height: 121px; }
  .art-plate .icon { height: 71px; width: 71px; }
  .art-spark--one { top: 22px; right: 55px; font-size: 29px; }
  .art-spark--two { bottom: 12px; left: 28px; font-size: 28px; }
  .feature-content { padding: 27px 25px 29px; }
  .feature-content h3 { font-size: 25px; }
  .feature-content > p { font-size: 16px; }
  .feature-facts { font-size: 15px; }
  .feature-facts > div { flex-direction: row; gap: 16px; }
  .section-tag { font-size: 10px; }
  .sea-button { font-size: 14px; padding: 13px 18px; gap: 16px; }
  .sea-button--text { padding-inline: 0; }
  .ocean-ribbon { padding-block: 13px; }
  .ocean-ribbon > div { font-size: 19px; gap: 24px; }
  .subhero { padding-block: 18px 34px; }
  .breadcrumb { margin-bottom: 30px; font-size: 13px; }
  .subhero h1 { font-size: 35px; letter-spacing: .04em; }
  .subhero .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .subhero p { font-size: 15px; }
  .subhero-icon { width: 76px; height: 76px; flex-shrink: 0; margin-right: 0; }
  .subhero-icon .icon { width: 44px; height: 44px; }
  .article-layout { padding-bottom: 60px; }
  .article-section { padding-bottom: 28px; margin-bottom: 28px; }
  .article-section > h2 { font-size: 23px; gap: 11px; margin-bottom: 21px; }
  .article-section > h2 > span { height: 29px; width: 29px; font-size: 13px; }
  .article-section p, .article-section li, .detail-list { font-size: 16px; }
  .info-note { padding: 14px 17px; font-size: 15px; }
  .detail-list > div { gap: 16px; }
  .detail-list dt { min-width: 70px; }
  .download-panel { padding: 22px; }
  .download-panel h3 { font-size: 16px; }
  .score-grid > div { padding: 19px 6px; }
  .score-grid strong { font-size: 31px; }
  .score-grid strong small { font-size: 12px; }
  .score-grid span { font-size: 13px; margin-top: 9px; }
  .score-grid--four { grid-template-columns: repeat(2, 1fr); }
  .score-grid--four > div { border-bottom: 1px solid var(--line); }
  .score-grid--four > div:nth-child(2) { border-right: 0; }
  .score-grid--four > div:nth-child(3) { border-bottom: 0; }
  .day-banner { padding: 20px; display: block; }
  .day-banner > span, .day-banner > strong { display: block; }
  .day-banner > strong { font-size: 25px; margin-block: 8px 6px; }
  .day-banner small { font-size: 13px; }
  .event-timeline > div { grid-template-columns: 1fr; gap: 8px; padding-left: 20px; }
  .event-timeline p { font-size: 15px; }
  .event-timeline h3 { font-size: 17px; }
  .contact-panel { padding: 22px; }
  .contact-panel h3 { font-size: 17px; }
  .contact-panel .detail-list > div { display: block; }
  .contact-panel .detail-list dt { font-size: 12px; margin-bottom: 4px; }
  .empty-content { min-height: 250px; }
  .site-footer { padding-top: 42px; }
  .footer-top { display: block; padding-bottom: 30px; }
  .footer-brand > strong { font-size: 39px; }
  .footer-nav { margin-top: 30px; grid-template-columns: repeat(3, 1fr); gap: 15px 10px; }
  .footer-nav > a { font-size: 13px; }
  .organizers { display: block; padding-block: 22px; }
  .organizers p { font-size: 12px; margin-bottom: 7px; gap: 13px; }
  .footer-bottom { font-size: 9px; gap: 15px; flex-wrap: wrap; padding-bottom: 27px; }
  .footer-bottom > span:nth-child(2) { display: none; }
  .back-top { right: 14px; bottom: 14px; height: 40px; width: 40px; }
}
@media (max-width: 374px) {
  .container-wide, .container-main { width: calc(100% - 32px); }
  .hero-title h1 { font-size: 22px; }
  .festival-date time { font-size: 27px; }
  .discover-link { font-size: 10px; gap: 6px; }
  .discover-link > span { width: 30px; height: 30px; }
  .feature-content { padding: 23px 20px; }
  .feature-content h3 { font-size: 22px; }
  .feature-facts > div { gap: 10px; }
  .activity-tile { padding: 17px; }
  .activity-tile h3 { font-size: 16px; }
  .tile-bottom small { font-size: 7px; }
  .art-word { font-size: 44px; }
  .art-plate { width: 103px; height: 103px; right: 20px; }
  .subhero-inner { gap: 10px; }
  .subhero h1 { font-size: 29px; }
  .subhero-icon { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-enabled) { scroll-behavior: auto; }
  :root:not(.motion-enabled) *, :root:not(.motion-enabled) *::before, :root:not(.motion-enabled) *::after { animation: none !important; transition: none !important; }
  :root:not(.motion-enabled) .reveal-ready { opacity: 1 !important; transform: none !important; }
  :root:not(.motion-enabled) .poster-parallax { transform: none !important; }
}
@media print {
  .site-header, .site-footer, .contents-nav, .back-top, .motion-toggle, .bubbles, .ocean-ribbon, .skip-link { display: none !important; }
  body { background: white; color: black; }
  .container-main { width: 100%; }
  .reveal-ready { opacity: 1; transform: none; }
  .article-layout { padding-block: 20px; }
  .article-layout article { width: 100%; }
  .subhero { background: none; padding: 20px 0; }
  .subhero::before, .subhero-icon { display: none; }
  .article-section { break-inside: avoid; }
}
