:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --card: rgba(255, 255, 255, 0.82);
  --text: #1b1b1f;
  --muted: #6c6673;
  --line: rgba(30, 27, 23, 0.12);
  --accent: #b47a2b;
  --dark: #111114;
  --shadow: 0 24px 70px rgba(35, 28, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 122, 43, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(94, 104, 116, 0.16), transparent 26rem),
    var(--bg);
}

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

.site-header,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111, #3d3d44);
  color: white;
  font-weight: 900;
  letter-spacing: -0.12em;
  box-shadow: var(--shadow);
}

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

.brand small,
.eyebrow,
.hero p,
.page-hero p,
.product-card p,
.footer p,
dd,
.payment-stub span {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 10px;
}

.nav a,
.button,
.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 650;
}

.button,
.filter {
  cursor: pointer;
}

.button.primary,
.filter.active {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--dark), #3b3329);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.button.small {
  padding: 9px 14px;
}

.button.full {
  width: 100%;
  border-radius: 16px;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px 0 24px;
}

.hero-copy,
.page-hero,
.notice,
.contact-card,
.product-card,
.dialog-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.page-hero {
  border-radius: 36px;
  padding: clamp(28px, 5vw, 58px);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero p,
.page-hero p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(135deg, #1b1b1f, #55422a);
  box-shadow: var(--shadow);
}

.orb,
.sample-ring,
.sample-pendant {
  position: absolute;
  border-radius: 999px;
}

.orb-1 {
  inset: 44px auto auto 54px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, #d7a858, transparent 70%);
}

.orb-2 {
  right: 34px;
  bottom: 20px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #c9d0d8, transparent 70%);
}

.sample-ring {
  width: 190px;
  height: 190px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-24deg);
  border: 34px solid rgba(230, 177, 82, 0.88);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.4), 0 28px 80px rgba(0, 0, 0, 0.4);
}

.sample-pendant {
  width: 92px;
  height: 138px;
  right: 70px;
  bottom: 76px;
  background: linear-gradient(145deg, #f1f3f4, #7b828b);
  transform: rotate(18deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.notice {
  border-radius: 22px;
  padding: 18px 22px;
  margin: 8px 0 54px;
}

.section {
  padding-bottom: 70px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.05em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.product-card {
  overflow: hidden;
  border-radius: 28px;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.95), transparent 24%),
    radial-gradient(circle at 78% 82%, rgba(0, 0, 0, 0.08), transparent 28%),
    linear-gradient(160deg, #f8f4ef 0%, #ebe1d3 100%);
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.product-title-row,
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-card h3 {
  margin: 0;
  font-size: 22px;
}

.material-badge {
  flex: none;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f1ede6;
  color: #5e5141;
  font-size: 12px;
  font-weight: 800;
}

.product-card p {
  min-height: 48px;
  line-height: 1.5;
}

.product-footer strong {
  font-size: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

.page-hero {
  margin: 42px auto 22px;
  width: min(1180px, calc(100% - 32px));
}

.buy-dialog {
  width: min(520px, calc(100% - 26px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.buy-dialog::backdrop {
  background: rgba(16, 14, 12, 0.54);
  backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 14px;
  border-radius: 28px;
  padding: 28px;
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.dialog-card h2 {
  margin: 0;
}

.dialog-subtitle {
  margin: -6px 0 6px;
  color: var(--muted);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.78);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.payment-stub {
  display: grid;
  gap: 4px;
  border: 1px dashed rgba(180, 122, 43, 0.5);
  border-radius: 16px;
  padding: 14px;
  background: rgba(180, 122, 43, 0.08);
}

.form-result {
  min-height: 20px;
  margin: 0;
  color: var(--accent);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .site-header,
  .footer,
  .section-head,
  .product-title-row,
  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nav,
  .hero-actions,
  .filters {
    width: 100%;
  }

  .nav a,
  .button,
  .filter {
    text-align: center;
  }

  .hero-card {
    min-height: 300px;
  }

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