/* Keep fragment destinations clear of the persistent shared header. */
.page-home #main-content,
.page-home #bazi-form,
.page-home #about,
.page-home #insights {
  scroll-margin-top: calc(var(--header-height) + var(--space-2));
}

.page-home .hero-section {
  min-height: calc(100vh - 72px);
  padding: var(--space-5) 0 var(--space-4);
  background: var(--bg-void);
}

.page-home .hero-section::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, .95), rgba(8, 11, 13, .8) 46%, rgba(8, 11, 13, .92)),
    linear-gradient(180deg, rgba(8, 11, 13, .36), rgba(8, 11, 13, .8));
}

.page-home .hero-layout {
  position: relative;
  z-index: var(--z-raised);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, .78fr);
  grid-template-areas:
    "content form"
    "boundary form";
  gap: var(--space-3) var(--space-7);
  align-items: start;
}

.page-home .hero-content {
  grid-area: content;
  max-width: 570px;
  align-self: start;
}

.page-home .hero-content .eyebrow,
.page-home .form-card .card-kicker,
.page-home .library-prompt .eyebrow,
.page-home .insight-heading .eyebrow {
  margin-bottom: var(--space-2);
  color: var(--gold);
  letter-spacing: .16em;
}

.page-home .hero-content h1 {
  max-width: 510px;
  margin: 0;
  color: var(--text);
  font-size: clamp(52px, 6.1vw, 84px);
  line-height: 1.16;
  letter-spacing: .08em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, .3);
}

.page-home .hero-content h1 span,
.page-home .insight-heading h2 span {
  color: var(--gold-light);
}

.page-home .hero-copy {
  max-width: 500px;
  margin: var(--space-4) 0 0;
  color: var(--text-soft);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.95;
}

.page-home .hero-boundary {
  grid-area: boundary;
  align-self: start;
  max-width: 380px;
  margin: 0;
  padding: var(--space-2) 0 0 var(--space-3);
  border-left: 1px solid var(--line-strong);
  color: var(--text-soft);
  font: 500 14px/1.9 var(--font-title);
  letter-spacing: .06em;
}

.page-home .form-card-motion {
  grid-area: form;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.page-home .form-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045), transparent 42%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.page-home .form-card::before {
  position: absolute;
  top: 0;
  right: var(--space-4);
  left: var(--space-4);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: .58;
}

.page-home .form-card .card-kicker {
  margin-bottom: var(--space-1);
}

.page-home .form-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: .07em;
}

.page-home .form-intro {
  margin: var(--space-2) 0 var(--space-3);
  color: var(--text-soft);
  line-height: 1.8;
}

.page-home .form-card .form-fieldset,
.page-home .form-card .form-field {
  margin-bottom: var(--space-3);
}

.page-home .form-card .form-fieldset legend,
.page-home .form-card .form-field > span {
  margin-bottom: var(--space-1);
  color: var(--text-soft);
  line-height: 1.45;
}

.page-home .form-card .date-select-group label > span {
  margin-bottom: var(--space-1);
  line-height: 1.4;
}

.page-home .form-card select,
.page-home .form-card .calendar-toggle label,
.page-home .form-card .gender-toggle label {
  min-height: var(--control-height);
}

.page-home .form-card .leap-month-toggle {
  margin-top: var(--space-2);
}

.page-home .form-card .form-footnote {
  margin: var(--space-2) 0 0;
  color: var(--text-dim);
  line-height: 1.75;
}

.page-home .form-card .cta-btn {
  min-height: var(--button-height-primary);
  margin-top: var(--space-1);
  box-shadow: none;
  filter: none;
  transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard);
}

.page-home .form-card .cta-btn:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  filter: none;
  transform: translateY(-2px);
}

.page-home .form-card .cta-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(231, 221, 202, .38), 0 10px 28px rgba(0, 0, 0, .24);
  filter: none;
  transform: none;
}

.page-home .form-card .cta-btn.is-loading {
  cursor: wait;
  opacity: .82;
  transform: none;
}

.page-home .form-card select:focus-visible,
.page-home .form-card input:focus-visible + label {
  outline-offset: 2px;
}

.page-home .hero-depth,
.page-home .hero-stardust,
.page-home .hero-mist {
  position: absolute;
  z-index: var(--z-content);
  pointer-events: none;
}

.page-home .hero-depth {
  inset: 0;
  background: url("background.png") center / cover no-repeat;
}

.page-home .hero-depth-sky {
  opacity: .32;
}

.page-home .hero-depth-mountains {
  inset: 28% 0 0;
  opacity: .1;
  background-position: center bottom;
  mask-image: linear-gradient(to bottom, transparent, #000 58%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 58%);
}

.page-home .hero-depth-foreground,
.page-home .hero-mist {
  display: none;
}

.page-home .hero-stardust {
  inset: 12% 13% auto 20%;
  height: 18%;
  opacity: .15;
  background-image:
    radial-gradient(circle at 7% 28%, var(--gold-light) 0 1px, transparent 1.7px),
    radial-gradient(circle at 30% 38%, var(--gold) 0 1px, transparent 1.7px),
    radial-gradient(circle at 56% 34%, var(--gold-light) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 40%, var(--gold) 0 1px, transparent 1.7px);
}

.page-home .hero-legacy-features[hidden] {
  display: none;
}

/* Content remains immediately visible; no scroll-triggered or entrance animation is required. */
.page-home [data-reveal],
.page-home.motion-ready [data-reveal],
.page-home.motion-ready [data-reveal].is-revealed,
.page-home.motion-ready .hero-content > *,
.page-home.motion-ready .form-card-motion,
.page-home.motion-ready .hero-boundary {
  animation: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.page-home .home-values-section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-void);
}

.page-home .home-values-heading {
  display: flex;
  gap: var(--space-4);
  align-items: end;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.page-home .home-values-heading .eyebrow {
  margin: 0;
}

.page-home .home-values-heading h2 {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font: 700 clamp(30px, 3.5vw, 46px)/1.5 var(--font-title);
  letter-spacing: .08em;
}

.page-home .home-values-heading h2 span {
  color: var(--gold-light);
}

.page-home .home-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.page-home .home-value-card {
  min-height: 190px;
  padding: var(--space-4) var(--space-3);
  border-left: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .02), transparent 60%);
  transition: color var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard);
}

.page-home .home-value-card:first-child {
  border-left: 0;
}

.page-home .home-value-card p {
  margin: 0;
  color: var(--text-dim);
  font: 11px/1.4 var(--font-data);
  letter-spacing: .18em;
}

.page-home .home-value-card h3 {
  margin: var(--space-3) 0 0;
  color: var(--text);
  font: 700 clamp(28px, 3vw, 40px)/1.35 var(--font-title);
  letter-spacing: .09em;
}

@media (hover: hover) and (pointer: fine) {
  .page-home .home-value-card:hover {
    color: var(--gold-light);
    background-color: rgba(214, 182, 110, .035);
  }

  .page-home .home-value-card:hover p,
  .page-home .home-value-card:hover h3 {
    color: var(--gold-light);
  }
}

/* About Zhiji is an editorial reading space; all ornamentation remains static. */
.page-home .about-zhiji-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 18%, rgba(214, 182, 110, .07), transparent 27%),
    linear-gradient(180deg, var(--bg-void), var(--bg-sandal));
}

.page-home .about-zhiji-header {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: var(--space-8);
  align-items: start;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-strong);
}

.page-home .about-zhiji-header .eyebrow,
.page-home .about-section-heading .eyebrow,
.page-home .about-origin .eyebrow,
.page-home .about-philosophy .eyebrow {
  margin: 0;
  color: var(--gold);
  letter-spacing: .16em;
}

.page-home .about-zhiji-header-copy {
  max-width: 660px;
}

.page-home .about-zhiji-header h2,
.page-home .about-section-heading h3,
.page-home .about-origin h3,
.page-home .about-philosophy h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: .08em;
}

.page-home .about-zhiji-header h2 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.18;
}

.page-home .about-zhiji-english {
  margin: var(--space-1) 0 0;
  color: var(--gold-light);
  font: var(--text-sm)/1.5 var(--font-data);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-home .about-zhiji-intro {
  margin: var(--space-5) 0 0;
  color: var(--text-soft);
  font: 500 clamp(22px, 2.25vw, 30px)/1.85 var(--font-title);
  letter-spacing: .06em;
}

.page-home .about-origin {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .68fr);
  gap: var(--space-8);
  align-items: center;
  min-height: 490px;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .about-origin-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-home .about-origin h3,
.page-home .about-section-heading h3,
.page-home .about-philosophy h3 {
  margin-top: var(--space-2);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.45;
}

.page-home .about-origin-copy > p:not(.eyebrow) {
  margin: var(--space-3) 0 0;
  color: var(--text-soft);
  font-size: var(--text-lg);
  line-height: var(--leading-reading);
}

.page-home .about-origin-copy em {
  color: var(--gold-light);
  font-family: var(--font-title);
  font-style: normal;
  letter-spacing: .08em;
}

.page-home .about-line-art {
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 1;
}

.page-home .about-origin-orbit {
  width: min(100%, 360px);
  justify-self: end;
  opacity: .38;
}

.page-home .about-principles {
  padding: var(--space-9) 0 0;
}

.page-home .about-section-heading {
  max-width: 700px;
  margin-bottom: var(--space-5);
}

.page-home .about-section-heading h3 span {
  color: var(--gold-light);
}

.page-home .about-principle-list,
.page-home .about-hope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.page-home .about-principle {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 520px;
  padding: var(--space-4) var(--space-3);
  border-left: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .025), transparent 58%);
}

.page-home .about-principle:first-child,
.page-home .about-hope-list li:first-child {
  border-left: 0;
}

.page-home .about-principle-index,
.page-home .about-hope-index {
  color: var(--gold);
  font: var(--text-xs)/1.4 var(--font-data);
  letter-spacing: .16em;
}

.page-home .about-principle-title {
  align-self: center;
  margin: var(--space-4) 0;
  color: var(--text);
  font: 700 clamp(36px, 4.2vw, 56px)/1.45 var(--font-title);
  letter-spacing: .1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.page-home .about-principle-copy {
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.page-home .about-principle-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.page-home .about-principle-copy .about-principle-english {
  margin-bottom: var(--space-2);
  color: var(--gold-light);
  font: var(--text-xs)/1.75 var(--font-data);
  letter-spacing: .04em;
}

.page-home .about-philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: var(--space-8);
  align-items: center;
  min-height: 660px;
  padding: var(--space-9) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .about-philosophy-constellation {
  width: min(100%, 420px);
  opacity: .4;
}

.page-home .about-philosophy-copy {
  max-width: 640px;
}

.page-home .about-philosophy-statement {
  margin-top: var(--space-4);
  color: var(--gold-light);
  font: 600 clamp(22px, 2.3vw, 30px)/1.85 var(--font-title);
  letter-spacing: .07em;
}

.page-home .about-philosophy-statement p,
.page-home .about-philosophy-reading p {
  margin: 0;
}

.page-home .about-philosophy-statement p + p {
  margin-top: var(--space-3);
}

.page-home .about-philosophy-reading {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-size: var(--text-lg);
  line-height: var(--leading-reading);
}

.page-home .about-philosophy-reading p + p {
  margin-top: var(--space-3);
}

.page-home .about-philosophy-closing {
  margin: var(--space-5) 0 0;
  color: var(--text);
  font: 600 clamp(22px, 2.3vw, 30px)/1.85 var(--font-title);
  letter-spacing: .08em;
}

.page-home .about-hope {
  padding-top: var(--space-9);
}

.page-home .about-hope-list li {
  min-height: 300px;
  padding: var(--space-4) var(--space-3);
  border-left: 1px solid var(--line);
}

.page-home .about-hope-list h4 {
  margin: var(--space-5) 0 var(--space-3);
  color: var(--text);
  font: 700 clamp(28px, 3vw, 40px)/1.45 var(--font-title);
  letter-spacing: .08em;
}

.page-home .about-hope-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-lg);
  line-height: 1.9;
}

.page-home .home-reference-section {
  padding: 0 0 var(--space-9);
  background: var(--bg-sandal);
}

.page-home .home-reference-section .library-prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: end;
  margin: 0;
  padding: var(--space-5) 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-home .home-reference-section .library-prompt h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: .06em;
}

.page-home .home-reference-section .library-prompt p:not(.eyebrow) {
  max-width: 580px;
  margin: var(--space-2) 0 0;
  color: var(--text-soft);
  font-size: var(--text-lg);
  line-height: 1.85;
}

.page-home .home-reference-section .secondary-btn {
  white-space: nowrap;
  transition: border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.page-home .home-reference-section .secondary-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.page-home .home-reference-section .secondary-btn:focus-visible {
  transform: none;
}

.page-home .insight-section {
  padding: var(--space-9) 0;
  border-top: 1px solid var(--line);
}

.page-home .insight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.page-home .insight-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.page-home .insight-card:first-child .insight-cover-link {
  min-height: 300px;
}

.page-home .insight-card:first-child .insight-cover {
  height: 100%;
}

.page-home .insight-card:first-child .insight-card-body {
  justify-content: center;
  padding: var(--space-5);
}

.page-home .insight-card:first-child h3 {
  max-width: 520px;
  font-size: clamp(28px, 3vw, 42px);
}

.page-home .insight-card:first-child .insight-deck {
  display: block;
  max-width: 460px;
  min-height: 0;
  margin: var(--space-3) 0 0;
  color: var(--gold-light);
  font: 600 18px/1.8 var(--font-title);
  letter-spacing: .04em;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.page-home .insight-reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
  color: var(--text-dim);
  font: 10px/1.4 var(--font-data);
  letter-spacing: .1em;
}

.page-home .insight-reading-meta span + span {
  padding-left: var(--space-2);
  border-left: 1px solid var(--line);
}

.page-home .insight-deck {
  display: none;
}

.page-home .insight-heading {
  display: flex;
  gap: var(--space-4);
  align-items: end;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.page-home .insight-heading > div {
  max-width: 600px;
}

.page-home .insight-heading h2 {
  margin: 0;
  color: var(--text);
  font: 700 clamp(34px, 4vw, 52px)/1.4 var(--font-title);
  letter-spacing: .08em;
}

.page-home .insight-heading h2 + p {
  margin: var(--space-2) 0 0;
  color: var(--text-soft);
  font-size: var(--text-lg);
  line-height: 1.85;
}

.page-home .insight-heading .text-action {
  flex: 0 0 auto;
  margin-bottom: var(--space-1);
}

.page-home .insight-grid {
  align-items: stretch;
}

.page-home .insight-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: var(--space-2);
  transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}

.page-home .insight-cover-link {
  margin-inline: var(--space-1);
}

.page-home .insight-card .insight-cover {
  height: clamp(150px, 14vw, 184px);
  aspect-ratio: auto;
  object-fit: cover;
  transition: opacity var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.page-home .insight-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-3) var(--space-1) var(--space-1);
}

.page-home .insight-card .article-meta {
  align-items: baseline;
  min-height: 14px;
  gap: var(--space-1);
  color: var(--text-dim);
  font: 10px/1.4 var(--font-data);
  letter-spacing: .08em;
}

.page-home .insight-card .article-meta span {
  min-width: 0;
  overflow: hidden;
  color: var(--gold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .insight-card .article-meta time {
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-home .insight-card h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: var(--space-2) 0;
  overflow: hidden;
  color: var(--text);
  font: 700 clamp(20px, 1.8vw, 22px)/1.4 var(--font-title);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.page-home .insight-card h3 a {
  color: inherit;
  transition: color var(--motion-fast) var(--ease-standard);
}

.page-home .insight-card p {
  display: -webkit-box;
  min-height: 5.25em;
  margin: 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.page-home .insight-card .article-read {
  margin-top: auto;
}

.page-home .insight-card .article-read span {
  display: inline-block;
  transition: transform var(--motion-fast) var(--ease-standard);
}

@media (hover: hover) and (pointer: fine) {
  .page-home .insight-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(var(--hover-lift));
  }

  .page-home .insight-card:hover .insight-cover {
    opacity: .88;
    transform: scale(1.015);
  }

  .page-home .insight-card:hover h3 a {
    color: var(--gold-light);
  }

  .page-home .insight-card:hover .article-read span {
    transform: translateX(3px);
  }
}

@media (min-width: 901px) {
  .page-home .hero-section {
    min-height: calc(100vh - 72px);
    height: auto;
    padding: var(--space-6) 0;
  }

  .page-home .hero-layout {
    min-height: calc(100vh - 72px - var(--space-6) - var(--space-6));
    height: auto;
    row-gap: var(--space-3);
    align-content: center;
  }

}

@media (min-width: 901px) and (max-height: 780px) {
  .page-home .hero-section {
    padding: var(--space-4) 0;
  }

  .page-home .hero-layout {
    row-gap: var(--space-2);
  }

  .page-home .form-card {
    padding-top: var(--space-4);
    padding-bottom: var(--space-3);
  }

  .page-home .form-intro {
    margin-bottom: var(--space-2);
  }

  .page-home .form-card .form-fieldset,
  .page-home .form-card .form-field {
    margin-bottom: var(--space-2);
  }

  .page-home .hero-copy {
    margin-top: var(--space-3);
  }
}

@media (max-width: 900px) {
  .page-home .hero-section {
    min-height: auto;
    padding: var(--space-6) 0;
  }

  .page-home .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "form"
      "boundary";
    gap: var(--space-4);
    align-items: start;
  }

  .page-home .hero-content {
    align-self: auto;
  }

  .page-home .form-card-motion {
    max-width: 680px;
    justify-self: start;
  }

  .page-home .hero-boundary {
    max-width: 520px;
  }

  .page-home .about-zhiji-section {
    padding: var(--space-8) 0;
  }

  .page-home .about-zhiji-header {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    padding-bottom: var(--space-7);
  }

  .page-home .about-origin {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    min-height: 0;
  }

  .page-home .about-origin-orbit {
    justify-self: start;
  }

  .page-home .about-philosophy {
    gap: var(--space-5);
  }

  .page-home .about-principle {
    min-height: 470px;
  }

  .page-home .insight-card .insight-cover {
    height: 164px;
  }
}

@media (max-width: 767px) {
  .page-home #main-content,
  .page-home #bazi-form,
  .page-home #about,
  .page-home #insights {
    scroll-margin-top: calc(var(--header-height) + var(--space-2));
  }

  .page-home .hero-section {
    padding: var(--space-5) 0 var(--space-6);
  }

  .page-home .hero-section::after {
    background:
      linear-gradient(180deg, rgba(8, 11, 13, .72), rgba(8, 11, 13, .94)),
      linear-gradient(90deg, rgba(8, 11, 13, .82), rgba(8, 11, 13, .82));
  }

  .page-home .hero-layout {
    gap: var(--space-3);
  }

  .page-home .hero-content h1 {
    font-size: clamp(45px, 13vw, 58px);
  }

  .page-home .hero-copy {
    margin-top: var(--space-3);
    font-size: var(--text-base);
    line-height: 1.9;
  }

  .page-home .form-card-motion {
    max-width: none;
  }

  .page-home .form-card {
    padding: var(--space-4) var(--space-3) var(--space-3);
  }

  .page-home .form-card::before {
    right: var(--space-3);
    left: var(--space-3);
  }

  .page-home .form-card select,
  .page-home .form-card .calendar-toggle label,
  .page-home .form-card .gender-toggle label {
    min-height: 44px;
  }

  .page-home .hero-boundary {
    max-width: none;
    padding-left: var(--space-2);
    font-size: 14px;
  }

  .page-home .hero-depth-sky {
    opacity: .25;
  }

  .page-home .hero-depth-mountains,
  .page-home .hero-stardust {
    display: none;
  }

  .page-home .about-zhiji-section {
    padding: var(--space-7) 0;
  }

  .page-home .about-zhiji-header {
    gap: var(--space-3);
    padding-bottom: var(--space-6);
  }

  .page-home .about-zhiji-header h2,
  .page-home .about-section-heading h3,
  .page-home .about-origin h3,
  .page-home .about-philosophy h3,
  .page-home .insight-heading h2 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .page-home .about-zhiji-intro {
    margin-top: var(--space-4);
    font-size: var(--text-xl);
  }

  .page-home .about-origin,
  .page-home .about-philosophy {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    min-height: 0;
    padding: var(--space-7) 0;
  }

  .page-home .about-origin-copy > p:not(.eyebrow),
  .page-home .about-philosophy-reading,
  .page-home .about-hope-list p {
    font-size: var(--text-base);
  }

  .page-home .about-origin-orbit,
  .page-home .about-philosophy-constellation {
    width: min(70%, 280px);
  }

  .page-home .about-principles,
  .page-home .about-hope {
    padding-top: var(--space-7);
  }

  .page-home .about-section-heading {
    margin-bottom: var(--space-4);
  }

  .page-home .about-principle-list,
  .page-home .about-hope-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .about-principle,
  .page-home .about-hope-list li {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-home .about-principle:first-child,
  .page-home .about-hope-list li:first-child {
    border-top: 0;
  }

  .page-home .about-principle {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: var(--space-4);
    padding: var(--space-4) 0;
  }

  .page-home .about-principle-index {
    grid-column: 1;
  }

  .page-home .about-principle-title {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin: var(--space-3) 0 0;
    font-size: clamp(31px, 9vw, 42px);
  }

  .page-home .about-principle-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    padding-top: var(--space-2);
  }

  .page-home .about-philosophy-statement,
  .page-home .about-philosophy-closing {
    font-size: var(--text-xl);
  }

  .page-home .about-hope-list li {
    padding: var(--space-4) 0;
  }

  .page-home .about-hope-list h4 {
    margin: var(--space-3) 0 var(--space-2);
  }

  .page-home .home-reference-section {
    padding-bottom: var(--space-6);
  }

  .page-home .home-reference-section .library-prompt {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    padding: var(--space-4) 0;
  }

  .page-home .home-reference-section .secondary-btn {
    justify-self: start;
  }

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

  .page-home .home-values-heading {
    display: grid;
    gap: var(--space-2);
    align-items: start;
  }

  .page-home .home-value-card {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-home .home-value-card:first-child {
    border-top: 0;
  }

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

  .page-home .insight-card:first-child {
    grid-column: auto;
    display: flex;
  }

  .page-home .insight-card:first-child .insight-cover-link {
    min-height: 0;
  }

  .page-home .insight-card:first-child .insight-cover {
    height: 152px;
  }

  .page-home .insight-card:first-child .insight-card-body {
    padding: var(--space-3) var(--space-1) var(--space-1);
  }

  .page-home .insight-card:first-child h3 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .page-home .insight-card:first-child .insight-deck {
    display: none;
  }

  .page-home .insight-section {
    padding: var(--space-7) 0;
  }

  .page-home .insight-heading {
    display: grid;
    align-items: start;
    margin-bottom: var(--space-3);
  }

  .page-home .insight-heading .text-action {
    margin-bottom: 0;
  }

  .page-home .insight-card .insight-cover {
    height: 152px;
  }

  .page-home .insight-card p {
    min-height: 3.6em;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (max-width: 430px) {
  .page-home .about-zhiji-section {
    padding: var(--space-6) 0;
  }

  .page-home .about-origin,
  .page-home .about-philosophy {
    padding: var(--space-6) 0;
  }

  .page-home .about-origin-orbit,
  .page-home .about-philosophy-constellation {
    width: min(64%, 220px);
  }

  .page-home .about-principle {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .page-home .about-principle-title,
  .page-home .about-principle-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .page-home .about-principle-title {
    margin: 0;
    writing-mode: horizontal-tb;
  }

  .page-home .about-principle-copy {
    align-self: auto;
  }

  .page-home .form-card .date-select-group {
    row-gap: var(--space-1);
  }

  .page-home .insight-card .insight-cover {
    height: 144px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
