.page-home {
  --home-line: rgba(216, 169, 75, 0.32);
  --home-hair: rgba(38, 54, 92, 0.95);
  --home-card-bg: linear-gradient(180deg, rgba(26, 23, 64, 0.88), rgba(12, 44, 46, 0.55));
  display: block;
  overflow-x: hidden;
  color: var(--paper);
  background-color: var(--ink);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 5vw, 3.25rem) 0 0;
  background:
    radial-gradient(58% 52% at 80% 6%, rgba(216, 169, 75, 0.18), transparent 68%),
    radial-gradient(46% 48% at 6% 2%, rgba(53, 195, 154, 0.1), transparent 72%),
    linear-gradient(180deg, var(--ink-deep), var(--ink));
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: end;
}

.page-home .home-context {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .home-title {
  margin: 0;
  font-size: clamp(2rem, 7.2vw, 3.6rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-lede {
  margin: 1.15rem 0 0;
  max-width: 34em;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--mist);
}

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

.page-home .home-hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.page-home .home-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.page-home .home-hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, var(--gold), rgba(216, 169, 75, 0));
}

.page-home .home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(190deg, rgba(7, 14, 34, 0.05) 18%, rgba(7, 14, 34, 0.74) 100%);
}

.page-home .home-strip {
  display: flex;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
  padding: 0 var(--gutter) clamp(1.25rem, 3vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-strip::-webkit-scrollbar {
  height: 4px;
}

.page-home .home-strip::-webkit-scrollbar-thumb {
  background: var(--home-line);
  border-radius: 2px;
}

.page-home .home-strip-card {
  flex: 0 0 min(80vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--paper);
  background: var(--home-card-bg);
  border: 1px solid var(--home-hair);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), border-top-color var(--dur) var(--ease);
}

.page-home .home-strip-card:hover,
.page-home .home-strip-card:focus-visible {
  transform: translateY(-4px);
  border-top-color: var(--amber);
  border-color: rgba(232, 121, 58, 0.45);
}

.page-home .home-strip-num {
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .home-strip-kicker {
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--jade);
}

.page-home .home-strip-title {
  font-size: var(--fs-20);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.page-home .home-strip-text {
  font-size: var(--fs-14);
  line-height: 1.72;
  color: var(--mist);
}

.page-home .home-strip-go {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: var(--fs-14);
  color: var(--gold);
}

.page-home .home-breath {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 3.75rem) 0;
}

.page-home .home-breath::before {
  content: "";
  width: min(240px, 45%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-home .home-section {
  padding: clamp(1.25rem, 4vw, 2.75rem) 0;
}

.page-home .home-sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  padding-bottom: 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-sec-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 4.6vw, 2.125rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.26;
  color: var(--paper);
}

.page-home .home-sec-note {
  margin: 0.75rem 0 0;
  max-width: 46em;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-sec-figure {
  flex: 0 0 clamp(84px, 24vw, 168px);
  width: clamp(84px, 24vw, 168px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
}

.page-home .home-week-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.page-home .home-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 169, 75, 0.08));
}

.page-home .home-timeline-item {
  position: relative;
  padding-bottom: 0.65rem;
}

.page-home .home-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 1.15rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(216, 169, 75, 0.45);
  transition: box-shadow var(--dur) var(--ease);
}

.page-home .home-timeline-item:hover::before {
  box-shadow: 0 0 0 6px rgba(216, 169, 75, 0.18);
}

.page-home .home-node {
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
  background: rgba(12, 44, 46, 0.42);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-node[open] {
  border-color: var(--home-line);
  background: rgba(26, 23, 64, 0.72);
}

.page-home .home-node-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
}

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

.page-home .home-node-summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-16);
  line-height: 1;
  color: var(--gold);
}

.page-home .home-node[open] .home-node-summary::after {
  content: "–";
}

.page-home .home-node-date {
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .home-node-name {
  font-size: var(--fs-16);
  font-weight: 700;
}

.page-home .home-node-meta {
  font-size: var(--fs-12);
  color: var(--mist);
}

.page-home .home-node-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--home-hair);
}

.page-home .home-node-body p {
  margin: 0.85rem 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-node-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: var(--fs-14);
  color: var(--jade);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 195, 154, 0.4);
}

.page-home .home-card-stack {
  display: grid;
  gap: 1rem;
}

.page-home .home-card-figure {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
}

.page-home .home-card {
  position: relative;
  display: block;
  padding: 1.25rem 1.15rem 1.35rem;
  text-decoration: none;
  color: var(--paper);
  background: var(--home-card-bg);
  border: 1px solid var(--home-hair);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), border-top-color var(--dur) var(--ease);
}

.page-home .home-card:hover,
.page-home .home-card:focus-visible {
  transform: translateY(-4px);
  border-top-color: var(--amber);
  border-color: rgba(232, 121, 58, 0.45);
}

.page-home .home-card-kicker {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .home-card-title {
  margin: 0.5rem 0 0;
  font-size: var(--fs-20);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.page-home .home-card-text {
  margin: 0.6rem 0 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-card-go {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: var(--fs-14);
  color: var(--jade);
}

.page-home .home-steps-sec {
  background: linear-gradient(180deg, rgba(12, 44, 46, 0.55), rgba(10, 20, 48, 0));
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.page-home .home-steps-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
}

.page-home .home-step-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.page-home .home-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-step:first-child {
  border-top: 1px solid var(--home-hair);
}

.page-home .home-step-num {
  grid-row: span 2;
  font-size: var(--fs-20);
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .home-step-title {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 900;
  line-height: 1.5;
}

.page-home .home-step p {
  grid-column: 2;
  margin: 0.3rem 0 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-scale-note {
  margin: 0.85rem 0 0;
  max-width: 48em;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-stat-grid {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--home-line);
}

.page-home .home-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-stat-label {
  font-size: var(--fs-14);
  color: var(--mist);
}

.page-home .home-stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.25rem, 3.4vw, 1.625rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--gold);
}

.page-home .home-closing {
  position: relative;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--home-line);
  background:
    radial-gradient(72% 120% at 50% 0%, rgba(216, 169, 75, 0.16), transparent 68%),
    linear-gradient(160deg, var(--indigo), var(--ink-deep));
}

.page-home .home-closing .home-sec-title {
  max-width: 20em;
}

.page-home .home-closing-text {
  margin: 1rem 0 0;
  max-width: 40em;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--mist);
}

.page-home .home-closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .home-hero-visual img {
    aspect-ratio: 5 / 4;
  }

  .page-home .home-strip-card {
    flex: 0 0 min(28vw, 350px);
  }
}

@media (min-width: 940px) {
  .page-home .home-week-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .home-card-stack {
    margin-top: 2.5rem;
  }

  .page-home .home-card--b {
    margin-left: 1.5rem;
  }
}

@media (min-width: 880px) {
  .page-home .home-steps {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

@media (min-width: 760px) {
  .page-home .home-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-stat-num {
    font-size: var(--fs-26);
  }
}
