.page-home {
  --ph-ink: #05070F;
  --ph-cut: 28px;
  --ph-measure: 62ch;
}

/* ============ hero ============ */
.page-home .hero-frame {
  position: relative;
  padding: 28px 0 64px;
  background:
    radial-gradient(circle at 82% 12%, rgba(53, 242, 208, .14), transparent 46%),
    radial-gradient(circle at 6% 78%, rgba(164, 107, 255, .12), transparent 44%),
    linear-gradient(180deg, var(--night) 0%, #0d1538 100%);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(138, 148, 184, .12) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(138, 148, 184, .08) 0 1px, transparent 1px 88px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  pointer-events: none;
}

.page-home .crumbs {
  position: relative;
  margin-bottom: 28px;
}

.page-home .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-home .crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(138, 148, 184, .6);
}

.page-home .crumbs a {
  color: var(--cyan);
  text-decoration: none;
}

.page-home .crumbs a:hover { text-decoration: underline; }
.page-home .crumbs [aria-current="page"] { color: var(--mist); }

.page-home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-home .hero-copy { max-width: var(--ph-measure); }

.page-home .hero-copy .eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  background: rgba(53, 242, 208, .08);
}

.page-home .hero-copy .display-1 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 40px;
  line-height: 1.12;
}

.page-home .hero-copy .lede {
  margin: 0 0 32px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}

.page-home .hero-readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-bottom: 32px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-hard);
}

.page-home .hero-readout .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  background: var(--surface);
}

.page-home .hero-readout .stat-value {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .hero-readout .stat:nth-child(2) .stat-value { color: var(--orange); }
.page-home .hero-readout .stat:nth-child(3) .stat-value { color: var(--violet); }

.page-home .hero-readout .stat-label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--grey);
  line-height: 1.5;
}

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

.page-home .hero-visual {
  position: relative;
  margin: 0;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(5, 7, 15, .9);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ph-cut)), calc(100% - var(--ph-cut)) 100%, 0 100%);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(53, 242, 208, .45);
  pointer-events: none;
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hero-visual .figure-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .06em;
}

.page-home .hero-ticker {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 40px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  background: rgba(20, 28, 66, .72);
  box-shadow: var(--shadow-tight);
}

.page-home .hero-ticker .ticker-label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--orange);
  padding: 4px 12px;
}

.page-home .hero-ticker .ticker-item {
  font-size: 13px;
  color: var(--grey);
}

.page-home .hero-ticker .ticker-item b {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
  margin-left: 4px;
}

/* ============ shared section bits ============ */
.page-home .section-head { max-width: 64ch; margin-bottom: 40px; }
.page-home .section-head .display-2 { margin: 8px 0 14px; color: var(--white); }
.page-home .section-head .muted { color: var(--grey); line-height: 1.75; }

/* ============ rounds ============ */
.page-home .rounds {
  background: var(--night);
  border-bottom: 2px solid var(--ink);
}

.page-home .round-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .round-node {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 156px;
  padding: 18px 16px;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  text-decoration: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-home .round-node:hover,
.page-home .round-node:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.page-home .round-node .round-era {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-home .round-node .round-no {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--mist);
}

.page-home .round-node:nth-child(1) .round-no { color: var(--orange); }
.page-home .round-node:nth-child(4) .round-no { color: var(--cyan); }

.page-home .round-node .round-tag {
  font-size: 12px;
  color: var(--grey);
  border-top: 1px dashed rgba(138, 148, 184, .4);
  padding-top: 8px;
}

.page-home .round-notes {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .round-notes li {
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
  color: var(--mist);
  font-size: 15px;
  line-height: 1.7;
}

.page-home .round-notes strong { color: var(--white); }

/* ============ feed split ============ */
.page-home .feed {
  background: linear-gradient(180deg, #0d1538, var(--night));
  border-bottom: 2px solid var(--ink);
}

.page-home .feed-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-hard);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .column--orange { border-top: 6px solid var(--orange); }
.page-home .column--cyan { border-top: 6px solid var(--cyan); }

.page-home .column-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .column-head .display-3 { margin: 0; color: var(--white); }

.page-home .column .figure {
  margin: 0;
  border: 2px solid var(--ink);
  overflow: hidden;
}

.page-home .column .figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-home .entry-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(138, 148, 184, .3);
}

.page-home .entry-list .entry-round {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .entry-list--clips .entry-round { color: var(--cyan); }

.page-home .entry-list .entry-title {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.6;
}

.page-home .column-note {
  margin: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;
}

.page-home .column-cta { align-self: flex-start; }

/* ============ archive ============ */
.page-home .archive {
  background: var(--night);
  border-bottom: 2px solid var(--ink);
}

.page-home .archive-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .archive-figure {
  margin: 0;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
  overflow: hidden;
}

.page-home .archive-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .archive-panels {
  display: grid;
  gap: 18px;
}

.page-home .panel {
  padding: 20px 20px 22px;
  border: 2px solid var(--ink);
  border-left: 6px solid var(--violet);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.page-home .panel-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.page-home .panel-lead {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .panel-lead .num {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--violet);
}

.page-home .panel-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .panel-list li {
  position: relative;
  padding-left: 16px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--violet);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed rgba(138, 148, 184, .35);
}

/* ============ client ============ */
.page-home .client {
  background: linear-gradient(180deg, #0d1538, #101840);
  border-bottom: 2px solid var(--ink);
}

.page-home .client-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .client-copy .display-2 { margin: 10px 0 18px; color: var(--white); }

.page-home .client-copy .lede {
  margin: 0 0 28px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}

.page-home .client-points {
  display: grid;
  gap: 1px;
  margin-bottom: 30px;
  border: 2px solid var(--ink);
  background: var(--ink);
}

.page-home .point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 16px;
  background: var(--surface);
}

.page-home .point-key {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  min-width: 62px;
}

.page-home .point-val {
  color: var(--mist);
  font-size: 14px;
  line-height: 1.65;
}

.page-home .client-figure {
  margin: 0;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(5, 7, 15, .9);
  overflow: hidden;
}

.page-home .client-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .client-figure .figure-cap {
  display: block;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--grey);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .05em;
}

/* ============ ops ============ */
.page-home .ops {
  background: var(--surface);
  border-bottom: 2px solid var(--ink);
}

.page-home .ops-list {
  display: grid;
  gap: 2px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-hard);
}

.page-home .ops-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
  padding: 18px 20px;
  background: var(--night);
}

.page-home .ops-item .dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 242, 208, .18);
}

.page-home .ops-item:nth-child(2) .dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, .18);
}

.page-home .ops-item:nth-child(3) .dot {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(164, 107, 255, .18);
}

.page-home .ops-name {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}

.page-home .ops-state {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.page-home .ops-item:nth-child(2) .ops-state { color: var(--orange); }
.page-home .ops-item:nth-child(3) .ops-state { color: var(--violet); }

.page-home .ops-note {
  grid-column: 1 / -1;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .ops-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ snapshot ============ */
.page-home .snapshot {
  background: var(--night);
  overflow: hidden;
}

.page-home .snapshot .display-3 {
  margin: 0 0 24px;
  color: var(--white);
}

.page-home .snap-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 24px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .snap-card {
  scroll-snap-align: start;
  flex: 0 0 82%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  padding: 22px 20px;
  border: 2px solid var(--ink);
  border-bottom: 6px solid var(--cyan);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  text-decoration: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-home .snap-card:nth-child(2n) { border-bottom-color: var(--orange); }
.page-home .snap-card:nth-child(3n) { border-bottom-color: var(--violet); }

.page-home .snap-card:hover,
.page-home .snap-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.page-home .snap-era {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-home .snap-head {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.page-home .snap-body {
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ responsive ============ */
@media (min-width: 700px) {
  .page-home .section-head { margin-bottom: 48px; }
  .page-home .hero-copy .display-1 { font-size: 48px; }
  .page-home .round-node { width: 172px; }
  .page-home .snap-card { flex: 0 0 300px; }
}

@media (min-width: 1024px) {
  .page-home .hero-frame { padding: 36px 0 80px; }
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }
  .page-home .hero-copy .display-1 { font-size: 56px; }

  .page-home .feed-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .page-home .archive-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .page-home .archive-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .page-home .client-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }

  .page-home .ops-item {
    grid-template-columns: auto 200px 160px minmax(0, 1fr);
    align-items: center;
  }
  .page-home .ops-state { grid-column: auto; }
  .page-home .ops-note { grid-column: auto; }

  .page-home .snap-rail { padding: 4px 48px 28px; }
}

@media (min-width: 1280px) {
  .page-home .hero-grid { gap: 72px; }
  .page-home .feed-split { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .round-node,
  .page-home .snap-card {
    transition: none;
  }
  .page-home .round-node:hover,
  .page-home .round-node:focus-visible,
  .page-home .snap-card:hover,
  .page-home .snap-card:focus-visible {
    transform: none;
  }
}
</main>
