body {
  margin: 0;
  font-family: Arial, sans-serif;

  background: #080808;
  color: white;
}

.hero {
  height: 100vh;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero h1 {
  font-size: 56px;
}

.hero h2 {
  font-size: 28px;
  font-weight: normal;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
}

.hero-button {
  margin-top: 25px;

  padding: 12px 28px;

  font-size: 16px;

  border-radius: 30px;

  border: 1px solid #c9a45c;

  background: transparent;
  color: #c9a45c;

  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;

  width: 650px;
  height: 650px;

  background-image: url("logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  top: -180px;
  left: -180px;

  opacity: 0.10;

  animation: floatingLogo 12s ease-in-out infinite alternate;

  z-index: 0;
}
.hero > * {
  position: relative;
  z-index: 1;
}

@keyframes floatingLogo {
  0% {
    transform: translate(-40px, -20px) rotate(-5deg);
  }

  50% {
    transform: translate(300px, 120px) rotate(3deg);
  }

  100% {
    transform: translate(520px, 250px) rotate(-3deg);
  }
}
.hero-button:hover {
  background: rgba(201, 164, 92, 0.12);
  box-shadow: 0 0 18px rgba(201, 164, 92, 0.25);
  transform: translateY(-2px);
  transition: 0.3s ease;
}
.music-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;

  color: #d6b15f;

  text-shadow:
    0 0 6px rgba(214, 177, 95, 0.9),
    0 0 14px rgba(214, 177, 95, 0.5),
    0 0 24px rgba(214, 177, 95, 0.25);

  animation: musicFade 1.4s ease-out forwards;
}

.music-spark {
  position: fixed;
  pointer-events: none;
  z-index: 9998;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: rgba(230, 195, 120, 0.85);

  box-shadow:
    0 0 8px rgba(230, 195, 120, 0.8),
    0 0 16px rgba(230, 195, 120, 0.45);

  animation: sparkFade 0.9s ease-out forwards;
}

@keyframes musicFade {
  0% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform:
      translateY(-70px)
      scale(0.5)
      rotate(25deg);
  }
}

@keyframes sparkFade {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform:
      translateY(-30px)
      scale(0.2);
  }
}
.services {
  padding: 110px 8%;
  background: #0b0b0b;
  color: white;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.eyebrow {
  color: #c9a45c;
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.section-title h2 {
  font-size: 38px;
  margin: 0 0 20px;
}

.section-intro {
  line-height: 1.9;
  opacity: 0.7;
}

.service-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: auto;
  padding: 28px 24px;
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 92, 0.7);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.35),
    0 0 25px rgba(201,164,92,0.08);
}

.service-number {
  font-size: 14px;
  color: #c9a45c;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card p {
  line-height: 1.8;
  opacity: 0.7;
}

@media (max-width: 768px) {

  .services {
    padding: 80px 24px;
  }

  .services .eyebrow {
    margin-bottom: 12px !important;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

}@media (max-width: 768px) {
  .services {
    padding: 80px 24px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;

  width: 45%;
  height: 200%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 177, 95, 0.12),
    transparent
  );

  transform: rotate(20deg);
  transition: 0.8s ease;
}

.service-card:hover::before {
  left: 130%;
}
.portfolio {
  padding: 90px 4%;
  background: #050505;
  color: white;
}

.portfolio-grid {
  max-width: 1100px;
  margin: 0 auto;

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

.portfolio-card {
  overflow: hidden;
  border-radius: 24px;

  border: 1px solid rgba(201, 164, 92, 0.18);

  background: #0d0d0d;

  transition: 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);

  border-color: rgba(201, 164, 92, 0.65);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 0 25px rgba(201,164,92,0.08);
}

.portfolio-image {
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.placeholder-image {
  background:
    radial-gradient(
      circle at center,
      rgba(201,164,92,0.25),
      rgba(201,164,92,0.03)
    ),
    #080808;
}

.placeholder-image span {
  color: #c9a45c;
  letter-spacing: 3px;
  font-size: 14px;
}

.portfolio-content {
  padding: 28px;
}

.portfolio-type {
  color: #c9a45c;
  font-size: 11px;
  letter-spacing: 2px;
}

.portfolio-content h3 {
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: #f0cf7a !important;
}

.portfolio-content > p:not(.portfolio-type) {
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: rgba(255,255,255,0.72) !important;
}

@media (max-width: 768px) {

  .portfolio {
    padding: 80px 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

}

html {
  scroll-behavior: smooth;
}

.portfolio-image-real {
  background: #0b0b0b;
}

.portfolio-image-real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  display: block;
}
.portfolio-button {
  display: inline-block;
  margin-top: 13px;
  padding: 9px 14px;

  border: 1px solid #c9a45c;
  border-radius: 999px;

  color: #c9a45c;
  text-decoration: none;

  font-size: 14px;
  letter-spacing: 1px;

  transition: 0.3s ease;
}

.portfolio-button:hover {
  background: rgba(201, 164, 92, 0.12);

  box-shadow:
    0 0 14px rgba(201, 164, 92, 0.25);

  transform: translateY(-2px);
}
.holmes-logo-area {
  height: 260px;
  background: linear-gradient(
  135deg,
  #f4f1e8,
  #e7dfcf
);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  box-sizing: border-box;
}

.holmes-logo-area img {
  width: auto;
  height: 200px;
  max-width: 80%;
  object-fit: contain;
}
.brand-showcase {
  height: 150px;
  background:
    radial-gradient(
      circle at center,
      rgba(201, 164, 92, 0.12),
      rgba(201, 164, 92, 0.02)
    ),
    #0b0b0b;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px;
  box-sizing: border-box;
}

.brand-showcase img {
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.portfolio-grid {
  max-width: 1100px;
  margin: 0 auto;

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

.portfolio-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;
  border-radius: 24px;

  background: #0b0b0b;
  border: 1px solid rgba(201, 164, 92, 0.25);
}

.brand-showcase {
  width: 100%;
  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at center,
      rgba(201, 164, 92, 0.12),
      transparent 65%
    ),
    #11100d;

  padding: 28px;
  box-sizing: border-box;
}

.brand-showcase img {
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;

  object-fit: contain;
}

.portfolio-content {
  flex: 1;
  padding: 14px 16px;

  display: flex;
  flex-direction: column;
}

.portfolio-content .portfolio-button {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
.brand-showcase {
  width: 100%;
  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #efe7d3;

  padding: 28px;
  box-sizing: border-box;
}

.brand-showcase img {
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;

  object-fit: contain;
}
.memory-showcase,
.nfc-showcase {
  background: linear-gradient(
    135deg,
    #f4efe3,
    #e8dcc1
  );
}

.showcase-label {
  color: #b58b32;
  font-size: 15px;
  letter-spacing: 4px;
  font-weight: 500;
}
.memory-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.nfc-showcase img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.25);
}
.about {
  position: relative;
  overflow: hidden;
  padding: 110px 8%;
  background: #0b0b0b;
  color: white;
}

@keyframes aboutWindFloat {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-48%, -52%) scale(1.05) rotate(4deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

@keyframes aboutGlowMove {
  0% {
    transform: translate(0, 0);
    opacity: 0.45;
  }
  100% {
    transform: translate(-30px, -20px);
    opacity: 0.8;
  }
}
.about {
  position: relative;
  overflow: hidden;
  padding: 110px 8%;
  background: #0b0b0b;
  color: white;
}
.about-logo-bg {
  position: absolute;

  width: 520px;
  height: 520px;

  top: 50%;
  left: 50%;

  background: url("logo.png") center / contain no-repeat;

  opacity: 0.08;

  transform: translate(-50%, -50%);

  animation: aboutWindFloat 12s ease-in-out infinite;

  pointer-events: none;
  z-index: 0;
}

.about .section-title,
.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  line-height: 2;
  font-size: 18px;
  margin-bottom: 28px;
}

@keyframes aboutWindFloat {

  0% {
    transform:
      translate(-50%, -50%)
      scale(1)
      rotate(0deg);
  }

  50% {
    transform:
      translate(-46%, -52%)
      scale(1.05)
      rotate(4deg);
  }

  100% {
    transform:
      translate(-50%, -50%)
      scale(1)
      rotate(0deg);
  }
}
.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 8%;
  background: #050505;
  color: white;
  text-align: center;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.contact-cta h2 {
  font-size: 42px;
  margin: 20px 0;
}

.contact-text {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 2;
  margin-bottom: 34px;
}

.contact-button {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid #c9a45c;
  border-radius: 999px;
  color: #c9a45c;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.contact-button:hover {
  background: rgba(201,164,92,0.12);
  box-shadow: 0 0 20px rgba(201,164,92,0.25);
  transform: translateY(-2px);
}

/* 音樂背景 */
.music-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 五線譜 */
.staff-lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 160px;
  transform: translateY(-50%);
  opacity: 0.12;
  background-image:
    linear-gradient(to bottom,
      transparent 0,
      transparent 18px,
      rgba(201,164,92,0.35) 18px,
      rgba(201,164,92,0.35) 20px,
      transparent 20px,
      transparent 38px,
      rgba(201,164,92,0.35) 38px,
      rgba(201,164,92,0.35) 40px,
      transparent 40px,
      transparent 58px,
      rgba(201,164,92,0.35) 58px,
      rgba(201,164,92,0.35) 60px,
      transparent 60px,
      transparent 78px,
      rgba(201,164,92,0.35) 78px,
      rgba(201,164,92,0.35) 80px,
      transparent 80px,
      transparent 98px,
      rgba(201,164,92,0.35) 98px,
      rgba(201,164,92,0.35) 100px,
      transparent 100px
    );
}

/* 音符共用 */
.note {
  position: absolute;
  color: rgba(201, 164, 92, 0.18);
  animation: noteGlow 3.6s ease-in-out infinite;
}

/* 每顆音符位置 */
.note1 {
  left: 10%;
  top: 36%;
  font-size: 34px;
  animation: noteFloat1 4.2s ease-in-out infinite;
}

.note2 {
  left: 24%;
  top: 58%;
  font-size: 52px;
  animation: noteFloat2 5s ease-in-out infinite;
}

.note3 {
  left: 48%;
  top: 32%;
  font-size: 30px;
  animation: noteFloat3 4.6s ease-in-out infinite;
}

.note4 {
  right: 22%;
  top: 52%;
  font-size: 50px;
  animation: noteFloat4 5.4s ease-in-out infinite;
}

.note5 {
  right: 10%;
  top: 34%;
  font-size: 36px;
  animation: noteFloat5 4.8s ease-in-out infinite;
}

/* 動畫 */
@keyframes noteFloat1 {
  0%, 100% { transform: translateY(0); opacity: 0.22; }
  50% { transform: translateY(-10px); opacity: 0.36; }
}

@keyframes noteFloat2 {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50% { transform: translateY(8px); opacity: 0.32; }
}

@keyframes noteFloat3 {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-8px); opacity: 0.34; }
}

@keyframes noteFloat4 {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(10px); opacity: 0.35; }
}

@keyframes noteFloat5 {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50% { transform: translateY(-6px); opacity: 0.3; }
}

@media (max-width: 768px) {
  .contact-cta {
    padding: 90px 24px;
  }

  .contact-cta h2 {
    font-size: 30px;
  }

  .contact-text {
    font-size: 16px;
  }

  .note {
    font-size: 28px;
  }

  .staff-lines {
    opacity: 0.08;
  }
}
.contact-cta {
  position: relative !important;
  overflow: hidden !important;
}

.music-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

.contact-inner {
  position: relative !important;
  z-index: 2 !important;
}

.staff-lines {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 50%;
  height: 220px;
  transform: translateY(-50%);
  opacity: 0.08;
  overflow: hidden;
}

.staff-lines::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 0;
  width: 120%;
  height: 100%;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='220' viewBox='0 0 1200 220'%3E%3Cg fill='none' stroke='rgba(201,164,92,0.5)' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M0 90 C 120 70, 240 110, 360 90 S 600 70, 720 90 S 960 110, 1080 90 S 1320 70, 1440 90'/%3E%3Cpath d='M0 125 C 120 105, 240 145, 360 125 S 600 105, 720 125 S 960 145, 1080 125 S 1320 105, 1440 125'/%3E%3Cpath d='M0 160 C 120 140, 240 180, 360 160 S 600 140, 720 160 S 960 180, 1080 160 S 1320 140, 1440 160'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: repeat-x;
  background-size: 900px 220px;
  background-position: center;

  animation: staffFlow 18s linear infinite;
}

.note {
  position: absolute !important;
  color: rgba(201,164,92,0.16) !important;
  font-size: 42px;
  z-index: 1;
  animation: noteBounce 3.6s ease-in-out infinite;
}

.note1 { left: 10%; top: 24%; }
.note2 { left: 25%; top: 70%; }
.note3 { left: 49%; top: 20%; }
.note4 { right: 23%; top: 68%; }
.note5 { right: 10%; top: 26%; }

@keyframes noteBounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}
@keyframes staffFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-180px);
  }
}
.staff-lines::before {
  filter: drop-shadow(0 0 6px rgba(201,164,92,0.10));
}
.treble-clef {
  position: absolute;
  left: 9%;
  top: 43%;

  font-size: 170px;
  line-height: 1;

  color: rgba(201, 164, 92, 0.11);

  transform: translateY(-50%) rotate(-6deg);

  animation: trebleFloat 6s ease-in-out infinite;

  z-index: 1;
}

@keyframes trebleFloat {
  0%, 100% {
    transform: translateY(-50%) rotate(-8deg);
  }

  50% {
    transform: translateY(-56%) rotate(-4deg);
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 9999;

  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(201,164,92,0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;

  padding: 16px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-name {
  color: #c9a45c;
  text-decoration: none;

  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;

  font-size: 14px;
  letter-spacing: 1px;

  transition: 0.3s ease;
}

.main-nav a:hover {
  color: #c9a45c;
}

html {
  scroll-behavior: smooth;
}
@media (max-width: 768px) {

  .nav-inner {
    padding: 14px 18px;
  }

  .brand-name {
    font-size: 15px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
  }
}
.about-highlight {
  color: #c9a45c !important;
  font-size: 20px !important;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 8px;
}
/* CTA 五線譜加強版 */
.staff-lines {
  opacity: 0.30 !important;
}

.staff-lines::before {
  filter:
    drop-shadow(0 0 8px rgba(201, 164, 92, 0.18));

  background-size: 900px 220px !important;
}

/* 音符稍微亮一點 */
.note {
  color: rgba(201, 164, 92, 0.28) !important;
}

/* 高音譜記號稍微亮一點 */
.treble-clef {
  color: rgba(201, 164, 92, 0.18) !important;
}
/* CTA 區五線譜改成只有 5 條線 */
.staff-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(to right, rgba(201,164,92,0.22), rgba(201,164,92,0.22)) 0 24% / 100% 1px no-repeat,
    linear-gradient(to right, rgba(201,164,92,0.22), rgba(201,164,92,0.22)) 0 32% / 100% 1px no-repeat,
    linear-gradient(to right, rgba(201,164,92,0.22), rgba(201,164,92,0.22)) 0 40% / 100% 1px no-repeat,
    linear-gradient(to right, rgba(201,164,92,0.22), rgba(201,164,92,0.22)) 0 48% / 100% 1px no-repeat,
    linear-gradient(to right, rgba(201,164,92,0.22), rgba(201,164,92,0.22)) 0 56% / 100% 1px no-repeat !important;

  opacity: 1;
}
.staff-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.staff-lines::before {
  transform: skewY(-3deg);
}
.bass-clef {
  position: absolute;
  right: 5%;
  top: 63%;

  font-size: 150px;
  line-height: 1;

  color: rgba(201, 164, 92, 0.11);

  transform: translateY(-50%) rotate(6deg);

  text-shadow:
    0 0 18px rgba(201, 164, 92, 0.08);

  animation: bassFloat 6.5s ease-in-out infinite;

  z-index: 1;
}

@keyframes bassFloat {
  0%, 100% {
    transform: translateY(-50%) rotate(6deg);
  }

  50% {
    transform: translateY(-56%) rotate(2deg);
  }
}
.note1 {
  left: 8%;
  top: 18%;
  transform: rotate(-18deg);
}

.note2 {
  left: 23%;
  top: 72%;
  transform: rotate(14deg);
}

.note3 {
  left: 48%;
  top: 12%;
  transform: rotate(-10deg);
}

.note4 {
  right: 24%;
  top: 72%;
  transform: rotate(16deg);
}

.note5 {
  right: 8%;
  top: 20%;
  transform: rotate(-14deg);
}
@keyframes noteBounce1 {
  0%, 100% {
    transform: translateY(0) rotate(-18deg);
  }
  50% {
    transform: translateY(-5px) rotate(-12deg);
  }
}

@keyframes noteBounce2 {
  0%, 100% {
    transform: translateY(0) rotate(14deg);
  }
  50% {
    transform: translateY(-6px) rotate(20deg);
  }
}

@keyframes noteBounce3 {
  0%, 100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-4px) rotate(-4deg);
  }
}
.note1 { animation: noteBounce1 3.5s ease-in-out infinite; }
.note2 { animation: noteBounce2 4s ease-in-out infinite; }
.note3 { animation: noteBounce3 3.8s ease-in-out infinite; }
.note1 { color: rgba(201,164,92,0.12) !important; }
.note2 { color: rgba(201,164,92,0.18) !important; }
.note3 { color: rgba(201,164,92,0.10) !important; }
.note4 { color: rgba(201,164,92,0.16) !important; }
.note5 { color: rgba(201,164,92,0.12) !important; }
@keyframes noteGlow {
  0%, 100% {
    opacity: 0.18;
    transform: scale(1) rotate(-8deg);
    text-shadow: 0 0 0 rgba(201, 164, 92, 0);
  }

  50% {
    opacity: 0.42;
    transform: scale(1.08) rotate(-8deg);
    text-shadow: 0 0 12px rgba(201, 164, 92, 0.35);
  }
}
/* ===== 音符輪流發亮修正版 ===== */

.note {
  position: absolute !important;
  z-index: 2 !important;

  color: rgba(201, 164, 92, 0.18) !important;

  text-shadow:
    0 0 4px rgba(201, 164, 92, 0.10);

  animation: noteGlow 3.6s ease-in-out infinite !important;
}

/* 每顆音符位置 */
.note1 {
  left: 8% !important;
  top: 18% !important;
  font-size: 34px !important;
  animation-delay: 0s !important;
}

.note2 {
  left: 22% !important;
  top: 76% !important;
  font-size: 46px !important;
  animation-delay: 0.7s !important;
}

.note3 {
  left: 49% !important;
  top: 10% !important;
  font-size: 30px !important;
  animation-delay: 1.4s !important;
}

.note4 {
  right: 23% !important;
  top: 76% !important;
  font-size: 46px !important;
  animation-delay: 2.1s !important;
}

.note5 {
  right: 8% !important;
  top: 18% !important;
  font-size: 34px !important;
  animation-delay: 2.8s !important;
}


/* 輪流柔和發亮 */
@keyframes noteGlow {

  0%, 100% {
    opacity: 0.18;
    text-shadow:
      0 0 3px rgba(201, 164, 92, 0.08);
  }

  50% {
    opacity: 0.72;

    text-shadow:
      0 0 8px rgba(201, 164, 92, 0.55),
      0 0 18px rgba(201, 164, 92, 0.30);
  }
}
/* ===== CTA 音樂裝飾重新整理 ===== */

/* 把之前舊的五線譜藏起來 */
.contact-cta .staff-lines {
  display: none !important;
}

/* 舊音符也不再使用 */
.contact-cta .note,
.contact-cta .treble-clef,
.contact-cta .bass-clef {
  display: none !important;
}


/* 高音譜 */
.cta-treble {
  position: absolute;
  left: 7%;
  top: 42%;

  font-size: 175px;
  line-height: 1;

  color: rgba(201, 164, 92, 0.13);

  animation: clefGlow 5s ease-in-out infinite;
}


/* 低音譜 */
.cta-bass {
  position: absolute;
  right: 6%;
  top: 68%;

  font-size: 145px;
  line-height: 1;

  color: rgba(201, 164, 92, 0.13);

  animation: clefGlow 5s ease-in-out 2.5s infinite;
}


/* 小音符 */
.cta-note {
  position: absolute;

  color: rgba(201, 164, 92, 0.18);

  line-height: 1;

  z-index: 1;

  animation: ctaNoteGlow 4s ease-in-out infinite;
}


/* 每顆位置 */
.cta-note-1 {
  left: 8%;
  top: 17%;
  font-size: 34px;
  transform: rotate(-16deg);
  animation-delay: 0s;
}

.cta-note-2 {
  left: 23%;
  top: 76%;
  font-size: 46px;
  transform: rotate(13deg);
  animation-delay: 0.8s;
}

.cta-note-3 {
  left: 49%;
  top: 10%;
  font-size: 30px;
  transform: rotate(-8deg);
  animation-delay: 1.6s;
}

.cta-note-4 {
  right: 24%;
  top: 76%;
  font-size: 46px;
  transform: rotate(14deg);
  animation-delay: 2.4s;
}

.cta-note-5 {
  right: 8%;
  top: 18%;
  font-size: 34px;
  transform: rotate(-12deg);
  animation-delay: 3.2s;
}


/* 音符輪流發亮 */
@keyframes ctaNoteGlow {

  0%, 100% {
    opacity: 0.18;

    text-shadow:
      0 0 2px rgba(201,164,92,0.05);
  }

  50% {
    opacity: 0.8;

    text-shadow:
      0 0 8px rgba(201,164,92,0.65),
      0 0 20px rgba(201,164,92,0.32);
  }
}


/* 高低音譜慢慢呼吸 */
@keyframes clefGlow {

  0%, 100% {
    opacity: 0.55;
  }

  50% {
    opacity: 0.95;

    text-shadow:
      0 0 18px rgba(201,164,92,0.22);
  }
}
/* 修正 CTA 內容置中 */
.contact-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.contact-cta h2,
.contact-text,
.contact-button {
  margin-left: auto;
  margin-right: auto;
}
.cta-treble {
  left: 7%;
  top: 48%;
}
.cta-bass {
  right: 6%;
  top: 68%;
}
/* ===== CTA 音符：恢復原本位置＋清晰輪流亮＋輕搖 ===== */

.cta-note {
  position: absolute !important;
  z-index: 2 !important;

  color: rgb(201, 164, 92) !important;

  /* 不使用光暈，保持字體清晰 */
  text-shadow: none !important;

  line-height: 1 !important;
  transform-origin: center center !important;

  animation: clearNoteSway 4.5s ease-in-out infinite !important;
}


/* 01 左上 */
.cta-note-1 {
  left: 10% !important;
  top: 36% !important;
  right: auto !important;

  font-size: 34px !important;
  animation-delay: 0s !important;
}


/* 02 左下 */
.cta-note-2 {
  left: 24% !important;
  top: 58% !important;
  right: auto !important;

  font-size: 52px !important;
  animation-delay: 0.9s !important;
}


/* 03 中間偏上 */
.cta-note-3 {
  left: 48% !important;
  top: 32% !important;
  right: auto !important;

  font-size: 30px !important;
  animation-delay: 1.8s !important;
}


/* 04 右下 */
.cta-note-4 {
  right: 22% !important;
  left: auto !important;
  top: 52% !important;

  font-size: 50px !important;
  animation-delay: 2.7s !important;
}


/* 05 右上 */
.cta-note-5 {
  right: 10% !important;
  left: auto !important;
  top: 34% !important;

  font-size: 36px !important;
  animation-delay: 3.6s !important;
}


/* 清楚、不模糊：只靠透明度變亮 */
@keyframes clearNoteSway {

  0%, 100% {
    opacity: 0.16;
    transform:
      translateY(0)
      rotate(-10deg)
      scale(1);
  }

  50% {
    opacity: 0.75;
    transform:
      translateY(-5px)
      rotate(8deg)
      scale(1.03);
  }
}
/* ===== CTA 音樂裝飾穩定版 ===== */

.contact-cta {
  position: relative !important;
  overflow: hidden !important;
  min-height: 520px;
}

.music-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.contact-inner {
  position: relative !important;
  z-index: 5 !important;
  width: min(900px, 82%) !important;
  margin: 0 auto !important;
  text-align: center !important;
}


/* ===== 左邊高音譜 ===== */

.cta-treble {
  position: absolute !important;

  left: clamp(45px, 7vw, 115px) !important;
  top: 50% !important;

  font-size: clamp(145px, 13vw, 185px) !important;
  line-height: 1 !important;

  color: rgba(201, 164, 92, 0.26) !important;

  /* 不要模糊 */
  text-shadow: none !important;
  filter: none !important;

  transform: translateY(-50%) rotate(-5deg) !important;

  z-index: 1 !important;
}


/* ===== 右下低音譜 ===== */

.cta-bass {
  position: absolute !important;

  right: clamp(45px, 6vw, 100px) !important;
  bottom: clamp(35px, 7vh, 70px) !important;
  top: auto !important;

  font-size: clamp(125px, 11vw, 160px) !important;
  line-height: 1 !important;

  color: rgba(201, 164, 92, 0.26) !important;

  /* 不要模糊 */
  text-shadow: none !important;
  filter: none !important;

  transform: rotate(5deg) !important;

  z-index: 1 !important;
}


/* ===== 小音符共用 ===== */

.cta-note {
  position: absolute !important;

  color: rgb(201, 164, 92) !important;

  text-shadow: none !important;
  filter: none !important;

  line-height: 1 !important;
  z-index: 2 !important;

  transform-origin: center !important;

  animation: cleanNoteSway 4.2s ease-in-out infinite !important;
}


/* 左上 */
.cta-note-1 {
  left: clamp(45px, 7vw, 105px) !important;
  top: 18% !important;

  font-size: clamp(27px, 2.4vw, 34px) !important;

  animation-delay: 0s !important;
}


/* 左下 */
.cta-note-2 {
  left: clamp(190px, 24vw, 330px) !important;
  bottom: 13% !important;
  top: auto !important;

  font-size: clamp(38px, 3.8vw, 52px) !important;

  animation-delay: .8s !important;
}


/* 中上 */
.cta-note-3 {
  left: 50% !important;
  top: 10% !important;

  font-size: clamp(24px, 2.2vw, 30px) !important;

  animation-delay: 1.6s !important;
}


/* 右下 */
.cta-note-4 {
  right: clamp(190px, 23vw, 320px) !important;
  bottom: 15% !important;
  top: auto !important;

  font-size: clamp(38px, 3.6vw, 50px) !important;

  animation-delay: 2.4s !important;
}


/* 右上 */
.cta-note-5 {
  right: clamp(45px, 7vw, 105px) !important;
  top: 18% !important;

  font-size: clamp(28px, 2.5vw, 36px) !important;

  animation-delay: 3.2s !important;
}


/* 清楚、輪流變亮、輕微搖晃 */
@keyframes cleanNoteSway {

  0%, 100% {
    opacity: 0.22;
    transform:
      translateY(0)
      rotate(-10deg);
  }

  50% {
    opacity: 0.85;
    transform:
      translateY(-5px)
      rotate(8deg);
  }
}
/* ===== 還原成原始版位置與大小 ===== */

.contact-cta {
  position: relative !important;
  overflow: hidden !important;
}

.music-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}


/* 左側高音譜 */
.cta-treble {
  position: absolute !important;

  left: 6% !important;
  top: 45% !important;

  right: auto !important;
  bottom: auto !important;

  font-size: 175px !important;
  line-height: 1 !important;

  color: rgba(201, 164, 92, 0.18) !important;

  text-shadow: none !important;
  filter: none !important;

  transform: translateY(-50%) rotate(-5deg) !important;

  z-index: 1 !important;
}


/* 右側低音譜 */
.cta-bass {
  position: absolute !important;

  right: 5% !important;
  top: 66% !important;

  left: auto !important;
  bottom: auto !important;

  font-size: 150px !important;
  line-height: 1 !important;

  color: rgba(201, 164, 92, 0.18) !important;

  text-shadow: none !important;
  filter: none !important;

  transform: translateY(-50%) rotate(5deg) !important;

  z-index: 1 !important;
}


/* 所有小音符 */
.cta-note {
  position: absolute !important;

  color: rgb(201, 164, 92) !important;

  text-shadow: none !important;
  filter: none !important;

  line-height: 1 !important;

  z-index: 2 !important;

  transform-origin: center !important;
}


/* 左上 */
.cta-note-1 {
  left: 8% !important;
  top: 20% !important;

  right: auto !important;
  bottom: auto !important;

  font-size: 32px !important;

  animation:
    noteOriginal1 4.5s ease-in-out infinite !important;
}


/* 左下 */
.cta-note-2 {
  left: 23% !important;
  top: 79% !important;

  right: auto !important;
  bottom: auto !important;

  font-size: 44px !important;

  animation:
    noteOriginal2 4.5s ease-in-out 0.9s infinite !important;
}


/* 上方中央 */
.cta-note-3 {
  left: 49% !important;
  top: 13% !important;

  right: auto !important;
  bottom: auto !important;

  font-size: 30px !important;

  animation:
    noteOriginal3 4.5s ease-in-out 1.8s infinite !important;
}


/* 右下 */
.cta-note-4 {
  right: 24% !important;
  top: 79% !important;

  left: auto !important;
  bottom: auto !important;

  font-size: 44px !important;

  animation:
    noteOriginal4 4.5s ease-in-out 2.7s infinite !important;
}


/* 右上 */
.cta-note-5 {
  right: 8% !important;
  top: 21% !important;

  left: auto !important;
  bottom: auto !important;

  font-size: 32px !important;

  animation:
    noteOriginal5 4.5s ease-in-out 3.6s infinite !important;
}


/* 保持清楚，只做輕微搖晃和亮暗 */

@keyframes noteOriginal1 {
  0%, 100% {
    opacity: 0.22;
    transform: translateY(0) rotate(-12deg);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-4px) rotate(-5deg);
  }
}

@keyframes noteOriginal2 {
  0%, 100% {
    opacity: 0.22;
    transform: translateY(0) rotate(12deg);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-5px) rotate(18deg);
  }
}

@keyframes noteOriginal3 {
  0%, 100% {
    opacity: 0.22;
    transform: translateX(-50%) translateY(0) rotate(-5deg);
  }

  50% {
    opacity: 0.85;
    transform: translateX(-50%) translateY(-4px) rotate(3deg);
  }
}

@keyframes noteOriginal4 {
  0%, 100% {
    opacity: 0.22;
    transform: translateY(0) rotate(12deg);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-5px) rotate(18deg);
  }
}

@keyframes noteOriginal5 {
  0%, 100% {
    opacity: 0.22;
    transform: translateY(0) rotate(-12deg);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-4px) rotate(-5deg);
  }
}
/* =========================================================
   CTA EXACT RESTORE — 回到使用者指定的原始版位置與大小
   ========================================================= */
.contact-cta {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 120px 8% !important;
  background: #050505 !important;
  color: #fff !important;
  text-align: center !important;
}

.contact-inner {
  position: relative !important;
  z-index: 5 !important;
  width: auto !important;
  max-width: 850px !important;
  margin: 0 auto !important;
  display: block !important;
  text-align: center !important;
}

.contact-cta .eyebrow {
  margin: 0 0 20px !important;
  color: #c9a45c !important;
  letter-spacing: 5px !important;
}

.contact-cta h2 {
  margin: 20px 0 !important;
  max-width: none !important;
  font-size: 42px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.contact-text {
  margin: 0 0 34px !important;
  max-width: none !important;
  color: rgba(255,255,255,0.70) !important;
  font-size: 18px !important;
  line-height: 2 !important;
}

.contact-button {
  display: inline-block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 14px 30px !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
}

.music-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* 不要五線譜 */
.contact-cta .staff-lines { display: none !important; }

/* 恢復舊版裝飾元素顯示 */
.contact-cta .treble-clef,
.contact-cta .bass-clef,
.contact-cta .note {
  display: block !important;
  position: absolute !important;
  z-index: 2 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 原本喜歡的高音譜：位置 / 大小 */
.contact-cta .treble-clef {
  left: 9% !important;
  top: 43% !important;
  right: auto !important;
  bottom: auto !important;
  font-size: 170px !important;
  color: rgba(201,164,92,0.16) !important;
  transform: translateY(-50%) rotate(-6deg) !important;
  animation: exactTreble 6s ease-in-out infinite !important;
}

/* 原本喜歡的低音譜：位置 / 大小 */
.contact-cta .bass-clef {
  right: 5% !important;
  top: 63% !important;
  left: auto !important;
  bottom: auto !important;
  font-size: 150px !important;
  color: rgba(201,164,92,0.16) !important;
  transform: translateY(-50%) rotate(6deg) !important;
  animation: exactBass 6.5s ease-in-out 2.2s infinite !important;
}

/* 原始音符位置與大小 */
.contact-cta .note {
  color: rgb(201,164,92) !important;
  transform-origin: center center !important;
}

.contact-cta .note1 {
  left: 8% !important;
  top: 18% !important;
  right: auto !important;
  bottom: auto !important;
  font-size: 34px !important;
  animation: exactNote1 4.4s ease-in-out infinite !important;
}

.contact-cta .note2 {
  left: 23% !important;
  top: 72% !important;
  right: auto !important;
  bottom: auto !important;
  font-size: 52px !important;
  animation: exactNote2 4.8s ease-in-out .85s infinite !important;
}

.contact-cta .note3 {
  left: 48% !important;
  top: 12% !important;
  right: auto !important;
  bottom: auto !important;
  font-size: 30px !important;
  animation: exactNote3 4.6s ease-in-out 1.7s infinite !important;
}

.contact-cta .note4 {
  right: 24% !important;
  top: 72% !important;
  left: auto !important;
  bottom: auto !important;
  font-size: 50px !important;
  animation: exactNote4 5s ease-in-out 2.55s infinite !important;
}

.contact-cta .note5 {
  right: 8% !important;
  top: 20% !important;
  left: auto !important;
  bottom: auto !important;
  font-size: 36px !important;
  animation: exactNote5 4.7s ease-in-out 3.4s infinite !important;
}

/* 清晰輪流亮 + 微搖，不用 glow / blur */
@keyframes exactNote1 {
  0%,100% { opacity:.18; transform: rotate(-18deg) translateY(0); }
  50% { opacity:.82; transform: rotate(-11deg) translateY(-4px); }
}
@keyframes exactNote2 {
  0%,100% { opacity:.18; transform: rotate(14deg) translateY(0); }
  50% { opacity:.82; transform: rotate(20deg) translateY(-5px); }
}
@keyframes exactNote3 {
  0%,100% { opacity:.18; transform: rotate(-10deg) translateY(0); }
  50% { opacity:.82; transform: rotate(-4deg) translateY(-4px); }
}
@keyframes exactNote4 {
  0%,100% { opacity:.18; transform: rotate(16deg) translateY(0); }
  50% { opacity:.82; transform: rotate(21deg) translateY(-5px); }
}
@keyframes exactNote5 {
  0%,100% { opacity:.18; transform: rotate(-14deg) translateY(0); }
  50% { opacity:.82; transform: rotate(-8deg) translateY(-4px); }
}

@keyframes exactTreble {
  0%,100% { opacity:.60; transform: translateY(-50%) rotate(-6deg); }
  50% { opacity:.90; transform: translateY(-53%) rotate(-3deg); }
}
@keyframes exactBass {
  0%,100% { opacity:.60; transform: translateY(-50%) rotate(6deg); }
  50% { opacity:.90; transform: translateY(-53%) rotate(3deg); }
}

/* 小螢幕只做必要縮放，不改桌機版座標邏輯 */
@media (max-width: 768px) {
  .contact-cta { padding: 90px 24px !important; }
  .contact-cta h2 { font-size: 30px !important; }
  .contact-text { font-size: 16px !important; }
  .contact-cta .treble-clef { font-size: 120px !important; left: 4% !important; }
  .contact-cta .bass-clef { font-size: 105px !important; right: 4% !important; }
  .contact-cta .note1 { font-size: 26px !important; }
  .contact-cta .note2 { font-size: 36px !important; }
  .contact-cta .note3 { font-size: 24px !important; }
  .contact-cta .note4 { font-size: 36px !important; }
  .contact-cta .note5 { font-size: 26px !important; }
}
/* ===== 高低音譜：清楚發亮，不改位置大小 ===== */

.cta-treble,
.cta-bass {
  text-shadow: none !important;
  filter: none !important;

  animation: clefSoftGlow 4.8s ease-in-out infinite !important;
}

/* 讓低音譜晚一點亮，兩邊交錯 */
.cta-bass {
  animation-delay: 2.4s !important;
}

@keyframes clefSoftGlow {

  0%, 100% {
    opacity: 0.42;

    text-shadow:
      0 0 2px rgba(201, 164, 92, 0.05);
  }

  50% {
    opacity: 0.92;

    text-shadow:
      0 0 5px rgba(201, 164, 92, 0.28),
      0 0 10px rgba(201, 164, 92, 0.10);
  }
}
/* 高音譜、低音譜輪流發亮 */
.treble-clef,
.bass-clef {
  text-shadow: none !important;
  filter: none !important;
  animation: clefBright 4.8s ease-in-out infinite !important;
}

/* 低音譜晚一半亮 */
.bass-clef {
  animation-delay: 2.4s !important;
}

@keyframes clefBright {
  0%, 100% {
    opacity: 0.22;
    color: rgba(201, 164, 92, 0.22);
  }

  50% {
  opacity: 1;
  color: rgb(230, 190, 95);
}
}
/* ===== 高音譜、低音譜真正輪流發亮 ===== */

.treble-clef,
.bass-clef {
  /* 固定成和音符一樣的金色 */
  color: rgb(201, 164, 92) !important;

  /* 不要模糊 */
  text-shadow: none !important;
  filter: none !important;

  animation: clefLightUp 4.8s ease-in-out infinite !important;
}

/* 高音譜先亮 */
.treble-clef {
  animation-delay: 0s !important;
}

/* 低音譜晚一半亮 */
.bass-clef {
  animation-delay: 2.4s !important;
}

@keyframes clefLightUp {
  0%, 100% {
    opacity: 0.16;
  }

  50% {
    opacity: 1;
  }
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #c9a45c;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;

    width: 220px;

    padding: 20px;

    background: rgba(5,5,5,0.96);

    border: 1px solid rgba(201,164,92,0.18);

    display: none;
    flex-direction: column;
    gap: 18px;

    text-align: center;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    font-size: 15px;
  }
}
/* ===== 手機版最終修正 ===== */
@media (max-width: 768px) {

  /* ---------- 導覽列 ---------- */

  .site-header {
    height: 64px;
  }

  .nav-inner {
    position: relative;
    padding: 12px 18px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .menu-toggle {
    display: block !important;
    margin-left: auto;

    background: transparent;
    border: 1px solid rgba(201,164,92,0.35);
    border-radius: 6px;

    color: #c9a45c;
    font-size: 22px;

    width: 42px;
    height: 38px;

    cursor: pointer;
  }

  /* 預設隱藏文字選單 */
  .main-nav {
    display: none !important;

    position: absolute;
    top: 64px;
    right: 12px;

    width: 180px;
    padding: 18px;

    flex-direction: column;
    gap: 16px;

    background: rgba(5,5,5,0.97);

    border: 1px solid rgba(201,164,92,0.25);
    border-radius: 10px;

    text-align: center;
  }

  /* 點漢堡才展開 */
  .main-nav.active {
    display: flex !important;
  }

  .main-nav a {
    font-size: 15px;
  }


  /* ---------- CTA ---------- */

  .contact-cta {
    min-height: 620px !important;

    padding:
      100px 22px
      90px !important;
  }

  .contact-inner {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-cta .eyebrow {
    font-size: 12px !important;
    letter-spacing: 4px !important;
    margin-bottom: 24px !important;
  }

  .contact-cta h2 {
    font-size: 34px !important;
    line-height: 1.3 !important;

    max-width: 340px !important;

    margin:
      0 auto
      30px !important;

    white-space: normal !important;
  }

  .contact-text {
    font-size: 16px !important;
    line-height: 1.9 !important;

    max-width: 340px !important;

    margin:
      0 auto
      42px !important;
  }

  .contact-button {
    min-width: 220px !important;
    min-height: 58px !important;

    padding: 0 26px !important;

    font-size: 17px !important;
  }


  /* ---------- 手機版高低音譜 ---------- */

  .treble-clef {
    left: 3% !important;
    top: 48% !important;

    font-size: 115px !important;

    opacity: 0.32 !important;
  }

  .bass-clef {
    right: 3% !important;
    top: 66% !important;

    font-size: 100px !important;

    opacity: 0.32 !important;
  }


  /* ---------- 手機版音符重新排 ---------- */

  .note1 {
    left: 8% !important;
    top: 16% !important;

    font-size: 24px !important;
  }

  .note2 {
    left: 14% !important;
    top: 82% !important;

    font-size: 32px !important;
  }

  .note3 {
    left: 50% !important;
    top: 8% !important;

    font-size: 22px !important;
  }

  .note4 {
    right: 14% !important;
    top: 82% !important;

    font-size: 32px !important;
  }

  .note5 {
    right: 8% !important;
    top: 16% !important;

    font-size: 24px !important;
  }


  /* ---------- ABOUT ---------- */

  .about {
    padding:
      85px 22px !important;
  }

  .about .section-title h2 {
    font-size: 28px !important;
    line-height: 1.35 !important;
  }

  .about-content {
    max-width: 100% !important;
  }

  .about-content p {
    font-size: 16px !important;
    line-height: 1.9 !important;
  }


  /* ---------- 作品卡 ---------- */

  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .portfolio-card {
    width: 100% !important;
  }
}
/* ===== 手機版導覽列強制修正 ===== */
@media screen and (max-width: 768px) {

  .site-header .nav-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .site-header .menu-toggle {
    display: block !important;
    margin-left: auto !important;
  }

  /* 沒有 active 時，文字選單一定隱藏 */
  .site-header .main-nav:not(.active) {
    display: none !important;
  }

  /* 按下 ☰ 才打開 */
  .site-header .main-nav.active {
    display: flex !important;

    position: absolute !important;
    top: 100% !important;
    right: 10px !important;

    width: 170px !important;
    padding: 18px !important;

    flex-direction: column !important;
    gap: 16px !important;

    background: rgba(5,5,5,0.98) !important;
    border: 1px solid rgba(201,164,92,0.25) !important;
    border-radius: 10px !important;

    text-align: center !important;
  }
}
/* ===== 手機版：先徹底隱藏右側文字選單 ===== */
@media screen and (max-width: 900px) {

  header.site-header nav.main-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
  }

  header.site-header .menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-left: auto !important;

    width: 38px !important;
    height: 34px !important;

    color: #c9a45c !important;
    background: transparent !important;
    border: 1px solid rgba(201,164,92,0.35) !important;
  }
}
@media (max-width: 768px) {

  .contact-cta {
    min-height: 540px !important;
    padding: 90px 20px 70px !important;
  }

  .contact-cta h2 {
    font-size: 30px !important;
    line-height: 1.25 !important;
    max-width: 300px !important;
    margin-bottom: 24px !important;
  }

  .contact-text {
    font-size: 15px !important;
    line-height: 1.8 !important;
    max-width: 300px !important;
    margin-bottom: 34px !important;
  }

  .treble-clef {
    left: 2% !important;
    top: 52% !important;
    font-size: 105px !important;
  }

  .bass-clef {
    right: -1% !important;
    top: 72% !important;
    font-size: 92px !important;
  }

  .note1 {
    left: 6% !important;
    top: 15% !important;
    font-size: 22px !important;
  }

  .note2 {
    left: 6% !important;
    top: 88% !important;
    font-size: 28px !important;
  }

  .note3 {
    left: 50% !important;
    top: 8% !important;
    font-size: 20px !important;
  }

   .note4 {
    right: 6% !important;
    top: 88% !important;
    font-size: 28px !important;
  }

  .note5 {
    right: 6% !important;
    top: 15% !important;
    font-size: 22px !important;
  }

  .contact-button {
    min-width: 200px !important;
    min-height: 54px !important;
    font-size: 16px !important;
  }
}
@media (max-width: 768px) {
  .about-content p {
    margin-bottom: 26px !important;
  }

  .about-highlight {
    margin-top: 18px !important;
  }
}
@media (max-width: 768px) {

  /* 左下雙音符 */
  .note2 {
    left: 4% !important;
    right: auto !important;

    top: auto !important;
    bottom: 7% !important;

    font-size: 28px !important;
  }

  /* 右下雙音符 */
  .note4 {
    right: 4% !important;
    left: auto !important;

    top: auto !important;
    bottom: 7% !important;

    font-size: 28px !important;
  }
}
@media (max-width: 768px) {

  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .service-card {
    min-height: 0 !important;
    height: auto !important;

    padding: 32px 26px !important;
  }

  .service-number {
    margin-bottom: 26px !important;
  }

  .service-card h3 {
    margin-bottom: 14px !important;
  }

  .service-card p {
    margin-bottom: 0 !important;
  }
}
@media (max-width: 768px) {

  .portfolio {
    padding-top: 80px !important;
  }

  .portfolio .section-title {
    margin-bottom: 42px !important;
  }
}
@media (max-width: 768px) {

  /* 服務區不要留太大底部空白 */
  .services {
    padding-bottom: 60px !important;
  }

  /* 作品區不要留太大頂部空白 */
  .portfolio {
    padding-top: 65px !important;
    padding-bottom: 65px !important;
  }

  /* 作品最後一張卡與 ABOUT 之間縮短 */
  .about {
    padding-top: 70px !important;
  }

}
@media (max-width: 768px) {

  /* ABOUT 區塊底部縮短 */
  .about {
    padding-bottom: 55px !important;
  }

  /* ABOUT 內容最後一句不要留太多空白 */
  .about-highlight {
    margin-bottom: 0 !important;
  }

  /* CTA 往上接一點 */
  .contact-cta {
    margin-top: 0 !important;
    padding-top: 70px !important;
  }

}
@media (max-width: 768px) {

  /* ABOUT 不要再被固定高度撐開 */
  .about {
    height: auto !important;
    min-height: 0 !important;

    padding-top: 70px !important;
    padding-bottom: 40px !important;
  }

  .about-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .about-highlight {
    margin-bottom: 0 !important;
  }

  /* CTA 直接接在 ABOUT 後面 */
  .contact-cta {
    margin-top: 0 !important;
    min-height: 520px !important;
    padding-top: 65px !important;
  }
}
/* ===== 福爾摩斯作品詳細頁 ===== */

.project-page {
  min-height: 100vh;
  padding: 80px 8% 120px;
  background: #070707;
  color: white;
}

.back-link {
  display: inline-block;
  margin-bottom: 60px;
  color: #c9a45c;
  text-decoration: none;
}

.project-header {
  max-width: 800px;
  margin: 0 auto 70px;
  text-align: center;
}

.project-logo {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 30px;
}

.project-header h1 {
  font-size: 42px;
  margin: 18px 0;
}

.project-header > p:last-child {
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
}

.video-grid {
  max-width: 1100px;
  margin: 0 auto;

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

.video-card {
  padding: 34px;

  border: 1px solid rgba(201,164,92,0.25);
  border-radius: 22px;

  background: rgba(255,255,255,0.025);
}

.video-card h2 {
  margin-top: 0;
  font-size: 24px;
}

.video-card p {
  min-height: 95px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

/* 手機版 */
@media (max-width: 768px) {

  .project-page {
    padding: 60px 22px 90px;
  }

  .project-header {
    margin-bottom: 45px;
  }

  .project-header h1 {
    font-size: 30px;
  }

  .project-logo {
    max-width: 140px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card p {
    min-height: 0;
  }
}
/* ===== 福爾摩斯作品詳細頁 ===== */

.project-page {
  min-height: 100vh;
  padding: 80px 8% 120px;
  background: #070707;
  color: white;
}

.back-link {
  display: inline-block;
  margin-bottom: 60px;
  color: #c9a45c;
  text-decoration: none;
}

.project-header {
  max-width: 800px;
  margin: 0 auto 70px;
  text-align: center;
}

.project-logo {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 30px;
}

.project-header h1 {
  font-size: 42px;
  margin: 18px 0;
}

.project-header > p:last-child {
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
}

.video-grid {
  max-width: 1100px;
  margin: 0 auto;

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

.video-card {
  padding: 34px;

  border: 1px solid rgba(201,164,92,0.25);
  border-radius: 22px;

  background: rgba(255,255,255,0.025);
}

.video-card h2 {
  margin-top: 0;
  font-size: 24px;
}

.video-card p {
  min-height: 95px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

/* 手機版 */
@media (max-width: 768px) {

  .project-page {
    padding: 60px 22px 90px;
  }

  .project-header {
    margin-bottom: 45px;
  }

  .project-header h1 {
    font-size: 30px;
  }

  .project-logo {
    max-width: 140px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card p {
    min-height: 0;
  }
}
/* ===== 小螢幕桌機 / 平板 ===== */
@media (min-width: 769px) and (max-width: 1100px) {

  .site-header .menu-toggle {
    display: none !important;
  }

  .site-header .main-nav {
    display: flex !important;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }
}
/* 作品圖片區統一高度 */
.portfolio-image,
.brand-showcase {
  height: 170px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 一般照片：盡量填滿 */
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo 類：完整顯示，不裁切 */
.brand-showcase img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.portfolio-card .portfolio-image,
.portfolio-card .brand-showcase {
  display: none !important;
}

.portfolio-card {
  min-height: 300px;
}

.portfolio-content {
  padding: 28px 24px !important;
}