.page-home {
  --hm-line: rgba(200, 164, 93, 0.26);
  background: var(--ink-deep);
  color: var(--sand);
  overflow-x: hidden;
}

.page-home .hm-section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 5.2vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin: 12px 0 0;
}

.page-home .hm-section-title--ink {
  color: var(--ink-deep);
}

/* ---------- hero ---------- */
.page-home .hm-hero {
  position: relative;
  padding: 22px 0 48px;
  background:
    radial-gradient(120% 88% at 92% -16%, rgba(31, 77, 74, 0.95), rgba(31, 77, 74, 0) 62%),
    radial-gradient(90% 70% at -10% 110%, rgba(90, 36, 48, 0.42), rgba(90, 36, 48, 0) 60%),
    var(--ink-deep);
}

.page-home .hm-hero__grid {
  display: grid;
  gap: 34px;
}

.page-home .hm-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(231, 218, 196, 0.62);
  margin-bottom: 22px;
}

.page-home .hm-context a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--hm-line);
  padding-bottom: 1px;
}

.page-home .hm-context a:hover,
.page-home .hm-context a:focus-visible {
  color: var(--ivory);
}

.page-home .hm-hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 10vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ivory);
  margin: 16px 0 0;
}

.page-home .hm-hero__title-accent {
  display: block;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0.01em;
  margin-top: 8px;
}

.page-home .hm-hero__lede {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(231, 218, 196, 0.86);
}

.page-home .hm-route-visual {
  position: relative;
  margin: 26px 0 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--hm-line);
  color: var(--gold-amber);
}

.page-home .hm-route-visual__img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .hm-route-visual__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .hm-route-visual__label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--gold);
  letter-spacing: 0.08em;
}

.page-home .hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-step__summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-md);
  background: rgba(22, 68, 59, 0.5);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .hm-step__summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-step__summary:hover {
  border-color: var(--gold);
}

.page-home .hm-step__details[open] .hm-step__summary {
  border-color: var(--gold);
  background: rgba(22, 68, 59, 0.8);
}

.page-home .hm-step__index {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .hm-step__title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ivory);
}

.page-home .hm-step__body {
  margin: 0;
  padding: 12px 18px 4px 16px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(231, 218, 196, 0.78);
}

/* version cards */
.page-home .hm-cards {
  display: grid;
  gap: 14px;
}

.page-home .hm-card {
  background: var(--sand);
  color: var(--charcoal);
  border: 1px solid rgba(200, 164, 93, 0.55);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.page-home .hm-card--lead {
  background: linear-gradient(155deg, var(--ivory) 0%, var(--sand) 72%);
}

.page-home .hm-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .hm-card__ver {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-evergreen);
}

.page-home .hm-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin: 12px 0 14px;
  color: var(--ink-deep);
}

.page-home .hm-card__media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  object-fit: cover;
}

.page-home .hm-card__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0;
}

.page-home .hm-card__fields dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(29, 31, 28, 0.55);
}

.page-home .hm-card__fields dd {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--charcoal);
}

.page-home .hm-chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .hm-chip--done {
  background: rgba(92, 139, 134, 0.24);
  color: #2a5652;
}

.page-home .hm-chip--wait {
  background: rgba(217, 154, 61, 0.24);
  color: var(--gold-deep);
}

.page-home .hm-chip--arch {
  background: rgba(29, 31, 28, 0.09);
  color: #55564f;
}

/* ---------- bookmarks ---------- */
.page-home .hm-bookmarks {
  background: linear-gradient(180deg, var(--ink-night) 0%, var(--ink-deep) 88%);
  padding: 52px 0;
  border-top: 1px solid rgba(200, 164, 93, 0.14);
}

.page-home .hm-bookmarks__inner {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-home .hm-bookmarks__lede {
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(231, 218, 196, 0.82);
  max-width: 46ch;
}

.page-home .hm-bm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-bm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  padding: 15px 18px;
  border: 1px solid var(--hm-line);
  border-radius: var(--radius-md);
  background: rgba(248, 243, 232, 0.06);
  text-decoration: none;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.page-home .hm-bm:hover,
.page-home .hm-bm:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(248, 243, 232, 0.13);
}

.page-home .hm-bm__index {
  grid-row: span 2;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-amber);
}

.page-home .hm-bm__name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ivory);
}

.page-home .hm-bm__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(231, 218, 196, 0.74);
}

.page-home .hm-bm-figure {
  margin: 0;
}

.page-home .hm-bm-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hm-line);
  object-fit: cover;
}

.page-home .hm-bm-caption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(231, 218, 196, 0.6);
}

/* ---------- records ---------- */
.page-home .hm-records {
  background: var(--sand);
  color: var(--charcoal);
  padding: 54px 0;
}

.page-home .hm-records__lede {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(29, 31, 28, 0.8);
}

.page-home .hm-records__grid {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.page-home .hm-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 31, 28, 0.1);
  background: var(--ivory);
}

.page-home .hm-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .hm-table th {
  text-align: left;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-evergreen);
  background: rgba(22, 68, 59, 0.09);
  white-space: nowrap;
}

.page-home .hm-table td {
  padding: 12px 16px;
  border-top: 1px solid rgba(29, 31, 28, 0.09);
  color: var(--charcoal);
  line-height: 1.6;
}

.page-home .hm-table tbody tr:hover {
  background: rgba(200, 164, 93, 0.1);
}

.page-home .hm-records__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .hm-textview {
  padding: 16px 18px;
  border-radius: var(--radius-md);
}

.page-home .hm-textview__summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink-deep);
  list-style: none;
}

.page-home .hm-textview__summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-textview__summary::after {
  content: "＋";
  float: right;
  color: var(--gold-deep);
  font-size: 14px;
}

.page-home .hm-textview[open] .hm-textview__summary::after {
  content: "－";
}

.page-home .hm-textview pre {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.95;
  color: #2c2e29;
  overflow-x: auto;
  white-space: pre;
}

.page-home .hm-records__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(29, 31, 28, 0.75);
}

.page-home .hm-records__side .btn {
  justify-self: start;
}

/* ---------- rhythm ---------- */
.page-home .hm-rhythm {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background: var(--ink-evergreen);
  color: var(--sand);
}

.page-home .hm-rhythm__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
}

.page-home .hm-rhythm__inner {
  position: relative;
}

.page-home .hm-beats {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.page-home .hm-beat {
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 16px;
}

.page-home .hm-beat__k {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .hm-beat__t {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ivory);
  margin: 8px 0 8px;
}

.page-home .hm-beat__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(231, 218, 196, 0.8);
}

.page-home .hm-statuses {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-statuses li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(231, 218, 196, 0.82);
}

.page-home .hm-stats {
  list-style: none;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hm-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.page-home .hm-stat__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .hm-stat__l {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: rgba(231, 218, 196, 0.72);
}

/* ---------- consult ---------- */
.page-home .hm-consult {
  background: var(--ivory);
  color: var(--charcoal);
  padding: 54px 0;
}

.page-home .hm-routing {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-home .hm-route-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--sand);
  border: 1px solid rgba(29, 31, 28, 0.08);
}

.page-home .hm-route-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink-deep);
}

.page-home .hm-route-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(29, 31, 28, 0.78);
}

.page-home .hm-route-card a {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--hm-line);
  padding-bottom: 2px;
}

.page-home .hm-route-card a:hover,
.page-home .hm-route-card a:focus-visible {
  color: var(--ink-deep);
  border-color: var(--gold-deep);
}

.page-home .hm-contact {
  margin-top: 28px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--ink-deep);
  color: var(--sand);
}

.page-home .hm-contact__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--ivory);
}

.page-home .hm-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.page-home .hm-contact__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(231, 218, 196, 0.6);
  min-width: 68px;
}

.page-home .hm-contact__val {
  font-size: 14px;
  color: var(--ivory);
  word-break: break-all;
}

.page-home .copy-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hm-line);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .copy-btn:hover,
.page-home .copy-btn:focus-visible {
  color: var(--ivory);
  border-color: var(--gold);
}

.page-home .hm-contact__note {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(231, 218, 196, 0.7);
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .page-home .hm-hero {
    padding: 28px 0 64px;
  }

  .page-home .hm-bookmarks {
    padding: 64px 0;
  }

  .page-home .hm-bookmarks__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 36px;
  }

  .page-home .hm-records,
  .page-home .hm-rhythm,
  .page-home .hm-consult {
    padding: 68px 0;
  }

  .page-home .hm-records__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 24px;
  }

  .page-home .hm-beats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .hm-routing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .hm-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hm-statuses {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 960px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .hm-hero__title {
    font-size: clamp(46px, 5.6vw, 82px);
  }

  .page-home .hm-cards {
    gap: 18px;
  }

  .page-home .hm-card {
    padding: 22px;
  }

  .page-home .hm-card--pull {
    transform: translateX(-18px);
  }

  .page-home .hm-card--push {
    transform: translateX(18px);
  }

  .page-home .hm-route-visual__img {
    height: 132px;
  }

  .page-home .hm-bm-figure {
    justify-self: end;
    max-width: 460px;
  }

  .page-home .hm-consult {
    padding-bottom: 78px;
  }

  .page-home .hm-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 32px;
    align-items: start;
    padding: 28px 30px;
  }

  .page-home .hm-contact__title {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .page-home .hm-contact__note {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-bm,
  .page-home .hm-step__summary,
  .page-home .copy-btn {
    transition: none;
  }

  .page-home .hm-bm:hover,
  .page-home .hm-bm:focus-visible {
    transform: none;
  }
}
<<<END>>>
