:root {
  --bg: #fffdfb;
  --bg-warm: #fff8f3;
  --bg-cream: #fcfbec;
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --accent: #b56a3f;
  --accent-deep: #8f4f2c;
  --accent-soft: #f3e4d8;
  --accent-glow: rgba(143, 79, 44, 0.14);
  --dark: #0a0a0a;
  --dark-2: #141414;
  --font-en: "EB Garamond", "Noto Serif JP", serif;
  --font-jp: "EB Garamond", "Noto Serif JP", serif;
  --font-display: "EB Garamond", "Noto Serif JP", serif;
  --font-ui: "EB Garamond", "Noto Serif JP", serif;
  --container: 1100px;
  --narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hide-sm {
  display: none;
}

@media (min-width: 768px) {
  .hide-sm {
    display: inline;
  }
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo img {
    height: 64px;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.header-nav a:hover {
  color: #fff;
}

.header-cta {
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--accent-deep);
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }

  .site-header {
    padding: 1.1rem 2rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(215, 169, 134, 0.34), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(181, 106, 63, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(160deg, #2b211d 0%, #130f0e 42%, #090909 100%);
  transform: scale(1.02);
  animation: hero-kenburns 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.18), rgba(6, 6, 6, 0.45) 48%, rgba(6, 6, 6, 0.74)),
    radial-gradient(ellipse at 50% 18%, rgba(255, 245, 236, 0.07), transparent 36%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow-a {
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  right: -8vw;
  top: -10vh;
  background: radial-gradient(circle, rgba(198, 139, 102, 0.28), rgba(198, 139, 102, 0.04) 58%, transparent 72%);
}

.hero-glow-b {
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  left: -6vw;
  bottom: 10vh;
  background: radial-gradient(circle, rgba(245, 230, 214, 0.12), rgba(245, 230, 214, 0.03) 56%, transparent 72%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner {
  width: min(100% - 2.5rem, 920px);
  padding: 7rem 0 8rem;
  text-align: left;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7.2vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-catch {
  font-family: var(--font-jp);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.01em;
  max-width: 34em;
  margin-top: 5.55em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 36em;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-lg {
  padding: 1.05rem 1.7rem;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-warm {
  background: var(--bg-warm);
}

.section-cream {
  background: var(--bg-cream);
}

.section-dark {
  background:
    radial-gradient(ellipse at 70% 0%, rgba(181, 106, 63, 0.18), transparent 45%),
    linear-gradient(180deg, #121212, #0a0a0a);
  color: #fff;
}

.section-ink {
  background:
    linear-gradient(160deg, #171717 0%, #0d0d0d 55%, #1a120e 100%);
  color: #fff;
}

.section-pricing {
  background:
    radial-gradient(circle at 20% 10%, rgba(181, 106, 63, 0.28), transparent 42%),
    linear-gradient(180deg, #120c0a, #0a0a0a 40%, #14110f);
  color: #fff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.section-title.light {
  color: #fff;
}

.prose {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose.light {
  color: rgba(255, 255, 255, 0.78);
}

.prose-note {
  margin: 1.5rem 0 2rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.closing-line {
  margin-top: 2.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.9;
  max-width: 40rem;
}

/* Future */
.future-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .future-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.future-item {
  padding: 1.6rem 1.4rem 1.7rem;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 1rem;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.03),
    0 10px 28px rgba(17, 17, 17, 0.06);
}

.future-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.future-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.future-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Formula */
.formula-diagram {
  margin: 2.25rem auto 1.5rem;
  max-width: 860px;
  display: flex;
  justify-content: center;
}

.formula-grid {
  display: grid;
  grid-template-columns: 92px auto 92px auto 92px;
  column-gap: 0.35rem;
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: max-content;
  margin-inline: auto;
  user-select: none;
}

.formula-circle-wrap {
  display: flex;
  justify-content: center;
}

.formula-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #262626;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.formula-circle:hover {
  transform: scale(1.05);
}

.formula-circle span {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.formula-times {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 800;
  color: #a3a3a3;
  text-align: center;
  line-height: 1;
}

@media (min-width: 640px) {
  .formula-grid {
    grid-template-columns: 130px auto 130px auto 130px;
    column-gap: 1rem;
  }

  .formula-circle {
    width: 130px;
    height: 130px;
  }

  .formula-circle span {
    font-size: 2.15rem;
  }

  .formula-times {
    font-size: 2.15rem;
  }
}

/* Split compare */
.split-compare {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 800px) {
  .split-compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.split-panel {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.04);
}

.split-panel.highlight {
  background: linear-gradient(165deg, #fbf7f3 0%, #f0e2d4 55%, #ebd6c4 100%);
  border: 1px solid rgba(181, 106, 63, 0.32);
  box-shadow:
    0 1px 2px rgba(89, 48, 24, 0.05),
    0 10px 24px rgba(89, 48, 24, 0.1),
    0 22px 44px rgba(89, 48, 24, 0.08);
  transform: translateY(-2px);
}

.split-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.split-panel.highlight h3 {
  color: var(--accent-deep);
}

.split-panel p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.split-panel strong {
  color: var(--accent-deep);
}

/* Solution */
.solution-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.section-note {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.solution-block {
  display: grid;
  gap: 1rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

@media (min-width: 800px) {
  .solution-block {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
  }
}

.solution-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.solution-block h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}

.solution-block > p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.em {
  color: var(--accent-deep);
  font-weight: 700;
}

/* Service overview */
.section-overview {
  background:
    linear-gradient(180deg, #faf6f2 0%, #fff8f3 48%, #f7f0ea 100%);
  color: var(--ink);
}

.overview-heading {
  text-align: center;
  margin-bottom: 3.25rem;
}

.overview-title {
  text-align: center;
  margin-bottom: 0;
}

.overview-grid {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid rgba(143, 79, 44, 0.14);
}

@media (min-width: 860px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.overview-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  padding: 2.1rem 0 2.2rem;
  border-bottom: 1px solid rgba(143, 79, 44, 0.14);
}

@media (min-width: 860px) {
  .overview-item {
    padding: 2.35rem 1.75rem 2.45rem;
  }

  .overview-item:nth-child(odd) {
    border-right: 1px solid rgba(143, 79, 44, 0.14);
    padding-left: 0;
    padding-right: 2rem;
  }

  .overview-item:nth-child(even) {
    padding-left: 2rem;
    padding-right: 0;
  }

  .overview-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 859px) {
  .overview-item:last-child {
    border-bottom: none;
  }
}

.overview-num {
  font-family: var(--font-en);
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 0.2rem;
}

.overview-body h3 {
  font-family: var(--font-jp);
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.overview-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
}

.overview-item-note .overview-body h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
}

.overview-item-note .overview-num {
  opacity: 0.72;
}

/* Quote — editorial dialogue, not callout box */
.quote-panel {
  position: relative;
  margin: 3rem auto;
  max-width: 34rem;
  padding: 0.5rem 0 0.25rem;
  border: none;
  background: none;
  text-align: center;
}

.quote-panel::before {
  content: "“";
  display: block;
  margin: 0 auto 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 4.4rem);
  font-weight: 400;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.7;
}

.quote-panel p {
  position: relative;
  margin: 0;
  padding: 1.15rem 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.quote-panel p + p {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-panel p::before,
.quote-panel p::after {
  font-family: var(--font-display);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
}

.quote-panel p::before {
  content: "「";
  margin-right: 0.05em;
}

.quote-panel p::after {
  content: "」";
  margin-left: 0.05em;
}

/* Compare tables */
.compare-container {
  max-width: 1080px;
}

.compare-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.compare-title {
  text-align: center;
  margin-bottom: 0;
}

.compare-block {
  margin-bottom: 3.5rem;
}

.compare-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.compare-block-title::before {
  content: "";
  width: 1.65rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex-shrink: 0;
}

.compare-scroll-hint {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.65rem 0.2rem;
  font-family: var(--font-jp);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.compare-scroll-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  animation: compare-pulse 1.5s ease-in-out infinite;
}

@media (max-width: 900px) {
  .compare-scroll-hint {
    display: inline-flex;
  }
}

.compare-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem;
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 248, 0.96));
  border: 1px solid rgba(143, 79, 44, 0.12);
  box-shadow:
    0 1px 2px rgba(89, 48, 24, 0.03),
    0 18px 40px rgba(89, 48, 24, 0.07);
}

.matrix-table {
  width: 100%;
  min-width: 880px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-jp);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: transparent;
}

.matrix-table th,
.matrix-table td {
  border-right: 1px solid rgba(143, 79, 44, 0.08);
  border-bottom: 1px solid rgba(143, 79, 44, 0.08);
  padding: 0.95rem 1rem;
  vertical-align: middle;
  text-align: left;
}

.matrix-table th:last-child,
.matrix-table td:last-child {
  border-right: none;
}

.matrix-table tbody tr:last-child th,
.matrix-table tbody tr:last-child td {
  border-bottom: none;
}

.matrix-table thead th {
  background: linear-gradient(180deg, #f7efe8, #f1e4d8);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(143, 79, 44, 0.14);
  padding: 1.05rem 0.85rem;
}

.matrix-table thead th:first-child {
  width: 8rem;
  position: sticky;
  left: 0;
  z-index: 5;
  background: linear-gradient(180deg, #f7efe8, #f1e4d8);
  box-shadow: 6px 0 12px -8px rgba(89, 48, 24, 0.22);
}

.matrix-table thead th:nth-child(2),
.matrix-table thead th:nth-child(3),
.matrix-table thead th:nth-child(4),
.matrix-table thead .ours-head {
  width: calc((100% - 8rem) / 3);
}

.matrix-table thead th span {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--muted);
}

.matrix-table thead .ours-head {
  background: linear-gradient(165deg, #f4e4d6 0%, #e8d0bc 100%);
  color: var(--accent-deep);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.matrix-table thead .ours-head::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.85;
}

.matrix-table .cat {
  background: linear-gradient(180deg, #faf7f4, #f5efe9);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  letter-spacing: 0.02em;
  writing-mode: horizontal-tb;
  width: 4rem;
  min-width: 4rem;
  max-width: 4rem;
  padding: 0.85rem 0.25rem;
  font-size: 0.76rem;
  line-height: 1.45;
  position: sticky;
  left: 0;
  z-index: 3;
  box-shadow: 6px 0 12px -8px rgba(89, 48, 24, 0.18);
}

.matrix-table .cat[colspan] {
  width: 8rem;
  min-width: 8rem;
  max-width: 8rem;
  padding: 1.05rem 0.55rem;
  text-align: center;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  z-index: 4;
}

.matrix-table .cat-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: normal;
}

.matrix-table .sub {
  background: rgba(251, 247, 243, 0.98);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  width: 4rem;
  min-width: 4rem;
  max-width: 4rem;
  font-size: 0.76rem;
  text-align: center;
  letter-spacing: 0.02em;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  position: sticky;
  left: 4rem;
  z-index: 2;
  box-shadow: 6px 0 12px -8px rgba(89, 48, 24, 0.16);
}

.matrix-table td {
  background: rgba(255, 255, 255, 0.55);
  vertical-align: top;
}

.matrix-table tbody tr:hover td {
  background: rgba(255, 250, 246, 0.9);
}

.matrix-table td:last-child {
  background: linear-gradient(180deg, rgba(251, 246, 241, 0.75), rgba(245, 236, 227, 0.55));
}

.matrix-table tbody tr:hover td:last-child {
  background: linear-gradient(180deg, rgba(248, 240, 232, 0.95), rgba(242, 230, 218, 0.8));
}

.matrix-table .cell-center {
  text-align: center;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.matrix-table .cell-price {
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.matrix-table .cell-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.matrix-table .cell-list li {
  position: relative;
  padding-left: 0.9rem;
  line-height: 1.65;
}

.matrix-table .cell-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: rgba(143, 79, 44, 0.45);
  transform: translateY(-50%);
}

.matrix-table td:last-child .cell-list li::before {
  background: var(--accent);
}

.matrix-table .cell-list li:has(.hl)::before {
  background: var(--accent-deep);
}

.matrix-table .hl {
  color: var(--accent-deep);
  font-weight: 700;
}

.matrix-table .cell-lead {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.matrix-table .cell-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
}

.compare-footnote {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 500;
  color: #8a8a8a;
  line-height: 1.7;
}

@keyframes compare-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Closing CTA */
.closing {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
}

.closing-lead {
  margin-top: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.closing-cta {
  margin-top: 5.5rem;
}

.closing-cta .btn {
  box-sizing: border-box;
  width: min(100%, 20.5rem);
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  border-width: 1px;
  border-style: solid;
  text-align: center;
  white-space: nowrap;
}

.closing-cta .btn-primary {
  border-color: var(--accent);
}

.closing-cta .btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

/* Contact modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(6px);
}

.contact-dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 1.35rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 24px 60px rgba(17, 17, 17, 0.22);
  padding: 2rem 1.75rem 1.85rem;
  color: var(--ink);
  animation: contact-in 0.28s var(--ease);
}

@keyframes contact-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-close:hover {
  background: rgba(17, 17, 17, 0.09);
  color: var(--ink);
}

.contact-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.35rem;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-field label {
  display: block;
  margin-bottom: 0.45rem;
  padding-left: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-required {
  color: #d64545;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 0.85rem;
  background: #faf8f6;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9a9a9a;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #fff;
}

.contact-field textarea {
  resize: none;
  min-height: 7.5rem;
}

.contact-error {
  font-size: 0.86rem;
  font-weight: 700;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
}

.contact-submit {
  width: 100%;
  margin-top: 0.35rem;
  border: none;
  border-radius: 0.85rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(143, 79, 44, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.contact-submit:hover:not(:disabled) {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-submit-secondary {
  margin-top: 1.25rem;
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid rgba(143, 79, 44, 0.28);
  box-shadow: none;
}

.contact-submit-secondary:hover:not(:disabled) {
  background: rgba(143, 79, 44, 0.06);
  transform: none;
}

.contact-success {
  text-align: center;
  padding: 1.5rem 0.5rem 0.25rem;
}

.contact-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ecfdf3;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.contact-success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-success-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.contact-success-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 22rem;
  margin: 0 auto;
}

body.contact-open {
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: #070707;
  color: rgba(255, 255, 255, 0.62);
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer-desc,
.footer-meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  transition-delay: 0s;
}

.hero .reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.hero .reveal:nth-child(2) {
  transition-delay: 0.18s;
}
.hero .reveal:nth-child(3) {
  transition-delay: 0.3s;
}
.hero .reveal:nth-child(4) {
  transition-delay: 0.42s;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-photo,
  .scroll-line {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
