/* P-HOME-V1: Homepage editorial hierarchy. Shared leather and header remain owned by existing themes. */
.home-page .home-v1-content {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 48px) 0 clamp(64px, 8vw, 104px);
}

.home-page .home-v1-hero {
  width: 100% !important;
  max-width: none !important;
  padding: clamp(34px, 6vw, 76px) 0 clamp(24px, 4vw, 44px) !important;
}

.home-v1-hero__statement {
  max-width: 34rem;
  margin: 22px auto 0;
  color: rgba(239, 222, 191, .86);
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  letter-spacing: .04em;
  line-height: 1.8;
}

.home-v1-section-kicker {
  margin: 0 0 9px;
  color: rgba(225, 189, 111, .86);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.home-v1-section-title {
  margin: 0;
  color: #fff7e4;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: .04em;
}

.home-v1-market-summary,
.home-v1-market-focus,
.home-v1-ranking-index {
  border-top: 1px solid rgba(232, 214, 172, .24);
}

.home-v1-market-summary { padding: clamp(24px, 3.5vw, 42px) 0; }

.home-v1-market-summary__grid {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.55fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
}

.home-v1-market-summary__date,
.home-v1-focus-date,
.home-v1-ranking-heading > p {
  margin: 7px 0 0;
  color: rgba(220, 231, 244, .66);
  font-size: .82rem;
}

.home-v1-market-summary__state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: #fff6df;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.home-v1-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4aa56; box-shadow: 0 0 0 4px rgba(212, 170, 86, .12); }
.home-v1-status-dot.is-positive { background: #ed7777; box-shadow: 0 0 0 4px rgba(237, 119, 119, .13); }
.home-v1-status-dot.is-negative { background: #62bfa6; box-shadow: 0 0 0 4px rgba(98, 191, 166, .13); }

.home-v1-market-summary__note {
  margin: 0;
  color: rgba(240, 246, 255, .88);
  font-size: clamp(.98rem, 1.55vw, 1.12rem);
  line-height: 1.85;
}

.home-v1-inline-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #f2cf84;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.home-v1-inline-link:hover { color: #fff2c9; text-decoration: underline; text-underline-offset: 5px; }
.home-v1-inline-link:focus-visible,
.home-v1-ranking-row:focus-visible { outline: 2px solid #f2cf84; outline-offset: 4px; }

.home-v1-market-focus { padding: clamp(28px, 4vw, 48px) 0 clamp(38px, 5vw, 62px); }
.home-v1-focus-heading,
.home-v1-ranking-heading { display: flex; justify-content: space-between; gap: 22px; align-items: end; }
.home-v1-focus-topics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-top: clamp(28px, 4vw, 44px); }
.home-v1-focus-topic { color: rgba(255, 244, 215, .92); font-weight: 780; letter-spacing: .035em; line-height: 1.18; }
.home-v1-focus-topic::after { content: '·'; margin-left: 18px; color: rgba(232, 193, 113, .68); }
.home-v1-focus-topic:last-child::after { display: none; }
.home-v1-focus-topic:nth-child(1) { font-size: clamp(1.75rem, 4.5vw, 3.6rem); }
.home-v1-focus-topic:nth-child(2) { font-size: clamp(1.45rem, 3.2vw, 2.5rem); }
.home-v1-focus-topic:nth-child(n + 3) { font-size: clamp(1.16rem, 2.1vw, 1.72rem); color: rgba(235, 239, 245, .79); }
.home-v1-focus-unavailable { margin: 28px 0 0; color: rgba(220, 231, 244, .66); }

.home-v1-ranking-index { padding-top: clamp(28px, 4vw, 48px); }
.home-v1-ranking-rows { margin-top: 22px; }
.home-v1-ranking-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  border-top: 1px solid rgba(226, 239, 255, .18);
  color: inherit;
  text-decoration: none;
  transition: background-color .18s ease, padding .18s ease;
}
.home-v1-ranking-row:last-child { border-bottom: 1px solid rgba(226, 239, 255, .18); }
.home-v1-ranking-row:hover { padding-inline: 12px; background: linear-gradient(90deg, rgba(221, 180, 99, .12), transparent 75%); }
.home-v1-ranking-row__number { color: rgba(232, 193, 113, .82); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.home-v1-ranking-row__copy { display: grid; gap: 6px; min-width: 0; }
.home-v1-ranking-row__copy strong { color: #fff7e5; font-size: clamp(1.14rem, 2.2vw, 1.48rem); letter-spacing: .03em; }
.home-v1-ranking-row__copy small { color: rgba(222, 233, 247, .72); font-size: .93rem; line-height: 1.55; }
.home-v1-ranking-row__arrow { color: #f2cf84; font-size: 1.25rem; text-align: right; transition: transform .18s ease; }
.home-v1-ranking-row:hover .home-v1-ranking-row__arrow { transform: translate(3px, -3px); }

@media (max-width: 640px) {
  .home-page .home-v1-content { width: min(100% - 28px, 560px); padding-top: 10px; }
  .home-page .home-v1-hero { padding: 22px 0 18px !important; }
  .home-page .home-brand-text .home-brand-main { font-size: clamp(54px, 16vw, 66px) !important; }
  .home-v1-hero__statement { margin-top: 15px; font-size: .92rem; line-height: 1.7; }
  .home-v1-market-summary__grid { grid-template-columns: 1fr; gap: 17px; align-items: start; }
  .home-v1-inline-link { margin-top: 2px; }
  .home-v1-focus-heading,
  .home-v1-ranking-heading { display: block; }
  .home-v1-focus-date,
  .home-v1-ranking-heading > p { margin-top: 10px; }
  .home-v1-focus-topics { gap: 10px 12px; }
  .home-v1-focus-topic::after { margin-left: 12px; }
  .home-v1-focus-topic:nth-child(1) { font-size: clamp(1.65rem, 10vw, 2.5rem); }
  .home-v1-focus-topic:nth-child(2) { font-size: clamp(1.32rem, 7vw, 1.82rem); }
  .home-v1-ranking-row { grid-template-columns: 42px minmax(0, 1fr) 26px; gap: 10px; min-height: 96px; }
  .home-v1-ranking-row:hover { padding-inline: 0; background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v1-ranking-row,
  .home-v1-ranking-row__arrow { transition: none; }
}
