:root {
  color-scheme: dark;
  --bg: #12100c;
  --bg-2: #1c1912;
  --ink: #f5efe2;
  --muted: #bfb49d;
  --line: rgba(224, 182, 93, 0.24);
  --gold: #d8ad55;
  --gold-2: #f2d589;
  --green: #68c39f;
  --red: #d76b61;
  --white: #fffaf0;
  --card: rgba(255, 250, 240, 0.07);
  --card-strong: rgba(255, 250, 240, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(25, 68, 73, 0.22), transparent 28%),
    linear-gradient(42deg, rgba(112, 58, 49, 0.22), transparent 36%),
    var(--bg);
  color: var(--ink);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216, 173, 85, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 173, 85, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

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

button,
input,
select {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid transparent;
  background: rgba(18, 16, 12, 0.72);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  border-bottom-color: rgba(216, 173, 85, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong {
  display: block;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.crest {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--gold-2);
}

.crest svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crest .crest-fill {
  fill: rgba(216, 173, 85, 0.84);
  stroke: none;
}

.crest .crest-ring {
  fill: none;
  stroke-width: 4;
}

.crest .crest-ring.thin {
  stroke-width: 1.8;
}

.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  color: var(--muted);
  padding: 10px;
  border-radius: 6px;
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

select,
input {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
}

select:focus,
input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 173, 85, 0.14);
}

.select-label select {
  min-width: 92px;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
}

.segment {
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

.segment[aria-pressed="true"] {
  color: #1c1508;
  background: var(--gold-2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  min-height: calc(100svh - 72px);
  padding: clamp(28px, 5vw, 78px) clamp(18px, 4vw, 54px) 28px;
}

.hero-copy,
.section,
.site-footer {
  position: relative;
}

.logo-lockup {
  width: min(168px, 42vw);
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid rgba(216, 173, 85, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(239, 231, 213, 0.92));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.logo-lockup img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  white-space: pre-line;
}

html[lang="ja"] h1 {
  font-size: clamp(2.4rem, 3.4vw, 4.4rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lede,
.section-heading p,
.waitlist-copy p,
.feature-grid p,
.flow-step p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lede {
  max-width: 660px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #1b1407;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.button.ghost {
  color: var(--ink);
  border-color: rgba(255, 250, 240, 0.2);
  background: rgba(255, 250, 240, 0.06);
}

.button.small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.button.full {
  width: 100%;
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0;
}

.metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
}

.metrics dt {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.34rem);
  font-weight: 900;
}

.metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-media {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 173, 85, 0.2);
  background: #19150f;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.hero-media img {
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 16, 12, 0.46), transparent 40%);
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 12px 14px;
  border: 1px solid rgba(242, 213, 137, 0.3);
  border-radius: 8px;
  background: rgba(18, 16, 12, 0.76);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-weight: 800;
}

.pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(104, 195, 159, 0.16);
}

.notice-band {
  position: relative;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 4vw, 54px);
  border-block: 1px solid rgba(216, 173, 85, 0.18);
  background: rgba(255, 250, 240, 0.055);
}

.notice-band a {
  flex: 0 0 auto;
  max-width: 460px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 250, 240, 0.13);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(18, 16, 12, 0.42);
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 54px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(240px, 1.4fr);
  gap: 12px;
  margin-bottom: 18px;
}

label span,
legend {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.product-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 250, 240, 0.13);
  border-radius: 8px;
  background: var(--card);
}

.product-card[data-status="sold"] {
  opacity: 0.58;
  filter: grayscale(0.55);
}

.product-art {
  position: relative;
  min-height: 170px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(216, 173, 85, 0.18), transparent 42%),
    linear-gradient(45deg, #2b2720, #15130f);
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(242, 213, 137, 0.28);
}

.product-art::before {
  width: 86px;
  height: 118px;
  left: 28px;
  top: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.16), rgba(216, 173, 85, 0.08));
  box-shadow: 28px 22px 0 rgba(12, 10, 7, 0.26);
  transform: rotate(-6deg);
}

.product-art::after {
  width: 54px;
  height: 54px;
  right: 30px;
  bottom: 32px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--gold) 0 18%, transparent 20% 100%);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sku {
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.status {
  border-radius: 999px;
  padding: 5px 9px;
  color: #15120b;
  background: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 900;
}

.status.sold {
  background: #8f8a80;
}

.status.reserved {
  color: #08160f;
  background: var(--green);
}

.product-card h3 {
  margin: 0;
}

.product-detail {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 950;
}

.tier {
  width: 14px;
  height: 14px;
  border-radius: 99px;
  box-shadow: 0 0 0 4px rgba(255, 250, 240, 0.08);
}

.tier.red {
  background: var(--red);
}

.tier.yellow {
  background: var(--gold);
}

.tier.white {
  background: var(--white);
}

.cart-strip {
  position: sticky;
  bottom: 16px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(104, 195, 159, 0.35);
  border-radius: 8px;
  background: rgba(15, 32, 25, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.cart-strip span {
  color: var(--muted);
  margin-left: 8px;
}

.club-section {
  background: rgba(255, 250, 240, 0.035);
  border-block: 1px solid rgba(255, 250, 240, 0.08);
}

.venture-section {
  padding-top: clamp(42px, 7vw, 90px);
}

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

.venture-grid article {
  display: grid;
  align-content: start;
  min-height: 240px;
  padding: 22px;
  border: 1px solid rgba(216, 173, 85, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.09), rgba(255, 250, 240, 0.035));
}

.venture-grid span {
  margin-bottom: 42px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.venture-grid p {
  color: var(--muted);
  line-height: 1.65;
}

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

.feature-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 8px;
  background: var(--card);
}

.feature-mark {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold-2);
  font-weight: 950;
}

.flow-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(216, 173, 85, 0.13), transparent 38%),
    rgba(255, 250, 240, 0.05);
}

.flow-step {
  padding: 26px;
}

.flow-step + .flow-step {
  border-left: 1px solid rgba(255, 250, 240, 0.1);
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #1b1407;
  background: var(--gold-2);
  font-weight: 900;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.compliance-note {
  display: grid;
  gap: 8px;
  max-width: 500px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(216, 173, 85, 0.08);
}

.compliance-note span {
  color: var(--muted);
  line-height: 1.6;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  background: rgba(18, 16, 12, 0.82);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.chips label {
  position: relative;
  cursor: pointer;
}

.chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chips span {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.07);
}

.chips input:checked + span {
  color: #1b1407;
  background: var(--gold-2);
  border-color: transparent;
}

.consents {
  display: grid;
  gap: 10px;
}

.consents label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.consents a {
  margin-left: 6px;
  color: var(--gold-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consents input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-error {
  min-height: 1.3em;
  margin: 0;
  color: #ffb1a9;
  font-weight: 700;
}

.payload-output {
  display: block;
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  padding: 14px;
  border-radius: 8px;
  color: #d9f7e9;
  background: #101812;
  border: 1px solid rgba(104, 195, 159, 0.24);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
}

.legal-section {
  background: rgba(255, 250, 240, 0.035);
  border-top: 1px solid rgba(255, 250, 240, 0.08);
}

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

.legal-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 8px;
  background: rgba(18, 16, 12, 0.48);
}

.legal-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.legal-grid p {
  color: var(--muted);
  line-height: 1.7;
}

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

.site-footer strong {
  display: block;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1120px) {
  .hero,
  .waitlist-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .feature-grid,
  .venture-grid,
  .legal-grid,
  .flow-card {
    grid-template-columns: 1fr;
  }

  .flow-step + .flow-step {
    border-left: 0;
    border-top: 1px solid rgba(255, 250, 240, 0.1);
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .metrics,
  .toolbar,
  .form-row {
    grid-template-columns: 1fr;
  }

  .toolbar {
    display: grid;
  }

  .metrics {
    display: grid;
  }

  .hero-media,
  .hero-media picture,
  .hero-media img {
    min-height: 300px;
  }

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

  .cart-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand small,
  .nav-links a {
    font-size: 0.8rem;
  }

  .crest {
    width: 36px;
    height: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  h1 {
    font-size: 2.45rem;
  }
}
