﻿/* =====================================================================
   Site A 鈥?Hamptons Mahjong Co. (luxury boutique)
   Palette: ivory / charcoal / antique gold 路 serif headings
   ===================================================================== */
:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --ink: #26221c;
  --muted: #7a7267;
  --gold: #b08d57;
  --gold-dark: #8f6f42;
  --line: #e8e0d2;
  --serif: Georgia, 'Times New Roman', 'Playfair Display', serif;
  --sans: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--ink); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--ink); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- top strip ---------- */
.topstrip { background: var(--ink); color: #cfc7ba; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 8px 12px; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: .04em; color: var(--ink); }
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
nav.main ul { list-style: none; display: flex; gap: 28px; }
nav.main a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid transparent; }
nav.main a:hover, nav.main a.active { border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; cursor: pointer; font-size: 18px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 84px; }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); font-weight: 500; line-height: 1.15; margin-bottom: 22px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.hero-art { position: relative; }
.hero-art img { border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(38,34,28,.35); }
.hero-art::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); pointer-events: none; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 15px 34px; border: 1px solid var(--gold); color: var(--ink); transition: .25s; }
.btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn.solid { background: var(--gold); color: #fff; }
.btn.solid:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn.ghost { border-color: var(--ink); }

/* ---------- sections ---------- */
section.block { padding: 76px 0; }
section.block.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-title { text-align: center; font-family: var(--serif); font-size: 34px; font-weight: 500; margin-bottom: 10px; }
.s-sub { text-align: center; color: var(--muted); max-width: 62ch; margin: 0 auto 46px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pillar { border: 1px solid var(--line); background: var(--paper); padding: 30px 24px; text-align: center; }
.pillar .glyph { font-family: var(--serif); font-size: 28px; color: var(--gold); }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 12px 0 8px; }
.pillar p { font-size: 14px; color: var(--muted); }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { background: var(--paper); border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -24px rgba(38,34,28,.4); }
.card .ph { aspect-ratio: 1; overflow: hidden; background: #f1ece3; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.4; }
.card h3 a { color: var(--ink); }
.price { font-family: var(--serif); color: var(--gold-dark); font-size: 18px; }
.moq { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- page head / breadcrumbs ---------- */
.crumb { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 26px 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold-dark); }
.page-head { padding: 26px 0 40px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; }
.page-head p { color: var(--muted); max-width: 70ch; margin-top: 10px; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 48px; padding-bottom: 70px; }
.gallery .main { border: 1px solid var(--line); background: #fff; }
.gallery .main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gallery .thumbs img { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); cursor: pointer; opacity: .75; }
.gallery .thumbs img:hover, .gallery .thumbs img.cur { opacity: 1; border-color: var(--gold); }
.pd-info h1 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.3; }
.pd-price { font-family: var(--serif); font-size: 30px; color: var(--gold-dark); margin: 14px 0 4px; }
.pd-price small { font-size: 15px; color: var(--muted); }
.spec { list-style: none; margin: 18px 0 26px; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec li b { font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 26px; }
.variants { margin: 10px 0 4px; }
.variants .sw { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 6px 12px 6px 6px; margin: 0 8px 8px 0; background: #fff; font-size: 13px; }
.variants .sw img { width: 26px; height: 26px; object-fit: cover; cursor: pointer; transition: transform .15s; }
.variants .sw img:hover { transform: scale(1.12); }
.variants .sw img.cur { outline: 2px solid var(--gold); outline-offset: 1px; }
.desc-section { padding: 30px 0 60px; }
.desc-section h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 34px 0 14px; }
.desc-section .bullets { list-style: none; }
.desc-section .bullets li { padding-left: 26px; position: relative; margin-bottom: 10px; color: #44403a; }
.desc-section .bullets li::before { content: '\2014'; position: absolute; left: 0; color: var(--gold); }
.desc-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.desc-imgs img { border: 1px solid var(--line); background: #fff; }

/* attrs table */
table.attrs { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
table.attrs th, table.attrs td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
table.attrs th { background: #f5f0e6; font-weight: 600; width: 30%; }

/* faq */
details.faq { border: 1px solid var(--line); background: #fff; margin-bottom: 12px; }
details.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 40px; }
details.faq summary::after { content: '+'; position: absolute; right: 18px; color: var(--gold); font-size: 20px; }
details.faq[open] summary::after { content: '\2212'; }
details.faq .a { padding: 0 18px 16px; color: var(--muted); }

/* ---------- form ---------- */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
form.inquiry { background: #fff; border: 1px solid var(--line); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--ivory); padding: 12px 14px; font: inherit; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.err-note { background: #fdecea; border: 1px solid #f2b8b5; color: #7a2e2a; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }

/* ---------- misc ---------- */
.stats-band { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stats-band .n { font-family: var(--serif); font-size: 30px; color: var(--gold-dark); }
.stats-band .l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0 10px; }
.pagination a, .pagination span { border: 1px solid var(--line); background: #fff; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.pagination .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
footer.site { background: var(--ink); color: #b7afa2; margin-top: 80px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 54px 0 40px; }
footer.site h4 { color: #e9e2d5; font-family: var(--serif); font-weight: 500; margin-bottom: 14px; }
footer.site a { color: #b7afa2; display: block; padding: 3px 0; font-size: 14px; }
footer.site a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid #3a352d; padding: 18px 0; font-size: 12px; color: #7a7267; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 48px 0 60px; }
  .pillars, .cards { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  body.nav-open nav.main { display: block; }
  nav.main ul { flex-direction: column; gap: 0; padding: 12px 24px; }
  nav.main ul li a { display: block; padding: 12px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .pillars, .cards, .grid2, .desc-imgs { grid-template-columns: 1fr; }
  .gallery .thumbs { grid-template-columns: repeat(4, 1fr); }
}
