/*
Theme Name: Astro Gems Catalog
Theme URI: https://astrogemsstone.com/
Author: Astro Gems Stone
Description: A lightweight, enquiry-led gemstone catalog and marketing theme. No cart, checkout, payments, or paid-plugin dependency.
Version: 1.7.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: astrogems-catalog
*/

/*
 * Self-hosted type system. Both families are licensed under the SIL Open Font
 * License and bundled with the theme, so the site has no external font service
 * dependency or recurring font cost.
 */
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --ink: #101827;
  --ink-soft: #344054;
  --navy: #071426;
  --navy-2: #0d2238;
  --gold: #c89a45;
  --gold-light: #e6c981;
  --ivory: #f7f5f0;
  --white: #ffffff;
  --line: #dfe4ea;
  --success: #18794e;
  --reserved: #9a6700;
  --sold: #667085;
  --radius: 6px;
  --shadow: 0 22px 70px rgba(7, 20, 38, 0.12);
  --content: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.006em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }

.container { width: var(--content); margin-inline: auto; }
.section { padding: 76px 0; }
.section--soft { background: var(--ivory); }
.section--dark { color: var(--white); background: var(--navy); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: inherit;
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.032em;
}
h1 { font-size: clamp(28px, 3vw, 32px); }
h2 { font-size: clamp(24px, 2.5vw, 28px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
h4 { font-size: 18px; }
p { margin: 0 0 1.25em; }
.lead { max-width: 700px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-heading p { margin: 0; color: var(--ink-soft); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 9999; transform: translateY(-160%); padding: 10px 16px; background: var(--white); color: var(--navy); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.12); background: var(--navy); color: var(--white); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand__mark { width: 44px; height: 44px; flex: 0 0 44px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.brand__wordmark { display: grid; gap: 1px; line-height: 1; }
.brand__name {
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.025em;
}
.brand__descriptor {
  color: var(--gold-light); font-family: "Manrope", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: .63rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
}
.site-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #e8edf3; font-size: .9rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--gold-light); }
.menu-toggle { display: none; padding: 8px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; background: transparent; color: var(--white); }

.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 6px;
  background: var(--gold); color: #10151c; font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, sans-serif; font-size: .88rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.button--outline { border-color: rgba(255,255,255,.48); background: transparent; color: var(--white); }
.button--outline:hover { border-color: var(--gold-light); background: rgba(255,255,255,.05); color: var(--gold-light); }
.button--ink { background: var(--navy); color: var(--white); }
.button--ink:hover { background: var(--navy-2); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero {
  position: relative; min-height: 560px; display: grid; align-items: center; overflow: hidden;
  color: var(--white); background: var(--navy) url("assets/images/hero-gemstones.png") center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,11,22,.94) 0%, rgba(3,11,22,.82) 42%, rgba(3,11,22,.34) 76%, rgba(3,11,22,.24) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 620px; padding: 80px 0 100px; }
.hero h1 { max-width: 680px; }
.hero .lead { color: #d8e0e8; }
.hero__note { margin-top: 40px; display: flex; gap: 26px; color: #bfc9d4; font-size: .86rem; }
.hero__note span { position: relative; padding-left: 17px; }
.hero__note span::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }

.trust-strip { position: relative; z-index: 2; margin-top: -42px; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { min-height: 122px; padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 6px; color: var(--navy); font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.trust-item span { color: var(--ink-soft); font-size: .9rem; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card {
  position: relative; min-height: 250px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; isolation: isolate;
}
.category-card::before {
  content: ""; position: absolute; z-index: -2; width: 180px; height: 180px; top: 30px; right: 22px;
  transform: rotate(45deg); border-radius: 42% 58% 52% 48%;
  background: radial-gradient(circle at 32% 25%, rgba(255,255,255,.95), var(--gem) 22%, color-mix(in srgb, var(--gem) 68%, #050d18) 70%);
  box-shadow: inset -22px -25px 32px rgba(0,0,0,.28), 0 26px 55px color-mix(in srgb, var(--gem) 30%, transparent);
}
.category-card::after { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(150deg, #112740, #06101d 70%); }
.category-card h3 { margin: 0 0 4px; }
.category-card p { margin: 0; color: #cfd8e2; font-size: .88rem; }
.category-card:hover::before { transform: rotate(52deg) scale(1.04); transition: transform .4s ease; }

.gem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gem-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 30px rgba(7,20,38,.06); }
.gem-card__image { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #0c1d31, #07111e); }
.gem-card__image img { width: 100%; height: 100%; object-fit: cover; }
.gem-placeholder { width: 110px; height: 110px; transform: rotate(45deg); border-radius: 44% 56% 50% 50%; background: radial-gradient(circle at 30% 24%, #fff 0 5%, var(--gem, #356b8a) 18%, #0b263d 72%); box-shadow: 0 20px 50px rgba(0,0,0,.35), inset -18px -22px 28px rgba(0,0,0,.26); }
.gem-card__body { padding: 24px; }
.gem-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gem-card h3 { margin-bottom: 9px; font-size: 21px; }
.gem-card h3 a { text-decoration: none; }
.gem-card p { color: var(--ink-soft); font-size: .93rem; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--reserved { color: var(--reserved); }
.status--sold { color: var(--sold); }
.sku { color: #667085; font-size: .78rem; }
.demo-badge { display: inline-block; margin-bottom: 12px; padding: 5px 8px; border-radius: 5px; background: #fff4d6; color: #77591d; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.empty-catalog { padding: 46px; border: 1px dashed #b9c2cc; border-radius: var(--radius); background: var(--ivory); text-align: center; }
.empty-catalog h3 { margin-bottom: 10px; }
.empty-catalog p { max-width: 620px; margin: 0 auto; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.panel-dark { padding: 55px; border-radius: var(--radius); color: var(--white); background: linear-gradient(150deg, #0f2a45, #071426); box-shadow: var(--shadow); }
.panel-dark p { color: #cad4df; }
.feature-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; transform: rotate(45deg); border: 1px solid var(--gold); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-card__accent { width: 46px; height: 4px; margin-bottom: 24px; border-radius: 2px; background: var(--gold); }
.service-card p { color: var(--ink-soft); }

.page-hero { padding: 64px 0 52px; color: var(--white); background: radial-gradient(circle at 85% 10%, #173d61, var(--navy) 42%); }
.page-hero h1 { max-width: 850px; font-size: clamp(28px, 3vw, 32px); }
.page-hero p { max-width: 720px; color: #d6dee7; font-size: 17px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: #154f75; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card { padding: 34px; border-radius: var(--radius); background: var(--ivory); }
.guide-card p { color: var(--ink-soft); }

.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-list a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); font-size: .84rem; font-weight: 700; text-decoration: none; }
.filter-list a:hover, .filter-list a.is-active { border-color: var(--navy); background: var(--navy); color: var(--white); }

.gem-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: start; }
.gem-detail__visual { overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.gem-detail__visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gem-detail__placeholder { min-height: 550px; display: grid; place-items: center; }
.gem-detail__placeholder .gem-placeholder { width: 220px; height: 220px; }
.spec-table { margin: 30px 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: #667085; font-size: .86rem; font-weight: 700; }
.spec-row dd { margin: 0; }
.notice { padding: 17px 20px; border-left: 3px solid var(--gold); background: var(--ivory); color: var(--ink-soft); font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-list { display: grid; gap: 18px; margin: 28px 0; }
.contact-item { padding: 20px; border: 1px solid var(--line); border-radius: 6px; }
.contact-item strong { display: block; margin-bottom: 4px; font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.contact-item span, .contact-item a { color: var(--ink-soft); }
.setup-note { margin-bottom: 18px; padding: 18px 20px; border: 1px dashed var(--gold); border-radius: 6px; background: #fffaf0; color: #694f1d; }

.cta-band { padding: 72px 0; color: var(--white); background: linear-gradient(110deg, #071426, #153b5c); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 720px; margin-bottom: 0; }

.site-footer { padding: 70px 0 32px; color: #cbd4de; background: #050d18; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.site-footer h3 { color: var(--white); font-size: 1.15rem; }
.site-footer p { color: #9cabb9; }
.site-footer .demo-footer-note { display: inline-block; margin: 0 0 12px; padding: 4px 7px; border: 1px solid #77591d; border-radius: 5px; color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cbd4de; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #8292a2; font-size: .82rem; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--white); }

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section-heading, .split, .gem-detail, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .category-grid, .gem-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 20px 26px; background: var(--navy); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 11px 0; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 560px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,11,22,.98) 0%, rgba(3,11,22,.86) 58%, rgba(3,11,22,.35) 100%); }
}

@media (max-width: 640px) {
  :root { --content: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .site-header__inner { min-height: 72px; }
  .brand { gap: 9px; }
  .brand__mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand__name { font-size: .98rem; }
  .brand__descriptor { font-size: .58rem; letter-spacing: .22em; }
  .hero { min-height: 560px; background-position: 69% center; }
  .hero__content { padding: 70px 0 90px; }
  .hero__note { flex-direction: column; gap: 9px; }
  .trust-strip__inner, .category-grid, .gem-grid, .service-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .panel-dark { padding: 34px 26px; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .spec-row { grid-template-columns: 110px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero__video { display: none; }
}

/* Homepage refinement — v1.3.0 */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 20, 38, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header__inner { min-height: 76px; }
.site-nav { margin-left: auto; }
.site-nav ul { gap: 23px; }
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid rgba(230, 201, 129, .65);
  border-radius: 6px;
  color: var(--gold-light);
  font-family: "Plus Jakarta Sans", "Avenir Next", Avenir, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.header-cta:hover { border-color: var(--gold-light); background: var(--gold-light); color: var(--navy); }

.hero { min-height: 670px; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(3, 11, 22, .97) 0%, rgba(3, 11, 22, .86) 43%, rgba(3, 11, 22, .54) 68%, rgba(3, 11, 22, .42) 100%),
    linear-gradient(0deg, rgba(3, 11, 22, .22), transparent 40%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 150px;
  background: linear-gradient(0deg, rgba(3, 11, 22, .52), transparent);
  pointer-events: none;
}
.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: center;
}
.hero__content { z-index: auto; max-width: 620px; padding: 104px 0 138px; }
.hero h1 { text-wrap: balance; }
.hero .lead { max-width: 590px; color: #dce4ec; }
.hero__note {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  gap: 22px;
}
.hero__note span { padding-left: 15px; }
.hero__note span::before { width: 5px; height: 5px; }

.hero-showcase {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: rgba(5, 13, 24, .56);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-showcase__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  color: #c5d0dc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-showcase__header span:last-child { color: var(--gold-light); }
.hero-showcase__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, 112px);
  gap: 8px;
}
.hero-showcase__tile { position: relative; overflow: hidden; border-radius: 5px; text-decoration: none; }
.hero-showcase__tile--large { grid-row: 1 / 3; }
.hero-showcase__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 11, 22, .78), transparent 62%); }
.hero-showcase__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hero-showcase__tile > span:not(.gem-shine):not(.gem-glitter) { position: absolute; z-index: 1; left: 13px; bottom: 10px; color: var(--white); font-family: "Plus Jakarta Sans", sans-serif; font-size: .78rem; font-weight: 700; }
.hero-showcase__tile:hover img { transform: scale(1.05); }
.hero-showcase > p { margin: 14px 0 1px; color: #c5d0dc; font-size: .83rem; line-height: 1.55; }

.trust-strip { margin-top: -54px; }
.trust-strip__inner { box-shadow: 0 24px 70px rgba(7, 20, 38, .16); }
.trust-item { min-height: 130px; display: flex; align-items: flex-start; gap: 17px; padding: 28px; }
.trust-item__mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  transform: rotate(45deg);
  border: 1px solid rgba(200, 154, 69, .75);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(200, 154, 69, .16), rgba(13, 34, 56, .08));
}
.trust-item strong { margin-bottom: 7px; }
.trust-item span:not(.trust-item__mark) { display: block; line-height: 1.55; }

.collection-intro { padding-top: 104px; }
.section-heading h2 { max-width: 670px; text-wrap: balance; }
.category-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}
.category-card {
  grid-column: span 3;
  min-height: 330px;
  padding: 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 40px rgba(7, 20, 38, .12);
  background: var(--navy);
  isolation: isolate;
}
.category-card:nth-child(1),
.category-card:nth-child(4) { grid-column: span 6; }
.category-card::before { content: none; }
.category-card::after {
  z-index: 0;
  background: linear-gradient(0deg, rgba(3, 11, 22, .9) 0%, rgba(3, 11, 22, .18) 70%, rgba(3, 11, 22, .02) 100%);
}
.category-card__image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.category-card__content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; }
.category-card__label { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.category-card__content strong { display: block; margin-bottom: 5px; color: var(--white); font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; line-height: 1.25; }
.category-card__content > span:last-child { display: block; max-width: 390px; color: #d6dee7; font-size: .86rem; line-height: 1.55; }
.category-card:hover .category-card__image { transform: scale(1.045); filter: saturate(1.08); }

.featured-collection { background: #f4f6f8; }
.gem-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.gem-card:hover { transform: translateY(-5px); border-color: #ccd4dd; box-shadow: 0 22px 48px rgba(7, 20, 38, .12); }
.gem-card__image { position: relative; aspect-ratio: 5 / 3.7; }
.gem-card__image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.gem-card__image img { transition: transform .45s ease; }
.gem-card:hover .gem-card__image img { transform: scale(1.035); }
.gem-card__body { padding: 25px 25px 27px; }
.gem-card__meta { padding-top: 2px; }
.gem-card h3 { font-size: 20px; }
.gem-card__link { color: #173f5f; font-size: .86rem; font-weight: 800; text-decoration-color: rgba(23, 63, 95, .35); }
.collection-action {
  margin-top: 34px;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}
.collection-action p { max-width: 560px; margin: 0; color: var(--ink-soft); }

.selection-story { padding: 100px 0; overflow: hidden; }
.selection-story__layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(52px, 8vw, 110px); align-items: center; }
.selection-story__visual { position: relative; min-height: 560px; }
.selection-story__visual::before {
  content: "";
  position: absolute;
  width: 74%;
  height: 86%;
  left: -28px;
  top: -28px;
  border: 1px solid rgba(200, 154, 69, .45);
  border-radius: 6px;
}
.selection-story__image { position: relative; overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); }
.selection-story__visual img { position: relative; width: 100%; min-height: 560px; object-fit: cover; border-radius: 6px; }
.selection-story__caption {
  position: absolute;
  right: -32px;
  bottom: 30px;
  width: min(320px, 78%);
  padding: 24px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(7, 20, 38, .2);
}
.selection-story__caption strong { display: block; margin-bottom: 6px; font-family: "Plus Jakarta Sans", sans-serif; font-size: .96rem; }
.selection-story__caption span { color: var(--ink-soft); font-size: .85rem; line-height: 1.55; }
.selection-story__copy h2 { max-width: 540px; text-wrap: balance; }
.selection-steps { margin: 30px 0; padding: 0; list-style: none; counter-reset: none; }
.selection-steps li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0 18px 28px; border-top: 1px solid var(--line); }
.selection-steps li:last-child { border-bottom: 1px solid var(--line); }
.selection-steps li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--gold); }
.selection-steps strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: .9rem; }
.selection-steps span { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.text-link { color: #154f75; font-size: .9rem; font-weight: 800; text-decoration-color: rgba(21, 79, 117, .35); }

.assistance {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(31, 92, 116, .45), transparent 34%),
    linear-gradient(135deg, #071426, #0a1b2d);
}
.assistance::before { content: ""; position: absolute; width: 390px; height: 390px; right: -130px; bottom: -230px; transform: rotate(45deg); border: 1px solid rgba(230, 201, 129, .18); border-radius: 36%; }
.assistance .section-heading p { color: #c4cfda; }
.assistance .service-card { color: var(--white); border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .055); backdrop-filter: blur(8px); }
.assistance .service-card h3 { font-size: 19px; }
.assistance .service-card p { margin-bottom: 0; color: #c4cfda; }
.service-card__symbol { display: block; width: 34px; height: 34px; margin-bottom: 24px; transform: rotate(45deg); border: 1px solid var(--gold); border-radius: 5px; background: rgba(200, 154, 69, .08); }

.reveal-ready .reveal,
.reveal-ready .motion-section { opacity: 1; transform: none; }
.reveal-ready .reveal.is-visible,
.reveal-ready .motion-section.is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .site-nav ul { gap: 17px; }
  .header-cta { display: none; }
  .hero__layout { grid-template-columns: 1fr; }
  .hero-showcase { display: none; }
  .hero__content { max-width: 680px; }
  .category-card { grid-column: span 6; }
  .category-card:nth-child(1), .category-card:nth-child(4) { grid-column: span 6; }
}

@media (max-width: 900px) {
  .site-header { position: relative; top: auto; }
  .selection-story__layout { grid-template-columns: 1fr; gap: 64px; }
  .selection-story__visual { width: min(100%, 680px); min-height: 500px; }
  .selection-story__visual img { min-height: 500px; }
  .selection-story__caption { right: 24px; }
}

@media (max-width: 640px) {
  .hero { min-height: 590px; }
  .hero__content { padding: 74px 0 106px; }
  .hero__note { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .trust-strip { margin-top: -34px; }
  .trust-item { padding: 23px; }
  .collection-intro { padding-top: 84px; }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(4) { grid-column: span 12; min-height: 310px; }
  .category-card__content { padding: 24px; }
  .collection-action { align-items: flex-start; flex-direction: column; }
  .selection-story { padding: 82px 0; }
  .selection-story__visual, .selection-story__visual img { min-height: 430px; }
  .selection-story__visual::before { left: -12px; top: -18px; }
  .selection-story__caption { right: 14px; bottom: 18px; width: calc(100% - 28px); }
  .selection-steps li { grid-template-columns: 76px 1fr; gap: 12px; padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal, .reveal-ready .reveal.is-visible,
  .reveal-ready .motion-section, .reveal-ready .motion-section.is-visible { opacity: 1; transform: none; }
}

/* Motion and carousel — v1.4.1 */
.craft-film {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(26, 86, 105, .46), transparent 32%),
    linear-gradient(135deg, #06101d, #0b1f32);
}
.craft-film::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: -210px;
  bottom: -190px;
  transform: rotate(45deg);
  border: 1px solid rgba(230, 201, 129, .16);
  border-radius: 30%;
}
.craft-film__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}
.craft-film__copy h2 { max-width: 480px; text-wrap: balance; }
.craft-film__copy .lead { color: #cbd5df; }
.craft-film__copy .text-link { color: var(--gold-light); text-decoration-color: rgba(230, 201, 129, .42); }
.craft-film__media {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: #040b13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}
.craft-film__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  pointer-events: none;
}
.craft-film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.craft-film__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 11, 22, .76), transparent 52%); pointer-events: none; }
.craft-film__caption { position: absolute; z-index: 3; left: 32px; bottom: 24px; max-width: 300px; margin: 0; color: #f0f3f6; font-family: "Plus Jakarta Sans", sans-serif; font-size: .84rem; font-weight: 700; }
.craft-film__toggle {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 20px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 5px;
  background: rgba(3, 11, 22, .62);
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.craft-film__toggle:hover, .craft-film__toggle:focus-visible { border-color: var(--gold-light); color: var(--gold-light); }

.gem-carousel { position: relative; }
.gem-carousel__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}
.gem-carousel__viewport::-webkit-scrollbar { display: none; }
.gem-carousel__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.gem-carousel__track { display: flex; gap: 24px; width: max-content; }
.gem-carousel__track .gem-card { flex: 0 0 calc((min(1180px, 100vw - 40px) - 48px) / 3); width: calc((min(1180px, 100vw - 40px) - 48px) / 3); scroll-snap-align: start; }
.gem-carousel__controls {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gem-carousel__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.gem-carousel__buttons button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c8d0d9;
  border-radius: 5px;
  background: transparent;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.gem-carousel__buttons button:hover, .gem-carousel__buttons button:focus-visible { border-color: var(--navy); background: var(--navy); color: var(--white); }
.gem-carousel__buttons [data-carousel-toggle][aria-pressed="true"] { border-color: var(--gold); background: #fff9eb; color: #6b4a0d; }
.gem-carousel__status { margin: 0; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }

@media (max-width: 900px) {
  .craft-film__layout { grid-template-columns: 1fr; }
  .craft-film__copy { max-width: 680px; }
  .craft-film__media { min-height: 420px; }
  .gem-carousel__track .gem-card { flex-basis: calc((100vw - 64px) / 2); width: calc((100vw - 64px) / 2); }
}

@media (max-width: 640px) {
  .craft-film { padding: 78px 0; }
  .craft-film__media { min-height: 320px; }
  .craft-film__caption { left: 26px; right: 26px; bottom: 72px; max-width: none; }
  .craft-film__toggle { left: 26px; right: auto; }
  .gem-carousel__track { gap: 14px; }
  .gem-carousel__track .gem-card { flex-basis: calc(100vw - 28px); width: calc(100vw - 28px); }
  .gem-carousel__controls { align-items: flex-start; flex-direction: column; gap: 14px; }
  .gem-carousel__status { order: -1; }
}

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

/* Gemstone light sweep — a restrained, image-only hover treatment. */
.gem-shine {
  position: absolute;
  z-index: 2;
  top: -28%;
  bottom: -28%;
  left: -78%;
  width: 30%;
  opacity: 0;
  transform: skewX(-17deg);
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, .02) 30%,
    rgba(255, 241, 191, .18) 43%,
    rgba(255, 255, 255, .62) 50%,
    rgba(255, 244, 207, .16) 57%,
    transparent 70%
  );
  mix-blend-mode: screen;
  filter: blur(.25px);
  pointer-events: none;
  transition: left .82s cubic-bezier(.22, 1, .36, 1), opacity .16s ease;
}
.category-card__content,
.hero-showcase__tile > span:not(.gem-shine):not(.gem-glitter) { z-index: 3; }
.gem-detail__visual { position: relative; }
.gem-detail__visual img { transition: transform .55s ease, filter .55s ease; }
.category-card:hover .gem-shine,
.category-card:focus-visible .gem-shine,
.hero-showcase__tile:hover .gem-shine,
.hero-showcase__tile:focus-visible .gem-shine,
.gem-card:hover .gem-shine,
.gem-card:focus-within .gem-shine,
.gem-detail__visual:hover .gem-shine,
.selection-story__image:hover .gem-shine {
  left: 132%;
  opacity: .78;
}
.gem-card:hover .gem-card__image img,
.gem-card:focus-within .gem-card__image img { filter: saturate(1.08) brightness(1.035); }
.hero-showcase__tile:hover img,
.hero-showcase__tile:focus-visible img { filter: saturate(1.08) brightness(1.04); }
.gem-detail__visual:hover img { transform: scale(1.018); filter: saturate(1.06) brightness(1.035); }
.selection-story__image img { transition: transform .65s ease, filter .65s ease; }
.selection-story__image:hover img { transform: scale(1.025); filter: saturate(1.06) brightness(1.025); }

@media (hover: none) {
  .gem-shine { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gem-shine { display: none; }
  .gem-detail__visual img { transition: none; }
}

/* Facet glitter and page motion — v1.7.0 */
.gem-glitter {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 68%, rgba(255, 250, 224, .9) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 16%, rgba(255, 255, 255, .86) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 62%, rgba(255, 242, 190, .78) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 24%, rgba(255, 255, 255, .72) 0 1px, transparent 2px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.gem-glitter::before,
.gem-glitter::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, .95) 48% 52%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, .95) 48% 52%, transparent 54%),
    linear-gradient(45deg, transparent 48%, rgba(255, 230, 156, .74) 49% 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 230, 156, .74) 49% 51%, transparent 52%);
  filter: drop-shadow(0 0 5px rgba(255, 241, 191, .7));
}
.gem-glitter::before { top: 22%; left: 26%; }
.gem-glitter::after { top: 43%; right: 21%; width: 12px; height: 12px; }

.category-card:hover .gem-glitter,
.category-card:focus-visible .gem-glitter,
.hero-showcase__tile:hover .gem-glitter,
.hero-showcase__tile:focus-visible .gem-glitter,
.gem-card:hover .gem-glitter,
.gem-card:focus-within .gem-glitter,
.gem-detail__visual:hover .gem-glitter,
.selection-story__image:hover .gem-glitter { animation: gem-glitter-field 1.05s ease-out both; }

.category-card:hover .gem-glitter::before,
.category-card:focus-visible .gem-glitter::before,
.hero-showcase__tile:hover .gem-glitter::before,
.hero-showcase__tile:focus-visible .gem-glitter::before,
.gem-card:hover .gem-glitter::before,
.gem-card:focus-within .gem-glitter::before,
.gem-detail__visual:hover .gem-glitter::before,
.selection-story__image:hover .gem-glitter::before { animation: gem-facet-flash .72s ease-out .08s both; }

.category-card:hover .gem-glitter::after,
.category-card:focus-visible .gem-glitter::after,
.hero-showcase__tile:hover .gem-glitter::after,
.hero-showcase__tile:focus-visible .gem-glitter::after,
.gem-card:hover .gem-glitter::after,
.gem-card:focus-within .gem-glitter::after,
.gem-detail__visual:hover .gem-glitter::after,
.selection-story__image:hover .gem-glitter::after { animation: gem-facet-flash .68s ease-out .3s both; }

@keyframes gem-glitter-field {
  0%, 8% { opacity: 0; }
  28% { opacity: .78; }
  58% { opacity: .32; }
  100% { opacity: 0; }
}
@keyframes gem-facet-flash {
  0% { opacity: 0; transform: scale(.25) rotate(0deg); }
  38% { opacity: .95; transform: scale(1) rotate(18deg); }
  100% { opacity: 0; transform: scale(1.55) rotate(32deg); }
}

.site-header { transition: box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.site-header.has-scrolled { border-bottom-color: rgba(230, 201, 129, .16); background: rgba(7, 20, 38, .985); box-shadow: 0 12px 34px rgba(2, 9, 17, .2); }
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-light);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.button { position: relative; overflow: hidden; isolation: isolate; }
.button::after {
  content: "";
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -46%;
  width: 24%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .36), transparent);
  pointer-events: none;
  transition: left .55s cubic-bezier(.22, 1, .36, 1);
}
.button:hover::after,
.button:focus-visible::after { left: 122%; }
.button:active { transform: translateY(0) scale(.985); }
.text-link { position: relative; text-decoration: none; }
.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  transform: scaleX(.28);
  transform-origin: left;
  background: currentColor;
  opacity: .48;
  transition: transform .28s ease, opacity .28s ease;
}
.text-link:hover::after,
.text-link:focus-visible::after { transform: scaleX(1); opacity: .82; }

.reveal-ready .motion-section .motion-item,
.reveal-ready .hero .motion-item {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-ready .motion-section.is-visible .motion-item,
.reveal-ready .hero.is-motion-visible .motion-item {
  opacity: 1;
  transform: none;
  transition: opacity .62s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(40ms + (var(--motion-order, 0) * 55ms));
}
.assistance::before,
.craft-film::before { animation: ambient-facet-drift 10s ease-in-out infinite alternate; }
@keyframes ambient-facet-drift {
  from { transform: rotate(45deg) translate3d(0, 0, 0); }
  to { transform: rotate(45deg) translate3d(0, -12px, 0); }
}

@media (hover: none) {
  .gem-glitter { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gem-glitter { display: none; }
  .reveal-ready .motion-section .motion-item,
  .reveal-ready .motion-section.is-visible .motion-item,
  .reveal-ready .hero .motion-item,
  .reveal-ready .hero.is-motion-visible .motion-item { opacity: 1; transform: none; }
}
