:root {
  --ink: #1a1a1a;
  --ink-light: #666;
  --paper: #faf8f5;
  --paper-warm: #f2ede6;
  --accent: #c8a96e;
  --accent-dark: #9a7a45;
  --border: #ddd8d0;
  --yamaha-red: #c41230;
  --header-bg: #111;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  line-height: 1.9;
}

/* TOP BAR */
.top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--yamaha-red), var(--accent));
}

/* HEADER */
header {
  background: var(--header-bg);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.logo-tag {
  font-size: 0.68rem;
  color: #888;
  letter-spacing: 0.08em;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 28px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

/* HERO */
.hero {
  background: var(--ink);
  color: white;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,169,110,0.12) 0%, transparent 70%);
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 32px;
  letter-spacing: 0.06em;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 28px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover { background: var(--accent-dark); color: white; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}

.btn-outline:hover { background: var(--accent); color: var(--ink); }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* SECTION TITLE */
.section-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* SERVICES */
.services {
  padding: 72px 0;
  background: var(--paper-warm);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-card p {
  font-size: 0.83rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* POSTS */
.posts-preview {
  padding: 72px 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  display: block;
  transition: box-shadow 0.2s;
}

.post-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.post-thumb {
  height: 200px;
  background: var(--paper-warm) center/cover no-repeat;
}

.post-info {
  padding: 18px 20px;
}

.post-tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.post-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.post-date {
  font-size: 0.75rem;
  color: var(--ink-light);
}

/* CONTACT */
.contact {
  background: var(--ink);
  color: white;
  padding: 72px 0;
}

.contact-inner { max-width: 800px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}

.contact-item {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.8;
}

.contact-item strong {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* FOOTER */
footer {
  background: #0a0a0a;
  color: #555;
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* POSTS LIST PAGE */
.page-header {
  background: var(--ink);
  color: white;
  padding: 56px 40px;
}

.page-header h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  max-width: 1100px;
  margin: 0 auto;
}

.page-header p {
  color: #888;
  font-size: 0.88rem;
  max-width: 1100px;
  margin: 8px auto 0;
}

.posts-page { padding: 56px 0; }

/* SINGLE POST PAGE */
.article-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.category-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  background: var(--paper-warm);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.article-container { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.article-header h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--ink-light);
  letter-spacing: 0.06em;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 40px;
}

.photo-grid .main-photo { grid-column: 1 / -1; }

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.photo-grid .main-photo img { height: 420px; }
.photo-grid .sub-photo img { height: 220px; }

.photo-caption {
  font-size: 0.72rem;
  color: var(--ink-light);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 32px;
}

.article-body { font-size: 0.97rem; }
.article-body p { margin-bottom: 24px; }

.product-highlight {
  background: var(--paper-warm);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  margin: 32px 0;
}

.product-highlight h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.product-highlight ul { list-style: none; }

.product-highlight ul li {
  font-size: 0.9rem;
  padding: 5px 0 5px 18px;
  position: relative;
  color: var(--ink);
}

.product-highlight ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 7px;
}

.related-products {
  border: 1px solid var(--border);
  padding: 24px 28px;
  margin: 32px 0;
}

.related-products h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.related-products p { font-size: 0.9rem; color: var(--ink-light); margin: 0; }

.contact-block {
  background: var(--ink);
  color: white;
  padding: 32px 36px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.contact-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yamaha-red), var(--accent));
}

.contact-block h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.contact-block-item { font-size: 0.88rem; color: #ccc; line-height: 1.7; }
.contact-block-item strong { color: white; font-weight: 500; }
.contact-cta { margin-top: 18px; font-size: 0.85rem; color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  header { padding: 0 20px; }
  .hero { padding: 56px 24px; }
  .hero h1 { font-size: 1.8rem; }
  .container { padding: 0 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid .main-photo img { height: 260px; }
  .photo-grid .sub-photo img { height: 200px; }
  .contact-block-grid { grid-template-columns: 1fr; }
  nav { display: none; }
}
