:root {
  --eclipse-black: #07070a;
  --eclipse-deep: #0e0e14;
  --surface: #14141c;
  --surface-lift: #1a1a26;
  --lunar-silver: #c8cbd4;
  --lunar-muted: #8e93a0;
  --muted-violet: #6b5b7a;
  --violet-glow: #8a7399;
  --crimson-petal: #9e4a5c;
  --crimson-soft: #c46a7a;
  --halo: rgba(138, 115, 153, 0.28);
  --halo-crimson: rgba(158, 74, 92, 0.22);
  --line: rgba(200, 203, 212, 0.12);
  --font-display: "Cormorant Garamond", "Noto Serif TC", serif;
  --font-body: "Noto Sans TC", "Source Sans 3", sans-serif;
  --radius: 2px;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 70rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lunar-silver);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--halo), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, var(--halo-crimson), transparent 50%),
    var(--eclipse-black);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--crimson-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--lunar-silver);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: #eceef3;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 0; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; color: var(--lunar-muted); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #f2f3f7;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.brand:hover { color: var(--crimson-soft); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--lunar-silver);
  margin: 0.28rem 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--lunar-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #f0f1f5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.55rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  color: #f7f7fa;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--bloom {
  background: var(--crimson-petal);
  box-shadow:
    0 0 0 1px rgba(196, 106, 122, 0.35),
    0 0 0 6px rgba(158, 74, 92, 0.12),
    0 0 0 12px rgba(107, 91, 122, 0.08);
}

.btn--bloom:hover {
  transform: scale(1.03);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(196, 106, 122, 0.5),
    0 0 0 8px rgba(158, 74, 92, 0.16),
    0 0 0 18px rgba(107, 91, 122, 0.1);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--lunar-silver);
  box-shadow: inset 0 0 20px rgba(107, 91, 122, 0.08);
}

.btn--ghost:hover {
  border-color: var(--violet-glow);
  color: #fff;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--space);
}

.section--tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-glow);
  margin-bottom: 0.75rem;
}

.halo-panel {
  background:
    radial-gradient(circle at 20% 0%, var(--halo), transparent 45%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Home hero: full-bleed split, brand-forward, single CTA */
.hero-eclipse {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-eclipse__visual {
  position: relative;
  min-height: 22rem;
}

.hero-eclipse__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.75);
}

.hero-eclipse__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(158, 74, 92, 0.35), transparent 40%),
    radial-gradient(circle at 30% 70%, rgba(107, 91, 122, 0.4), transparent 45%),
    linear-gradient(90deg, var(--eclipse-black) 0%, transparent 35%);
}

.hero-eclipse__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) var(--space);
  position: relative;
  z-index: 1;
}

.hero-eclipse__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #f5f6fa;
  margin: 0 0 1rem;
  line-height: 0.95;
}

.hero-eclipse__lede {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  color: var(--lunar-silver);
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

.hero-eclipse__text {
  max-width: 36ch;
  margin-bottom: 2rem;
}

.service-list {
  display: grid;
  gap: 1.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-row:hover {
  border-color: rgba(138, 115, 153, 0.45);
  box-shadow: 0 0 40px var(--halo);
}

.service-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.85);
}

.service-row__meta {
  font-size: 0.88rem;
  color: var(--violet-glow);
  margin-bottom: 0.5rem;
}

.service-row h3 {
  margin: 0 0 0.6rem;
}

.service-row h3 a {
  color: inherit;
  text-decoration: none;
}

.service-row h3 a:hover {
  color: var(--crimson-soft);
}

.quote-stack {
  display: grid;
  gap: 1.75rem;
}

.quote-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.quote-item blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #e4e6ec;
  line-height: 1.45;
}

.quote-item cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--lunar-muted);
}

.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) var(--space) 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero--image {
  max-width: none;
  padding: 0;
  position: relative;
  min-height: 18rem;
}

.page-hero--image img {
  width: 100%;
  height: min(48vh, 28rem);
  object-fit: cover;
  filter: brightness(0.45);
}

.page-hero--image .page-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space);
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.price-tier {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
}

.price-tier.is-hot {
  box-shadow: 0 0 0 1px rgba(158, 74, 92, 0.4), 0 0 50px var(--halo-crimson);
}

.price-tier__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
  color: #f0f1f5;
}

.price-tier__price {
  font-size: 1.15rem;
  color: var(--crimson-soft);
  margin-bottom: 1rem;
}

.price-tier ul {
  padding-left: 1.1rem;
  color: var(--lunar-muted);
}

.prose {
  max-width: 42rem;
}

.prose h2 { margin-top: 2.5rem; }
.prose ul { color: var(--lunar-muted); }

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card-link:hover {
  box-shadow: 0 0 36px var(--halo);
}

.card-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-link__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card-link h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--lunar-silver);
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--eclipse-deep);
  color: var(--lunar-silver);
  border-radius: var(--radius);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 1px solid var(--violet-glow);
  box-shadow: 0 0 0 4px var(--halo);
}

.field-error {
  color: var(--crimson-soft);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.form-status.is-success { color: #9dbea0; }
.form-status.is-error { color: var(--crimson-soft); }

.process-steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--violet-glow);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--eclipse-deep);
  padding: 2.5rem var(--space) 1.5rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f0f1f5;
  margin: 0 0 0.35rem;
}

.site-footer a {
  color: var(--lunar-muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--crimson-soft); }

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  font-size: 0.85rem;
  color: var(--lunar-muted);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  max-width: 36rem;
  margin: 0 auto;
}

.cookie-banner__inner {
  background: var(--surface-lift);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 40px var(--halo);
}

.cookie-banner__inner p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.not-found {
  text-align: center;
  padding: 8rem var(--space);
}

.timeline-note {
  font-size: 0.9rem;
  color: var(--violet-glow);
}

@media (max-width: 900px) {
  .hero-eclipse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-eclipse__visual {
    order: -1;
    min-height: 16rem;
  }

  .hero-eclipse__visual::after {
    background:
      radial-gradient(circle at 50% 30%, rgba(158, 74, 92, 0.35), transparent 40%),
      linear-gradient(180deg, transparent 40%, var(--eclipse-black) 95%);
  }

  .service-row,
  .grid-2,
  .grid-3,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 7, 10, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem var(--space) 1.25rem;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero-eclipse__copy::before {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 1px solid rgba(138, 115, 153, 0.35);
  top: 18%;
  right: 8%;
  animation: halo-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-eclipse__copy::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 1px solid rgba(158, 74, 92, 0.2);
  top: 12%;
  right: 4%;
  animation: halo-pulse 8s ease-in-out infinite 0.8s;
  pointer-events: none;
}

.btn--bloom {
  animation: bloom-idle 5s ease-in-out infinite;
}

@keyframes bloom-idle {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(196, 106, 122, 0.35),
      0 0 0 6px rgba(158, 74, 92, 0.12),
      0 0 0 12px rgba(107, 91, 122, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(196, 106, 122, 0.45),
      0 0 0 9px rgba(158, 74, 92, 0.16),
      0 0 0 18px rgba(107, 91, 122, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
