:root {
  --ink: #241d27;
  --plum: #4b2e55;
  --plum-deep: #2f2038;
  --lavender: #bfa8c8;
  --gold: #9a7950;
  --cream: #f8f4ee;
  --paper: #fffdf9;
  --line: rgba(47, 32, 56, 0.17);
  --shadow: 0 32px 90px rgba(47, 32, 56, 0.13);
  --serif: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", "PMingLiU", serif;
  --sans: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(191, 168, 200, 0.16), transparent 28rem),
    linear-gradient(rgba(75, 46, 85, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 46, 85, 0.025) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--plum-deep);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 5vw;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.91);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  color: var(--gold);
}

.main-nav {
  display: flex;
  gap: clamp(0.8rem, 2.1vw, 1.8rem);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.main-nav a {
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cart-nav-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  color: white;
  border-radius: 999px;
  background: var(--plum);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

main {
  overflow: hidden;
}

.hero,
.philosophy-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: center;
  width: min(1380px, 90vw);
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(5rem, 8vw, 8rem);
}

.philosophy-hero {
  align-items: center;
}

.philosophy-copy {
  padding-right: clamp(0rem, 2vw, 2rem);
}

.philosophy-signature {
  max-width: 32rem;
  margin: -0.7rem 0 2.4rem;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.eyebrow,
.section-number,
.piece-index {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  max-width: 9em;
  margin-bottom: 2rem;
  color: var(--plum-deep);
  font-size: clamp(3.1rem, 6.1vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 36rem;
  margin-bottom: 2.5rem;
  color: #5e5661;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.button {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--plum);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.button span {
  transition: transform 180ms ease;
}

.button:hover span {
  transform: translateY(4px);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 34%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(154, 121, 80, 0.45);
  border-radius: 50%;
  transform: translate(-20%, -20%);
}

.hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: #756d77;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro {
  display: grid;
  grid-template-columns: 80px minmax(300px, 1fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: start;
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) 0;
  border-top: 1px solid var(--line);
}

.intro h2,
.section-heading h2 {
  margin-bottom: 0;
  color: var(--plum-deep);
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.intro-copy {
  margin: 2.25rem 0 0;
  color: #665e67;
}

.category-section {
  padding: clamp(5.5rem, 10vw, 9rem) 0;
  background: var(--cream);
}

.category-heading {
  display: grid;
  grid-template-columns: 70px minmax(320px, 1fr) minmax(260px, 0.72fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  width: min(1180px, 88vw);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.category-heading h2,
.featured-preview h2,
.collection-editorial h2,
.empty-collection h2 {
  margin-bottom: 0;
  color: var(--plum-deep);
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.category-heading > p:last-child {
  margin-bottom: 0.4rem;
  color: #665e67;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1180px, 88vw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  gap: clamp(1rem, 2vw, 1.8rem);
  min-height: 245px;
  padding: clamp(1.7rem, 3.2vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.58);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  z-index: 1;
  color: white;
  background: var(--plum-deep);
  transform: translateY(-4px);
}

.category-card-featured {
  background:
    linear-gradient(rgba(47, 32, 56, 0.74), rgba(47, 32, 56, 0.74)),
    url("/assets/crystal-selection-01-960.webp") center / cover;
  color: white;
}

.category-card-guide {
  grid-column: 1 / -1;
  min-height: 205px;
  background:
    radial-gradient(circle at 82% 18%, rgba(191, 168, 200, 0.32), transparent 18rem),
    linear-gradient(120deg, rgba(255, 253, 249, 0.92), rgba(239, 231, 240, 0.76));
}

.category-number,
.category-state {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.category-state {
  margin-bottom: 0.8rem;
}

.category-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.category-card p:last-child {
  max-width: 28rem;
  margin-bottom: 0;
  color: currentColor;
  font-size: 0.9rem;
  opacity: 0.72;
}

.category-arrow {
  align-self: start;
  font-size: 1.35rem;
  transition: transform 200ms ease;
}

.category-card:hover .category-arrow,
.category-card:focus-visible .category-arrow {
  transform: translate(4px, -4px);
}

.featured-preview {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) 0;
}

.featured-preview-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.featured-preview-copy > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 1.7rem 0 2rem;
  color: #665e67;
}

.collection-hero {
  width: min(1280px, 90vw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  color: #756d77;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.collection-title-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.collection-title-row h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6rem);
}

.collection-title-row > p {
  margin-bottom: 0.7rem;
  color: #665e67;
}

.product-list {
  width: min(1280px, 90vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(6rem, 10vw, 9rem);
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.product-toolbar h2,
.product-toolbar p {
  margin-bottom: 0;
}

.product-toolbar h2 {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-toolbar p {
  color: #756d77;
  font-size: 0.82rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eee8e2;
  cursor: zoom-in;
}

.product-image-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.product-image-button:hover img,
.product-image-button:focus-visible img {
  filter: saturate(1.05);
  transform: scale(1.025);
}

.product-image-button:hover .zoom-label,
.product-image-button:focus-visible .zoom-label {
  opacity: 1;
  transform: none;
}

.product-info {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
}

.product-label {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-info h3 {
  margin-bottom: 0.55rem;
  color: var(--plum-deep);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.product-info > p:last-child {
  max-width: 35rem;
  margin-bottom: 0;
  color: #6d656f;
  font-size: 0.88rem;
}

.product-purchase {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.1rem;
}

.product-price {
  margin-bottom: 0;
  color: var(--plum-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.add-to-cart-button {
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  color: white;
  border: 1px solid var(--plum-deep);
  background: var(--plum-deep);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.add-to-cart-button:hover,
.add-to-cart-button:focus-visible,
.add-to-cart-button.is-added {
  color: var(--plum-deep);
  background: transparent;
}

.checkout-page {
  width: min(1280px, 90vw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 10rem);
}

.checkout-heading {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.6fr);
  gap: 0 clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.checkout-heading .breadcrumb {
  grid-column: 1 / -1;
}

.checkout-heading .eyebrow {
  grid-column: 1;
}

.checkout-heading h1 {
  grid-column: 1;
  max-width: none;
  margin-bottom: 0;
}

.checkout-heading > p:last-child {
  grid-column: 2;
  margin-bottom: 0.8rem;
  color: #665e67;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.checkout-section-title {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.checkout-section-title .eyebrow,
.checkout-section-title h2 {
  margin-bottom: 0;
}

.checkout-section-title h2,
.cart-empty h2,
.status-panel h2,
.bank-transfer-panel h2 {
  color: var(--plum-deep);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.checkout-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.checkout-item img {
  width: 118px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.checkout-item h3,
.checkout-item p {
  margin-bottom: 0.25rem;
}

.checkout-item h3 {
  color: var(--plum-deep);
  font-size: 1.05rem;
}

.quantity-control {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.quantity-control label {
  font-size: 0.7rem;
}

.quantity-control select {
  min-width: 64px;
  min-height: 38px;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: white;
}

.remove-cart-item {
  padding: 0;
  color: #786e79;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.72rem;
  cursor: pointer;
}

.checkout-totals,
.status-totals {
  margin: 1.2rem 0 0;
}

.checkout-totals > div,
.status-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.checkout-totals dd,
.status-totals dd {
  margin: 0;
}

.checkout-grand-total,
.status-total {
  margin-top: 0.5rem;
  padding-top: 1rem !important;
  border-top: 1px solid var(--plum-deep);
  color: var(--plum-deep);
  font-size: 1.15rem;
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 1.15rem;
}

.checkout-form label,
.shipping-options legend {
  color: var(--plum-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-form input:not([type="radio"]):not([type="checkbox"]),
.checkout-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 0.4rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  border: 1px solid rgba(47, 32, 56, 0.3);
  border-radius: 0;
  background: white;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 2px solid var(--lavender);
  outline-offset: 1px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.shipping-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.shipping-options legend {
  width: 100%;
  margin-bottom: 0.6rem;
}

.shipping-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}

.shipping-options input {
  margin-top: 0.25rem;
}

.shipping-options span,
.shipping-options small {
  display: block;
}

.shipping-options small {
  margin-top: 0.15rem;
  color: #756d77;
  font-weight: 400;
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: #665e67 !important;
  font-weight: 400 !important;
}

.privacy-check input {
  margin-top: 0.35rem;
}

.submit-order-button {
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  color: white;
  border: 1px solid var(--plum-deep);
  background: var(--plum-deep);
  font-weight: 700;
  cursor: pointer;
}

.submit-order-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-note {
  margin-bottom: 0;
  color: #756d77;
  font-size: 0.76rem;
}

.order-errors,
.status-error {
  margin-bottom: 1rem;
  padding: 1rem;
  color: #7c2e2e;
  border-left: 4px solid #a44747;
  background: #fff1f1;
}

.order-errors ul {
  margin: 0.45rem 0 0;
  padding-left: 1.2rem;
}

.cart-empty {
  display: grid;
  grid-template-columns: 48px minmax(0, 520px);
  gap: 1.5rem;
  justify-content: center;
  padding: 5rem 0;
}

.order-status-page {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 10vw, 10rem);
}

.order-status-page:not(.is-loading) .status-loading {
  display: none;
}

.status-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.status-heading h1 {
  max-width: none;
}

.status-summary {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-summary h2,
.status-summary p {
  margin-bottom: 0;
}

.public-status-badge {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  color: white;
  background: var(--plum);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.status-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--cream);
}

.status-details,
.bank-transfer-panel dl {
  margin: 0;
}

.status-details > div,
.bank-transfer-panel dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.status-details dt,
.bank-transfer-panel dt {
  color: #756d77;
  font-size: 0.78rem;
}

.status-details dd,
.bank-transfer-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.status-item-list {
  padding: 0;
  list-style: none;
}

.status-item-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.bank-transfer-panel {
  margin: 1.5rem 0 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: white;
  background: var(--plum-deep);
}

.bank-transfer-panel .eyebrow,
.bank-transfer-panel h2 {
  color: white;
}

.bank-transfer-panel dl {
  max-width: 560px;
}

.bank-transfer-panel dl > div {
  border-color: rgba(255, 255, 255, 0.25);
}

.bank-transfer-panel dt,
.bank-transfer-panel > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.bank-transfer-panel dd {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.collection-editorial {
  display: grid;
  grid-template-columns: 0.55fr 1.3fr 0.8fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(5rem, 10vw, 9rem) max(6vw, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--plum-deep);
}

.collection-editorial h2 {
  color: white;
}

.collection-editorial > p:last-child {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.knowledge-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  width: min(1280px, 90vw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.knowledge-hero .breadcrumb {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.knowledge-hero h1 {
  max-width: 11em;
  font-size: clamp(3rem, 5.8vw, 5rem);
}

.knowledge-hero-visual {
  margin: 0;
}

.knowledge-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.knowledge-hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: #756d77;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-disclaimer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: clamp(0.5rem, 2vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  background: rgba(248, 244, 238, 0.72);
}

.knowledge-disclaimer h2 {
  margin-bottom: 0.45rem;
  color: var(--plum-deep);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.knowledge-disclaimer p {
  max-width: 68rem;
  margin-bottom: 0;
  color: #5f5661;
  font-size: 0.9rem;
}

.knowledge-library,
.knowledge-practice {
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.knowledge-library {
  background: var(--cream);
}

.knowledge-section-heading {
  display: grid;
  grid-template-columns: 70px minmax(320px, 1fr) minmax(260px, 0.72fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  width: min(1180px, 88vw);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.knowledge-section-heading h2,
.knowledge-sources h2 {
  margin-bottom: 0;
  color: var(--plum-deep);
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.knowledge-section-heading > p:last-child {
  margin-bottom: 0.4rem;
  color: #665e67;
}

.crystal-filter-panel {
  display: flex;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 88vw);
  margin: 0 auto 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.crystal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.crystal-filters button {
  padding: 0.55rem 1rem;
  color: var(--plum-deep);
  border: 1px solid rgba(75, 46, 85, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.crystal-filters button:hover,
.crystal-filters button:focus-visible,
.crystal-filters button[aria-pressed="true"] {
  color: white;
  border-color: var(--plum-deep);
  background: var(--plum-deep);
}

.crystal-result-count {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: #756d77;
  font-size: 0.78rem;
}

.crystal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 88vw);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.crystal-knowledge-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 2.7vw, 2.35rem);
  background: var(--paper);
}

.crystal-knowledge-card header {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.crystal-knowledge-card header p {
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crystal-knowledge-card h3 {
  margin-bottom: 0;
  color: var(--plum-deep);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.crystal-knowledge-card h3 small {
  display: block;
  margin-top: 0.2rem;
  color: #776e79;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crystal-swatch {
  display: block;
  width: 58px;
  height: 64px;
  background: var(--crystal-gradient);
  clip-path: polygon(50% 0, 86% 24%, 100% 70%, 62% 100%, 18% 88%, 0 34%);
  filter: drop-shadow(0 8px 10px rgba(47, 32, 56, 0.2));
}

.swatch-amethyst { --crystal-gradient: linear-gradient(135deg, #eadff0 5%, #8a5b9d 52%, #3c234c 100%); }
.swatch-citrine { --crystal-gradient: linear-gradient(135deg, #fff1b8 5%, #dfaa3e 55%, #9b651f 100%); }
.swatch-rose-quartz { --crystal-gradient: linear-gradient(135deg, #fff1f1 5%, #dfa9b4 55%, #ad7082 100%); }
.swatch-aventurine { --crystal-gradient: linear-gradient(135deg, #e3f0df 5%, #79a879 55%, #40664c 100%); }
.swatch-tiger-eye { --crystal-gradient: linear-gradient(135deg, #f2d08c 3%, #815322 43%, #d5a34c 58%, #35251d 100%); }
.swatch-black-tourmaline { --crystal-gradient: linear-gradient(135deg, #77717a 0%, #26232a 48%, #050506 100%); }
.swatch-aquamarine { --crystal-gradient: linear-gradient(135deg, #e0f7f5 5%, #75c4cb 55%, #357b8f 100%); }
.swatch-moonstone { --crystal-gradient: linear-gradient(135deg, #fffdf4 8%, #cad5e1 50%, #8f9ec6 72%, #eee3d2 100%); }
.swatch-labradorite { --crystal-gradient: linear-gradient(135deg, #555c5e 8%, #2f7d8f 38%, #6aac9a 55%, #b9a15c 68%, #3f3d47 100%); }
.swatch-carnelian { --crystal-gradient: linear-gradient(135deg, #ffd0a1 5%, #d66d38 52%, #853d2b 100%); }
.swatch-clear-quartz { --crystal-gradient: linear-gradient(135deg, #ffffff 5%, #dce4e8 46%, #aebbc3 70%, #f9ffff 100%); }
.swatch-fluorite { --crystal-gradient: linear-gradient(135deg, #d6f1d7 4%, #83b69b 35%, #9274ad 67%, #4f356b 100%); }

.crystal-intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.crystal-intent-tags li {
  padding: 0.28rem 0.65rem;
  color: var(--plum);
  border: 1px solid rgba(75, 46, 85, 0.2);
  border-radius: 999px;
  background: rgba(191, 168, 200, 0.12);
  font-size: 0.68rem;
  font-weight: 700;
}

.crystal-knowledge-card > p {
  margin-bottom: 1rem;
  color: #625a64;
  font-size: 0.86rem;
}

.crystal-knowledge-card > p strong {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.crystal-knowledge-card .crystal-care {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #766e77;
  font-size: 0.78rem;
}

.knowledge-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.knowledge-steps li {
  min-height: 230px;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.knowledge-steps span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.knowledge-steps h3 {
  margin: 2rem 0 0.75rem;
  color: var(--plum-deep);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.knowledge-steps p {
  margin-bottom: 0;
  color: #665e67;
  font-size: 0.88rem;
}

.knowledge-sources {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5.5rem, 10vw, 9rem) max(6vw, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: var(--plum-deep);
}

.knowledge-sources h2 {
  color: white;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.knowledge-sources > div > p:last-child {
  margin-top: 1.5rem;
}

.source-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.source-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.source-list a {
  position: relative;
  display: block;
  padding: 1.25rem 2rem 1.25rem 0;
}

.source-list a::after {
  position: absolute;
  top: 1.4rem;
  right: 0;
  content: "↗";
  color: var(--gold);
}

.source-list a:hover strong,
.source-list a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.source-list strong,
.source-list span {
  display: block;
}

.source-list strong {
  color: white;
  font-size: 0.9rem;
}

.source-list span {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.source-review-date {
  grid-column: 2;
  margin: -1rem 0 0;
  font-size: 0.72rem;
}

.empty-collection {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(320px, 1.35fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  width: min(1180px, 88vw);
  min-height: 52vh;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.empty-number {
  color: rgba(75, 46, 85, 0.09);
  font-family: var(--serif);
  font-size: clamp(8rem, 19vw, 15rem);
  line-height: 0.8;
}

.empty-collection h2 {
  margin-bottom: 1.2rem;
}

.empty-collection > div > p:not(.eyebrow) {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: #665e67;
}

.collection {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--cream);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: min(1180px, 88vw);
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.section-heading > p {
  margin-bottom: 0.7rem;
  color: #746c75;
  font-size: 0.8rem;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.piece-focus {
  padding-top: clamp(4rem, 11vw, 11rem);
}

.image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #eee8e2;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.image-button:hover img,
.image-button:focus-visible img {
  filter: saturate(1.06);
  transform: scale(1.025);
}

.zoom-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  color: white;
  background: rgba(47, 32, 56, 0.78);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(6px);
}

.image-button:hover .zoom-label,
.image-button:focus-visible .zoom-label {
  opacity: 1;
  transform: none;
}

.piece-meta {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1fr);
  gap: 1.5rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.piece-index {
  margin-bottom: 0.35rem;
}

.piece-meta h3 {
  margin-bottom: 0;
  color: var(--plum-deep);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.piece-meta > p {
  margin-bottom: 0;
  color: #6d656f;
  font-size: 0.88rem;
}

.note {
  display: grid;
  grid-template-columns: 48px minmax(0, 760px);
  gap: 1.5rem;
  justify-content: center;
  width: min(1040px, 88vw);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.note-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  background: var(--plum);
  border-radius: 50%;
}

.note p {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.6;
}

.error-page {
  min-height: 80vh;
  align-content: center;
}

.error-page h1 {
  max-width: none;
  font-size: clamp(2.5rem, 8vw, 5rem);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(3.5rem, 7vw, 6rem) 5vw;
  color: rgba(255, 255, 255, 0.75);
  background: var(--plum-deep);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"] {
  color: white;
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.footer-brand {
  color: white;
}

footer p {
  margin-bottom: 0;
  text-align: center;
  font-family: var(--serif);
}

.copyright {
  text-align: right;
  font-family: var(--sans);
  font-size: 0.75rem;
}

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(22, 14, 25, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    display: block;
    min-height: auto;
    padding-top: 1rem;
  }

  .site-header.is-scrolled {
    min-height: auto;
  }

  .main-nav {
    gap: 1.4rem;
    margin: 0.75rem -5vw 0;
    padding: 0 5vw 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .philosophy-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 2rem 0 0;
  }

  .hero-visual {
    width: 88%;
    margin-left: auto;
  }

  .intro {
    grid-template-columns: 50px 1fr;
  }

  .intro-copy {
    grid-column: 2;
  }

  .category-heading {
    grid-template-columns: 50px 1fr;
  }

  .category-heading > p:last-child {
    grid-column: 2;
  }

  .knowledge-hero {
    grid-template-columns: 1fr;
  }

  .knowledge-hero-copy {
    max-width: 46rem;
  }

  .knowledge-hero-visual {
    width: 82%;
    margin-left: auto;
  }

  .knowledge-section-heading {
    grid-template-columns: 50px 1fr;
  }

  .knowledge-section-heading > p:last-child {
    grid-column: 2;
  }

  .crystal-filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .crystal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-sources {
    grid-template-columns: 1fr;
  }

  .source-review-date {
    grid-column: 1;
    margin-top: -1rem;
  }

  .featured-preview {
    grid-template-columns: 1fr;
  }

  .featured-preview-copy {
    max-width: 42rem;
  }

  .collection-editorial {
    grid-template-columns: 1fr;
  }

  .collection-editorial > p:last-child {
    max-width: 40rem;
    margin-top: 0;
  }

  .checkout-heading,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-heading > p:last-child {
    grid-column: 1;
    margin-top: 1.5rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    width: min(760px, 90vw);
  }

  .piece-focus {
    padding-top: 1rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
  }

  .main-nav {
    gap: 1.2rem;
    font-size: 0.78rem;
  }

  .hero {
    width: 88vw;
    padding-top: 1.5rem;
  }

  .philosophy-hero {
    width: 88vw;
    padding-top: 2.2rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-visual {
    width: 100%;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro .section-number {
    display: none;
  }

  .intro-copy {
    grid-column: 1;
    margin-top: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 1rem;
  }

  .category-heading {
    grid-template-columns: 1fr;
  }

  .category-heading .section-number {
    display: none;
  }

  .category-heading > p:last-child {
    grid-column: 1;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 220px;
  }

  .category-card-guide {
    grid-column: auto;
  }

  .knowledge-hero {
    width: 88vw;
    padding-top: 2.2rem;
  }

  .knowledge-hero-visual {
    width: 100%;
  }

  .knowledge-disclaimer {
    grid-template-columns: 1fr;
  }

  .knowledge-disclaimer .note-mark {
    width: 40px;
    height: 40px;
  }

  .knowledge-section-heading {
    grid-template-columns: 1fr;
  }

  .knowledge-section-heading .section-number {
    display: none;
  }

  .knowledge-section-heading > p:last-child {
    grid-column: 1;
  }

  .crystal-filter-panel {
    margin-bottom: 1.25rem;
  }

  .crystal-filters {
    gap: 0.5rem;
  }

  .crystal-filters button {
    padding: 0.48rem 0.78rem;
    font-size: 0.72rem;
  }

  .crystal-card-grid,
  .knowledge-steps {
    grid-template-columns: 1fr;
  }

  .knowledge-steps li {
    min-height: 0;
  }

  .knowledge-sources {
    grid-template-columns: 1fr;
  }

  .featured-preview {
    grid-template-columns: 1fr;
  }

  .collection-title-row,
  .product-grid,
  .empty-collection {
    grid-template-columns: 1fr;
  }

  .collection-title-row h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .empty-collection {
    gap: 1rem;
  }

  .empty-number {
    font-size: 8rem;
  }

  .product-purchase,
  .status-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .checkout-item img {
    width: 88px;
  }

  .quantity-control {
    grid-column: 2;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-items: start;
  }

  .form-grid,
  .shipping-options,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .cart-empty {
    grid-template-columns: 1fr;
  }

  .piece-meta {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .note {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
