@charset "UTF-8";
:root {
  --ink: #0d120e;
  --court: #24422f;
  --chalk: #f1eee3;
  --ball: #d9ff3b;
  --clay: #c2571f;
  --line: rgba(13, 18, 14, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Archivo", sans-serif;
  background: #f1eee3;
  color: #0d120e;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #d9ff3b;
  color: #0d120e;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  mix-blend-mode: normal;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(241, 238, 227, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(13, 18, 14, 0.14);
}

.logo {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0d120e;
}
.logo .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d9ff3b;
  border: 2px solid #0d120e;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: #0d120e;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #d9ff3b;
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.btn {
  color: #fff;
}
.nav-links a.btn:hover {
  color: #0d120e;
}
.nav-links .btn::after {
  display: none;
}

.btn {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  background: #0d120e;
  color: #fff;
  border: 2px solid #0d120e;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}
.btn:hover {
  background: #d9ff3b;
  color: #0d120e;
  border-color: #d9ff3b;
  transform: translateY(-2px);
}
.btn.ghost {
  background: transparent;
  color: #0d120e;
}
.btn.ghost:hover {
  background: #0d120e;
  color: #fff;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: none;
}

.hero-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(72px, 13.5vw, 196px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}
.hero-title .row {
  display: block;
  overflow: hidden;
}
.hero-title .row span {
  display: inline-block;
  transform: translateY(110%);
  animation: slideUp 1s cubic-bezier(0.2, 0.75, 0.15, 1) forwards;
}
.hero-title .row:nth-child(1) span {
  animation-delay: 0.35s;
}
.hero-title .row:nth-child(2) span {
  animation-delay: 0.5s;
}
.hero-title .row:nth-child(3) span {
  animation-delay: 0.65s;
}
.hero-title .serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(64px, 11vw, 168px);
  color: transparent;
  -webkit-text-stroke: 1.5px #0d120e;
  position: relative;
  z-index: 6;
}
.hero-title .serif em {
  font-style: italic;
  color: #0d120e;
  -webkit-text-stroke: 0;
  background: none;
  padding: 0;
}

/* hero photo */
.hero-photo {
  position: absolute;
  right: 17vw;
  top: 50%;
  width: clamp(260px, 26vw, 450px);
  aspect-ratio: 3/4.1;
  transform: translateY(-52%) rotate(2.5deg);
  z-index: 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(13, 18, 14, 0.45);
  opacity: 0;
  animation: photoIn 1.1s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: slowZoom 8s 1s ease-out forwards;
}
.hero-photo::after {
  content: "GOLDEN HOUR · COURT 03";
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #f1eee3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-photo-2 {
  --tilt:-10deg; /* ← 想改第二張的角度,只改這個值 */
  position: absolute;
  right: 6vw;
  bottom: 9vh;
  width: clamp(180px, 16vw, 260px);
  aspect-ratio: 3/4;
  transform: rotate(var(--tilt));
  z-index: 2;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(13, 18, 14, 0.4);
  opacity: 0;
  animation: photoIn2 1.1s 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* trajectory svg */
.trajectory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.trajectory path.wire {
  fill: none;
  stroke: #d9ff3b;
  stroke-width: clamp(26px, 3.4vw, 52px);
  stroke-linecap: round;
}
.trajectory .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s 0.9s cubic-bezier(0.55, 0.1, 0.3, 1) forwards;
}

.trajectory-over {
  z-index: 2;
}
.trajectory-over path.wire {
  stroke-dasharray: 0.085 0.915;
  stroke-dashoffset: -0.545;
  opacity: 0;
  animation: fadeIn 0.01s 2.55s forwards;
}

.ball {
  opacity: 0;
  animation: fadeIn 0.01s 1s forwards;
}

.hero-sub {
  position: relative;
  z-index: 7;
  margin-top: 44px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  animation: rise 0.9s 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-sub p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(13, 18, 14, 0.78);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  left: 40px;
  bottom: 34px;
  z-index: 7;
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: rise 0.9s 1.5s forwards;
}
.hero-scroll .bar {
  width: 2px;
  height: 44px;
  background: rgba(13, 18, 14, 0.14);
  position: relative;
  overflow: hidden;
}
.hero-scroll .bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: #0d120e;
  animation: scrollHint 1.8s ease-in-out infinite;
}

.hero-coord {
  position: absolute;
  right: 40px;
  bottom: 34px;
  z-index: 7;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: rgba(13, 18, 14, 0.55);
  opacity: 0;
  animation: rise 0.9s 1.5s forwards;
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: #d9ff3b;
  border-top: 2px solid #0d120e;
  border-bottom: 2px solid #0d120e;
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  z-index: 8;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee span {
  font-family: "Anton", sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
}
.marquee .sp {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}
.marquee .ball-run {
  position: absolute;
  top: calc(50% - 19px);
  left: 0;
  z-index: 3;
  width: 38px;
  height: 38px;
  pointer-events: none;
  transform-origin: center;
  filter: drop-shadow(0 2px 4px rgba(13, 18, 14, 0.35));
  animation: ballRoll 8s linear infinite;
}
.marquee .ball-run svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes ballRoll {
  from {
    transform: translateX(-48px) rotate(0deg);
  }
  to {
    transform: translateX(100vw) rotate(1800deg);
  }
}
/* 若使用者開啟「減少動態效果」,動畫會停住,改讓球靜態停在中間才看得到 */
@media (prefers-reduced-motion: reduce) {
  .marquee .ball-run {
    left: 50%;
    transform: translateX(-50%);
  }
}
/* ---------- SECTIONS shared ---------- */
section {
  padding: 110px 40px;
}

.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.sec-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.sec-eyebrow .tick {
  width: 30px;
  height: 2px;
  background: #c2571f;
}

h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h2 .serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- PROGRAM GRID ---------- */
.programs {
  max-width: 1360px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: #24422f;
}
.card img, .card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s;
}
.card:hover img, .card:hover video {
  transform: scale(1.06);
}
.card .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: #f1eee3;
  border: 1.5px solid #0d120e;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 7px 14px;
}
.card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  background: linear-gradient(transparent, rgba(13, 18, 14, 0.72));
  color: #f1eee3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.card .info h3 {
  font-family: "Anton", sans-serif;
  font-size: 26px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.card .info p {
  font-size: 12.5px;
  opacity: 0.85;
  margin-top: 6px;
  line-height: 1.6;
}
.card .arrow {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d9ff3b;
  color: #0d120e;
  display: grid;
  place-items: center;
  font-size: 18px;
  transform: rotate(-45deg);
  transition: transform 0.4s;
}
.card:hover .arrow {
  transform: rotate(0deg);
}

/* ---------- VIDEO PANEL ---------- */
.cinema {
  background: #24422f;
  color: #f1eee3;
  position: relative;
  overflow: hidden;
}
.cinema .sec-eyebrow .tick {
  background: #d9ff3b;
}
.cinema h2 {
  color: #f1eee3;
}
.cinema h2 .serif {
  color: #d9ff3b;
}
.cinema p.lead {
  font-size: 15.5px;
  line-height: 2;
  color: rgba(241, 238, 227, 0.82);
  margin-top: 26px;
  max-width: 440px;
}
.cinema .quote {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 22px;
  margin-top: 34px;
  padding-left: 20px;
  border-left: 3px solid #d9ff3b;
  color: rgba(241, 238, 227, 0.9);
  line-height: 1.7;
}
.cinema .bg-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.cinema .bg-line path {
  fill: none;
  stroke: #d9ff3b;
  stroke-width: 2;
  stroke-dasharray: 6 10;
}

.cinema-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.video-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9/13;
  max-width: 430px;
  justify-self: end;
  width: 100%;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
  transform: rotate(1.5deg);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-frame .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 600;
  background: rgba(13, 18, 14, 0.55);
  backdrop-filter: blur(6px);
  color: #f1eee3;
  padding: 7px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-frame .badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9ff3b;
  animation: blink 1.6s infinite;
}
.video-frame .v-hint {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 180px;
  height: 52px;
  background: #d9ff3b;
  color: #0d120e;
  border: 2px solid #0d120e;
  border-radius: 999px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  cursor: pointer;
}

/* ---------- COURT / SCHEDULE ---------- */
.court-sec {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.court-photo {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 520px;
}
.court-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.court-photo .stamp {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 120px;
  height: 120px;
  animation: spin 14s linear infinite;
}

.slots {
  margin-top: 40px;
  border-top: 1.5px solid rgba(13, 18, 14, 0.14);
}

.slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6px;
  border-bottom: 1.5px solid rgba(13, 18, 14, 0.14);
  transition: background 0.3s, padding 0.3s;
  cursor: pointer;
}
.slot:hover {
  background: rgba(217, 255, 59, 0.35);
  padding-left: 16px;
}
.slot .t {
  font-family: "Anton", sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.slot .d {
  font-size: 12.5px;
  color: rgba(13, 18, 14, 0.6);
  letter-spacing: 0.06em;
}
.slot .st {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #0d120e;
}
.slot .st.open {
  background: #d9ff3b;
}
.slot .st.full {
  opacity: 0.35;
}

/* ---------- FOOTER CTA ---------- */
.foot-cta {
  background: #0d120e;
  color: #f1eee3;
  text-align: center;
  padding: 130px 40px 60px;
  position: relative;
  overflow: hidden;
}
.foot-cta h2 {
  font-size: clamp(56px, 10vw, 150px);
  color: #f1eee3;
  position: relative;
  z-index: 2;
}
.foot-cta h2 .serif {
  color: #d9ff3b;
}
.foot-cta p {
  margin: 26px auto 38px;
  max-width: 400px;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(241, 238, 227, 0.7);
  position: relative;
  z-index: 2;
}
.foot-cta .btn {
  background: #d9ff3b;
  color: #0d120e;
  border-color: #d9ff3b;
  position: relative;
  z-index: 2;
}
.foot-cta .btn:hover {
  background: transparent;
  color: #d9ff3b;
}

.foot-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.foot-line path {
  fill: none;
  stroke: #d9ff3b;
  stroke-width: clamp(18px, 2.4vw, 36px);
  stroke-linecap: round;
  opacity: 0.18;
}

.foot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1360px;
  margin: 100px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(241, 238, 227, 0.18);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(241, 238, 227, 0.55);
  position: relative;
  z-index: 2;
}

/* ---------- LOADER ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0d120e;
  color: #f1eee3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.75, 0, 0.2, 1);
  will-change: transform;
}
#loader::after { /* 掃幕時跟隨的螢光緞帶 */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14vh;
  background: #d9ff3b;
}
#loader.done {
  transform: translateY(-114vh);
}
#loader.gone {
  display: none;
}

.l-brand {
  position: absolute;
  top: 22px;
  left: 40px;
  font-family: "Anton", sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9ff3b;
  border: 2px solid #f1eee3;
}

.l-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.l-ball-zone {
  position: relative;
  height: 150px;
  width: 120px;
  display: flex;
  justify-content: center;
}

.l-ball {
  width: 58px;
  height: 58px;
  position: absolute;
  bottom: 0;
  animation: lBounce 0.62s cubic-bezier(0.35, 0, 0.65, 1) infinite alternate;
  transform-origin: center bottom;
}

.l-shadow {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 60px;
  height: 11px;
  border-radius: 50%;
  background: rgba(217, 255, 59, 0.28);
  transform: translateX(-50%);
  animation: lShadow 0.62s cubic-bezier(0.35, 0, 0.65, 1) infinite alternate;
}

.l-words {
  position: relative;
  height: 30px;
  width: 280px;
  text-align: center;
}
.l-words span {
  position: absolute;
  inset: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 23px;
  color: rgba(241, 238, 227, 0.85);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
}
.l-words span.on {
  opacity: 1;
  transform: none;
}

.l-count {
  position: absolute;
  left: 34px;
  bottom: 40px;
  font-family: "Anton", sans-serif;
  font-size: clamp(90px, 15vw, 190px);
  line-height: 0.85;
  color: #f1eee3;
}
.l-count i {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.36em;
  color: #d9ff3b;
  margin-left: 6px;
}

.l-tag {
  position: absolute;
  right: 40px;
  bottom: 52px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(241, 238, 227, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9ff3b;
  animation: blink 1.2s infinite;
}

.l-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(241, 238, 227, 0.12);
}
.l-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: #d9ff3b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

@keyframes lBounce {
  from {
    transform: translateY(-96px) scale(1);
  }
  88% {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(0) scaleX(1.22) scaleY(0.78);
  }
}
@keyframes lShadow {
  from {
    transform: translateX(-50%) scaleX(0.45);
    opacity: 0.35;
  }
  to {
    transform: translateX(-50%) scaleX(1.15);
    opacity: 0.9;
  }
}
/* hero 進場動畫閘門:loader 掃出前全部凍結 */
body:not(.ready) .hero-eyebrow,
body:not(.ready) .hero-title .row span,
body:not(.ready) .hero-photo,
body:not(.ready) .hero-photo img,
body:not(.ready) .hero-photo-2,
body:not(.ready) .trajectory .draw,
body:not(.ready) .trajectory-over path.wire,
body:not(.ready) .trajectory .ball,
body:not(.ready) .hero-sub,
body:not(.ready) .hero-scroll,
body:not(.ready) .hero-coord {
  animation-play-state: paused !important;
}

/* ---------- ANIMATIONS ---------- */
@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes photoIn {
  from {
    opacity: 0;
    transform: translateY(-46%) rotate(6deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(-52%) rotate(2.5deg) scale(1);
  }
}
@keyframes photoIn2 {
  from {
    opacity: 0;
    transform: rotate(calc(var(--tilt) - 5deg)) scale(0.94);
  }
  to {
    opacity: 1;
    transform: rotate(var(--tilt)) scale(1);
  }
}
@keyframes slowZoom {
  to {
    transform: scale(1);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes scrollHint {
  0% {
    top: -100%;
  }
  60%, 100% {
    top: 100%;
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .hero-title .row span {
    transform: none;
  }
  .hero-photo, .hero-photo-2, .hero-eyebrow, .hero-sub, .hero-scroll, .hero-coord {
    opacity: 1;
  }
  .trajectory .draw {
    stroke-dashoffset: 0;
  }
  .trajectory-over path.wire, .ball {
    opacity: 1;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .cinema-inner, .court-sec {
    grid-template-columns: 1fr;
  }
  .video-frame {
    justify-self: start;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  nav {
    padding: 18px 26px;
  }
  .nav-links {
    gap: 22px;
  }
  /* 單欄時照片接近滿版,旋轉圓標的 right:-60px 會凸出視窗右側 → 收進來避免水平溢出 */
  .court-photo .stamp {
    right: -8px;
    top: -8px;
    width: 88px;
    height: 88px;
  }
}
/* 中等寬度就先把文字連結收起,避免 nav 右邊的按鈕被擠出畫面(被 overflow-x:hidden 裁掉) */
@media (max-width: 900px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  .nav-links {
    gap: 0;
  }
}
/* sec-head 的按鈕在窄螢幕改為換行靠左,不再貼齊右邊被切到 */
@media (max-width: 640px) {
  .sec-head {
    align-items: flex-start;
    gap: 22px;
  }
  .sec-head > .btn {
    align-self: flex-start;
  }
}
@media (max-width: 720px) {
  nav {
    padding: 16px 20px;
  }
  .hero {
    padding: 120px 20px 80px;
  }
  .hero-photo {
    position: relative;
    right: auto;
    top: auto;
    transform: rotate(2.5deg);
    margin: 40px 0 0;
    width: 78%;
    animation-name: rise;
  }
  .hero-photo-2 {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    width: 44%;
    margin: -80px 0 0;
  }
  .hero-coord {
    display: none;
  }
  .hero-scroll {
    left: 20px;
  }
  section {
    padding: 80px 20px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .foot-cta {
    padding: 90px 20px 40px;
  }
  /* banner 按鈕在手機改為上下排列 */
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
}
