:root {
  --ink: #25211b;
  --muted: #736b60;
  --paper: #f6efe0;
  --porcelain: #fffaf0;
  --line: #dfcfaa;
  --gold: #bd9650;
  --pale-gold: #f1dfae;
  --deep-gold: #8e6d36;
  --green: #526c61;
  --rose: #b48078;
  --shadow: 0 24px 70px rgba(90, 70, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 250, 235, 0.9), transparent 32rem),
    linear-gradient(135deg, #fbf4e4 0%, #f3e6c8 48%, #fffaf0 100%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(32, 36, 38, 0.1);
  background: rgba(246, 239, 224, 0.88);
  backdrop-filter: blur(16px);
}

.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 0;
  color: var(--ink);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.78);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
}

.hero::before,
.page-hero::before,
.product-detail::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(189, 150, 80, 0.42);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  filter: blur(0.1px);
}

.hero::before {
  right: -18vw;
  bottom: -32vw;
  width: min(78vw, 940px);
  aspect-ratio: 1;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(252, 246, 232, 0.96), rgba(248, 236, 205, 0.55) 48%, rgba(247, 234, 199, 0.06));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 400;
  color: #2c251b;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
}

h3 {
  font-size: 21px;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.intro-section > p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: var(--porcelain);
  background: linear-gradient(135deg, #2c251b, #604d2b);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.65);
}

.section {
  padding: clamp(48px, 8vw, 104px) clamp(20px, 4vw, 56px);
  position: relative;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(90, 70, 38, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  background: var(--pale-gold);
}

.category-card span {
  font-size: 22px;
  font-weight: 700;
}

.category-card small {
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  position: relative;
  padding: clamp(54px, 10vw, 116px) clamp(20px, 4vw, 56px) clamp(32px, 6vw, 72px);
  overflow: hidden;
}

.page-hero::before {
  top: -24vw;
  right: -16vw;
  width: min(70vw, 760px);
  aspect-ratio: 1;
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.split-hero img {
  width: 100%;
  max-height: 560px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.compact-hero {
  max-width: 900px;
}

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

.value-grid article {
  padding: 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.72), rgba(255, 250, 240, 0.38));
}

.value-grid span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.value-grid p,
.category-row p,
.product-copy p {
  color: var(--muted);
}

.category-list {
  display: grid;
  gap: 16px;
  padding-top: 12px;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
}

.category-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.text-link {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 5px;
}

.product-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(28px, 6vw, 72px) clamp(20px, 4vw, 56px);
  overflow: hidden;
}

.product-detail::before {
  left: -30vw;
  top: 8vh;
  width: min(72vw, 800px);
  aspect-ratio: 1;
}

.product-gallery img {
  width: 100%;
  max-height: 720px;
  border-radius: 8px;
  object-fit: contain;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(241, 223, 174, 0.46));
  box-shadow: var(--shadow);
}

.product-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 76px);
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-size: 14px;
}

.spec-list dd {
  margin: 0;
  font-weight: 700;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.selector-grid a {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 250, 240, 0.72);
  text-decoration: none;
  font-weight: 700;
}

.selector-grid a.is-active {
  color: var(--porcelain);
  background: linear-gradient(135deg, var(--green), var(--deep-gold));
  border-color: var(--deep-gold);
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.product-card-mini {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card-mini.is-active {
  border-color: var(--deep-gold);
  box-shadow: 0 0 0 1px rgba(142, 109, 54, 0.18), var(--shadow);
}

.mini-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #fffaf0, #f0dfb8);
}

.mini-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-copy {
  display: grid;
  gap: 4px;
  align-content: start;
}

.mini-copy strong {
  font-size: 15px;
  line-height: 1.45;
}

.mini-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 250, 240, 0.36);
}

.site-footer span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(252, 246, 232, 0.92), rgba(248, 236, 205, 0.62) 55%, rgba(247, 234, 199, 0.22));
  }

  .intro-section,
  .split-hero,
  .product-detail {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 660px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 72px);
  }

  .product-detail {
    gap: 24px;
    padding-top: 28px;
  }

  .product-gallery img {
    max-height: 52vh;
  }

  .product-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .button {
    width: 100%;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .category-grid,
  .value-grid,
  .selector-grid,
  .product-card-grid,
  .category-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
