*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0E0E10;
  --bg-elev: #141416;
  --gold: #C8A96E;
  --gold-soft: rgba(200, 169, 110, 0.35);
  --text: #EEEAE3;
  --muted: #A8A49C;
  --line: rgba(238, 234, 227, 0.08);
  --line-gold: rgba(200, 169, 110, 0.28);
  --nav-h: 4.25rem;
  --space: 1.25rem;
  --max: 70rem;
  --psa: #C8102E;
  --cgc: #1B4F9C;
  --bgs-gold: #D4AF37;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

html[data-lang="th"] body {
  font-family: "Sarabun", "Outfit", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.85;
}

.lang-th { display: none; }
html[data-lang="th"] .lang-en { display: none; }
html[data-lang="th"] .lang-th { display: revert; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  background: var(--gold);
  color: var(--bg);
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.skip:focus { top: 0.75rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.85rem var(--space);
  border-bottom: 0.5px solid var(--line);
  background: rgba(14, 14, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.logo span { color: var(--gold); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.25rem;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  display: inline-flex;
  border: 0.5px solid var(--line-gold);
}
.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.35rem 0.7rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.lang-btn[aria-pressed="true"],
.lang-btn[aria-current="page"] {
  background: var(--gold);
  color: var(--bg);
}
.lang-btn:not([aria-pressed="true"]):not([aria-current="page"]):hover { color: var(--text); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding: 3.5rem var(--space) 4.5rem;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
  text-align: center;
}

.hero-copy { max-width: 36rem; }

.hero-line {
  width: 1px;
  height: 2.75rem;
  margin: 0 auto 2rem;
  background: var(--gold);
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.6rem, 12vw, 6.5rem);
  font-weight: 200;
  letter-spacing: 0.18em;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-title .dot {
  color: var(--gold);
  letter-spacing: 0;
}

.hero-sub {
  max-width: 28rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.hero-cta { margin-top: 2.5rem; }

.hero-stack {
  position: relative;
  width: min(17.5rem, 80vw);
  height: 15.5rem;
  flex-shrink: 0;
}

.hero-card {
  position: absolute;
  width: 8.6rem;
  height: auto;
  aspect-ratio: 63 / 88;
  object-fit: cover;
  border-radius: 0.35rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  background: #111;
}

.hero-card-1 {
  left: 4.15rem;
  top: 0.15rem;
  z-index: 3;
  transform: rotate(5deg);
}
.hero-card-2 {
  left: 0.15rem;
  top: 1.35rem;
  z-index: 2;
  transform: rotate(-11deg);
}
.hero-card-3 {
  left: 8.2rem;
  top: 1.85rem;
  z-index: 1;
  transform: rotate(16deg);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.section {
  padding: 4.5rem var(--space);
  border-top: 0.5px solid var(--line);
}
.section-inner { max-width: var(--max); margin: 0 auto; }

.sec-label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.how-steps {
  list-style: none;
  display: grid;
  gap: 1.75rem;
}

.how-steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
}

.how-num {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-top: 0.2rem;
}

.how-title {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.how-body {
  color: var(--muted);
  font-size: 0.95rem;
}

.vault-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.vault-head .sec-label { margin-bottom: 0; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  appearance: none;
  background: transparent;
  border: 0.5px solid var(--line-gold);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.chip:not([aria-pressed="true"]):hover { color: var(--text); }

.vault-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 16rem;
  padding: 3.5rem 1.5rem;
  border: 0.5px dashed var(--line-gold);
  background: radial-gradient(ellipse at center, rgba(200, 169, 110, 0.05), transparent 62%);
  text-align: center;
  grid-column: 1 / -1;
}

.vault-empty svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.vault-empty p {
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.vault-empty .hint {
  max-width: 28rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.95rem;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.55rem;
  justify-content: center;
  align-items: stretch;
}

.vault-empty {
  grid-column: 1 / -1;
}

.vault-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.vault-image {
  position: relative;
  aspect-ratio: 63 / 88;
  background: #000;
  overflow: hidden;
  border-bottom: 0.5px solid var(--line);
}

.card-zoom {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.vault-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.vault-badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  padding: 0.28rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.vault-badge-psa {
  background: var(--psa);
  color: #fff;
  border: 0.5px solid #a50d24;
}

.vault-badge-cgc {
  background: var(--cgc);
  color: #fff;
  border: 0.5px solid #143a76;
}

.vault-badge-bgs {
  background: #111;
  color: var(--bgs-gold);
  border: 0.5px solid var(--bgs-gold);
}

.vault-info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  gap: 0.28rem;
  padding: 0.6rem 0.55rem 0.7rem;
  text-align: left;
}

.card-name {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  min-height: calc(2 * 1.35em);
  min-height: 2lh;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

html[data-lang="th"] .card-name {
  font-size: 0.8rem;
  line-height: 1.45;
  min-height: calc(2 * 1.45em);
  min-height: 2lh;
  overflow-wrap: anywhere;
}

.card-meta {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-small {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.35rem 0.45rem;
  border: 0.5px solid var(--line-gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 40px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: background 0.2s ease, color 0.2s ease;
}
html[data-lang="th"] .btn-small {
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  text-transform: none;
}
.btn-small:hover {
  background: var(--gold);
  color: var(--bg);
}

.vault-info > .btn-small {
  margin-top: auto;
}

#articles[hidden] { display: none !important; }

/* Guides list on the home page */
.guide-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.guide-item a {
  display: block;
  padding: 0.9rem 1rem;
  border: 0.5px solid var(--line);
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}
.guide-item a:hover { border-color: var(--gold); }
.guide-item-title {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}
.guide-item-blurb {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Related guide on product pages */
.product-guides {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 0.5px solid var(--line);
}
.product-guides-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}
html[data-lang="th"] .product-guides-label {
  letter-spacing: 0.08em;
  text-transform: none;
}
.product-guides p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.product-guides a { color: var(--gold); }

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-copy {
  color: var(--muted);
  max-width: 38rem;
}
.about-copy p + p { margin-top: 1rem; }

.about-facts {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.about-facts li {
  border-top: 0.5px solid var(--line);
  padding-top: 1rem;
}
.about-facts strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.about-facts strong.lang-th { display: none; }
html[data-lang="th"] .about-facts strong.lang-en { display: none; }
html[data-lang="th"] .about-facts strong.lang-th { display: block; }
.about-facts span { color: var(--muted); }

.site-footer {
  border-top: 0.5px solid var(--line);
  padding: 2.5rem var(--space) 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
.disclosure { max-width: 40rem; line-height: 1.7; }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-meta .gold { color: var(--gold); }

.lightbox {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 0.5px solid var(--line-gold);
  background: var(--bg);
  color: var(--text);
}
.lightbox::backdrop {
  background: rgba(8, 8, 9, 0.84);
}
.lightbox-close {
  appearance: none;
  display: block;
  margin-left: auto;
  margin-bottom: 0.75rem;
  background: transparent;
  border: 0.5px solid var(--line-gold);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  min-height: 2.75rem;
}
.lightbox-close:hover { color: var(--text); }
.lightbox img {
  width: 100%;
  height: auto;
  max-height: 72svh;
  object-fit: contain;
  margin: 0 auto;
}
.lightbox-caption {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vault-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
  }
  .vault-card:hover .vault-image img {
    transform: scale(1.045);
  }
}

@media (min-width: 700px) {
  :root { --space: 3rem; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.85rem 1rem; }
  .vault-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 0.75rem;
  }
  .about-grid { grid-template-columns: 1.4fr 0.8fr; gap: 4rem; align-items: start; }
  .footer-inner {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
  .footer-meta { text-align: right; align-items: flex-end; }
  .section { padding: 6rem var(--space); }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .how-steps li { grid-template-columns: 1fr; gap: 0.75rem; }
  .vault-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .vault-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 0.85rem;
  }
  .vault-info { padding: 0.7rem 0.65rem 0.8rem; }
  .card-name { font-size: 0.82rem; }
}

@media (min-width: 960px) {
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }
  .hero-copy { max-width: 32rem; }
  .hero-line { margin-left: 0; }
  .hero-sub { margin-left: 0; }
  .hero-stack {
    width: 22.5rem;
    height: 20.5rem;
  }
  .hero-card { width: 11.4rem; }
  .hero-card-1 { left: 5.4rem; top: 0.2rem; }
  .hero-card-2 { left: 0.2rem; top: 2rem; }
  .hero-card-3 { left: 10.6rem; top: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vault-card:hover { transform: none; }
  .vault-card:hover .vault-image img { transform: none; }
}

.card-note {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
  max-width: 100%;
  margin-top: 0.1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.section-lead {
  max-width: 38rem;
  margin: -0.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

#on-request[hidden],
.nav-on-request[hidden],
#sealed[hidden],
.nav-sealed[hidden],
#inquiry-success[hidden] {
  display: none !important;
}

button.btn-small {
  appearance: none;
  font-family: inherit;
  background: transparent;
  cursor: pointer;
}
button.btn-small:disabled {
  opacity: 0.55;
  cursor: wait;
}

.inquiry-dialog {
  width: min(28rem, calc(100vw - 1.5rem));
  max-height: calc(100svh - 1.5rem);
  overflow: auto;
  margin: auto;
  padding: 1.25rem 1.25rem 1.6rem;
  border: 0.5px solid var(--line-gold);
  background: var(--bg);
  color: var(--text);
}
.inquiry-dialog::backdrop {
  background: rgba(8, 8, 9, 0.84);
}
.inquiry-title {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.inquiry-card {
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.inquiry-lead {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}
#inquiry-form {
  display: grid;
  gap: 0.9rem;
}
.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.field .optional,
.field .req {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  font-size: 0.85em;
}
.field .req { color: var(--gold); }
.field input,
.field textarea {
  width: 100%;
  background: #111;
  border: 0.5px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.7rem 0.8rem;
  min-height: 2.75rem;
  border-radius: 0;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}
.nonbinding {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: -0.35rem;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.2em;
  font-size: 0.88rem;
  color: #e3b4b4;
}
.form-status.is-ok { color: var(--gold); }
.inquiry-actions { margin-top: 0.25rem; }
.inquiry-success p {
  color: var(--text);
  font-size: 0.98rem;
}

/* Sealed packs and boxes are 4:3 catalog shots, not slab portraits. */
.vault-card-sealed .vault-image {
  aspect-ratio: 4 / 3;
}

.sealed-group-label {
  grid-column: 1 / -1;
  margin: 1.35rem 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.sealed-group-label:first-child {
  margin-top: 0;
}
.sealed-cat-label {
  grid-column: 1 / -1;
  margin: 0.7rem 0 0.1rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sealed-group-label + .sealed-cat-label {
  margin-top: 0.45rem;
}
.card-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 10rem;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in srgb, var(--muted) 12%, transparent);
}
.product-image .card-no-image {
  min-height: 18rem;
}

.product-pop {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-chase {
  margin: 1.35rem 0 0;
  max-width: 40rem;
}
.chase-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
html[data-lang="th"] .chase-label {
  letter-spacing: 0.08em;
  text-transform: none;
}
.chase-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chase-list li + li {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 0.5px solid var(--line-gold);
}
.chase-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}
a.chase-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
a.chase-link:hover {
  color: var(--text);
}
.chase-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
html[data-lang="th"] .chase-meta {
  letter-spacing: 0;
}
.chase-hook {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}


/* Product-page links on home and related grids */
.card-name a {
  color: inherit;
  text-decoration: none;
}
.card-name a:hover { color: var(--gold); }
.card-media-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* New releases list on the home page.
   1 col on narrow phones, 2 cols from 700px, 4 equal cols from 1100px
   (capped so a 4-item set never leaves a leftover card on its own row).
   Cards stretch to equal height; the date sits at the bottom. */
.release-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.release-item {
  display: flex;
  min-height: 0;
}
.release-item a {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0.5px solid var(--line);
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}
.release-item a:hover { border-color: var(--gold); }
.release-item-title {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}
.release-item-date {
  display: block;
  margin-top: auto;
  padding-top: 0.25rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#releases[hidden] { display: none !important; }

/* Product pages */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[data-lang="th"] .crumbs {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.8rem;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--text); }
.crumbs-sep { color: var(--line-gold); }
.crumbs [aria-current="page"] {
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-section,
.article-section {
  padding: 1.75rem var(--space) 3.5rem;
}
.product-inner,
.article-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.product-stage {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}
.product-image {
  position: relative;
  background: #000;
  border: 0.5px solid var(--line);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: auto;
  max-height: 70svh;
  object-fit: contain;
  margin: 0 auto;
}
.product-image .card-zoom { height: auto; cursor: zoom-in; }
.product-image-sealed { aspect-ratio: auto; }
.product-copy h1 {
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
html[data-lang="th"] .product-copy h1 {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}
.product-meta {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
html[data-lang="th"] .product-meta {
  letter-spacing: 0.02em;
  text-transform: none;
}
.sample-note {
  border: 0.5px solid var(--line-gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.8rem;
  margin: 0 0 1.15rem;
}
.product-blurb {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 40rem;
}
.product-blurb p + p { margin-top: 0.9rem; }
.product-cta {
  margin-top: 1.5rem;
  max-width: 18rem;
}
.product-cta .btn-small { margin-top: 0; }

.related-head {
  margin-bottom: 1rem;
}

/* Guide and release articles */
.article-cta {
  margin-top: 1.75rem;
  max-width: 18rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.article-cta .btn-small { margin-top: 0; }
.article-header { margin-bottom: 1.75rem; }
.article-header h1 {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 0.6rem;
}
.article-date {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-body {
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.8;
}
.article-body h2,
.article-body h3 {
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 2rem 0 0.7rem;
}
.article-body h2 { font-size: 1.25rem; }
.article-body h3 { font-size: 1.08rem; }
.article-body p + p { margin-top: 1rem; }
.article-body ul,
.article-body ol {
  margin: 1rem 0 1rem 1.2rem;
}
.article-body li + li { margin-top: 0.35rem; }
.article-body a { color: var(--gold); }
.article-body hr {
  border: 0;
  border-top: 0.5px solid var(--line);
  margin: 2rem 0;
}
.article-body blockquote {
  border-left: 1px solid var(--gold);
  padding-left: 1rem;
  color: var(--muted);
  margin: 1.25rem 0;
}
.table-scroll {
  margin: 1.25rem 0 1.5rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.table-scroll:focus {
  outline: 0.5px solid var(--line-gold);
  outline-offset: 2px;
}
.article-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
}
.article-table th,
.article-table td {
  border: 0.5px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
  min-width: 7.2rem;
}
.article-table th {
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.article-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}
.article-readmore {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--line);
  max-width: 42rem;
}
.article-readmore h2 {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.7rem;
}
html[data-lang="th"] .article-readmore h2 {
  letter-spacing: 0.04em;
  text-transform: none;
}
.article-readmore ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-readmore li + li { margin-top: 0.4rem; }
.article-readmore a { color: var(--gold); text-decoration: none; }
.article-readmore a:hover { text-decoration: underline; }

@media (min-width: 700px) {
  .product-stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: start;
  }
  .product-image { position: sticky; top: calc(var(--nav-h) + 1rem); }
  .release-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
}

@media (min-width: 1100px) {
  .release-list {
    /* 4-col max: min size is the larger of 220px or a quarter of the row, so
       a 4-item set sits in one even row and we never grow past 4 columns. */
    grid-template-columns: repeat(auto-fit, minmax(max(220px, calc((100% - 2.7rem) / 4)), 1fr));
  }
}
