:root {
  --eclipse: #07070a;
  --eclipse-raised: #101018;
  --lunar: #c8cbd4;
  --lunar-dim: #8e929e;
  --violet: #6f5f82;
  --violet-soft: #9a88b0;
  --crimson: #a85a6a;
  --crimson-glow: rgba(168, 90, 106, 0.35);
  --violet-glow: rgba(111, 95, 130, 0.4);
  --halo: rgba(200, 203, 212, 0.08);
  --text: #e4e5eb;
  --text-muted: #9a9eab;
  --border: rgba(200, 203, 212, 0.14);
  --font-serif: "Cormorant Garamond", "Noto Serif TC", Georgia, serif;
  --font-sans: "Noto Sans TC", "Source Sans 3", sans-serif;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--violet-glow), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, var(--crimson-glow), transparent 50%),
    var(--eclipse);
}

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

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

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

.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;
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lunar);
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

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

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

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

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--lunar);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--bloom {
  color: var(--eclipse);
  background: var(--lunar);
  box-shadow:
    0 0 0 0 rgba(200, 203, 212, 0.35),
    0 0 24px var(--crimson-glow);
}

.btn--bloom::before,
.btn--bloom::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(168, 90, 106, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, inset 0.3s ease;
}

.btn--bloom::after {
  inset: -12px;
  border-color: rgba(111, 95, 130, 0.25);
}

.btn--bloom:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(200, 203, 212, 0.08),
    0 0 36px var(--violet-glow);
  color: var(--eclipse);
  text-decoration: none;
}

.btn--bloom:hover::before,
.btn--bloom:hover::after {
  opacity: 1;
}

.btn--ghost {
  color: var(--lunar);
  background: transparent;
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--violet-soft);
  color: #fff;
  text-decoration: none;
}

.halo-surface {
  background: linear-gradient(160deg, rgba(16, 16, 24, 0.95), rgba(10, 10, 14, 0.9));
  border: 1px solid var(--border);
  box-shadow: 0 0 40px var(--halo), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.halo-surface::before {
  content: "";
  position: absolute;
  inset: auto 10% -20% 10%;
  height: 40%;
  background: radial-gradient(ellipse, var(--violet-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.halo-surface > * {
  position: relative;
  z-index: 1;
}

.section {
  padding: 4.5rem 1.25rem;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--lunar);
  margin: 0 0 1rem;
}

.section__lead {
  max-width: 38rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero: brand-led, full-bleed, single CTA — not question + dual buttons */
.hero-eclipse {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-eclipse__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-eclipse__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, rgba(168, 90, 106, 0.25), transparent 35%),
    radial-gradient(circle at 30% 60%, rgba(111, 95, 130, 0.3), transparent 40%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.2) 0%, rgba(7, 7, 10, 0.92) 78%);
}

.hero-eclipse__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
  width: 100%;
}

.hero-eclipse__brand {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--lunar);
  margin: 0 0 1.25rem;
  text-shadow: 0 0 60px var(--crimson-glow);
}

.hero-eclipse__line {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  max-width: 22em;
  margin: 0 0 0.85rem;
}

.hero-eclipse__support {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 0 1.75rem;
}

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

@media (min-width: 800px) {
  .service-rail {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.service-feature {
  padding: 2rem;
  overflow: hidden;
}

.service-feature__img {
  margin: -2rem -2rem 1.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
}

.service-feature h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--lunar);
}

.service-feature p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.service-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-side a {
  display: block;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  background: rgba(16, 16, 24, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-side a:hover {
  border-color: var(--violet);
  box-shadow: 0 0 28px var(--halo);
}

.service-side h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  color: var(--lunar);
}

.service-side p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.quote-strip {
  padding: 3.5rem 1.25rem;
  border-block: 1px solid var(--border);
  background: rgba(16, 16, 24, 0.55);
}

.quote-strip__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.quote-strip blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--lunar);
  margin: 0 0 1rem;
}

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

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-tier {
  padding: 1.75rem;
}

.price-tier--featured {
  box-shadow: 0 0 50px var(--crimson-glow);
  border-color: rgba(168, 90, 106, 0.45);
}

.price-tier h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: var(--lunar);
}

.price-tier .price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--crimson);
  margin: 0 0 0.75rem;
}

.price-tier ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--lunar);
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--text-muted);
  margin: 0;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--lunar);
  margin: 2.25rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.card-list {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 760px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.media-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--eclipse-raised);
  transition: box-shadow 0.25s ease;
}

.media-card:hover {
  box-shadow: 0 0 36px var(--violet-glow);
  text-decoration: none;
  color: inherit;
}

.media-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.media-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.media-card h2,
.media-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--lunar);
  margin: 0 0 0.5rem;
}

.media-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--lunar-dim);
  margin-bottom: 0.4rem;
}

.split-map {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split-map {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text-muted);
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--crimson);
}

.step-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--lunar);
  margin-bottom: 0.35rem;
}

.form {
  max-width: 32rem;
  display: grid;
  gap: 1.1rem;
}

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

.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--text);
  background: rgba(7, 7, 10, 0.8);
  border: 1px solid var(--border);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 1px solid var(--violet-soft);
  border-color: var(--violet);
}

.form .is-invalid {
  border-color: var(--crimson);
}

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

.form-status {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.form-status--success {
  border-color: rgba(154, 136, 176, 0.5);
  color: var(--lunar);
}

.form-status--error {
  border-color: var(--crimson);
  color: #e8b4bc;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 1.5rem;
  background: rgba(7, 7, 10, 0.95);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

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

.site-footer p {
  margin: 0.25rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

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

.site-footer__legal a:hover {
  color: var(--lunar);
}

.site-footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--lunar-dim);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
  background: rgba(10, 10, 16, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-banner__inner > p {
  flex: 1 1 16rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.cookie-banner__error {
  flex-basis: 100%;
  color: #e8b4bc;
  margin: 0;
  font-size: 0.85rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.not-found h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--lunar);
  margin: 0 0 0.5rem;
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.5rem;
}

.includes li {
  padding: 0.65rem 0.85rem;
  border-left: 2px solid var(--crimson);
  background: rgba(16, 16, 24, 0.6);
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

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

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

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }
}
