:root {
  --paper: #f4f0e7;
  --ink: #1a2333;
  --blue: #1b4a82;
  --muted: #465166;
  --line: #ddd4c6;
  --card: #fbf8f2;
  --lamp: #c4473a;
  --max: 1120px;
  --shadow: 0 1px 0 rgba(26, 35, 51, 0.04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--blue);
  color: #f7f4ee;
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(244, 240, 231, 0.94);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.mark { width: 36px; height: 36px; flex: none; }

.brand-name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-en {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lamp {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--lamp);
  margin-top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  padding: 8px 12px;
  font-size: 15px;
}

.nav a:hover { color: var(--blue); }

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 8px 12px;
  cursor: pointer;
}

.hero { padding: 28px 0 8px; }

.hero img {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
}

.intro {
  padding: 48px 0 8px;
  max-width: 40rem;
}

h1, h2, h3, p { margin: 0; }

h1 {
  font-family: "Palatino Linotype", Palatino, "PMingLiU", "Microsoft JhengHei", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--blue);
}

.intro p { font-size: 17px; margin-top: 18px; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}

.idx {
  color: var(--blue);
  font-family: "Palatino Linotype", Palatino, "PMingLiU", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.principles h2 { font-size: 20px; font-weight: 600; }

.principles p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.catalog { padding: 48px 0 20px; }

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.catalog-head h2 { font-size: 28px; font-weight: 600; letter-spacing: 0.04em; }

.catalog-head p { color: var(--muted); font-size: 14px; text-align: right; max-width: 28em; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
  text-decoration: none;
}

.feature img, .card img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
}

.model {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature h3, .card h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.card h3 { font-size: 18px; }

.blurb { color: var(--muted); margin-top: 10px; font-size: 15px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}

.price strong { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }

.price s { color: var(--muted); font-size: 14px; }

.more {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 15px;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 22px;
}

.card { text-decoration: none; display: block; }

.card.is-out img { filter: grayscale(0.9); }

.stock {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.closing {
  margin-top: 56px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.quote {
  font-family: "Palatino Linotype", Palatino, "PMingLiU", "Microsoft JhengHei", serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
  max-width: 16em;
  color: var(--blue);
}

.invite { margin-top: 18px; font-size: 17px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #f7f4ee;
  font-size: 15px;
}

.btn.ghost {
  background: transparent;
  color: var(--blue);
}

.btn:hover { background: #163c6b; color: #f7f4ee; }

.btn.ghost:hover { background: transparent; color: #163c6b; }

.fine {
  color: var(--muted);
  font-size: 13px;
  max-width: 46em;
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--blue); }

.crumb { margin: 22px 0 8px; font-size: 14px; }

.crumb a { color: var(--blue); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 28px;
}

.product img { border: 1px solid var(--line); background: #fff; }

.product h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 6px;
}

.product h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead { margin-top: 14px; font-size: 17px; }

.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.section-block { padding: 8px 0 36px; }

.section-block h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 28px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.notes { margin: 0; padding-left: 1.15em; }

.notes li { margin: 6px 0; }

.notes li::marker { color: var(--blue); }

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
}

.variants li {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 7px 10px;
  font-size: 14px;
}

.variants li.out { color: var(--muted); }

@media (max-width: 980px) {
  .principles, .feature, .grid, .product { grid-template-columns: 1fr; }
  .catalog-head { flex-direction: column; align-items: flex-start; }
  .catalog-head p { text-align: left; }
}

@media (max-width: 800px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .menu-toggle { display: inline-flex; }
  .bar { flex-wrap: wrap; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 8px;
  }
  .nav.is-open { display: flex; }
  .catalog-head { flex-direction: column; align-items: flex-start; }
  .catalog-head p { text-align: left; }
  .feature h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
