/* cesar.cc.cd · Luminous Single-Viewport Homepage (Quantum Country × Sam Rose palette) */
.hm-body {
  background: #ffffff;
  color: #16181a;
  overflow-x: clip;
}

.hm-top {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 32px 0;
}
.hm-top-in {
  display: flex;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #eaecef;
}
.hm-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: #16181a;
}

.hm-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.hm-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 44px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #eff1f3;
}
.hm-row:last-child {
  border-bottom: 0;
}

.hm-row-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hm-row-title {
  margin: 0;
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hm-row-title a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: #16181a;
  transition: color 0.14s ease;
}
.hm-row:hover .hm-row-title a {
  color: #1f6e5c;
}
.hm-row-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hm-num {
  font-family: var(--cc-serif);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: #929aa1;
}

.hm-nav-keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #646c73;
  padding-left: 33px;
}
.hm-nav-keys a {
  position: relative;
  z-index: 3;
  text-decoration: none;
  color: #525a60;
  border-bottom: 1px solid transparent;
}
.hm-nav-keys a:hover {
  color: #1f6e5c;
  border-bottom-color: #1f6e5c;
}

/* ---------- Luminous Micro-Canvases (Right Column) ---------- */
.hm-artifact {
  width: 100%;
  min-width: 0;
}

.hm-canvas-box {
  background: #f7f8f7;
  border: 1px solid #e6e9e7;
  border-radius: 10px;
  padding: 10px 12px;
}
.hm-gold-svg {
  display: block;
  width: 100%;
  height: auto;
}

.hm-lp-board {
  background: #f7f8f7;
  border: 1px solid #e6e9e7;
  border-radius: 10px;
  padding: 10px;
}
.hm-lp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.hm-lp-node {
  padding: 7px 6px;
  border: 1px solid #e6e9e7;
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-lp-node.is-anchor {
  border-color: #1f6e5c;
  background: #eef6f4;
}
.hm-lp-node.is-loop {
  border-color: #c27a1c;
  background: #fdf8f0;
}
.hm-lp-node small {
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #929aa1;
}
.hm-lp-node.is-anchor small {
  color: #1f6e5c;
}
.hm-lp-node.is-loop small {
  color: #c27a1c;
}
.hm-lp-node b {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #16181a;
}

.hm-cnfin-board {
  background: #103b39;
  color: #f4f7f6;
  border-radius: 10px;
  padding: 16px 20px;
}
.hm-cnfin-hero {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hm-cnfin-hero span {
  font-size: 12px;
  color: rgba(244, 247, 246, 0.72);
}
.hm-cnfin-hero strong {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
}
.hm-cnfin-hero small {
  font-size: 18px;
  margin-left: 2px;
  font-weight: 400;
}
.hm-cnfin-sub {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hm-cnfin-sub span {
  display: block;
  font-size: 11px;
  color: rgba(244, 247, 246, 0.68);
  margin-bottom: 2px;
}
.hm-cnfin-sub b {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hm-start-bar {
  display: flex;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
}
.hm-start-seg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 14px;
}
.hm-start-seg strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}
.hm-start-seg span {
  font-size: 11.5px;
  opacity: 0.9;
}
.hm-start-seg.is-a {
  background: #1d4082;
  color: #fff;
}
.hm-start-seg.is-b {
  background: #1d57d6;
  color: #fff;
}
.hm-start-seg.is-c {
  background: #dfe9fb;
  color: #18346e;
}

@media (max-width: 900px) {
  .hm-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }
  .hm-nav-keys {
    padding-left: 0;
  }
}
@media (max-width: 600px) {
  .hm-top {
    padding: 14px 16px 0;
  }
  .hm-main {
    padding: 0 16px 40px;
  }
  .hm-lp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-start-seg {
    padding: 0 10px;
  }
}
