.page-home {
  --home-cut: 22px;
  --home-line: rgba(26, 74, 122, 0.2);
  background: var(--snow-white);
}

/* ========== HERO ========== */
.page-home .home-hero {
  background: var(--snow-white);
  padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--blue-plateau) 0 20%,
    var(--red-prayer) 20% 40%,
    var(--yellow-prayer) 40% 60%,
    var(--green-prayer) 60% 80%,
    var(--blue-lake) 80% 100%
  );
  opacity: 0.85;
}

.page-home .home-crumb {
  font-family: var(--font-note);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gray-mist);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 42px);
  border-bottom: 1px dashed var(--home-line);
  padding-bottom: 14px;
}

.page-home .home-crumb a {
  color: var(--blue-plateau);
  text-decoration: none;
  transition: color 240ms ease;
}

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

.page-home .crumb-sep {
  color: var(--gray-mist);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .hero-head h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(38px, 7.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--blue-plateau);
  margin: 8px 0 0;
}

.page-home .hero-title-em {
  color: var(--red-prayer);
  display: block;
  margin-top: 4px;
}

.page-home .hero-copy p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--brown-dark);
  max-width: 52ch;
  border-left: 4px solid var(--red-prayer);
  padding-left: 18px;
  margin: 0 0 26px;
}

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

.page-home .hero-art {
  position: relative;
  margin: 0;
}

.page-home .hero-figure {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
  object-fit: cover;
}

.page-home .hero-batch {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--red-prayer);
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .hero-pin {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--blue-plateau);
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 18px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .hero-note {
  display: none;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--blue-plateau);
  color: var(--pure-white);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-home .stat-item {
  padding: clamp(18px, 3vw, 28px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .stat-item:nth-child(2n) {
  border-right: 0;
}

.page-home .stat-item:nth-child(n + 3) {
  border-bottom: 0;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-home .stat-label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-note);
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.page-home .flow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px clamp(20px, 3vw, 40px);
  background: var(--cream);
  border-top: 1px dashed var(--home-line);
  border-bottom: 1px dashed var(--home-line);
}

.page-home .flow-dot {
  width: 8px;
  height: 8px;
  background: var(--red-prayer);
  border-radius: 50%;
  flex: 0 0 auto;
}

.page-home .flow-label {
  font-family: var(--font-note);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--blue-plateau);
  text-transform: uppercase;
}

/* ========== PANEL ========== */
.page-home .home-panel {
  background: var(--pure-white);
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .section-head {
  border-bottom: 1px dashed var(--home-line);
  margin-bottom: clamp(24px, 4vw, 44px);
  padding-bottom: 10px;
}

.page-home .section-head h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  color: var(--blue-plateau);
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}

.page-home .panel-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.page-home .path-block {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(26, 74, 122, 0.16);
  background: var(--snow-white);
}

.page-home .path-block--old {
  margin: 0;
}

.page-home .path-block--new {
  background: var(--blue-plateau);
  border-color: var(--blue-plateau);
  color: var(--pure-white);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .path-block h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 18px;
  color: var(--blue-plateau);
}

.page-home .path-block--new h3 {
  color: var(--pure-white);
}

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

.page-home .path-block li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.65);
  padding: 10px 14px;
}

.page-home .path-block--new li {
  background: rgba(255, 255, 255, 0.12);
  color: var(--pure-white);
}

.page-home .path-block li span {
  font-family: var(--font-note);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red-prayer);
  font-weight: 700;
}

.page-home .path-block--new li span {
  color: var(--yellow-prayer);
}

.page-home .path-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--red-prayer);
  font-weight: 900;
}

.page-home .panel-lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .panel-shot {
  margin: 0;
}

.page-home .panel-shot img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-home .panel-shot figcaption {
  font-family: var(--font-note);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-mist);
  margin-top: 10px;
  text-align: right;
}

.page-home .panel-features h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--brown-dark);
  margin: 0 0 16px;
}

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

.page-home .feature-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--brown-dark);
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--blue-lake);
  transform: rotate(45deg);
}

.page-home .panel-note {
  font-family: var(--font-note);
  font-size: 14px;
  color: var(--gray-mist);
  border-left: 3px solid var(--yellow-prayer);
  padding-left: 12px;
  margin: 18px 0 22px;
}

/* ========== SURVEY ========== */
.page-home .home-survey {
  background: var(--cream);
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .survey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.page-home .survey-copy h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.22;
  color: var(--blue-plateau);
  margin: 8px 0 18px;
}

.page-home .survey-copy > p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--brown-dark);
  max-width: 52ch;
}

.page-home .survey-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 24px;
}

.page-home .point {
  background: var(--pure-white);
  padding: 16px 12px;
  border-top: 3px solid var(--blue-lake);
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 4px;
}

.page-home .point--new {
  border-top-color: var(--blue-plateau);
}

.page-home .point--delta {
  border-top-color: var(--red-prayer);
}

.page-home .point-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 34px);
  color: var(--blue-plateau);
  letter-spacing: -0.02em;
}

.page-home .point--delta .point-num {
  color: var(--red-prayer);
}

.page-home .point-unit {
  font-family: var(--font-note);
  font-size: 12px;
  color: var(--gray-mist);
}

.page-home .point-label {
  grid-column: 1 / -1;
  font-family: var(--font-note);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray-mist);
}

.page-home .link-arrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-plateau);
  text-decoration: none;
  border-bottom: 2px solid var(--red-prayer);
  padding-bottom: 4px;
  transition: color 240ms ease, border-color 240ms ease;
}

.page-home .link-arrow:hover {
  color: var(--red-prayer);
  border-color: var(--blue-plateau);
}

.page-home .survey-visual {
  display: grid;
  gap: 20px;
}

.page-home .survey-img {
  margin: 0;
}

.page-home .survey-img img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.page-home .chart-box {
  background: var(--pure-white);
  padding: clamp(18px, 3vw, 28px);
  border-left: 4px solid var(--blue-plateau);
  box-shadow: var(--shadow-soft);
}

.page-home .chart-caption {
  font-family: var(--font-note);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gray-mist);
  margin: 0 0 18px;
}

.page-home .chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 56px);
  height: 200px;
}

.page-home .chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 72px;
  height: 100%;
  justify-content: flex-end;
}

.page-home .chart-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--brown-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.page-home .chart-bar {
  width: 48px;
  height: 160px;
  background: rgba(26, 74, 122, 0.08);
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-bottom: 8px;
}

.page-home .chart-fill {
  display: block;
  width: 100%;
  background: var(--blue-lake);
  transition: filter 240ms ease, transform 240ms ease;
}

.page-home .chart-item--old .chart-fill {
  background: var(--blue-lake);
}

.page-home .chart-item--new .chart-fill {
  background: var(--blue-plateau);
}

.page-home .chart-item:hover .chart-fill {
  filter: brightness(1.1);
  transform: scaleX(1.03);
}

.page-home .chart-name {
  font-family: var(--font-note);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--brown-dark);
}

/* ========== LOGIN FINDINGS ========== */
.page-home .home-login {
  background: linear-gradient(180deg, var(--snow-white) 0%, var(--pure-white) 100%);
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .findings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .finding {
  background: var(--pure-white);
  padding: clamp(22px, 3.5vw, 34px);
  border-top: 4px solid var(--blue-lake);
  border-left: 1px solid rgba(26, 74, 122, 0.14);
  border-right: 1px solid rgba(26, 74, 122, 0.14);
  border-bottom: 1px solid rgba(26, 74, 122, 0.14);
  transition: transform 240ms ease, box-shadow 240ms ease, border-top-color 240ms ease;
}

.page-home .finding:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lifted);
  border-top-color: var(--red-prayer);
}

.page-home .finding-num {
  font-family: var(--font-note);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue-plateau);
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.page-home .finding h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: var(--brown-dark);
  margin: 0 0 10px;
}

.page-home .finding p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.66;
  color: var(--brown-dark);
  margin-bottom: 16px;
}

.page-home .finding-tag {
  display: inline-block;
  font-family: var(--font-note);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue-plateau);
  background: rgba(26, 74, 122, 0.06);
  border: 1px solid rgba(26, 74, 122, 0.16);
  padding: 4px 10px;
}

/* ========== TIMELINE ========== */
.page-home .home-log {
  background: var(--snow-white);
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .timeline {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.page-home .log-item {
  border-left: 2px solid var(--blue-plateau);
  padding-left: clamp(20px, 4vw, 34px);
  padding-bottom: 8px;
  position: relative;
}

.page-home .log-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--snow-white);
  border: 3px solid var(--blue-plateau);
  transition: background 240ms ease;
}

.page-home .log-item[open]::before {
  background: var(--red-prayer);
}

.page-home .log-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 14px 0;
  border-bottom: 1px dashed var(--home-line);
  transition: opacity 240ms ease;
}

.page-home .log-item summary::-webkit-details-marker {
  display: none;
}

.page-home .log-item summary:hover {
  opacity: 0.78;
}

.page-home .log-week {
  font-family: var(--font-note);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--red-prayer);
  background: rgba(216, 74, 58, 0.08);
  padding: 4px 10px;
  white-space: nowrap;
}

.page-home .log-txt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--brown-dark);
  line-height: 1.4;
}

.page-home .log-indicator {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid var(--blue-plateau);
  border-radius: 50%;
  flex: 0 0 auto;
}

.page-home .log-indicator::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-note);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-plateau);
  transition: transform 240ms ease;
}

.page-home .log-item[open] .log-indicator::before {
  content: "−";
  transform: rotate(180deg);
}

.page-home .log-detail {
  list-style: none;
  margin: 0;
  padding: 14px 0 18px;
  display: grid;
  gap: 8px;
}

.page-home .log-detail li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.62;
  color: var(--brown-dark);
}

.page-home .log-detail li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-lake);
}

/* ========== STORY ========== */
.page-home .home-story {
  background: var(--blue-plateau);
  color: var(--pure-white);
  padding: clamp(56px, 8vw, 104px) 0;
  position: relative;
  overflow: hidden;
}

.page-home .home-story::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
  border-radius: 32px;
  pointer-events: none;
}

.page-home .story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.page-home .story-media {
  position: relative;
  margin: 0;
}

.page-home .story-media img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  object-fit: cover;
}

.page-home .story-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--red-prayer);
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-home .story-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .story-copy h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  color: var(--pure-white);
  margin: 8px 0 20px;
}

.page-home .story-copy p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
  max-width: 56ch;
}

.page-home .story-award {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.32);
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--pure-white);
  margin: 20px 0 26px;
}

.page-home .award-icon {
  color: var(--yellow-prayer);
  font-size: 12px;
  line-height: 1;
}

.page-home .story-btn {
  border-color: var(--pure-white);
  color: var(--pure-white);
}

.page-home .story-btn:hover {
  background: var(--pure-white);
  color: var(--blue-plateau);
}

/* ========== CTA ========== */
.page-home .home-cta {
  background: var(--cream);
  border-top: 1px dashed var(--home-line);
  border-bottom: 1px dashed var(--home-line);
  padding: clamp(40px, 6vw, 72px) 0;
}

.page-home .cta-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.page-home .cta-copy h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--blue-plateau);
  margin: 0 0 8px;
}

.page-home .cta-copy p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown-dark);
  margin: 0;
}

.page-home .cta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.page-home .cta-text-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-plateau);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow-prayer);
  transition: color 240ms ease, border-color 240ms ease;
}

.page-home .cta-text-link:hover {
  color: var(--red-prayer);
  border-color: var(--red-prayer);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 720px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .stat-item:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .page-home .stat-item {
    border-bottom: 0;
  }

  .page-home .panel-map {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .page-home .path-arrow {
    font-size: 36px;
  }

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

  .page-home .cta-flex {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "head art"
      "copy art"
      "stats stats";
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: clamp(24px, 3vw, 40px);
  }

  .page-home .hero-head {
    grid-area: head;
    align-self: end;
  }

  .page-home .hero-copy {
    grid-area: copy;
    align-self: start;
  }

  .page-home .hero-art {
    grid-area: art;
    align-self: center;
  }

  .page-home .hero-stats {
    grid-area: stats;
  }

  .page-home .hero-note {
    display: block;
    position: absolute;
    right: -38px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--font-note);
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--blue-plateau);
    opacity: 0.55;
    width: 22px;
    text-align: center;
    pointer-events: none;
  }

  .page-home .panel-lower {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .survey-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .page-home .survey-points {
    gap: 16px;
  }

  .page-home .story-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.page-home {
  --white: currentColor;
}
