/* Auralis 幾何儀式（Website Design Concept 03）— 視覺預覽層，只覆蓋樣式，不改內容 */

:root {
  --paper: #f7f6f2;
  --paper-deep: #eef0ec;
  --white: #fbfbf8;
  --ink: #1f2a26;
  --ink-soft: #46524d;
  --muted: #595f65;
  --line: #dde2dd;
  --line-strong: #b9c1bb;
  --rose: #e8ebe6;
  --rose-deep: #8a8f95;
  --sage: #dde2dd;
  --sage-deep: #6f7e76;
  --gold: #31463f;
  --espresso: #31463f;
  --shadow: none;
  --geo-green: #31463f;
  --geo-mist: #dde2dd;
  --geo-stone: #5b6167;
  --geo-latin: "Cormorant Garamond", "Noto Serif TC", serif;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Inter", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

:root body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* 共用：方角、無陰影、細線 */
:root body .site-shell *,
:root body .auralis-header,
:root body .auralis-header * {
  border-radius: 0 !important;
  box-shadow: none !important;
}
:root body h1,
:root body h2,
:root body h3 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.04em;
}
:root body h1 em,
:root body h2 em,
:root body h3 em {
  color: inherit;
  font-style: normal !important;
  font-weight: inherit !important;
}
:root body .cart-link,
:root body .header-actions > a:not(.header-line) {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}
:root body .eyebrow,
:root body .mini-label {
  color: var(--geo-stone);
  font-family: var(--geo-latin);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
}

/* 頁首 */
:root body .site-header {
  background: #f7f6f2f5;
  border-bottom: 1px solid var(--line);
  min-height: 72px;
}
:root body .wordmark {
  align-items: center;
  gap: 14px;
}
:root body .wordmark-mark {
  width: 34px;
  height: 34px;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.9;
}
:root body .wordmark strong {
  font-family: var(--geo-latin);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  margin-right: -0.2em;
}
:root body .wordmark span {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.32em;
}
:root body .desktop-nav a {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
}
:root body .desktop-nav a::after {
  background: var(--geo-green);
}
:root body .header-line,
:root body .primary-button,
:root body .secondary-button,
:root body .mobile-line {
  background: var(--geo-green);
  border: 1px solid var(--geo-green);
  color: #f7f6f2;
  font-weight: 400;
  letter-spacing: 0.16em;
}
:root body .header-line {
  min-height: 42px;
  font-size: 0.78rem;
}

/* 主視覺 */
:root body .hero {
  background: var(--paper);
  min-height: 0;
  padding: 72px 0 0;
}
:root body .hero::before {
  content: none;
}
:root body .hero-main {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
:root body .hero-copy {
  max-width: none;
  padding: 96px clamp(32px, 5vw, 80px) 88px max(32px, 50vw - 620px);
  position: relative;
  align-self: center;
}
:root body .hero-copy .eyebrow {
  border-left: 1px solid var(--ink);
  padding: 4px 0 4px 18px;
  line-height: 2.1;
  max-width: 15em;
}
:root body .hero-copy h1 {
  font-size: clamp(2.2rem, 3.1vw, 3.1rem);
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 44px 0 26px;
  max-width: none;
}
:root body .hero-intro {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: 0.06em;
  max-width: 30em;
}
:root body .hero-copy .primary-button {
  min-height: 52px;
  padding: 0 26px;
  font-size: 0.86rem;
  gap: 18px;
}
:root body .hero-note {
  border-left: 1px solid var(--line-strong);
  color: var(--geo-stone);
  font-family: var(--serif);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  margin-top: 56px;
  padding-left: 16px;
}
:root body .hero-editorial {
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}
:root body .hero-photo-main {
  border: 0;
  background: none;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
}
:root body .hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  filter: saturate(0.62) contrast(1.03) brightness(1.02);
}
:root body .hero-photo-secondary {
  border: 1px solid #f7f6f2;
  border-radius: 50% !important;
  width: 150px;
  height: 150px;
  left: 6%;
  top: auto;
  bottom: 12%;
  right: auto;
  transform: none;
  z-index: 2;
}
:root body .hero-photo-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05);
}
/* 人類圖幾何線條 */
:root body .hero-editorial::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 4%;
  top: 6%;
  width: 42%;
  height: 88%;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 560' fill='none' stroke='%23ffffff' stroke-width='1' opacity='.9'%3E%3Ccircle cx='150' cy='280' r='132'/%3E%3Ccircle cx='150' cy='280' r='88' stroke-dasharray='2 5'/%3E%3Cline x1='150' y1='8' x2='150' y2='552'/%3E%3Cline x1='18' y1='280' x2='282' y2='280' stroke-dasharray='2 5'/%3E%3Cpath d='M150 40 L176 82 L124 82 Z' fill='%23ffffff' fill-opacity='.55'/%3E%3Cpath d='M124 96 L176 96 L150 138 Z' fill='%23ffffff' fill-opacity='.35'/%3E%3Crect x='130' y='176' width='40' height='40' fill='%23ffffff' fill-opacity='.25'/%3E%3Cpath d='M150 246 L184 280 L150 314 L116 280 Z' fill='%23ffffff' fill-opacity='.4'/%3E%3Crect x='130' y='346' width='40' height='40' fill='%23ffffff' fill-opacity='.25'/%3E%3Crect x='130' y='420' width='40' height='40' fill='%23ffffff' fill-opacity='.2'/%3E%3Cpath d='M150 82 L60 280 L150 476 L240 280 Z' stroke-dasharray='1 4'/%3E%3Ccircle cx='150' cy='20' r='4' fill='%23ffffff'/%3E%3Ccircle cx='150' cy='540' r='4'/%3E%3Cline x1='240' y1='280' x2='300' y2='200'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mix-blend-mode: screen;
}
:root body .hero-editorial::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 22%;
  top: 9%;
  width: 92px;
  height: 92px;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  background: linear-gradient(90deg, #31463fd9 50%, transparent 50%);
  pointer-events: none;
}
:root body .hero-editorial figcaption {
  inset: 0 0 0 auto;
  min-width: 0;
  width: 64px;
  padding: 32px 0;
  background: #f7f6f2d9;
  border: 0;
  border-left: 1px solid var(--line);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 3;
}
:root body .hero-editorial figcaption span {
  font-family: var(--geo-latin);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--geo-stone);
}
:root body .hero-editorial figcaption strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.4em;
  color: var(--ink);
}

/* 入口卡片：四欄細線格 */
:root body .portal-wrap {
  width: min(1240px, 100% - 64px);
  grid-template-columns: 220px 1fr;
  gap: 0;
  margin: 0 auto;
  padding: 0;
  border-left: 1px solid var(--line);
}
:root body .portal-heading {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--line);
  padding-left: 0;
}
:root body .portal-heading h2 {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-top: 16px;
}
:root body .portal-wrap {
  border-left: 0;
}
:root body .portal-grid {
  gap: 0;
}
:root body .portal-card {
  background: transparent !important;
  border: 0;
  border-right: 1px solid var(--line);
  min-height: 0;
  padding: 40px 28px 36px;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  transform: none !important;
}
:root body .portal-card:hover {
  background: var(--white) !important;
}
:root body .portal-index {
  grid-column: 1 / -1;
  color: var(--geo-stone);
  font-family: var(--geo-latin);
  font-style: italic;
  font-size: 1.05rem;
}
:root body .portal-card p {
  color: var(--geo-stone);
  font-family: var(--geo-latin);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
}
:root body .portal-card h3 {
  font-size: 1.42rem;
  letter-spacing: 0.1em;
  margin: 10px 0 14px;
}
:root body .portal-card span:not(.portal-index) {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.95;
}
:root body .portal-card small {
  color: var(--geo-stone);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}
:root body .portal-card > .icon {
  align-self: end;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: 50% !important;
  color: var(--ink);
}

/* 區塊通用 */
:root body .section-space {
  padding-block: 120px;
}
:root body .section-heading h2,
:root body .split-heading h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.45;
  letter-spacing: 0.06em;
}
:root body .site-shell section {
  border-bottom: 1px solid var(--line);
}
:root body .site-shell img {
  filter: saturate(0.7) contrast(1.02);
}
:root body .site-shell .hero-photo-secondary img {
  filter: grayscale(0.55) contrast(1.05);
}


/* 區塊背景：只用象牙白、霧灰綠、深墨綠三種 */
:root body .knowledge-section,
:root body .crystal-section,
:root body .realms-section,
:root body .faq-section,
:root body .booking-section {
  background: var(--paper) !important;
}
:root body .custom-section,
:root body .candles-section {
  background: #eef0ec !important;
}
:root body .soul-section {
  background: var(--geo-mist) !important;
}
/* 大標題統一尺寸 */
:root body .site-shell section h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem) !important;
  line-height: 1.5 !important;
  letter-spacing: 0.06em !important;
}
:root body .site-shell #top .portal-heading h2 {
  font-size: 1.5rem !important;
}

/* 浮動按鈕 */
:root body .auralis-utility-stack > .auralis-utility {
  background: var(--geo-green);
  border-color: var(--geo-green);
  border-radius: 50% !important;
}
:root body .auralis-utility-stack > .auralis-utility--top {
  background: var(--paper);
  color: var(--geo-green);
  border-color: var(--line-strong);
}

@media (max-width: 860px) {
  :root body .wordmark strong {
    font-size: 1.05rem;
    letter-spacing: 0.34em;
  }
  :root body .wordmark span {
    font-size: 0.86rem;
  }
  :root body .hero {
    padding-top: 64px;
  }
  :root body .hero-main {
    grid-template-columns: 1fr;
  }
  :root body .hero-copy {
    padding: 48px 20px 56px;
  }
  :root body .hero-copy h1 {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
    margin: 32px 0 20px;
  }
  :root body .hero-copy .primary-button {
    width: 100%;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }
  :root body .hero-note {
    margin-top: 32px;
  }
  :root body .hero-editorial {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  :root body .hero-photo-secondary {
    width: 96px;
    height: 96px;
    left: 20px;
    bottom: 20px;
  }
  :root body .hero-editorial::after {
    width: 60px;
    height: 60px;
    right: 26%;
  }
  :root body .hero-editorial figcaption {
    width: 48px;
  }
  :root body .portal-wrap {
    width: 100%;
    grid-template-columns: 1fr;
  }
  :root body .portal-heading {
    padding: 40px 20px 24px;
    border-right: 0;
  }
  :root body .portal-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
  }
  :root body .portal-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 20px;
  }
  :root body .section-space {
    padding-block: 80px;
  }
  :root body .site-shell section h2 {
    font-size: 1.75rem !important;
  }
}

/* 商品圖：先預留 3:4 空間，避免載入時版面跳動 */
:root body .product-gallery img {
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--paper-deep);
}

/* 手機版：過小的輔助文字放大到可讀尺寸 */
@media (max-width: 860px) {
  :root body .designer-list-text small,
  :root body .designer-ring-center small,
  :root body .designer-sizes span,
  :root body .soul-number small,
  :root body .budget-card span,
  :root body .knowledge-card p,
  :root body .crystal-tab small,
  :root body .reflection-box span,
  :root body .footer-contact p,
  :root body .footer-paths p,
  :root body .guide-footer-label {
    font-size: 11.5px;
  }
}

/* 頁尾連結間距（商品頁、知識庫等共用頁尾） */
:root body .footer-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}
:root body .footer-simple p {
  margin: 0;
}
:root body .footer-simple nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
:root body .footer-simple nav a {
  font-family: var(--serif);
  letter-spacing: 0.12em;
  font-size: 0.86rem;
}

/* 404 頁 */
:root body .not-found-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}
:root body .not-found-page h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 12px 0 8px;
}
:root body .not-found-page p:not(.eyebrow) {
  color: var(--ink-soft);
}
:root body .not-found-page a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
