/* 芊靈殿｜水墨風格：深灰主色 + 淺金點綴 */
:root {
  --ink: #2a2a2a;
  --ink-deep: #1a1a1a;
  --ink-mid: #3d3d3d;
  --ink-mute: #5c5c5c;
  --ink-line: #d6d3cd;
  --mist: #f3f2ef;
  --mist-2: #ebe9e4;
  --paper: #faf9f7;
  --gold: #c9a86c;
  --gold-soft: #d4b87a;
  --gold-pale: #e8dcc0;
  --gold-deep: #a8894f;

  /* Override template greens → ink / gold */
  --ztc-text-text-2: #2a2a2a;
  --ztc-text-text-3: #1a1a1a;
  --ztc-text-text-4: #e8dcc0;
  --ztc-text-text-5: #2a2a2a;
  --ztc-text-text-6: #c9a86c;
  --ztc-text-text-7: #c9a86c;
  --ztc-text-text-8: #3d3d3d;
  --ztc-text-text-9: #5c5c5c;
  --ztc-text-text-10: #1a1a1a;
  --ztc-text-text-11: #c9a86c;
  --ztc-text-text-12: #2a2a2a;
  --ztc-text-text-13: #3d3d3d;
  --ztc-text-text-14: #c9a86c;
  --ztc-text-text-16: #2a2a2a;
  --ztc-text-text-17: #5c5c5c;
  --ztc-text-text-18: #c9a86c;
  --ztc-text-text-19: #2a2a2a;
  --ztc-text-text-20: #c9a86c;
  --ztc-text-text-23: #2a2a2a;
  --ztc-text-text-24: #c9a86c;
  --ztc-text-text-25: #1a1a1a;
  --ztc-text-text-26: #1a1a1a;
  --ztc-text-text-27: #5c5c5c;
  --ztc-text-text-28: #c9a86c;
  --ztc-text-text-31: #2a2a2a;
  --ztc-text-text-34: #1a1a1a;
  --ztc-text-text-36: #c9a86c;

  --ztc-bg-bg-2: #2a2a2a;
  --ztc-bg-bg-3: #f3f2ef;
  --ztc-bg-bg-4: #2a2a2a;
  --ztc-bg-bg-5: #c9a86c;
  --ztc-bg-bg-6: #c9a86c;
  --ztc-bg-bg-7: #f3f2ef;
  --ztc-bg-bg-8: #faf9f7;
  --ztc-bg-bg-9: #c9a86c;
  --ztc-bg-bg-10: #1a1a1a;
  --ztc-bg-bg-11: #ebe9e4;
  --ztc-bg-bg-12: #c9a86c;
  --ztc-bg-bg-13: #f3f2ef;
  --ztc-bg-bg-15: #c9a86c;
  --ztc-bg-bg-16: #f3f2ef;
  --ztc-bg-bg-17: #faf9f7;
  --ztc-bg-bg-18: #f3f2ef;
  --ztc-bg-bg-20: #1a1a1a;
  --ztc-bg-bg-21: #c9a86c;
  --ztc-bg-bg-22: #f3f2ef;
  --ztc-bg-bg-23: #ebe9e4;
  --ztc-bg-bg-24: #faf9f7;
  --ztc-bg-bg-25: #c9a86c;
  --ztc-bg-bg-26: #f3f2ef;
  --ztc-bg-bg-27: #1a1a1a;
  --ztc-bg-bg-31: #f3f2ef;
  --ztc-bg-bg-32: #c9a86c;
  --ztc-bg-bg-34: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
}

h1, h2, h3, h4, .title, .site-brand {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-deep);
}

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--ink);
}

/* Header */
.lt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}
.lt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}
.lt-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-deep);
}
.lt-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.lt-logo-text {
  font-family: "Noto Serif TC", serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}
.lt-logo-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  font-family: "Noto Sans TC", sans-serif;
}
.lt-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lt-nav a {
  color: var(--ink-mid);
  font-size: 1.08rem;
  position: relative;
  padding: 0.25rem 0;
}
.lt-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.lt-nav a:hover,
.lt-nav a.active {
  color: var(--ink-deep);
}
.lt-nav a:hover::after,
.lt-nav a.active::after {
  width: 100%;
}
.lt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  background: var(--ink-deep);
  color: var(--gold-pale) !important;
  border: 1px solid var(--ink-deep);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lt-cta:hover {
  background: transparent;
  color: var(--ink-deep) !important;
  border-color: var(--gold);
}
.lt-menu-toggle {
  display: none;
  border: 1px solid var(--ink-line);
  background: transparent;
  color: var(--ink);
  width: 44px;
  height: 44px;
}

@media (max-width: 991px) {
  .lt-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lt-nav-wrap {
    display: none;
    width: 100%;
    padding-bottom: 1rem;
  }
  .lt-nav-wrap.open { display: block; }
  .lt-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .lt-header-inner { flex-wrap: wrap; }
  .lt-cta-desktop { display: none; }
}

/* Hero */
.lt-hero {
  position: relative;
  min-height: min(75vh, 650px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink-deep) center/cover no-repeat;
  overflow: hidden;
}
.lt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.55) 48%, rgba(26,26,26,0.35) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,108,0.18), transparent 55%);
}
.lt-hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
  max-width: 720px;
}
.lt-hero .brand-mark {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--gold-pale);
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
  line-height: 1.15;
  opacity: 0;
  animation: ltFadeUp 0.9s ease 0.15s forwards;
}
.lt-hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  margin: 0 0 0.85rem;
  opacity: 0;
  animation: ltFadeUp 0.9s ease 0.35s forwards;
}
.lt-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 1.75rem;
  opacity: 0;
  animation: ltFadeUp 0.9s ease 0.5s forwards;
}
.lt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: ltFadeUp 0.9s ease 0.65s forwards;
}
.lt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink-deep) !important;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}
.lt-btn:hover {
  background: transparent;
  color: var(--gold-pale) !important;
}
.lt-btn-ghost {
  background: transparent;
  color: var(--gold-pale) !important;
}
.lt-btn-ghost:hover {
  background: rgba(201,168,108,0.15);
  color: #fff !important;
}

@keyframes ltFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.lt-section {
  padding: 5rem 0;
}
.lt-section.mist {
  background: var(--mist);
}
.lt-section.ink {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.88);
}
.lt-section.ink h2,
.lt-section.ink h3 {
  color: var(--gold-pale);
}
.lt-eyebrow {
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  display: inline-block;
}
.lt-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin-bottom: 1rem;
}
.lt-lead {
  color: var(--ink-mute);
  max-width: 42rem;
  margin-bottom: 2rem;
}
.lt-section.ink .lt-lead {
  color: rgba(255,255,255,0.7);
}

.lt-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.5rem;
}

/* Feature grid */
.lt-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.lt-feature {
  padding: 0 0 1.5rem;
  border-top: none;
}
.lt-feature-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mist-2);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ink-line);
}
.lt-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.lt-feature:hover .lt-feature-img img {
  transform: scale(1.03);
}
.lt-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--ink-deep);
}
.lt-feature p {
  color: var(--ink-mute);
  margin: 0;
  font-size: 0.98rem;
}

/* Content */
.lt-prose p {
  margin-bottom: 1.1rem;
  color: var(--ink-mid);
}
.lt-prose h2 {
  margin-top: 2rem;
}
.lt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lt-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-mid);
}
.lt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

/* Cards for lists / cases */
.lt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.lt-card {
  background: transparent;
  border-top: 1px solid var(--ink-line);
  padding: 1.35rem 0 0.5rem;
}
.lt-card .thumb {
  aspect-ratio: 16/10;
  background: var(--mist-2) center/cover no-repeat;
  margin-bottom: 1rem;
  border: 0;
}
.lt-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.lt-card h3 a {
  color: var(--ink-deep);
}
.lt-card h3 a:hover {
  color: var(--gold-deep);
}
.lt-card p {
  color: var(--ink-mute);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.lt-meta {
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

/* FAQ */
.lt-faq details {
  border-bottom: 1px solid var(--ink-line);
  padding: 1rem 0;
}
.lt-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-deep);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.lt-faq summary::-webkit-details-marker { display: none; }
.lt-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 400;
}
.lt-faq details[open] summary::after { content: "–"; }
.lt-faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-mute);
}

/* Page banner */
.lt-page-banner {
  background: var(--ink-deep);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.lt-page-banner::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201,168,108,0.25);
  border-radius: 50%;
  animation: ltFloat 8s ease-in-out infinite;
}
@keyframes ltFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.lt-page-banner h1 {
  color: var(--gold-pale);
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.lt-page-banner p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  max-width: 36rem;
}
.lt-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.lt-breadcrumb a { color: var(--gold-soft); }

/* Contact */
.lt-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e4dc;
}
.lt-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lt-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.lt-contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--gold-deep);
}
.lt-contact-item p,
.lt-contact-item a {
  color: var(--ink-mid);
  margin: 0;
}

.lt-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-mid);
  font-size: 0.92rem;
}
.lt-form .field {
  margin-bottom: 1.1rem;
}
.lt-form input,
.lt-form textarea,
.lt-form select {
  width: 100%;
  border: 1px solid var(--ink-line);
  background: #fff;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  outline: none;
}
.lt-form input:focus,
.lt-form textarea:focus {
  border-color: var(--gold);
}

/* Footer */
.lt-footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 0 1.5rem;
}
.lt-footer h3 {
  color: var(--gold-pale);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.lt-footer a {
  color: rgba(255,255,255,0.72);
}
.lt-footer a:hover {
  color: var(--gold-soft);
}
.lt-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lt-footer li { margin-bottom: 0.45rem; }
.lt-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Media helpers */
.lt-media {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--mist-2);
  display: block;
}
.lt-media.portrait { aspect-ratio: 3/4; }
.lt-media.wide { aspect-ratio: 16/9; }

.lt-price {
  font-family: "Noto Serif TC", serif;
  font-size: 1.75rem;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}

/* Hide template farm leftovers if any */
.sidebar-cart,
.preloader {
  display: none !important;
}
