/* Junjiang American Mahjong — luxury club design system */
:root {
  --ink: #10221c;
  --green-950: #071d18;
  --green-900: #0b2c25;
  --green-800: #123d32;
  --green-700: #1f5546;
  --cream: #f4efe4;
  --ivory: #fbf8f0;
  --paper: #fffdf8;
  --brass: #79501f;
  --brass-light: #d8b77c;
  --rose: #c6808b;
  --muted: #66726c;
  --line: rgba(16,34,28,.14);
  --shadow: 0 24px 70px rgba(7,29,24,.14);
  --shadow-soft: 0 12px 34px rgba(7,29,24,.09);
  --radius: 22px;
  --container: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 10px 14px; color: white; background: var(--green-900); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--brass); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .quote-banner .eyebrow, .sticky-card .eyebrow { color: var(--brass-light); }
.display { margin: 0; font: 500 clamp(2.5rem, 7vw, 6.4rem)/.96 var(--serif); letter-spacing: -.045em; }
.section-title { max-width: 760px; margin: 0; font: 500 clamp(2rem, 4.4vw, 4rem)/1.04 var(--serif); letter-spacing: -.035em; }
.lede { max-width: 650px; margin: 24px 0 0; color: #dbe5df; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.section-lede { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.topbar { padding: 8px 0; color: #e6dbbf; background: var(--green-950); font-size: .76rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.site-header { position: sticky; z-index: 100; top: 0; color: white; background: rgba(7,29,24,.94); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand-seal { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--brass-light); font: 700 1rem var(--serif); transform: rotate(45deg); }
.brand-seal span { transform: rotate(-45deg); }
.brand-copy { line-height: 1.05; }
.brand-copy strong { display: block; font: 600 1.08rem var(--serif); letter-spacing: .08em; }
.brand-copy small { color: #c7d2cd; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { color: #eaf0ed; font-size: .86rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--brass-light); }
.lang-link { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); font-weight: 700; }
.nav-cta { padding: 10px 16px; color: var(--green-950) !important; background: var(--cream); border-radius: 99px; font-weight: 800; }
.menu-button { display: none; width: 44px; height: 44px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.menu-button span, .menu-button::before, .menu-button::after { content: ''; display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }
.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: white; background: var(--green-950); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,24,.98) 0%, rgba(7,29,24,.86) 39%, rgba(7,29,24,.12) 72%), url('../images/hero-club.png') center/cover no-repeat; }
.hero::after { content: ''; position: absolute; right: -110px; bottom: -160px; width: 420px; height: 420px; border: 1px solid rgba(216,183,124,.35); transform: rotate(45deg); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 110px 0 120px; }
.hero .display em { color: var(--brass-light); font-style: italic; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 99px; font-size: .88rem; font-weight: 800; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.btn-primary { color: var(--green-950); background: var(--brass-light); }
.btn-primary:hover { background: #e5ca98; transform: translateY(-2px); }
.btn-ghost { color: white; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.03); }
.btn-dark { color: white; background: var(--green-900); }
.btn-outline { color: var(--green-900); border-color: var(--green-900); background: transparent; }
.btn-arrow::after { content: '↗'; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 44px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.hero-notes li { color: #dce6e1; font-size: .82rem; }
.hero-notes li::before { content: '◆'; margin-right: 9px; color: var(--brass); font-size: .55rem; }
.proof-strip { color: white; background: var(--green-800); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { min-height: 126px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.13); }
.proof-item:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.proof-item strong { display: block; margin-bottom: 4px; color: var(--brass-light); font: 500 1.15rem var(--serif); }
.proof-item span { color: #d8e3de; font-size: .83rem; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-dark { color: white; background: var(--green-950); }
.section-cream { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 46px; }
.text-link { color: var(--green-700); font-weight: 800; }
.collection-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.product-card { position: relative; min-height: 520px; grid-column: span 6; overflow: hidden; color: white; background: var(--green-800); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.product-card:nth-child(3), .product-card:nth-child(4), .product-card:nth-child(5) { min-height: 440px; grid-column: span 4; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.product-card:hover img { transform: scale(1.035); }
.product-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(5,20,16,.88) 100%); }
.card-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 30px; }
.card-copy small { color: var(--brass-light); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-copy h3 { margin: 8px 0 4px; font: 500 clamp(1.55rem, 2.4vw, 2.25rem)/1.08 var(--serif); }
.card-copy p { max-width: 480px; margin: 0; color: #dbe5df; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.image-frame { position: relative; }
.image-frame img { width: 100%; max-height: 660px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame::before { content: ''; position: absolute; z-index: -1; inset: 30px -22px -22px 30px; border: 1px solid var(--brass); border-radius: var(--radius); }
.feature-list { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-num { color: var(--brass); font: 500 1.25rem var(--serif); }
.feature h3 { margin: 0 0 4px; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; counter-reset: process; }
.process-card { min-height: 310px; padding: 30px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.process-card::before { counter-increment: process; content: '0' counter(process); display: block; margin-bottom: 74px; color: var(--brass-light); font: 500 1.1rem var(--serif); }
.process-card h3 { margin: 0 0 10px; font: 500 1.45rem var(--serif); }
.process-card p { margin: 0; color: #becbc5; font-size: .9rem; }
.buyer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.buyer-card { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.buyer-card .icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 38px; color: var(--brass); border: 1px solid var(--brass); transform: rotate(45deg); }
.buyer-card .icon span { transform: rotate(-45deg); }
.buyer-card h3 { margin: 0 0 8px; font: 500 1.3rem var(--serif); }
.buyer-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.quote-banner { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 90px); color: white; background: var(--green-800); border-radius: 28px; }
.quote-banner::after { content: '發'; position: absolute; right: 2vw; bottom: -80px; color: rgba(255,255,255,.04); font: 500 21rem var(--serif); }
.quote-banner > * { position: relative; z-index: 2; }
.quote-banner h2 { max-width: 760px; margin: 0; font: 500 clamp(2rem, 5vw, 4.5rem)/1.03 var(--serif); }
.quote-banner p { max-width: 640px; color: #d2ded8; }
.page-hero { padding: 115px 0 86px; color: white; background: radial-gradient(circle at 85% 15%, rgba(184,137,70,.2), transparent 35%), var(--green-950); }
.page-hero .display { max-width: 930px; font-size: clamp(3rem, 7vw, 6rem); }
.breadcrumbs { margin-bottom: 30px; color: #bdcac4; font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--brass); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.category-card img { width: 100%; height: 290px; object-fit: cover; }
.category-body { padding: 26px; }
.category-body h2, .category-body h3 { margin: 0 0 8px; font: 500 1.55rem var(--serif); }
.category-body p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 6px 10px; color: var(--green-700); background: #eaf0eb; border-radius: 99px; font-size: .72rem; font-weight: 750; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.sticky-card { position: sticky; top: 110px; padding: 34px; color: white; background: var(--green-900); border-radius: var(--radius); }
.sticky-card h2 { margin: 0 0 14px; font: 500 2rem var(--serif); }
.sticky-card p { color: #c9d5cf; }
.clean-list { margin: 22px 0 0; padding: 0; list-style: none; }
.clean-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.clean-list li::before { content: '◆'; margin-right: 12px; color: var(--brass); font-size: .55rem; }
.content-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.content-block:first-child { padding-top: 0; }
.content-block h2 { margin: 0 0 12px; font: 500 2rem var(--serif); }
.content-block p { color: var(--muted); }
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.fact-table th { width: 35%; color: var(--green-700); font-size: .82rem; }
.notice { padding: 18px 20px; color: #604c2b; background: #f5e8cf; border-left: 4px solid var(--brass); border-radius: 0 12px 12px 0; font-size: .88rem; }
.form-shell { padding: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #bdc7c2; border-radius: 10px; }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; }
.form-status { display: none; margin-top: 16px; padding: 13px 16px; color: var(--green-900); background: #dcebe4; border-radius: 10px; }
.form-status.show { display: block; }
.contact-aside { display: grid; gap: 18px; }
.info-card { padding: 26px; background: var(--cream); border-radius: var(--radius); }
.info-card h3 { margin: 0 0 8px; font: 500 1.35rem var(--serif); }
.info-card p { margin: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); }
.site-footer { padding: 76px 0 24px; color: #cbd7d1; background: var(--green-950); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-title { color: white; font: 500 1.15rem var(--serif); }
.footer-copy { max-width: 410px; color: #9eafa7; font-size: .86rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #cbd7d1; font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--brass-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #82958c; font-size: .75rem; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .primary-nav { position: absolute; inset: 100% 20px auto; display: grid; max-height: calc(100vh - 130px); overflow-y: auto; padding: 24px; background: var(--green-900); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; box-shadow: var(--shadow); }
  .js .primary-nav { display: none; }
  .js .primary-nav.open { display: grid; }
  .primary-nav a { padding: 10px; }
  .lang-link { padding-left: 10px; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .js .menu-button { display: block; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .buyer-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy small { display: none; }
  .hero { min-height: 680px; align-items: end; }
  .hero::before { background: linear-gradient(180deg, rgba(7,29,24,.22) 0%, rgba(7,29,24,.93) 58%, var(--green-950) 100%), url('../images/hero-club.png') 63% center/cover no-repeat; }
  .hero-content { padding: 260px 0 72px; }
  .display { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .hero-notes { display: grid; gap: 10px; }
  .proof-grid, .split, .detail-grid, .category-grid, .form-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 18px; }
  .product-card, .product-card:nth-child(3), .product-card:nth-child(4), .product-card:nth-child(5) { min-height: 420px; grid-column: 1 / -1; }
  .process-grid, .buyer-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .process-card::before { margin-bottom: 42px; }
  .image-frame::before { display: none; }
  .category-card img { height: 240px; }
  .sticky-card { position: static; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
}
@media (max-width: 420px) {
  .brand-copy strong { font-size: .92rem; }
  .button-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { grid-column: auto !important; }
  .form-shell { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
