/* ==========================================================================
   Origin Medaka — dark luxury theme
   ========================================================================== */

:root {
  --gold: #DDBB75;
  --gold-light: #E6C280;
  --gold-dark: #C9A84C;
  --teal: #14A0AC;
  --line-green: #06C755;
  --red: #f87171;
  --amber: #fbbf24;

  --bg-0: #0D0D0D;
  --bg-1: #161616;
  --bg-2: #1A1A1A;
  --bg-3: #181818;
  --bg-header: #0D0D0D;
  --bg-footer: #0A0A0A;

  --text-0: #E6E6E6;
  --text-1: #DCDCDC;
  --text-2: #D6D6D6;
  --text-3: #BFBFBF;
  --text-4: #ADADAD;
  --text-5: #9E9E9E;
  --text-6: #868686;

  --font-serif-jp: 'Noto Sans JP', sans-serif;
  --font-sans-jp: 'Noto Sans JP', sans-serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-script: 'Dancing Script', cursive;

  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-2);
  font-family: var(--font-sans-jp);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.mid { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

@media (min-width: 768px) {
  .wrap, .narrow, .mid { padding: 0 48px; }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.85;
  margin: 0 0 20px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.green { color: var(--line-green); opacity: 0.75; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; }

.section-title {
  font-family: var(--font-serif-jp);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-1);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.section-lead {
  font-family: var(--font-sans-jp);
  font-weight: 400;
  color: var(--text-3);
  font-size: 0.9rem;
  line-height: 2.1;
  letter-spacing: 0.03em;
  max-width: 560px;
}

.title-rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.title-rule .line { height: 1px; width: 40px; background: rgba(255,255,255,0.14); }
.title-rule .dot { width: 4px; height: 4px; border-radius: 999px; background: rgba(10,124,134,0.5); }
.title-rule.gold .dot { background: rgba(221,187,117,0.6); }
.title-rule.gold .line { background: rgba(221,187,117,0.2); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

section { padding: 72px 0; }
@media (min-width: 768px) { section { padding: 112px 0 144px; } }

.section-alt { background: var(--bg-2); }
.section-deep { background: var(--bg-3); }

/* ---------------- Header ---------------- */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .5s ease, border-color .5s ease;
}
header.site-header.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .nav { padding: 0 48px; height: 80px; } }

.logo {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.25em;
  font-weight: 300;
  transition: color .3s ease;
}
@media (min-width: 768px) { .logo { font-size: 1.25rem; } }
.site-header.scrolled .logo { color: var(--text-1); }

.nav-links {
  display: none;
  gap: 34px;
  align-items: center;
}
@media (min-width: 1080px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  transition: color .25s ease;
  white-space: nowrap;
}
.site-header.scrolled .nav-links a { color: var(--text-4); }
.nav-links a:hover { color: #fff; }
.site-header.scrolled .nav-links a:hover { color: var(--text-1); }
.nav-links a.line-link { color: rgba(221,187,117,0.9); }
.site-header.scrolled .nav-links a.line-link { color: var(--gold); }
.nav-links a.line-link:hover { color: var(--gold-dark); }
.nav-links a.nav-active { position: relative; color: #fff; }
.site-header.scrolled .nav-links a.nav-active { color: var(--gold); }
.nav-links a.nav-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold);
}

.nav-actions { display: flex; align-items: center; gap: 0; }
.icon-btn {
  position: relative;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  transition: color .2s ease;
}
.site-header.scrolled .icon-btn { color: var(--text-4); }
.icon-btn:hover { color: #fff; }
.site-header.scrolled .icon-btn:hover { color: var(--text-1); }
.icon-badge {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #111;
  font-size: 0.68rem;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans-jp);
}

.menu-btn { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
@media (min-width: 1080px) { .menu-btn { display: none !important; } }
.menu-btn .bar { display: block; height: 1px; width: 20px; background: rgba(255,255,255,0.8); transition: all .3s ease; }
.site-header.scrolled .menu-btn .bar { background: rgba(153,153,153,0.7); }
.menu-btn.open .bar:nth-child(1) { transform: rotate(45deg) translateY(3px); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open .bar:nth-child(3) { transform: rotate(-45deg) translateY(-13px); }

/* mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 280px;
  background: #1C1C1C;
  z-index: 200;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 56px; border-bottom: 1px solid rgba(255,255,255,0.09);
}
.mobile-menu .top span { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--text-4); }
.mobile-menu nav { padding: 24px 20px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-sans-jp);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.mobile-menu nav a.line-link { color: var(--gold); }
.mobile-menu nav a.nav-active { color: var(--gold); font-weight: 500; }
.mobile-menu nav a i { color: var(--text-4); font-size: 1.05rem; }
.mobile-menu .bottom-links {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.mobile-menu .bottom-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  font-size: 0.82rem; letter-spacing: 0.2em; color: var(--text-4);
}
.mobile-menu .bottom-links a i { font-size: 1rem; width: 20px; text-align: center; }
.mobile-menu .bottom-links a .mini-badge {
  margin-left: auto; width: 20px; height: 20px; border-radius: 999px;
  background: var(--teal); color: #fff; font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  color: #e8e8e8;
  letter-spacing: 0.2em;
  font-size: 2.5rem;
  line-height: 1.2;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-rule { height: 1px; width: 80px; background: rgba(200,200,200,0.3); margin: 32px auto; }
@media (min-width: 768px) { .hero-rule { width: 112px; margin: 56px auto; } }
.hero .lead {
  font-family: var(--font-serif-jp);
  font-weight: 300;
  color: #d8d8d8;
  font-size: 1.125rem;
  letter-spacing: 0.2em;
  line-height: 2;
}
@media (min-width: 768px) { .hero .lead { font-size: 1.5rem; } }
.hero .sub-line {
  margin-top: 8px;
  font-family: var(--font-serif-jp);
  font-weight: 300;
  color: rgba(204,204,204,0.9);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
}
.hero .desc {
  margin-top: 16px;
  font-family: var(--font-sans-jp);
  color: rgba(204,204,204,0.9);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  line-height: 1.9;
  max-width: 420px;
}
.hero-ctas { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; justify-content: center; width: auto; gap: 20px; margin-top: 64px; } }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-family: var(--font-display); color: rgba(170,170,170,0.8); font-size: 0.7rem; letter-spacing: 0.5em; text-transform: uppercase; }
.hero-scroll .line { width: 1px; height: 24px; background: rgba(136,136,136,0.4); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 44px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  border-radius: 2px;
  min-height: 52px;
  border: 1px solid transparent;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--bg-0); }
.btn-gold:hover { background: var(--gold-light); color: #111; }
.btn-outline { border-color: rgba(221,187,117,0.5); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(221,187,117,0.08); }
.btn-line { background: rgba(6,199,85,0.9); color: #fff; border-radius: 6px; }
.btn-line:hover { background: var(--line-green); }
.btn-sm { padding: 10px 22px; font-size: 0.72rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------------- Philosophy 3-col ---------------- */
.tri-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 56px auto 0;
  text-align: left;
}
@media (min-width: 700px) { .tri-grid { grid-template-columns: repeat(3, 1fr); } }
.tri-item { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 20px; }
.tri-item .num { font-family: var(--font-display); color: var(--teal); opacity: .8; letter-spacing: 0.3em; font-size: 0.78rem; margin-bottom: 10px; }
.tri-item h4 { font-family: var(--font-serif-jp); color: var(--text-1); letter-spacing: 0.08em; font-size: 0.95rem; margin-bottom: 10px; }
.tri-item p { color: var(--text-3); font-size: 0.8rem; line-height: 1.9; }

/* ---------------- Quality standards ---------------- */
.tier-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 768px) { .tier-grid { grid-template-columns: repeat(4, 1fr); } }
.tier-card {
  border: 1px solid rgba(255,255,255,0.14);
  padding: 28px 20px;
  border-radius: 4px;
}
.tier-card .n { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-5); }
.tier-card .rank { font-family: var(--font-serif-jp); font-size: 1.3rem; margin: 10px 0 4px; }
.tier-card .label { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--text-4); margin-bottom: 14px; }
.tier-card p { font-size: 0.78rem; line-height: 1.9; color: var(--text-3); }
.tier-gold { border-color: rgba(221,187,117,0.4); background: rgba(221,187,117,0.05); }
.tier-gold .rank { color: var(--gold); }
.tier-white { border-color: rgba(200,200,200,0.4); background: rgba(200,200,200,0.05); }
.tier-white .rank { color: var(--text-1); }
.tier-grey { border-color: rgba(170,170,170,0.3); background: rgba(170,170,170,0.05); }
.tier-grey .rank { color: var(--text-4); }
.tier-dim { border-color: rgba(136,136,136,0.25); background: rgba(136,136,136,0.05); }
.tier-dim .rank { color: var(--text-4); }

.axis-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
@media (min-width: 768px) { .axis-grid { grid-template-columns: repeat(5, 1fr); } }
.axis-grid-2 { max-width: 780px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .axis-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.axis-grid-2 .axis-item p { font-size: 0.8rem; }
.axis-item { text-align: center; }
.axis-item i { color: var(--teal); font-size: 1.3rem; margin-bottom: 12px; display: inline-block; }
.axis-item h5 { font-family: var(--font-serif-jp); font-size: 0.85rem; color: var(--text-1); margin-bottom: 8px; letter-spacing: 0.06em; }
.axis-item p { font-size: 0.72rem; color: var(--text-4); line-height: 1.8; }

/* ---------------- Trust / Safety ---------------- */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.14); margin-top: 48px; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { background: var(--bg-1); padding: 32px 28px; display: flex; flex-direction: column; }
.trust-item h4 { font-family: var(--font-serif-jp); color: var(--text-1); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 0.06em; }
.trust-item p { font-size: 0.8rem; color: var(--text-3); line-height: 1.95; margin-bottom: 14px; }
.trust-item a { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; }
.trust-item a i { margin-left: 4px; }

/* ---------------- Exclusive access ---------------- */
.excl-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.10); margin: 40px 0; }
@media (min-width: 700px) { .excl-grid { grid-template-columns: repeat(3, 1fr); } }
.excl-item { background: var(--bg-3); padding: 32px 24px; text-align: center; }
.excl-item i { color: var(--line-green); font-size: 1.4rem; }
.excl-item h3 { font-family: var(--font-serif-jp); font-size: 0.85rem; color: var(--text-1); margin: 16px 0 12px; letter-spacing: 0.05em; }
.excl-item p { font-size: 0.75rem; color: var(--text-0); line-height: 1.9; }

/* ---------------- Product cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative;
  background: #171717;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
  cursor: pointer;
}
.product-card:hover { border-color: rgba(221,187,117,0.25); transform: translateY(-3px); }
.product-card.is-soldout { background: var(--bg-0); border-color: rgba(255,255,255,0.10); }
.product-card .thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #141414; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.03); }
.type-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 4px 9px;
  border: 1px solid rgba(221,187,117,0.4);
  color: var(--gold);
  background: rgba(0,0,0,0.4);
}
.new-tag {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 4px 9px;
  border: 1px solid rgba(221,187,117,0.35);
  color: var(--gold);
  background: rgba(0,0,0,0.4);
}
.card-fav-btn {
  position: absolute; bottom: 8px; right: 8px; z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.17);
  background: rgba(0,0,0,0.55);
  border-radius: 2px;
  color: var(--text-4);
  font-size: 1rem;
  transition: all .25s ease;
}
.card-fav-btn:hover { border-color: rgba(221,187,117,0.2); }
.card-fav-btn.active { color: rgba(248,113,113,0.8); border-color: rgba(248,113,113,0.25); }
.soldout-overlay {
  position: absolute; inset: 0; background: rgba(8,8,8,0.7);
  display: flex; align-items: center; justify-content: center;
}
.soldout-overlay .line { width: 24px; height: 1px; background: rgba(136,136,136,0.3); }
.soldout-overlay span {
  font-family: var(--font-display);
  color: var(--text-4); font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.product-card .body { padding: 14px; }
.product-card h3 {
  font-family: var(--font-serif-jp); font-weight: 500; font-size: 0.88rem; color: var(--text-0);
  letter-spacing: 0.03em; line-height: 1.5; margin-bottom: 8px;
}
.product-card.is-soldout h3 { color: var(--text-5); }
.grade-pill {
  display: inline-flex; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 3px 10px; border-radius: 2px; border: 1px solid rgba(221,187,117,0.45); color: var(--gold);
  margin-bottom: 10px; font-weight: 500;
}
.product-card.is-soldout .grade-pill { border-color: rgba(136,136,136,0.35); color: var(--text-5); }
.product-card .bloodline { font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.05em; margin-bottom: 12px; }
.product-card .price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.product-card .price { font-family: var(--font-sans-jp); font-weight: 600; color: var(--gold); font-size: 1.1rem; }
.product-card.is-soldout .price { color: var(--text-5); text-decoration: line-through; }
.product-card .tax { font-size: 0.62rem; color: var(--text-3); }
.product-card .stock-note { font-size: 0.62rem; color: var(--gold); opacity: 0.85; margin-bottom: 10px; min-height: 14px; display: flex; align-items: center; gap: 6px; }
.stock-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(221,187,117,0.6); flex-shrink: 0; }
.product-card .actions { display: flex; align-items: center; justify-content: flex-end; }
.card-btn {
  display: flex; align-items: center; gap: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-3);
  font-size: 0.68rem; letter-spacing: 0.04em;
  padding: 9px 12px;
  border-radius: 2px;
  background: none;
  transition: all .25s ease;
}
.card-btn:hover { border-color: rgba(221,187,117,0.2); color: var(--text-1); }
.card-btn.active { border-color: rgba(221,187,117,0.3); color: var(--gold); background: rgba(221,187,117,0.1); }
.card-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 40px; }
.pill-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; min-height: 44px;
  font-family: var(--font-sans-jp);
  font-size: 0.72rem; letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #171717; color: var(--text-4);
  transition: all .25s ease;
}
.pill-btn i { color: var(--text-6); }
.pill-btn.active { background: transparent; border-color: rgba(221,187,117,0.6); color: var(--gold); }
.pill-btn.active i { color: var(--gold); }
.pill-check {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; min-height: 44px;
  font-size: 0.72rem; letter-spacing: 0.04em;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
  background: #171717; color: var(--text-6);
  transition: all .25s ease;
}
.pill-check .box { width: 14px; height: 14px; border: 1px solid rgba(255,255,255,0.17); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; }
.pill-check.active { border-color: rgba(221,187,117,0.6); color: var(--gold); }
.pill-check.active .box { border-color: rgba(221,187,117,0.4); color: var(--gold); }

/* ---------------- Breeder profile ---------------- */
.breeder-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
@media (min-width: 1000px) { .breeder-grid { grid-template-columns: 2fr 3fr; gap: 60px; } }
.breeder-photo { aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.breeder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.breeder-quote { font-family: var(--font-serif-jp); font-weight: 300; font-size: 1.2rem; color: var(--text-0); line-height: 2; margin-bottom: 32px; letter-spacing: 0.04em; }
.rule-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.rule-list .row { display: flex; align-items: flex-start; gap: 12px; }
.rule-list i { color: var(--teal); opacity: 0.9; font-size: 0.85rem; margin-top: 3px; }
.rule-list p { font-size: 0.82rem; color: var(--text-2); line-height: 2; letter-spacing: 0.02em; }
.story p { font-size: 0.85rem; color: var(--text-2); line-height: 2.1; letter-spacing: 0.02em; margin-bottom: 20px; }
.story strong { color: var(--text-1); font-weight: 400; }
.story .highlight { color: #a0b8cc; }

.story-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 56px; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.story-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.story-timeline { margin-top: 72px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.14); }

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.14); }
@media (min-width: 700px) { .timeline { flex-direction: row; flex-wrap: wrap; } }
.timeline .t-item { display: flex; flex: 1; min-width: 0; }
@media (max-width: 699px) { .timeline .t-item { margin-bottom: 16px; } }
.t-dot-col { display: flex; align-items: flex-start; gap: 8px; flex-shrink: 0; }
@media (min-width: 700px) { .t-dot-col { flex-direction: column; align-items: center; width: 100%; } }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(221,187,117,0.6); flex-shrink: 0; margin-top: 4px; }
.t-line { width: 1px; flex: 1; background: rgba(255,255,255,0.14); min-height: 20px; }
@media (min-width: 700px) { .t-line { width: 100%; height: 1px; min-width: 40px; margin: 8px 0; } }
.t-body { flex: 1; padding-bottom: 16px; }
@media (min-width: 700px) { .t-body { text-align: center; padding-bottom: 0; } }
.t-body .year { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; color: var(--text-0); margin-bottom: 4px; }
.t-body .event { font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.03em; line-height: 1.7; }

/* ---------------- Footer ---------------- */
footer.site-footer { background: var(--bg-footer); border-top: 1px solid rgba(255,255,255,0.10); padding: 64px 0 32px; }
.footer-cta { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.footer-cta h3 { font-family: var(--font-serif-jp); font-weight: 500; font-size: 1.4rem; color: var(--text-0); margin: 12px 0 16px; letter-spacing: 0.03em; }
.footer-cta p { font-size: 0.82rem; color: var(--text-2); line-height: 2.1; margin-bottom: 28px; }
.footer-cta .note { margin-top: 12px; font-size: 0.72rem; color: var(--text-3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-brand { font-family: var(--font-display); color: var(--text-2); font-size: 0.85rem; letter-spacing: 0.08em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a { font-size: 0.72rem; color: var(--text-2); letter-spacing: 0.04em; padding: 6px 0; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 0.68rem; color: var(--text-6); }

/* ---------------- Cart / Favorites pages ---------------- */
.list-empty { text-align: center; padding: 100px 20px; color: var(--text-4); font-size: 0.85rem; }
.list-empty i { font-size: 2.5rem; color: var(--text-6); margin-bottom: 20px; display: block; }
.cart-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.cart-row { background: var(--bg-1); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; display: flex; gap: 16px; padding: 16px; align-items: center; transition: border-color .2s; }
.cart-row:hover { border-color: rgba(221,187,117,0.25); }
.cart-row img { width: 76px; height: 76px; object-fit: cover; background: #141414; border-radius: 6px; flex-shrink: 0; }
.cart-row .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-row h4 { font-family: var(--font-serif-jp); font-weight: 500; font-size: 0.92rem; color: var(--text-0); }
.cart-row .price { font-family: var(--font-sans-jp); font-weight: 600; color: var(--gold); font-size: 1.05rem; }
.qty-stepper { display: inline-flex; align-items: center; gap: 0; width: fit-content; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; overflow: hidden; }
.qty-stepper .qty-btn { width: 30px; height: 30px; background: var(--bg-2); border: none; color: var(--text-1); font-size: 1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.qty-stepper .qty-btn:hover { background: var(--gold); color: #111; }
.qty-stepper .qty-val { min-width: 34px; text-align: center; font-size: 0.85rem; color: var(--text-1); }
.cart-row .remove { background: var(--bg-2); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; color: var(--text-5); font-size: 1rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .15s, border-color .15s; }
.cart-row .remove:hover { color: var(--red); border-color: rgba(248,113,113,0.4); }
.cart-summary { margin-top: 32px; padding: 28px; background: var(--bg-1); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-2); margin-bottom: 12px; }
.cart-summary .total { font-family: var(--font-sans-jp); font-weight: 700; color: var(--gold); font-size: 1.35rem; }

/* ---------------- Product detail ---------------- */
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
@media (min-width: 900px) { .pd-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pd-image { aspect-ratio: 1/1; background: #141414; border: 1px solid rgba(255,255,255,0.14); overflow: hidden; }
.pd-image img { width: 100%; height: 100%; object-fit: contain; }
.pd-eyebrow { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; }
.pd-title { font-family: var(--font-serif-jp); font-weight: 600; font-size: 1.7rem; color: var(--text-0); letter-spacing: 0.02em; margin-bottom: 12px; }
.pd-en { font-family: var(--font-display); color: var(--text-4); font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 20px; }
.pd-price { font-family: var(--font-sans-jp); font-weight: 700; color: var(--gold); font-size: 1.85rem; margin-bottom: 6px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.pd-desc { font-size: 0.88rem; color: var(--text-2); line-height: 2.1; margin-bottom: 24px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 32px; }
.pd-actions .btn { flex: 1; }
.pd-fav-btn { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,0.17); color: var(--text-3); display: flex; align-items: center; justify-content: center; border-radius: 2px; flex-shrink: 0; }
.pd-fav-btn.active { color: rgba(248,113,113,0.8); border-color: rgba(248,113,113,0.3); }
.pd-specs { margin-top: 8px; }
.pd-specs dt { color: var(--text-4); font-size: 0.7rem; letter-spacing: 0.1em; margin-top: 14px; }
.pd-specs dd { margin: 4px 0 0; color: var(--text-1); font-size: 0.82rem; }
.pd-block { margin-top: 56px; }
.pd-block h3 { font-family: var(--font-serif-jp); color: var(--text-1); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0.05em; }
.pd-block p { font-size: 0.85rem; color: var(--text-2); line-height: 2.05; }
.pd-review { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.10); }
.pd-review .stars { color: var(--amber); font-size: 0.8rem; margin-bottom: 6px; }
.pd-review .author { color: var(--text-4); font-size: 0.7rem; margin-top: 6px; }

/* ---------------- Generic page content blocks ---------------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 48px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.10); }
.page-hero h1 { font-family: var(--font-serif-jp); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--text-0); letter-spacing: 0.05em; }
.page-hero p { margin-top: 16px; font-size: 0.85rem; color: var(--text-3); }

.step-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
}
.step .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); opacity: 0.8; }
.step h3 { font-family: var(--font-serif-jp); font-size: 1rem; color: var(--text-1); margin-bottom: 10px; letter-spacing: 0.06em; }
.step p { font-size: 0.85rem; color: var(--text-3); line-height: 2; }

.notice-box { border: 1px solid rgba(221,187,117,0.25); background: rgba(221,187,117,0.04); border-radius: 4px; padding: 24px 26px; margin-top: 40px; }
.notice-box h4 { font-family: var(--font-serif-jp); color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.notice-box ul { margin: 0; padding-left: 1.1em; color: var(--text-2); font-size: 0.82rem; line-height: 2; }

.article-body { margin-top: 48px; }
.article-body h2 { font-family: var(--font-serif-jp); color: var(--text-1); font-size: 1.15rem; margin: 40px 0 16px; letter-spacing: 0.05em; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 0.85rem; color: var(--text-2); line-height: 2.1; margin-bottom: 16px; }
.article-body ul, .article-body ol { color: var(--text-2); font-size: 0.85rem; line-height: 2.1; padding-left: 1.3em; }
.article-body li { margin-bottom: 8px; }
.article-body dl { font-size: 0.85rem; color: var(--text-2); }
.article-body dt { color: var(--text-1); font-weight: 400; margin-top: 18px; }
.article-body dd { margin: 6px 0 0; color: var(--text-3); }

table.spec-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 0.82rem; }
table.spec-table th, table.spec-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.11); vertical-align: top; }
table.spec-table th { color: var(--text-1); font-weight: 400; width: 30%; white-space: nowrap; }
table.spec-table td { color: var(--text-3); line-height: 1.9; }

/* forms */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.78rem; color: var(--text-1); margin-bottom: 10px; letter-spacing: 0.04em; }
.form-group label .req { color: var(--red); margin-left: 4px; font-size: 0.7rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-2); border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-1); padding: 14px 16px; border-radius: 3px; font-size: 0.85rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: rgba(221,187,117,0.5);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 0.7rem; color: var(--text-5); margin-top: 8px; }
.contact-methods { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 40px 0; }
@media (min-width: 700px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.contact-method { border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; padding: 22px; text-align: center; }
.contact-method i { font-size: 1.3rem; color: var(--gold); margin-bottom: 12px; display: block; }
.contact-method .label { font-size: 0.75rem; color: var(--text-1); margin-bottom: 6px; }
.contact-method .value { font-size: 0.78rem; color: var(--text-3); word-break: break-all; }

/* blog */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-card { border: 1px solid rgba(255,255,255,0.11); border-radius: 4px; overflow: hidden; }
.blog-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #12100a, #0a0a0a); display: flex; align-items: center; justify-content: center; }
.blog-card .thumb i { font-size: 1.8rem; color: rgba(221,187,117,0.5); }
.blog-card .body { padding: 22px 22px 26px; }
.blog-card .cat { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 10px; }
.blog-card h3 { font-family: var(--font-serif-jp); font-size: 0.95rem; color: var(--text-1); margin-bottom: 10px; line-height: 1.6; }
.blog-card p { font-size: 0.78rem; color: var(--text-3); line-height: 1.9; margin-bottom: 14px; }
.blog-card .meta { font-size: 0.68rem; color: var(--text-5); display: flex; gap: 14px; }

/* line-limited gate */
.gate-box { max-width: 420px; margin: 64px auto 0; text-align: center; }
.gate-box i.lock { font-size: 2rem; color: var(--gold); opacity: 0.8; margin-bottom: 24px; display: block; }
.gate-box p { font-size: 0.85rem; color: var(--text-3); line-height: 2; margin-bottom: 32px; }
.gate-box .pass-row { display: flex; gap: 10px; }
.gate-box .pass-row input { flex: 1; }
.gate-error { color: var(--red); font-size: 0.75rem; margin-top: 12px; min-height: 18px; }

.badge-pill { display: inline-block; font-size: 0.65rem; letter-spacing: 0.1em; padding: 5px 12px; border: 1px solid rgba(221,187,117,0.4); color: var(--gold); border-radius: 999px; margin-bottom: 20px; }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-1); border: 1px solid rgba(221,187,117,0.3); color: var(--text-1);
  padding: 14px 24px; border-radius: 4px; font-size: 0.8rem; z-index: 400;
  opacity: 0; pointer-events: none; transition: all .3s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
