:root {
  --ink: #0f2744;
  --ink-soft: #1e3a5f;
  --muted: #5b7390;
  --line: rgba(15, 39, 68, 0.1);
  --surface: #f3f8ff;
  --surface-2: #e8f1ff;
  --accent: #2563eb;
  --accent-bright: #38bdf8;
  --accent-deep: #1d4ed8;
  --warm: #0ea5e9;
  --warm-soft: #e0f2fe;
  --white: #ffffff;
  --nav-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 8%, rgba(37, 99, 235, 0.16), transparent 50%),
    linear-gradient(180deg, #eaf4ff 0%, var(--surface) 40%, #e3efff 100%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(243, 248, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.logo {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #eef2f7;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }

.page-header {
  padding: clamp(2.5rem, 7vh, 4rem) 0 1.5rem;
}
.page-header .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.page-header h1 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 0.85rem;
}
.page-header .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cta-button:hover { transform: translateY(-1px); }
.btn-filled {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}
.btn-outline {
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.65);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: white;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section { padding: clamp(2.5rem, 6vh, 4rem) 0; }
.section-title {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-copy {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 2.25rem 0 1rem;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.15rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}
.catalog-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: white;
  transform: translateY(-2px);
}
.catalog-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.catalog-card h3 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.catalog-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.catalog-card .more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-top: 0.35rem;
}

.spotlight {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 0 0 2.5rem;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 241, 255, 0.88));
  border: 1px solid rgba(37, 99, 235, 0.16);
}
@media (min-width: 860px) {
  .spotlight {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}
.spotlight .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm);
  margin-bottom: 0.4rem;
}
.spotlight h2 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.spotlight p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}
.spotlight .shot {
  aspect-ratio: 16 / 10;
  min-height: 0;
}
.spotlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Murphy 魔術店：黑色主題，只作用於 body.theme-murphy */
body.theme-murphy {
  --ink: #f5f5f5;
  --ink-soft: #e7e5e4;
  --muted: #a8a29e;
  --line: rgba(255, 255, 255, 0.12);
  --surface: #09090b;
  --accent: #fafafa;
  --accent-bright: #d6d3d1;
  --accent-deep: #ffffff;
  --warm: #d6d3d1;
  background: #09090b;
  color: #f5f5f5;
}
body.theme-murphy .page-bg {
  background:
    radial-gradient(ellipse 80% 45% at 10% -5%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(180deg, #111113 0%, #09090b 40%, #0c0c0e 100%);
}
body.theme-murphy .nav {
  background: rgba(9, 9, 11, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.theme-murphy .logo span { color: #fff; }
body.theme-murphy .nav-links { color: #a8a29e; }
body.theme-murphy .nav-links a:hover { color: #fff; }
body.theme-murphy .page-header .kicker { color: #d6d3d1; }
body.theme-murphy .btn-filled {
  background: #fafafa;
  color: #111;
  box-shadow: none;
}
body.theme-murphy .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fafafa;
  background: transparent;
}
body.theme-murphy .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
body.theme-murphy .shot {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.12);
}
body.theme-murphy .page-cta {
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(160deg, #18181b, #09090b 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.theme-murphy .page-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
body.theme-murphy footer.site-footer strong { color: #fff; }

/* 韓國時裝店：橙色主題 #ffb104 */
body.theme-korea {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #57534e;
  --line: rgba(255, 177, 4, 0.35);
  --surface: #fffaf0;
  --accent: #ffb104;
  --accent-bright: #ffc44a;
  --accent-deep: #c48900;
  --warm: #ffb104;
  background: #fffaf0;
  color: #1c1917;
}
body.theme-korea .page-bg {
  background:
    radial-gradient(ellipse 80% 50% at 8% -8%, rgba(255, 177, 4, 0.45), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(255, 177, 4, 0.22), transparent 50%),
    linear-gradient(180deg, #fff4d6 0%, #fffaf0 42%, #fff8e8 100%);
}
body.theme-korea .nav {
  background: rgba(255, 250, 240, 0.92);
  border-bottom-color: rgba(255, 177, 4, 0.35);
}
body.theme-korea .logo span { color: #ffb104; }
body.theme-korea .page-header .kicker { color: #c48900; }
body.theme-korea .btn-filled {
  background: #ffb104;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 177, 4, 0.35);
}
body.theme-korea .btn-outline {
  border-color: #ffb104;
  color: #1c1917;
  background: rgba(255, 255, 255, 0.7);
}
body.theme-korea .btn-outline:hover {
  border-color: #ffb104;
  background: #fff;
}
body.theme-korea .shot {
  background: #fff;
  border-color: rgba(255, 177, 4, 0.45);
}
body.theme-korea .service-card {
  border-color: rgba(255, 177, 4, 0.4);
  background: rgba(255, 255, 255, 0.88);
}
body.theme-korea .page-cta {
  background: #ffb104;
  color: #1c1917;
  border: none;
}
body.theme-korea .page-cta h2 { color: #1c1917; }
body.theme-korea .page-cta p { color: rgba(28, 25, 23, 0.78); }
body.theme-korea .page-cta .btn-filled {
  background: #ffffff;
  color: #ffb104;
  box-shadow: none;
}
body.theme-korea .page-cta .btn-outline {
  border-color: rgba(28, 25, 23, 0.45);
  color: #1c1917;
  background: transparent;
}
body.theme-korea .catalog-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 177, 4, 0.4);
}
body.theme-korea .catalog-card .tag,
body.theme-korea .catalog-card .more { color: #c48900; }
body.theme-korea footer.site-footer strong { color: #1c1917; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.chip {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #ffb104;
  border: 1px solid #ffb104;
}

.service-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}
@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.72);
}
body.theme-murphy .service-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.service-card h3 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
}
.service-block {
  padding: clamp(2rem, 5vh, 3rem) 0;
  border-top: 1px solid var(--line);
}
.service-block h2 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.service-block .lead-sm {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.15rem;
}

.feature-row {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(2rem, 5vh, 3.25rem) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .feature-row.reverse .feature-copy { order: 2; }
  .feature-row.reverse .feature-media { order: 1; }
}
.feature-copy .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm);
  margin-bottom: 0.45rem;
}
.feature-copy h2 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.feature-copy p {
  color: var(--muted);
  font-size: 0.98rem;
}
.feature-copy ul {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.feature-copy li { margin-bottom: 0.35rem; }

.shot {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.08)),
    var(--white);
  border: 1px solid rgba(37, 99, 235, 0.12);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.shot:has(.shot-placeholder) { padding: 1.25rem; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-placeholder {
  text-align: center;
  max-width: 28rem;
}
.shot-placeholder strong {
  display: block;
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}
.shot-placeholder code,
.shot-placeholder .prompt {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(37, 99, 235, 0.25);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  text-align: left;
  white-space: pre-wrap;
}

.page-cta {
  margin: 1rem 0 3.5rem;
  padding: clamp(2rem, 5vh, 2.75rem);
  border-radius: 1.35rem;
  background:
    radial-gradient(ellipse 80% 80% at 15% 0%, rgba(56, 189, 248, 0.35), transparent 55%),
    linear-gradient(145deg, #0f2744 0%, #1d4ed8 55%, #0ea5e9 120%);
  color: white;
  text-align: center;
}
.page-cta h2 {
  font-family: Sora, "Noto Sans TC", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
  margin-inline: auto;
}
.page-cta .cta-row { justify-content: center; }
.page-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}
.page-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: white;
}

footer.site-footer {
  padding: 2rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site-footer strong { color: var(--ink); }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer p + p { margin-top: 0.35rem; }

@media (max-width: 640px) {
  .nav-links { font-size: 0.8rem; gap: 0.25rem 0.75rem; }
}
