.page-home {
  --home-radius: 16px;
  --home-shadow: 0 18px 40px rgba(11, 22, 34, 0.18);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home p,
.page-home figure,
.page-home dl,
.page-home dd,
.page-home dt {
  margin: 0;
}

.page-home ul,
.page-home ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home a {
  color: inherit;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .on-paper .eyebrow,
.page-home .local .eyebrow {
  color: var(--teal-ink);
}

.page-home .sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 60ch;
}

.page-home .sec-head h2,
.page-home .local-text h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.page-home .sec-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: rgba(251, 247, 239, 0.74);
}

.page-home [data-reveal] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 4vw, 30px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(120% 80% at 8% 0%, #14324a 0%, rgba(11, 22, 34, 0) 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-bottom: 1px solid var(--line);
}

.page-home .hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.page-home .hero-lines path {
  fill: none;
  stroke: var(--contour);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
}

.page-home .hero .container {
  position: relative;
  z-index: 1;
}

.page-home .crumb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.page-home .crumb-current {
  color: var(--cyan);
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(20px, 3.4vw, 34px);
}

.page-home .hero-main {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
  min-width: 0;
}

.page-home .hero-main h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.page-home .hero-lead {
  max-width: 36em;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.8;
  color: rgba(251, 247, 239, 0.78);
}

.page-home .hero-mark {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 26px);
  padding: clamp(4px, 1vw, 10px) 0 clamp(2px, 1vw, 6px);
}

.page-home .v3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(96px, 25vw, 210px);
  line-height: 0.76;
  letter-spacing: -0.05em;
  color: var(--cyan);
  text-shadow: 0 0 48px rgba(79, 240, 208, 0.22);
}

.page-home .hero-mark-meta {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--steel);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-collage {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .pcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: rgba(251, 247, 239, 0.05);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}

.page-home .pcard:hover,
.page-home .pcard:focus-visible {
  border-color: var(--cyan);
  background: rgba(79, 240, 208, 0.08);
  transform: translateY(-3px);
  outline: none;
}

.page-home .pcard:focus-visible {
  box-shadow: 0 0 0 2px var(--cyan);
}

.page-home .pcard-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.page-home .pcard-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.2;
}

.page-home .pcard-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.72);
}

.page-home .pcard-foot {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .pcard-a {
  border-left: 3px solid var(--cyan);
}

.page-home .pcard-c {
  border-left: 3px solid var(--orange);
}

.page-home .hero-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(79, 240, 208, 0.08);
}

.page-home .hero-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- Dashboard ---------- */
.page-home .dash {
  padding: clamp(44px, 6vw, 76px) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
}

.page-home .dash-list {
  margin-top: clamp(24px, 4vw, 38px);
  border-top: 1px solid var(--line);
}

.page-home .dash-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .dash-num {
  grid-row: 1 / span 2;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .dash-body h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  line-height: 1.5;
}

.page-home .dash-body p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(251, 247, 239, 0.7);
}

.page-home .dash-meta {
  grid-column: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-home .dash-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(22px, 3.4vw, 32px);
}

.page-home .dash-count {
  max-width: 46em;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(251, 247, 239, 0.72);
}

.page-home .dash-count-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  padding-right: 6px;
}

/* ---------- Catalog ---------- */
.page-home .catalog {
  padding: clamp(44px, 6vw, 80px) 0;
}

.page-home .catalog .sec-lead,
.page-home .catalog .pcard-text {
  color: rgba(26, 35, 43, 0.76);
}

.page-home .cat-rail {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 20px);
  border: 1px solid rgba(26, 35, 43, 0.14);
  border-radius: var(--home-radius);
  background: var(--white);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .cat-card:hover,
.page-home .cat-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--teal-ink);
  box-shadow: var(--home-shadow);
}

.page-home .cat-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(26, 35, 43, 0.18);
}

.page-home .cat-letter {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-ink);
}

.page-home .cat-range {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(26, 35, 43, 0.55);
}

.page-home .cat-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--graphite);
}

.page-home .cat-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(26, 35, 43, 0.66);
}

.page-home .cat-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.page-home .cat-items li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.6;
  color: var(--graphite);
}

.page-home .cat-items .meta-mono {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--teal-ink);
}

.page-home .cat-rest {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(26, 35, 43, 0.45);
}

.page-home .cat-figure {
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .figure-media {
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid rgba(44, 74, 90, 0.35);
  background: var(--ink-2);
}

.page-home .figure-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .figure-cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(26, 35, 43, 0.62);
}

.page-home .cat-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .cat-action .meta-mono {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(26, 35, 43, 0.55);
}

/* ---------- Mirror ---------- */
.page-home .mirror {
  padding: clamp(44px, 6vw, 80px) 0;
  background: var(--ink);
  border-top: 1px solid var(--line-soft);
}

.page-home .mirror-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .mirror-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: rgba(251, 247, 239, 0.035);
}

.page-home .mirror-new {
  border-top: 3px solid var(--cyan);
}

.page-home .mirror-old {
  border-top: 3px solid var(--orange);
}

.page-home .mirror-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .mirror-tag .meta-mono {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.page-home .mirror-col h3 {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.16;
}

.page-home .mirror-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(251, 247, 239, 0.72);
}

.page-home .steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .steps li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(251, 247, 239, 0.82);
}

.page-home .steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .step-num {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .steps-figure .figure-media img {
  aspect-ratio: 4 / 5;
}

.page-home .steps-figure .figure-cap {
  color: var(--steel);
}

.page-home .term-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .term-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .term-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.page-home .term-desc {
  grid-column: 1;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.62);
}

.page-home .term-list .tag {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.page-home .mirror-link {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- Local ---------- */
.page-home .local {
  background: var(--paper);
  color: var(--graphite);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.page-home .local-band {
  overflow: hidden;
  border-top: 1px solid rgba(44, 74, 90, 0.3);
  border-bottom: 1px solid rgba(44, 74, 90, 0.3);
}

.page-home .local-band img {
  width: 100%;
  height: clamp(110px, 22vw, 240px);
  object-fit: cover;
}

.page-home .local-inner {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  padding-top: clamp(32px, 5vw, 56px);
}

.page-home .local-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .local-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(26, 35, 43, 0.78);
}

.page-home .local-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.page-home .local-actions .btn-ghost {
  border-color: rgba(26, 35, 43, 0.28);
  color: var(--graphite);
}

.page-home .local-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(16px, 2.6vw, 22px);
  border: 1px solid rgba(26, 35, 43, 0.16);
  border-radius: var(--home-radius);
  background: var(--white);
}

.page-home .fact-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 35, 43, 0.1);
}

.page-home .fact-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal-ink);
  padding-top: 2px;
}

.page-home .fact-row dd {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--graphite);
  word-break: break-word;
}

.page-home .local-note {
  padding-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(26, 35, 43, 0.6);
}

.page-home .local-tail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 36px);
  padding-top: 16px;
  border-top: 1px solid rgba(26, 35, 43, 0.16);
}

.page-home .local-tail .meta-mono {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(26, 35, 43, 0.5);
}

.page-home .to-top {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.page-home .to-top:hover,
.page-home .to-top:focus-visible {
  color: var(--graphite);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .page-home .hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .pcard-a,
  .page-home .hero-figure {
    grid-column: 1 / -1;
  }

  .page-home .cat-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .mirror-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .local-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .dash-row {
    grid-template-columns: 60px minmax(0, 1fr) 120px;
    align-items: baseline;
    gap: 0 20px;
  }

  .page-home .dash-num {
    grid-row: 1;
  }

  .page-home .dash-meta {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }
}

@media (min-width: 1100px) {
  .page-home .cat-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hero-collage {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .page-home .pcard:hover,
  .page-home .cat-card:hover,
  .page-home .cat-card:focus-within {
    transform: none;
  }
}
