/* ==========================================================================
   PARALLEL MOMENT (A-ray) — corporate site stylesheet
   brand: #92400E (7.4:1 on white) / ink #151515 / soft sand #FAF9F7
   ========================================================================== */

:root {
  --brand: #92400e;
  --brand-dark: #7c2d12;
  --ink: #151515;
  --ink-2: #3f3f46;
  --muted: #6b7280;
  --line: #e7e5e4;
  --bg-soft: #faf9f7;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(21, 21, 21, .06), 0 1px 3px rgba(21, 21, 21, .04);
  --shadow-md: 0 12px 34px -14px rgba(21, 21, 21, .22);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container { width: min(var(--max), 92vw); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand .rule { width: 1px; height: 28px; background: var(--line); flex: none; }
.brand .legal {
  font-size: 12.5px; color: var(--muted); line-height: 1.35;
  letter-spacing: .02em; white-space: nowrap;
}

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink-2); font-size: 15px; position: relative; }
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.main-nav .lang {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 13px; font-size: 13px; color: var(--ink-2);
}
.main-nav .lang:hover { border-color: var(--brand); color: var(--brand); }
.main-nav .lang::after { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(78vh, 640px); display: grid; place-items: center; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, .44) 0%, rgba(12, 12, 12, .70) 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; color: #fff; padding: 100px 0; }
.hero .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 24px;
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.2;
  font-weight: 700; letter-spacing: -.01em;
}
.hero p {
  margin: 0 auto; max-width: 680px; font-size: clamp(15px, 1.6vw, 17.5px);
  color: rgba(255, 255, 255, .9);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -10px rgba(146, 64, 14, .75); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .48); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- page head (inner pages) ---------- */
.page-head { position: relative; overflow: hidden; background: #141414; color: #fff; padding: 72px 0; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/hero.webp) center / cover no-repeat; opacity: .32;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, .55), rgba(20, 20, 20, .9));
}
.page-head .inner { position: relative; z-index: 1; }
.page-head .kicker {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #e7c8a8; font-weight: 700; margin-bottom: 12px;
}
.page-head h1 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; letter-spacing: -.01em; }
.page-head p { margin: 14px 0 0; max-width: 640px; color: rgba(255, 255, 255, .84); font-size: 16px; }

/* ---------- generic section ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head .kicker {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 12px;
}
.section-head h2 {
  margin: 0 0 14px; font-size: clamp(24px, 2.8vw, 33px);
  line-height: 1.28; letter-spacing: -.01em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-copy p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }
.about-copy p:last-of-type { margin-bottom: 0; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 14px; text-align: center;
}
.fact b { display: block; font-size: 18px; color: var(--brand); letter-spacing: -.01em; }
.fact span { font-size: 13px; color: var(--muted); }

/* ---------- entry cards ---------- */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.entry {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d6d3d1; color: var(--ink); }
.entry .idx {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase;
}
.entry h3 { margin: 12px 0 8px; font-size: 19px; letter-spacing: -.01em; }
.entry p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.entry .more { font-weight: 600; color: var(--brand); font-size: 14.5px; }
.entry .more::after { content: " →"; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.cat .idx { font-size: 12px; letter-spacing: .12em; color: var(--brand); font-weight: 700; }
.cat h3 { margin: 10px 0 6px; font-size: 18px; }
.cat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- points ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.point { border-top: 2px solid var(--ink); padding-top: 22px; }
.point .num { font-size: 12px; letter-spacing: .14em; color: var(--brand); font-weight: 700; }
.point h3 { margin: 8px 0 10px; font-size: 19px; }
.point p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- products ---------- */
.product-note {
  margin: 0 0 30px; padding: 16px 20px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 14.5px;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d6d3d1; }
.card .thumb { aspect-ratio: 1; background: #f5f5f4; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; }
.card p {
  margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.62; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.card .price { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.card .price span { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.card .meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px;
}
.card .asin { color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.card .link { font-weight: 600; white-space: nowrap; }
.card .link::after { content: " →"; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.contact-item .label {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 10px;
}
.contact-item .value { font-size: 15.5px; color: var(--ink); line-height: 1.6; word-break: break-word; }
.contact-item .value a { color: var(--ink); }
.contact-item .value a:hover { color: var(--brand); }

.contact-note {
  margin-top: 34px; padding: 24px 26px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; color: var(--ink-2);
}
.contact-note b { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: #121212; color: rgba(255, 255, 255, .72); padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.site-footer img.f-logo { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer .f-legal { font-size: 15px; color: #fff; font-weight: 600; margin: 0 0 6px; }
.site-footer .f-line { font-size: 13.5px; margin: 0 0 4px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.f-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; }
.f-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- legal page ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page h1 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 8px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.legal-body { max-width: 800px; }
.legal-body h2 { font-size: 19px; margin: 34px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 15.5px; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .brand .rule, .brand .legal { display: none; }
  .main-nav { gap: 18px; }
  .main-nav a:not(.lang) { font-size: 14px; }
  .section { padding: 62px 0; }
  .facts { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 76px 0; }
  .page-head { padding: 54px 0; }
  .brand img { height: 38px; }
}
@media (max-width: 480px) {
  .main-nav { gap: 12px; }
  .main-nav a:not(.lang) { font-size: 13px; }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand img { height: 34px; }
}
