.page-home {
  background: var(--cream);
  color: var(--char);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .page-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .crumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--stone);
}

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

.page-home .crumbs a:hover {
  color: var(--red);
}

.page-home .crumbs-sep {
  color: var(--gold);
}

.page-home .context-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--stone);
  letter-spacing: 0.02em;
}

.page-home .context-note .mono {
  color: var(--red);
  font-size: 0.72rem;
}

.page-home .home-map {
  padding-top: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
}

.page-home .map-head {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.page-home .map-intro {
  min-width: 0;
}

.page-home .map-intro .eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.page-home .map-intro h1 {
  margin: 0;
  max-width: 13em;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .map-intro .lede {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.8;
  color: #37332f;
}

.page-home .map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.page-home .map-panel {
  position: relative;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(31, 61, 53, 0.12);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px);
}

.page-home .map-panel::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(216, 162, 58, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .map-panel .media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  background: var(--sand);
}

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

.page-home .panel-note {
  margin: 0.8rem 0 0;
  padding: 0 0.35rem 0.25rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .panel-note .mono {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.page-home .map-ribbon-wrap {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.page-home .ribbon-head {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.page-home .ribbon-head .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 700;
  color: var(--ink);
}

.page-home .ribbon-head p {
  max-width: 38rem;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--stone);
}

.page-home .map-canvas {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(241, 232, 215, 0.9), rgba(250, 246, 238, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(216, 162, 58, 0.08) 44px 45px);
}

.page-home .map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.17;
  pointer-events: none;
}

.page-home .ribbon-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 1rem 1rem 1.35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(179, 38, 30, 0.45) rgba(241, 232, 215, 0.8);
  -webkit-overflow-scrolling: touch;
}

.page-home .ribbon-scroll:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.page-home .ribbon-node {
  position: relative;
  display: flex;
  flex: 0 0 78%;
  flex-direction: column;
  min-width: 0;
  min-height: 12.4rem;
  padding: 1.15rem 1.1rem 1.1rem;
  border: 1px solid rgba(31, 61, 53, 0.1);
  border-top: 3px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: var(--char);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .ribbon-node:hover {
  transform: translateY(-2px);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-1);
}

.page-home .ribbon-node:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-home .ribbon-node--lead {
  border-top-color: var(--gold-soft);
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: var(--cream);
}

.page-home .node-index {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.page-home .ribbon-node--lead .node-index {
  color: var(--gold-soft);
}

.page-home .node-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .node-desc {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--stone);
}

.page-home .ribbon-node--lead .node-desc {
  color: rgba(250, 246, 238, 0.82);
}

.page-home .node-arrow {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--red);
}

.page-home .ribbon-node--lead .node-arrow {
  color: var(--gold-soft);
}

.page-home .ribbon-note {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .scroll-hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--stone);
}

.page-home .version-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 5rem) 0;
  background: var(--ink);
  color: var(--cream);
}

.page-home .version-band::before {
  content: "";
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 162, 58, 0.22), transparent 68%);
  pointer-events: none;
}

.page-home .version-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

.page-home .version-copy .eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.page-home .version-copy h2 {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
}

.page-home .version-lede {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(250, 246, 238, 0.8);
}

.page-home .version-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .version-points li {
  padding-left: 1rem;
  border-left: 1px solid rgba(216, 162, 58, 0.5);
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(250, 246, 238, 0.82);
}

.page-home .version-points strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.page-home .version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.page-home .version-band .fold {
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.page-home .version-band .fold summary {
  position: relative;
  padding: 0.9rem 2.6rem 0.9rem 1rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.page-home .version-band .fold summary::-webkit-details-marker {
  display: none;
}

.page-home .version-band .fold summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
}

.page-home .version-band .fold[open] summary::after {
  content: "−";
}

.page-home .version-band .fold-body {
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(250, 246, 238, 0.76);
}

.page-home .version-visual {
  min-width: 0;
}

.page-home .version-visual .media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.65);
}

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

.page-home .version-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--char);
  font-size: 0.8rem;
  font-weight: 600;
}

.page-home .version-chip .mono {
  padding-right: 0.5rem;
  border-right: 1px solid rgba(30, 27, 24, 0.28);
  font-size: 0.8rem;
}

.page-home .guide-band {
  padding: clamp(2.8rem, 6vw, 5.5rem) 0;
  background: var(--cream);
}

.page-home .guide-head {
  max-width: 46rem;
}

.page-home .guide-head .eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.page-home .guide-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .guide-head p:last-child {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .guide-tabs {
  margin-top: 2rem;
}

.page-home .tablist {
  display: flex;
  gap: 0.2rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.page-home .tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.75rem 1.1rem 0.7rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.page-home .tab:hover {
  color: var(--ink);
}

.page-home .tab[aria-selected="true"] {
  border-bottom-color: var(--red);
  color: var(--red);
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-home .guide-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.page-home .tabpanel {
  min-width: 0;
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: var(--radius);
  background: var(--sand);
}

.page-home .tabpanel--rules {
  background: #fffdf8;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.page-home .tabpanel--query {
  background: rgba(76, 110, 120, 0.1);
}

.page-home .panel-kicker {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.page-home .step {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(31, 61, 53, 0.12);
}

.page-home .step:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.page-home .step-num {
  color: var(--gold);
  font-size: 0.82rem;
  line-height: 1.8;
}

.page-home .step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .step p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .guide-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.page-home .guide-foot a {
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.page-home .guide-foot a:hover {
  color: var(--red-deep);
  text-decoration: underline;
}

.page-home .operations {
  padding: clamp(2.8rem, 6vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--cream), #fffdf8);
}

.page-home .ops-head {
  max-width: 46rem;
}

.page-home .ops-head .eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.page-home .ops-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .ops-head p:last-child {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.page-home .stat-card {
  min-width: 0;
  padding: 1.15rem 0.9rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.page-home .stat-card--accent {
  margin: 0.45rem 0.6rem 0 0;
  padding: 1.1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--cream);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.page-home .stat-card--accent .stat-num {
  color: var(--cream);
}

.page-home .stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--stone);
}

.page-home .stat-card--accent .stat-label {
  color: rgba(250, 246, 238, 0.82);
}

.page-home .ops-bottom {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.page-home .rhythm-card {
  min-width: 0;
  padding: 1.3rem 1.15rem;
  border-radius: var(--radius);
  background: var(--sand);
}

.page-home .rhythm-summary {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .rhythm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .rhythm-item {
  display: grid;
  grid-template-columns: 4.1rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(31, 61, 53, 0.12);
}

.page-home .rhythm-key {
  color: var(--red);
  font-size: 0.72rem;
  line-height: 1.8;
}

.page-home .rhythm-val {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .ops-media {
  min-width: 0;
}

.page-home .ops-media .media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}

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

.page-home .trust-line {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .trust-line a {
  margin-left: 0.3rem;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.page-home .trust-line a:hover {
  text-decoration: underline;
}

.page-home .contact-band {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
  background: var(--sand);
}

.page-home .contact-grid {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.page-home .contact-copy .eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.page-home .contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .contact-copy p:not(.eyebrow) {
  max-width: 35rem;
  margin: 1rem 0 1.3rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .contact-card {
  min-width: 0;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(31, 61, 53, 0.12);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(10px);
}

.page-home .contact-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .contact-key {
  color: var(--stone);
  font-size: 0.72rem;
  line-height: 1.7;
}

.page-home .contact-val {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .contact-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.page-home .contact-link:hover {
  text-decoration: underline;
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .page-home .ribbon-node {
    flex-basis: 17rem;
  }

  .page-home .ops-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .stat-card {
    padding: 1.2rem 1rem 1.2rem 0;
  }

  .page-home .stat-card--accent {
    margin: 0.55rem 0.8rem 0 0;
  }
}

@media (min-width: 900px) {
  .page-home .map-head {
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }

  .page-home .map-panel {
    margin-top: 0.5rem;
  }

  .page-home .version-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

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

  .page-home .ops-bottom {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .page-home .ops-media .media-frame {
    height: 100%;
  }

  .page-home .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .page-home .ribbon-scroll {
    padding: 1.2rem 1.25rem 1.5rem;
  }

  .page-home .ribbon-node {
    flex-basis: 18.5rem;
    min-height: 13rem;
  }

  .page-home .tabpanel {
    padding: 1.45rem 1.35rem 1.3rem;
  }

  .page-home .rhythm-card {
    padding: 1.5rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ribbon-node {
    transition: none;
  }

  .page-home .ribbon-node:hover {
    transform: none;
  }
}
<<<END>>>
