:root {
  --color-primary: #210330;
  --color-secondary: #d6d19f;
  --color-cream: #f7f2e8;
  --color-sand: #ece3d3;
  --color-clay: #b68863;
  --color-moss: #7f8562;
  --color-text: #321b38;
  --color-muted: #705c73;
  --color-white: #fffdf9;
  --shadow-soft: 0 24px 60px rgba(33, 3, 48, 0.14);
  --shadow-card: 0 18px 40px rgba(33, 3, 48, 0.1);
  --radius-large: 30px;
  --radius-medium: 22px;
  --radius-small: 16px;
  --font-heading: "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  --font-body: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(214, 209, 159, 0.5), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(182, 136, 99, 0.2), transparent 18%),
    linear-gradient(180deg, #fbf6ee 0%, #f1e8db 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 3, 48, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 3, 48, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

.page-glow {
  position: fixed;
  inset: auto -8rem -10rem auto;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(214, 209, 159, 0.25), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.2rem auto 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(33, 3, 48, 0.09);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(33, 3, 48, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand small {
  color: var(--color-muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(214, 209, 159, 0.95), transparent 32%),
    linear-gradient(145deg, #381248, var(--color-primary));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.nav-cta,
.nav-logout {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 3, 48, 0.12);
  background: rgba(214, 209, 159, 0.18);
  color: var(--color-primary);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.6rem auto 3rem;
}

.home-page.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 820ms ease,
    transform 820ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.home-page.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero,
.landing-showcase,
.collection-strip,
.catalogue-section,
.craft-section,
.contact-banner,
.motion-ribbon {
  margin-bottom: 1.4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.82fr);
  gap: 1.25rem;
}

.hero-copy,
.hero-card,
.collection-strip,
.catalogue-section,
.craft-section,
.contact-banner {
  border: 1px solid rgba(33, 3, 48, 0.09);
  background: rgba(255, 253, 249, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top right, rgba(214, 209, 159, 0.4), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(244, 233, 213, 0.88));
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 38% 62% 56% 44%;
  background: linear-gradient(135deg, rgba(33, 3, 48, 0.95), rgba(63, 24, 82, 0.6));
  opacity: 0.1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.contact-banner h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-text {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(33, 3, 48, 0.12);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-primary);
}

.button-secondary {
  color: var(--color-primary);
  border-color: rgba(33, 3, 48, 0.12);
  background: rgba(214, 209, 159, 0.22);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero-metrics li {
  padding: 1rem;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(33, 3, 48, 0.08);
}

.hero-metrics strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.4rem;
}

.hero-metrics span {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-large);
  background:
    linear-gradient(180deg, rgba(33, 3, 48, 0.98), rgba(45, 14, 58, 0.9)),
    var(--color-primary);
  color: var(--color-white);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 30% 70% 52% 48%;
  background: radial-gradient(circle, rgba(214, 209, 159, 0.4), transparent 70%);
}

.hero-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.hero-card p {
  color: rgba(255, 253, 249, 0.84);
  line-height: 1.75;
}

.hero-swatches {
  display: flex;
  gap: 0.7rem;
  margin: 1.8rem 0;
}

.swatch {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.swatch-plum {
  background: #3f1656;
}

.swatch-sand {
  background: var(--color-secondary);
}

.swatch-clay {
  background: var(--color-clay);
}

.swatch-moss {
  background: var(--color-moss);
}

.hero-note {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-motion {
  position: absolute;
  pointer-events: none;
  border-radius: 40% 60% 56% 44%;
  opacity: 0.55;
  filter: blur(0.4px);
}

.hero-motion-one {
  top: 1rem;
  right: 4rem;
  width: 6.5rem;
  height: 6.5rem;
  background: radial-gradient(circle, rgba(214, 209, 159, 0.55), transparent 70%);
  animation: float-orb 11s ease-in-out infinite;
}

.hero-motion-two {
  left: -1.5rem;
  bottom: 3rem;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(33, 3, 48, 0.16), transparent 72%);
  animation: float-orb 14s ease-in-out infinite reverse;
}

.hero-card-grid {
  position: absolute;
  inset: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  pointer-events: none;
  opacity: 0.18;
}

.hero-card-grid span {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  animation: pulse-grid 7s ease-in-out infinite;
}

.hero-card-grid span:nth-child(2) {
  animation-delay: 1.1s;
}

.hero-card-grid span:nth-child(3) {
  animation-delay: 1.9s;
}

.hero-card-grid span:nth-child(4) {
  animation-delay: 2.7s;
}

.motion-ribbon {
  overflow: hidden;
  padding: 1rem 0;
  border: 1px solid rgba(33, 3, 48, 0.09);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.92), rgba(214, 209, 159, 0.36), rgba(255, 253, 249, 0.92));
  box-shadow: var(--shadow-card);
}

.motion-ribbon-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: ribbon-scroll 28s linear infinite;
}

.motion-ribbon-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-left: 2rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.motion-ribbon-track span::before {
  content: "";
  position: absolute;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.6;
}

.collection-strip,
.catalogue-section,
.craft-section {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-large);
}

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

.landing-showcase-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-large);
  border: 1px solid rgba(33, 3, 48, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(214, 209, 159, 0.18)),
    rgba(255, 253, 249, 0.8);
  box-shadow: var(--shadow-soft);
}

.landing-showcase-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.landing-showcase-card p:last-child {
  color: var(--color-muted);
  line-height: 1.8;
}

.landing-showcase-card-dark {
  background:
    radial-gradient(circle at top right, rgba(214, 209, 159, 0.2), transparent 24%),
    linear-gradient(160deg, rgba(33, 3, 48, 0.98), rgba(57, 22, 71, 0.92));
}

.landing-showcase-card-dark h2,
.landing-showcase-card-dark .eyebrow,
.landing-showcase-card-dark p:last-child {
  color: var(--color-white);
}

.landing-showcase-card-accent {
  background:
    radial-gradient(circle at top left, rgba(214, 209, 159, 0.3), transparent 25%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.95), rgba(232, 223, 192, 0.72));
}

.collections-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.6rem auto 3rem;
}

.collections-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.collections-intro,
.collections-directory {
  border: 1px solid rgba(33, 3, 48, 0.09);
  border-radius: var(--radius-large);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow-soft);
}

.collections-intro {
  position: sticky;
  top: 1.2rem;
  align-self: start;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background:
    radial-gradient(circle at top right, rgba(214, 209, 159, 0.3), transparent 24%),
    linear-gradient(140deg, rgba(255, 253, 249, 0.95), rgba(239, 230, 205, 0.74));
}

.collections-intro h1,
.directory-block h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.collections-intro h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.collections-directory {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

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

.directory-block {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(33, 3, 48, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.directory-block h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.02;
}

.directory-block-highlight {
  background:
    radial-gradient(circle at top left, rgba(214, 209, 159, 0.3), transparent 25%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(232, 223, 192, 0.7));
}

.directory-link,
.directory-list a {
  color: var(--color-primary);
  text-decoration: none;
}

.directory-link-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.directory-list {
  display: grid;
  gap: 0.45rem;
}

.directory-list-long {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.4rem;
  row-gap: 0.45rem;
}

.directory-list a {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease;
}

.directory-list a:hover,
.directory-list a:focus-visible {
  color: #6a2f7c;
  transform: translateX(5px);
}

.section-heading {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.contact-banner h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.section-heading-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 1.2rem;
}

.section-blurb {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.collection-grid,
.craft-grid {
  display: grid;
  gap: 1rem;
}

.collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-panel {
  padding: 1.2rem;
  border-radius: var(--radius-medium);
  min-height: 14rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.65), rgba(214, 209, 159, 0.24)),
    var(--color-white);
  border: 1px solid rgba(33, 3, 48, 0.08);
  box-shadow: var(--shadow-card);
}

.panel-index {
  margin: 0 0 1rem;
  color: rgba(33, 3, 48, 0.42);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.collection-panel h3,
.craft-card h3,
.catalogue-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.6rem;
}

.collection-panel p:last-child,
.craft-card p,
.catalogue-card p,
.catalogue-card li,
.catalogue-meta p,
.product-copy p {
  color: var(--color-muted);
  line-height: 1.7;
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.search-field {
  display: grid;
  gap: 0.45rem;
}

.search-field span {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--color-primary);
}

.search-field input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 3, 48, 0.12);
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  color: inherit;
}

.search-field input:focus-visible,
.filter-chip:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.filter-chip {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 3, 48, 0.12);
  background: rgba(255, 253, 249, 0.9);
  color: var(--color-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
}

.filter-chip.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}

.catalogue-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.94rem;
  display: none;
}

.catalogue-meta p {
  margin: 0;
}

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

.catalogue-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1rem;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(33, 3, 48, 0.08);
  box-shadow: var(--shadow-card);
}

.catalogue-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.catalogue-card-link:hover .catalogue-card,
.catalogue-card-link:focus-visible .catalogue-card {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(33, 3, 48, 0.14);
}

.catalogue-card-link:focus-visible {
  outline: none;
}

.catalogue-card,
.detail-thumb,
.detail-stage {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-visual {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-background, linear-gradient(135deg, #d8ceb8, #b9a48a));
}

.product-visual.has-image {
  min-height: 0;
}

.product-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.product-visual::before {
  display: none;
}

.product-visual:hover::before {
  opacity: 0.3;
}

.product-visual::after {
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgb(0, 0, 0);

  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy {
  display: grid;
  gap: 0.8rem;
}

.product-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-price {
  color: var(--color-primary);
  font-weight: 800;
  white-space: nowrap;
}

.product-tags,
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-tags li,
.product-specs li {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(214, 209, 159, 0.26);
  font-size: 0.8rem;
}

.product-specs li {
  color: var(--color-primary);
  background: rgba(33, 3, 48, 0.05);
}

.product-link-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-primary);
  font-weight: 800;
}

.product-link-row::after {
  content: "->";
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(33, 3, 48, 0.2);
}

.craft-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.craft-card {
  padding: 1.2rem;
  border-radius: var(--radius-medium);
  background:
    linear-gradient(180deg, rgba(214, 209, 159, 0.14), rgba(255, 253, 249, 0.92)),
    var(--color-white);
  border: 1px solid rgba(33, 3, 48, 0.08);
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top left, rgba(214, 209, 159, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.88), rgba(214, 209, 159, 0.32));
}

.contact-banner h2 {
  max-width: 14ch;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.auth-banner {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(33, 3, 48, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(214, 209, 159, 0.26), transparent 20%),
    rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow-card);
}

.auth-banner h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.auth-banner p:last-child {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.login-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.6rem auto 3rem;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.2rem;
}

.login-intro,
.login-panel {
  border: 1px solid rgba(33, 3, 48, 0.09);
  border-radius: var(--radius-large);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow-soft);
}

.login-intro {
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(circle at top right, rgba(214, 209, 159, 0.3), transparent 24%),
    linear-gradient(140deg, rgba(255, 253, 249, 0.96), rgba(244, 234, 214, 0.76));
}

.login-intro h1,
.login-panel h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
}

.login-intro h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 11ch;
}

.login-company-card {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(33, 3, 48, 0.94);
  color: var(--color-white);
}

.login-company-card h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.login-company-card p,
.login-company-card strong,
.login-company-note {
  display: block;
}

.login-company-card p,
.login-company-note {
  color: rgba(255, 253, 249, 0.8);
  line-height: 1.7;
}

.login-company-card strong {
  margin-top: 0.4rem;
  color: var(--color-secondary);
  font-size: 1.15rem;
}

.login-panel {
  padding: clamp(1.6rem, 4vw, 2.2rem);
}

.login-support-text {
  color: var(--color-muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0 1rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(33, 3, 48, 0.1);
}

.login-panel-block {
  margin-top: 0.2rem;
  padding-top: 0.4rem;
}

.login-field {
  display: grid;
  gap: 0.45rem;
}

.login-field span {
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.login-field input {
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(33, 3, 48, 0.14);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  color: inherit;
}

.login-field input:focus-visible,
.nav-logout:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.login-feedback {
  min-height: 1.4rem;
  margin: 0;
  color: #9c2f3a;
  font-weight: 700;
}

.login-feedback.is-success {
  color: #2b5d32;
}

.login-meta {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(33, 3, 48, 0.08);
}

.login-meta p,
.login-meta a {
  margin: 0;
  color: var(--color-muted);
}

.login-meta a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.detail-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.6rem auto 3rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.detail-shell,
.detail-empty {
  display: grid;
  gap: 1.2rem;
}

.detail-hero,
.detail-story-grid,
.detail-empty {
  border: 1px solid rgba(33, 3, 48, 0.09);
  background: rgba(255, 253, 249, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-large);
}

detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

/* LEFT SIDE STACK */
.detail-left {
  display: grid;
  gap: 1rem;
}

/* RIGHT SIDE STACK */
.detail-right {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  /* 🔥 THIS fixes stacking */
  gap: 1rem;
}


.detail-stage {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--card-background);
}

.detail-stage-image {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  z-index: 1;
}



.detail-thumb-art::before,
.detail-thumb-art::after {
  content: "";

}

.detail-stage::before,
.detail-thumb-art::before {
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 3%, transparent 3% 12%, rgba(255, 255, 255, 0.18) 12% 15%, transparent 15% 100%),
    linear-gradient(0deg, rgba(33, 3, 48, 0.12) 0 7%, transparent 7% 20%, rgba(33, 3, 48, 0.07) 20% 26%, transparent 26% 100%);
  mix-blend-mode: soft-light;
}

.detail-stage.has-image::before {
  display: none;
}

.detail-thumb-art.has-image::before {
  display: none;
}

.detail-stage::after,
.detail-thumb-art::after {
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.detail-stage-copy {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(33, 3, 48, 0.72);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.detail-stage-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.detail-view-label {
  margin: 0.45rem 0 0;
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-stage-copy p:last-child {
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.82);
}

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


.detail-thumb {
  display: grid;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(33, 3, 48, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
}

.detail-thumb:hover,
.detail-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(33, 3, 48, 0.2);
  box-shadow: 0 18px 28px rgba(33, 3, 48, 0.12);
}

.detail-thumb-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-background);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-thumb-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.detail-thumb-copy strong,
.detail-panel h2,
.detail-story-card h2,
.detail-empty h1 {
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.detail-thumb-copy {
  display: grid;
  gap: 0.3rem;
}

.detail-thumb-copy small {
  color: var(--color-muted);
  line-height: 1.5;
}

.detail-panel {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 1.2rem;
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(242, 234, 220, 0.84));
  border: 1px solid rgba(33, 3, 48, 0.08);
}

.detail-panel h2,
.detail-story-card h2,
.detail-empty h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.detail-lead {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(33, 3, 48, 0.05);
}

.detail-price-row strong {
  color: var(--color-primary);
  font-size: 1.3rem;
}

.detail-price-row span {
  color: var(--color-muted);
}

.detail-feature-list,
.detail-care-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-feature-list li,
.detail-care-list li {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(214, 209, 159, 0.26);
}

.detail-care-list li {
  border-radius: 18px;
  line-height: 1.6;
}

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

.detail-spec-grid article,
.detail-story-card {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 3, 48, 0.08);
}

.detail-spec-grid span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.detail-spec-grid strong {
  color: var(--color-primary);
  line-height: 1.5;
}

.detail-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.detail-story-card>p:not(.eyebrow) {
  color: var(--color-muted);
  line-height: 1.8;
}

.detail-empty {
  padding: 2rem;
  text-align: center;
}

.demand-card {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(33, 3, 48, 0.08);
  background: rgba(0, 0, 0, 0.72);
}


.demand-wrapper {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* match your hero layout */
}

.demand-card {
  grid-column: 2;
  /* push to right column */
}

.demand-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.6rem;
}

.demand-card-note {
  margin: 0.6rem 0 1rem;
  color: var(--color-muted);
  line-height: 1.65;
}

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

.demand-field {
  display: grid;
  gap: 0.35rem;
}

.demand-field-wide {
  grid-column: 1 / -1;
}

.demand-field span {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
}

.demand-field input,
.demand-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(33, 3, 48, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.demand-field textarea {
  resize: vertical;
}

.demand-submit {
  grid-column: 1 / -1;
  min-height: 3rem;
}

.demand-feedback {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-demand-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.admin-demand-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(33, 3, 48, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-demand-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

.admin-demand-table th,
.admin-demand-table td {
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(33, 3, 48, 0.08);
}

.admin-demand-table th {
  font-size: 0.78rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(214, 209, 159, 0.24);
}

.admin-demand-table td {
  color: var(--color-muted);
  line-height: 1.55;
}

.admin-demand-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-demand-table tbody tr {
  transition: background var(--transition-fast) ease;
}

.admin-demand-table tbody tr:hover {
  background: var(--surface-2);
}

/* --- Admin Product Management Table --- */
.admin-product-section {
  margin-top: 4rem;
}

.admin-product-actions {
  display: flex;
  align-items: center;
}

.admin-product-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface-0);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.admin-product-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.admin-product-table th,
.admin-product-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-product-table th {
  background: var(--surface-1);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.admin-product-table tbody tr {
  transition: background var(--transition-fast) ease;
}

.admin-product-table tbody tr:hover {
  background: var(--surface-2);
}

.admin-product-thumbnail {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.admin-product-actions-cell {
  display: flex;
  gap: 0.5rem;
}

/* --- Admin Modal (Glassmorphism) --- */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.admin-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 23, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.admin-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--surface-0);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal[aria-hidden="false"] .admin-modal-content {
  transform: scale(1) translateY(0);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-1);
}

.admin-modal-header h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.admin-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast) ease;
}

.admin-modal-close:hover {
  color: var(--text-primary);
}

.admin-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

/* --- Admin Product Form --- */
.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h4 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: var(--primary-dark);
  font-weight: 500;
}

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

.form-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.gallery-item-card {
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.gallery-item-card:last-child {
  margin-bottom: 0;
}

.gallery-item-remove {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-dark);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.gallery-item-remove:hover {
  background: #000;
}

.admin-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

.admin-modal-actions {
  display: flex;
  gap: 0.75rem;
}

.button-small {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0.7rem, -1rem, 0) scale(1.08);
  }
}

@keyframes pulse-grid {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.04);
  }
}

@keyframes ribbon-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {

  .site-header,
  .site-footer,
  .catalogue-meta,
  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .landing-showcase,
  .section-heading-split,
  .catalogue-toolbar,
  .collection-grid,
  .catalogue-grid,
  .craft-grid,
  .collections-shell,
  .directory-grid,
  .login-shell,
  .detail-hero,
  .detail-story-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .directory-list-long,
  .detail-spec-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-stage-image {
    max-height: 80vw;
  }

  .demand-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 26px;
    padding: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero-copy,
  .hero-card,
  .collection-strip,
  .catalogue-section,
  .collections-intro,
  .collections-directory,
  .craft-section,
  .contact-banner {
    border-radius: 26px;
  }

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

img.detail-stage-image,
img.detail-thumb-image,
img.product-photo {
  color: transparent;
}

/* ════════════════════════════════════════════════
   GLOBAL DARK CHARCOAL THEME
   Applied via body class  .dark-theme  (set on every page)
   ════════════════════════════════════════════════ */

.dark-theme {
  --color-primary: #f0f0f0;
  --color-secondary: #aaaaaa;
  --color-cream: #111111;
  --color-sand: #1a1a1a;
  --color-clay: #888888;
  --color-moss: #666666;
  --color-text: #e8e8e8;
  --color-muted: #999999;
  --color-white: #0d0d0d;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.5);
  background: #0d0d0d !important;
  color: #e8e8e8;
}

/* Subtle grid overlay */
.dark-theme::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
}

/* Page glow */
.dark-theme .page-glow {
  background: radial-gradient(circle, rgba(120, 120, 120, 0.12), transparent 68%);
}

/* ── Header ── */
.dark-theme .site-header {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(13, 13, 13, 0.88) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(20px);
}

.dark-theme .brand,
.dark-theme .site-nav a {
  color: #f0f0f0 !important;
}

.dark-theme .brand small {
  color: rgba(240, 240, 240, 0.45) !important;
}

.dark-theme .brand-mark {
  background: linear-gradient(145deg, #2a2a2a, #111) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f0f0f0 !important;
}

.dark-theme .site-nav a:hover {
  color: #fff !important;
}

.dark-theme .nav-cta,
.dark-theme .nav-logout {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #f0f0f0 !important;
}

.dark-theme .nav-cta:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

/* ── Cards / panels shared ── */
.dark-theme .hero-copy,
.dark-theme .hero-card,
.dark-theme .collection-strip,
.dark-theme .catalogue-section,
.dark-theme .craft-section,
.dark-theme .contact-banner,
.dark-theme .auth-banner,
.dark-theme .login-intro,
.dark-theme .login-panel,
.dark-theme .collections-intro,
.dark-theme .collections-directory,
.dark-theme .detail-hero,
.dark-theme .detail-story-grid,
.dark-theme .detail-empty {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #e8e8e8;
}

/* ── Hero copy ── */
.dark-theme .hero-copy {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 40%),
    rgba(0, 0, 0, 0.12) !important;
}

.dark-theme .hero h1,
.dark-theme .section-heading h2,
.dark-theme .contact-banner h2,
.dark-theme .auth-banner h2,
.dark-theme .collections-intro h1,
.dark-theme .directory-block h2,
.dark-theme .login-intro h1,
.dark-theme .login-panel h2,
.dark-theme .detail-panel h2,
.dark-theme .detail-story-card h2,
.dark-theme .detail-empty h1 {
  color: #ffffff;
}

.dark-theme .eyebrow {
  color: rgba(255, 255, 255, 0.38);
}

.dark-theme .hero-text,
.dark-theme .section-blurb,
.dark-theme .login-support-text {
  color: rgba(240, 240, 240, 0.55);
}

/* ── Hero dark card ── */
.dark-theme .hero-card {
  background: rgba(0, 0, 0, 0.13) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  color: #f0f0f0;
}

.dark-theme .hero-card h2 {
  color: #fff;
}

.dark-theme .hero-card p {
  color: rgba(240, 240, 240, 0.7);
}

/* ── Metrics ── */
.dark-theme .hero-metrics li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .hero-metrics strong {
  color: #fff;
}

.dark-theme .hero-metrics span {
  color: rgba(240, 240, 240, 0.5);
}

/* ── Motion ribbon ── */
.dark-theme .motion-ribbon {
  border-color: rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0.1), rgba(0,0,0,0.25));
}

.dark-theme .motion-ribbon-track span {
  color: #ccc;
}

.dark-theme .motion-ribbon-track span::before {
  background: #888;
}

/* ── Landing showcase ── */
.dark-theme .landing-showcase-card {
  background: rgba(0, 0, 0, 0.11) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .landing-showcase-card h2 {
  color: #fff;
}

.dark-theme .landing-showcase-card p:last-child {
  color: rgba(240, 240, 240, 0.65);
}

.dark-theme .landing-showcase-card-dark {
  background: rgba(0, 0, 0, 0.13) !important;
}

.dark-theme .landing-showcase-card-accent {
  background: rgba(0, 0, 0, 0.11) !important;
}

/* ── Collection panels ── */
.dark-theme .collection-panel,
.dark-theme .craft-card {
  background: rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .collection-panel h3,
.dark-theme .craft-card h3 {
  color: #fff;
}

.dark-theme .panel-index {
  color: rgba(255, 255, 255, 0.2);
}

/* ── Contact banner ── */
.dark-theme .contact-banner {
  background: rgba(0, 0, 0, 0.13) !important;
}

/* ── Collections directory ── */
.dark-theme .directory-block {
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .directory-block-highlight {
  background: rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dark-theme .directory-list a,
.dark-theme .directory-link {
  color: #ccc;
}

.dark-theme .directory-list a:hover {
  color: #fff;
}

.dark-theme .directory-link-primary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ── Catalogue ── */
.dark-theme .catalogue-card {
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.10);
}

.dark-theme .catalogue-card h3 {
  color: #fff;
}

.dark-theme .product-tags li {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}

.dark-theme .product-specs li {
  background: rgba(255, 255, 255, 0.05);
  color: #aaa;
}

.dark-theme .product-price {
  color: #fff;
}

.dark-theme .product-link-row {
  color: #ccc;
}

.dark-theme .empty-state {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ── Search / filter ── */
.dark-theme .search-field span {
  color: #ccc;
}

.dark-theme .search-field input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
}

.dark-theme .search-field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.dark-theme .filter-chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ccc;
}

.dark-theme .filter-chip.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ── Buttons ── */
.dark-theme .button-primary {
  background: #ffffff;
  color: #0d0d0d;
  font-weight: 800;
}

.dark-theme .button-primary:hover {
  background: #e8e8e8;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.dark-theme .button-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f0f0f0;
}

.dark-theme .button-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.dark-theme .button:hover,
.dark-theme .button:focus-visible {
  box-shadow: 0 16px 26px rgba(255, 255, 255, 0.08);
}

/* ── Login fields ── */
.dark-theme .login-field span {
  color: rgba(240, 240, 240, 0.7);
}

.dark-theme .login-field input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
}

.dark-theme .login-field input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.dark-theme .login-field input:focus-visible {
  outline-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.dark-theme .login-company-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.dark-theme .login-company-card h2 {
  color: #fff;
}

.dark-theme .login-company-card p,
.dark-theme .login-company-note {
  color: rgba(240, 240, 240, 0.5);
}

.dark-theme .login-company-card strong {
  color: #ccc;
}

.dark-theme .login-divider {
  color: rgba(255, 255, 255, 0.3);
}

.dark-theme .login-divider::before,
.dark-theme .login-divider::after {
  background: rgba(255, 255, 255, 0.08);
}

.dark-theme .login-meta {
  border-top-color: rgba(255, 255, 255, 0.07);
}

.dark-theme .login-meta p,
.dark-theme .login-meta a {
  color: rgba(240, 240, 240, 0.4);
}

.dark-theme .login-meta a {
  color: rgba(240, 240, 240, 0.75);
}

.dark-theme .login-feedback {
  color: #f87171;
}

.dark-theme .login-feedback.is-success {
  color: #6ee7b7;
}

/* ── Auth banner ── */
.dark-theme .auth-banner {
  background: rgba(0, 0, 0, 0.13) !important;
}

/* ── Product detail ── */
.dark-theme .detail-panel {
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
}

.dark-theme .detail-lead {
  color: rgba(240, 240, 240, 0.55);
}

.dark-theme .detail-price-row {
  background: rgba(255, 255, 255, 0.05);
}

.dark-theme .detail-price-row strong {
  color: #fff;
}

.dark-theme .detail-price-row span {
  color: #999;
}

.dark-theme .detail-feature-list li,
.dark-theme .detail-care-list li {
  background: rgba(255, 255, 255, 0.07);
  color: #ccc;
}

.dark-theme .detail-spec-grid article,
.dark-theme .detail-story-card {
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.07);
  color: #ccc;
}

.dark-theme .detail-spec-grid span {
  color: rgba(255, 255, 255, 0.4);
}

.dark-theme .detail-spec-grid strong {
  color: #e8e8e8;
}

.dark-theme .detail-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .detail-thumb:hover,
.dark-theme .detail-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.28);
}

.dark-theme .detail-thumb-copy small {
  color: #888;
}

.dark-theme .detail-stage-copy {
  background: rgba(0, 0, 0, 0.72);
}

.dark-theme .detail-view-label {
  color: #aaa;
}

.dark-theme .back-link {
  color: #ccc;
}

/* ── Admin tables ── */
.dark-theme .admin-demand-table-wrap,
.dark-theme .admin-product-table-wrap {
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .admin-demand-table th,
.dark-theme .admin-product-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #aaa;
}

.dark-theme .admin-demand-table td,
.dark-theme .admin-product-table td {
  color: #ccc;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-theme .admin-demand-table tbody tr:hover,
.dark-theme .admin-product-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dark-theme .admin-modal-backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dark-theme .admin-modal-content {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .admin-modal-header {
  background: #161616;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .admin-modal-header h3 {
  color: #fff;
}

.dark-theme .demand-field span {
  color: #aaa;
}

.dark-theme .demand-field input,
.dark-theme .demand-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
}

/* ── Footer ── */
.dark-theme .site-footer {
  color: rgba(240, 240, 240, 0.32);
}


/* ════════════════════════════════════════════════
   FLOATING GALLERY — scattered decorative images
   Fixed layer between Vanta bg and page content
   ════════════════════════════════════════════════ */

.floating-gallery {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fg-img {
  position: absolute;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0;
  animation: fgFadeUp 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

/* ── Left side placements ── */
.fg-img:nth-child(1) {
  width: clamp(140px, 12vw, 220px);
  aspect-ratio: 3/4;
  top: 5vh;
  left: 0.6vw;
  animation-delay: 0.1s;
}

.fg-img:nth-child(2) {
  width: clamp(130px, 11vw, 200px);
  aspect-ratio: 4/5;
  top: 44vh;
  left: 0.8vw;
  animation-delay: 0.38s;
}

.fg-img:nth-child(3) {
  width: clamp(120px, 10vw, 185px);
  aspect-ratio: 3/4;
  bottom: 4vh;
  left: 0.5vw;
  animation-delay: 0.62s;
}

/* ── Right side placements ── */
.fg-img:nth-child(4) {
  width: clamp(140px, 12vw, 220px);
  aspect-ratio: 3/4;
  top: 7vh;
  right: 0.6vw;
  animation-delay: 0.22s;
}

.fg-img:nth-child(5) {
  width: clamp(130px, 11vw, 200px);
  aspect-ratio: 4/5;
  top: 40vh;
  right: 0.8vw;
  animation-delay: 0.5s;
}

.fg-img:nth-child(6) {
  width: clamp(120px, 10vw, 185px);
  aspect-ratio: 3/4;
  bottom: 5vh;
  right: 0.5vw;
  animation-delay: 0.74s;
}

@keyframes fgFadeUp {
  0% {
    opacity: 0;
    transform: translateY(70px) scale(0.88);
  }

  60% {
    opacity: 0.28;
  }

  100% {
    opacity: 0.24;
    transform: translateY(0) scale(1);
  }
}

/* ── Vanta canvas — full screen ── */
#vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100% !important;
  height: 100% !important;
}

/* Content sits above both Vanta and floating gallery */
.dark-theme .site-header,
.dark-theme main,
.dark-theme .collections-main,
.dark-theme .login-main,
.dark-theme .detail-main,
.dark-theme .site-footer {
  position: relative;
  z-index: 2;
}

/* Hide floating gallery on narrow screens */
@media (max-width: 1000px) {
  .floating-gallery {
    display: none;
  }
}