:root {
  --bg: #f6f3ef;
  --paper: #fffdfb;
  --ink: #1e1b18;
  --muted: #6f685f;
  --line: #e5ddd2;
  --accent: #a36b48;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(28, 23, 18, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Newsreader, Georgia, serif;
  line-height: 1.15;
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; }
a { color: inherit; }

.container { width: min(1080px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, white 10%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  font-family: Newsreader, serif;
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a[aria-current="page"] { color: var(--ink); }

.motion-banner {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f3eee7 0%, #f9f6f2 50%, #f3eee7 100%);
}

.banner-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 26s linear infinite;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.5rem 0.95rem;
  line-height: 1.2;
  color: #5a4d41;
  font-size: 0.9rem;
  white-space: nowrap;
}

.banner-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  opacity: 0.65;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero { padding: 3.5rem 0 2rem; }
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.06rem, 2.3vw, 1.2rem);
  color: #3d352d;
  max-width: 58ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.2rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 500;
}

.link { color: var(--accent); text-decoration: none; font-weight: 500; align-self: center; }

.hero-vessel {
  min-height: 240px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.vessel-shape {
  width: min(78vw, 370px);
  aspect-ratio: 1 / 1;
  border-radius: 58% 42% 50% 50% / 56% 55% 45% 44%;
  background: radial-gradient(circle at 30% 30%, #d8c4b0, #b48666 55%, #8e5f42 100%);
  box-shadow: var(--shadow);
  transition: transform 220ms ease-out;
}

.orbital-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #e9d6c5 65%, #c59a7a);
  box-shadow: 0 0 18px rgba(163, 107, 72, 0.45);
  opacity: 0.75;
}

.spark-1 { top: 20%; left: 18%; animation: orbitA 7s ease-in-out infinite; }
.spark-2 { top: 62%; right: 18%; animation: orbitB 9s ease-in-out infinite; }
.spark-3 { top: 30%; right: 10%; animation: orbitC 8s ease-in-out infinite; }

@keyframes orbitA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -10px) scale(1.18); }
}
@keyframes orbitB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 12px) scale(0.9); }
}
@keyframes orbitC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6px, -14px) scale(1.12); }
}

.section { padding: 2.5rem 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.dynamic-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.live-note {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.split { display: grid; gap: 1rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.card ul { margin: 0.5rem 0 0; padding-left: 1rem; }
.cards-grid { display: grid; gap: 1rem; }
.list-grid .card h3 a { text-decoration: none; }
.list-grid .card p { margin: 0; color: #4d463f; }

.product-toolbar {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.33rem 0.7rem;
  background: #fff;
  color: #5b5046;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.chip.active {
  background: #efe3d8;
  border-color: #d6bca7;
  color: #3f3328;
}

.sort-wrap {
  display: inline-grid;
  gap: 0.35rem;
  width: fit-content;
  font-size: 0.92rem;
  color: #4f453d;
}

.sort-wrap select {
  min-width: 210px;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.result-count {
  margin: 0.8rem 0 0;
  color: #5f554c;
  font-size: 0.92rem;
}

.products-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.8rem;
}

.product-card.is-hidden {
  display: none;
}

.product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
}

.story-link {
  display: block;
  text-decoration: none;
}

.product-photo-wrap {
  padding: 0;
}

.product-photo {
  width: min(100%, 250px);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 18px rgba(39, 31, 24, 0.12));
}

/* Icon-like object silhouettes (transparent background) */
.photo-shape-a { transform: rotate(-1.4deg); }
.photo-shape-b { transform: rotate(1deg); }
.photo-shape-c { transform: rotate(-0.8deg); }
.photo-shape-d { transform: rotate(1.2deg); }
.photo-shape-e { transform: rotate(-1deg); }
.photo-shape-f { transform: rotate(0.7deg); }

.product-meta {
  padding: 0.8rem 0.2rem 0.6rem;
}

.product-meta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.product-copy {
  margin: 0;
  color: #4e463e;
}

.product-row {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.product-price {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-tag {
  border: 1px solid var(--line);
  background: #f8f3ed;
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.22rem 0.55rem;
  color: #5d5248;
}

.story-hero {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.story-image {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  max-width: 360px;
  justify-self: center;
  height: auto;
  object-fit: contain;
  display: block;
}

.story-copy {
  max-width: 64ch;
}

.story-block {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.story-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  color: #7f756c;
  margin-bottom: 0.45rem;
}

.dynamic-grid {
  display: grid;
  gap: 1rem;
}

.swatches {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}

.swatch.active {
  box-shadow: 0 0 0 2px var(--accent);
}

.swatch[data-glaze='earth'] { background: linear-gradient(135deg, #c89a79, #8e5f42); }
.swatch[data-glaze='mist'] { background: linear-gradient(135deg, #ded8d0, #b0a89f); }
.swatch[data-glaze='forest'] { background: linear-gradient(135deg, #73907e, #3f5c4f); }
.swatch[data-glaze='night'] { background: linear-gradient(135deg, #3a3f4a, #161922); }

.palette-controls {
  display: grid;
  gap: 0.8rem;
}

.palette-controls label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.palette-controls select {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.palette-output {
  margin-top: 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: #f7f2ec;
  border: 1px solid var(--line);
  font-weight: 500;
}

.order-status-section {
  padding-top: 0;
}

.order-status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6aa67d;
  box-shadow: 0 0 0 4px rgba(106, 166, 125, 0.18);
}

.status-dot.yellow {
  background: #c5a34f;
  box-shadow: 0 0 0 4px rgba(197, 163, 79, 0.18);
}

.status-dot.red {
  background: #be5b54;
  box-shadow: 0 0 0 4px rgba(190, 91, 84, 0.18);
}

.status-text {
  margin: 0;
  font-weight: 600;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.exp-canvas {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaf8 0%, #f8f6f2 100%);
}

.exp-layout {
  position: relative;
  z-index: 2;
  min-height: 68vh;
}

.exp-lead { max-width: 56ch; }

.exp-corner {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.exp-corner-top {
  top: -90px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 0 0 0 65%;
  background:
    radial-gradient(circle at 58% 44%, rgba(131, 164, 138, 0.34) 0 24%, transparent 25%),
    radial-gradient(circle at 70% 54%, rgba(189, 173, 141, 0.22) 0 34%, transparent 35%),
    repeating-radial-gradient(circle at 76% 64%, rgba(124, 113, 95, 0.11) 0 2px, transparent 2px 13px),
    linear-gradient(140deg, rgba(246, 242, 235, 0.95), rgba(229, 238, 228, 0.65));
  filter: blur(0.2px);
}

.exp-corner-bottom {
  left: -90px;
  bottom: -110px;
  width: 460px;
  height: 350px;
  border-radius: 70% 30% 0 0;
  background:
    repeating-linear-gradient(12deg, rgba(136, 125, 108, 0.14) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 35% 45%, rgba(144, 173, 152, 0.23) 0 28%, transparent 29%),
    linear-gradient(165deg, rgba(243, 239, 233, 0.92), rgba(225, 236, 223, 0.55));
}

.exp-panel {
  margin-top: 1.2rem;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(4px);
  border: 1px solid #e6ddd3;
  border-radius: 16px;
  padding: 1rem 1.05rem;
}

.exp-stones {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.7rem;
}

.exp-stones span {
  width: 44px;
  height: 20px;
  border-radius: 50% 50% 48% 52%;
  background: linear-gradient(180deg, #d7d1c7, #b9ada0);
  opacity: 0.9;
}

.site-footer { padding: 1.2rem 0 2rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .banner-track,
  .orbital-spark { animation: none !important; }

  .reveal,
  .reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .split { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dynamic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-toolbar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-hero { grid-template-columns: 1fr 1fr; }
}
