:root {
  color-scheme: dark;
  --black: #050403;
  --carbon: #0b0a08;
  --copper: #c87538;
  --copper-light: #e3a15f;
  --ivory: #ded7ce;
  --ash: #aaa49d;
  --line: rgba(255, 255, 255, 0.11);
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 117, 56, 0.11), transparent 34rem),
    var(--black);
  color: var(--ivory);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

body::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  border: 1px solid rgba(200, 117, 56, 0.08);
  pointer-events: none;
  content: "";
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.store-header {
  position: relative;
  min-height: 650px;
  border-bottom: 1px solid rgba(200, 117, 56, 0.16);
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.2), var(--black)),
    url("/assets/rogolp.jpg") center 38% / cover no-repeat;
}

.store-header::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 4, 3, 0.92), rgba(5, 4, 3, 0.58), rgba(5, 4, 3, 0.88));
  content: "";
}

.store-nav,
.store-hero {
  position: relative;
  z-index: 1;
}

.store-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
}

.store-logo {
  grid-column: 2;
  width: 112px;
  height: 72px;
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 2px rgba(200, 117, 56, 0.45))
    drop-shadow(0 0 8px rgba(200, 117, 56, 0.18));
}

.back-link {
  display: inline-flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: rgba(222, 215, 206, 0.65);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 220ms ease;
}

.back-link:hover {
  color: var(--copper-light);
}

.store-hero {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 0 130px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--copper-light);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.34em;
  line-height: 1.7;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.2;
}

.store-hero > p:last-child {
  margin: 34px 0 0;
  color: var(--ash);
  font-size: 16px;
  line-height: 2;
}

.category-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(5, 4, 3, 0.92);
  backdrop-filter: blur(16px);
}

.category-nav a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  color: rgba(222, 215, 206, 0.58);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.category-nav a + a {
  border-left: 1px solid var(--line);
}

.category-nav a:hover {
  background: rgba(200, 117, 56, 0.08);
  color: var(--copper-light);
}

.collection {
  padding: 140px 0 30px;
}

.section-heading {
  text-align: center;
}

.product-grid {
  display: grid;
  gap: 28px;
  margin-top: 70px;
}

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

.product-grid--single {
  max-width: 570px;
  margin-inline: auto;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(200, 117, 56, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 38px 90px rgba(0, 0, 0, 0.28);
  transition:
    border-color 320ms ease,
    transform 320ms ease,
    box-shadow 320ms ease;
}

.product-card:hover {
  border-color: rgba(227, 161, 95, 0.58);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.07),
    0 45px 100px rgba(0, 0, 0, 0.38),
    0 0 35px rgba(200, 117, 56, 0.08);
  transform: translateY(-6px);
}

.product-card__visual {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 55%, rgba(200, 117, 56, 0.18), transparent 17rem),
    rgba(0, 0, 0, 0.26);
}

.product-card__visual::after {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  pointer-events: none;
  content: "";
}

.product-card__visual > span {
  position: absolute;
  z-index: 2;
  top: 36px;
  left: 38px;
  color: var(--copper-light);
  font-family: Georgia, serif;
  font-size: 26px;
}

.product-card__visual > img {
  width: min(58%, 275px);
  filter: drop-shadow(0 30px 60px rgba(200, 117, 56, 0.22));
  transition: transform 500ms ease;
}

.product-card:hover .product-card__visual > img {
  transform: scale(1.035);
}

.product-card__visual--compact > img {
  width: min(47%, 225px);
}

.product-card__body {
  padding: 34px;
}

.product-card__category {
  margin: 0 0 15px;
  color: var(--copper-light);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 29px;
  line-height: 1.35;
}

.product-card ul {
  display: grid;
  gap: 10px;
  padding: 26px 0 28px;
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font-size: 14px;
  line-height: 1.7;
  list-style: none;
}

.product-card li::before {
  margin-right: 10px;
  color: var(--copper);
  content: "—";
}

.product-card__purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.price {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, serif;
  font-size: 31px;
}

.price span {
  margin-left: 4px;
  color: var(--ash);
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
}

.purchase-button {
  display: inline-flex;
  min-width: 150px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--copper);
  border-radius: 999px;
  background: var(--copper);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.purchase-button:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
}

.product-card__visual--keyholder {
  min-height: 430px;
}

.keyholder {
  display: grid;
  justify-items: center;
}

.keyholder > i {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border: 5px solid #ad6738;
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.22);
}

.keyholder > i::after {
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 8px;
  height: 38px;
  background: linear-gradient(#c87538, #7f4729);
  content: "";
  transform: translateX(-50%);
}

.keyholder > div {
  position: relative;
  z-index: 2;
  display: grid;
  width: 170px;
  aspect-ratio: 0.67;
  margin-top: 30px;
  place-items: center;
  border: 2px solid #b46b3c;
  border-radius: 16px;
  background: linear-gradient(145deg, #b96d3d, #6e3c24);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.12),
    0 28px 50px rgba(0, 0, 0, 0.38);
}

.keyholder img {
  width: 130px;
}

.product-card__visual > small {
  position: absolute;
  bottom: 32px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.coming-soon {
  display: grid;
  min-height: 360px;
  margin-top: 70px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(200, 117, 56, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(255, 255, 255, 0.012);
  background-size: 62px 62px;
}

.coming-soon img {
  width: 100px;
  opacity: 0.58;
}

.coming-soon p {
  margin: 25px 0 8px;
  color: rgba(222, 215, 206, 0.38);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.coming-soon strong {
  color: var(--copper-light);
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.point-back {
  margin-top: 150px;
  padding: 130px 0;
  border-top: 1px solid rgba(200, 117, 56, 0.16);
  border-bottom: 1px solid rgba(200, 117, 56, 0.16);
  background:
    radial-gradient(circle at 78% 50%, rgba(200, 117, 56, 0.12), transparent 25rem),
    #080705;
}

.point-back__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.point-back__copy {
  max-width: 500px;
  margin: 30px 0 0;
  color: var(--ash);
  font-size: 15px;
  line-height: 2;
}

.point-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(200, 117, 56, 0.25);
}

.point-examples article {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  padding: 30px;
  text-align: center;
}

.point-examples article + article {
  border-left: 1px solid var(--line);
}

.point-examples span {
  color: var(--copper-light);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.point-examples p {
  margin: 28px 0 14px;
  color: var(--ivory);
  font-family: Georgia, serif;
  font-size: 28px;
}

.point-examples i {
  color: rgba(222, 215, 206, 0.34);
  font-style: normal;
}

.point-examples strong {
  margin-top: 15px;
  color: var(--copper-light);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}

.store-footer {
  display: grid;
  justify-items: center;
  padding: 90px 20px 35px;
  background: #030302;
}

.store-footer img {
  width: 160px;
  opacity: 0.8;
}

.store-footer p {
  margin: 50px 0 0;
  color: rgba(222, 215, 206, 0.28);
  font-size: 10px;
}

.store-notice {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  padding: 17px 22px;
  margin-left: auto;
  border: 1px solid rgba(200, 117, 56, 0.55);
  background: rgba(11, 10, 8, 0.96);
  color: var(--ivory);
  font-size: 13px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 850px) {
  .product-grid--ingot,
  .point-back__inner {
    grid-template-columns: 1fr;
  }

  .point-back__inner {
    gap: 65px;
  }
}

@media (max-width: 600px) {
  .store-header {
    min-height: 590px;
  }

  .store-nav {
    min-height: 88px;
  }

  .store-logo {
    width: 92px;
    height: 62px;
  }

  .back-link {
    font-size: 10px;
  }

  .store-hero {
    min-height: 490px;
    padding: 60px 0 100px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .store-hero > p:last-child {
    font-size: 14px;
  }

  .category-nav {
    width: 100%;
  }

  .category-nav a {
    min-height: 58px;
    font-size: 9px;
  }

  .collection {
    padding-top: 105px;
  }

  .product-grid,
  .coming-soon {
    margin-top: 52px;
  }

  .product-card__visual {
    min-height: 390px;
  }

  .product-card__body {
    padding: 27px 22px;
  }

  .product-card h3 {
    font-size: 25px;
  }

  .product-card__purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-button {
    width: 100%;
    min-height: 56px;
  }

  .product-card__visual--keyholder {
    min-height: 390px;
  }

  .point-back {
    margin-top: 110px;
    padding: 105px 0;
  }

  .point-examples {
    grid-template-columns: 1fr;
  }

  .point-examples article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

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

  .product-card,
  .product-card__visual > img,
  .purchase-button {
    transition: none;
  }
}
