/* Homepage copy refresh. Every rule stays within this page. */
body.home-copy-page {
  --home-prose: 64ch;
}

.home-copy-page main > section {
  scroll-margin-top: 108px;
}

.home-copy-page main h1,
.home-copy-page main h2,
.home-copy-page main h3 {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.home-copy-page main .section {
  padding-block: clamp(64px, 7.2vw, 104px);
}

.home-copy-page main .split {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 88px);
}

.home-copy-page main .split > *,
.home-copy-page main .section-top > *,
.home-copy-page main .newsletter-grid > * {
  min-width: 0;
}

.home-copy-page main .section h2,
.home-copy-page .home-bioage h2 {
  font-size: clamp(1.95rem, 3.1vw, 3rem);
  line-height: 1.27;
  letter-spacing: -.035em;
  max-width: 26ch;
  margin-bottom: 26px;
}

.home-copy-page .home-reading {
  max-width: var(--home-prose);
}

.home-copy-page .home-reading p,
.home-copy-page p.home-reading {
  max-width: var(--home-prose);
  line-height: 1.85;
  margin-bottom: 1.2em;
}

.home-copy-page .home-reading > p:last-child {
  margin-bottom: 0;
}

.home-copy-page .actions {
  gap: 16px 22px;
  margin-block: 30px 0;
}

.home-copy-page .button,
.home-copy-page .text-link {
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.home-copy-page .button {
  min-height: 52px;
  flex-shrink: 1;
  gap: 18px;
  line-height: 1.55;
}

.home-copy-page .button::after {
  flex-shrink: 0;
}

.home-copy-page .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 9px;
  line-height: 1.65;
}

/* The illustration remains whole; the longer copy has its own safe area. */
.home-copy-page .temporal-hero {
  min-height: 0;
  overflow: visible;
}

.home-copy-page .temporal-hero .hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  min-height: 0;
  gap: clamp(30px, 4vw, 64px);
  padding-block: clamp(50px, 6.1vw, 88px);
}

.home-copy-page .temporal-hero .hero-copy {
  max-width: 680px;
  padding: 0;
}

.home-copy-page .temporal-hero h1 {
  font-size: clamp(2.2rem, 3.45vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  max-width: 18ch;
  margin: 0 0 24px;
  color: #f3eee3;
}

.home-copy-page .temporal-hero .hero-subtitle {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.05vw, 2.05rem);
  line-height: 1.43;
  font-weight: 600;
  letter-spacing: -.028em;
  text-transform: none;
  max-width: 32ch;
  margin: 0 0 28px;
  color: #d1a27e;
}

.home-copy-page .temporal-hero .hero-copy > p {
  max-width: 58ch;
  color: #d4ddd4;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.home-copy-page .temporal-hero .hero-copy > p strong {
  color: #f3eee3;
  font-weight: 650;
}

.home-copy-page .temporal-hero .hero-image {
  position: relative;
  inset: auto;
  align-self: center;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  aspect-ratio: auto;
  margin: 0;
  border-top: 1px solid #d1a27e80;
  padding-block: 18px;
}

.home-copy-page .temporal-hero .hero-image img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
}

.home-copy-page .temporal-hero .hero-image::after {
  display: none;
}

.home-copy-page .temporal-hero .hero-image figcaption {
  position: static;
  inset: auto;
  max-width: none;
  padding-top: 16px;
  margin-top: 0;
  background: transparent;
  border: 0;
  color: #c7d0c6;
  letter-spacing: .09em;
  text-align: left;
  font-size: .68rem;
  line-height: 1.7;
}

.home-copy-page .temporal-hero .button.secondary {
  background: transparent;
  border-color: #8caa97;
  color: #e5ebdf;
}

.home-copy-page .temporal-hero .button.secondary:hover {
  background: #a2c7bf16;
  border-color: #a2c7bf;
  color: #f3eee3;
}

/* The physiology is presented as prose, with the thesis kept visible. */
.home-copy-page .home-physiology .home-reading > p:last-child {
  border-left: 2px solid var(--orange);
  padding-left: 22px;
  margin-top: 28px;
}

/* Native details keep the six archetypes usable without extra scripts. */
.home-copy-page #test .section-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: 24px;
}

.home-copy-page #test .section-top h2 {
  margin: 0;
}

.home-copy-page #test .section-top > p {
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  margin: 0;
  color: var(--ink);
}

.home-copy-page .home-profiler-intro {
  max-width: 78ch;
  margin-bottom: 34px;
}

.home-copy-page .home-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.home-copy-page .home-profile {
  min-width: 0;
  border: 1px solid #bbb39f;
  border-top: 2px solid var(--orange);
  padding: 24px 25px;
  background: #fbf8f16b;
}

.home-copy-page .home-profile > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  column-gap: 16px;
  min-height: 52px;
  list-style: none;
  cursor: pointer;
  border-radius: 0;
}

.home-copy-page .home-profile > summary::-webkit-details-marker {
  display: none;
}

.home-copy-page .home-profile > summary::marker {
  content: '';
}

.home-copy-page .home-profile > summary h3 {
  grid-column: 1;
  grid-row: 1;
  font: 600 1.19rem/1.4 var(--display);
  letter-spacing: .035em;
  color: var(--orange);
  margin: 0 0 7px;
}

.home-copy-page .home-profile .profile-name {
  grid-column: 1;
  grid-row: 2;
  font: 650 .86rem/1.65 var(--body);
  color: var(--ink);
}

.home-copy-page .home-profile .profile-toggle {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--orange);
  font-size: 0;
  border: 1px solid #974b3259;
  border-radius: 50%;
}

.home-copy-page .home-profile .profile-toggle::before {
  content: '+';
  font: 400 1.15rem/1 var(--body);
}

.home-copy-page .home-profile[open] .profile-toggle::before {
  content: '−';
}

.home-copy-page .home-profile > p {
  font-size: .94rem;
  line-height: 1.8;
  margin: 18px 0 0;
  padding-top: 17px;
  border-top: 1px solid #c3bcad;
  max-width: 45ch;
}

.home-copy-page .home-profile > summary:hover h3 {
  color: #793920;
}

.home-copy-page .home-model-note {
  max-width: 82ch;
  color: #51564e;
  font-size: .86rem;
  line-height: 1.8;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid #9d8d70;
}

/* A full-width map and all twelve real destinations. */
.home-copy-page .home-guide-preview .home-reading {
  max-width: 76ch;
}

.home-copy-page .home-guide-preview .atlas-map-figure {
  max-width: 1120px;
  margin: 38px auto 44px;
  aspect-ratio: auto;
  overflow: visible;
}

.home-copy-page .home-guide-preview .atlas-map-figure img {
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.home-copy-page .home-guide-preview .atlas-map-figure figcaption {
  position: static;
  max-width: none;
  letter-spacing: 0;
  background: transparent;
  color: var(--muted);
  padding: 15px 0 0;
}

.home-copy-page .home-guide-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}

.home-copy-page .home-guide-links > a {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 16px;
  align-content: start;
  min-height: 108px;
  gap: 15px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.home-copy-page .home-guide-links .guide-number {
  font: 650 .73rem/1.8 var(--body);
  letter-spacing: .08em;
  color: var(--orange);
  padding-top: 3px;
}

.home-copy-page .home-guide-links h3 {
  font: 650 1.01rem/1.7 var(--body);
  letter-spacing: -.015em;
  margin: 0;
}

.home-copy-page .home-guide-links > a > span[aria-hidden] {
  grid-column: 3;
  grid-row: 1;
  color: var(--orange);
  font-size: .95rem;
  padding-top: 2px;
}

.home-copy-page .home-guide-links > a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Author credentials keep the same editorial hierarchy. */
.home-copy-page .home-author h3 {
  font: 600 clamp(1.65rem, 2.35vw, 2.3rem)/1.3 var(--display);
  letter-spacing: -.025em;
  color: var(--orange);
  margin-top: 0;
}

.home-copy-page .home-author .home-reading > p:last-of-type {
  margin-top: 26px;
}

.home-copy-page .home-author .actions {
  margin-top: 23px;
}

/* The offer facts remain legible at narrow widths. */
.home-copy-page .home-bioage {
  padding-block: clamp(64px, 7.2vw, 104px);
}

.home-copy-page .home-bioage h2 {
  color: #f3eee3;
}

.home-copy-page .home-bioage .home-reading {
  max-width: var(--home-prose);
}

.home-copy-page .home-bioage .offer-summary {
  gap: 20px;
  margin-block: 30px;
  padding-block: 25px 0;
}

.home-copy-page .home-bioage .offer-summary > div {
  min-width: 0;
  font-size: .83rem;
}

.home-copy-page .home-bioage .offer-summary strong {
  font-size: 2.75rem;
  margin-bottom: 7px;
}

.home-copy-page .home-bioage .offer-summary span {
  display: block;
  color: #e7d1b5;
  font: 650 .65rem/1.75 var(--body);
  letter-spacing: .09em;
}

.home-copy-page .home-bioage .offer-summary p {
  font-size: .83rem;
  line-height: 1.8;
  margin: 9px 0 0;
}

.home-copy-page .home-bioage .button {
  margin-top: 0;
}

.home-copy-page .home-final .newsletter-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(38px, 6vw, 80px);
}

.home-copy-page .home-final h2 {
  max-width: 22ch;
}

.home-copy-page .home-final .newsletter-panel {
  padding: 30px;
  background: #fbf8f1;
  min-width: 0;
  max-width: 100%;
}

.home-copy-page .newsletter-panel form,
.home-copy-page .newsletter-panel iframe {
  max-width: 100%;
}

.home-copy-page .newsletter-panel input,
.home-copy-page .newsletter-panel button {
  min-height: 44px;
  max-width: 100%;
}

.home-copy-page .newsletter-panel input[type=email] {
  min-width: 0;
  width: 100%;
}

.home-copy-page .newsletter-panel .newsletter-fallback a,
.home-copy-page .newsletter-panel .newsletter-alternative a {
  display: inline-block;
  padding-block: 6px;
}

.home-copy-page .footer-row {
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: 60px;
}

.home-copy-page .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.home-copy-page a:focus-visible,
.home-copy-page button:focus-visible,
.home-copy-page input:focus-visible,
.home-copy-page summary:focus-visible {
  outline: 3px solid #974b32;
  outline-offset: 5px;
}

.home-copy-page .temporal-hero a:focus-visible,
.home-copy-page .home-bioage a:focus-visible,
.home-copy-page .footer a:focus-visible {
  outline-color: #a2c7bf;
}

@media (max-width: 1100px) {
  .home-copy-page .temporal-hero .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 32px;
  }

  .home-copy-page .home-profiles {
    gap: 18px;
  }

  .home-copy-page .home-profile {
    padding: 22px 20px;
  }

  .home-copy-page .home-guide-links {
    gap: 0 25px;
  }
}

@media (max-width: 900px) {
  .home-copy-page .home-profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 800px) {
  .home-copy-page main > section {
    scroll-margin-top: 94px;
  }

  .home-copy-page main .split,
  .home-copy-page #test .section-top,
  .home-copy-page .home-final .newsletter-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .home-copy-page .temporal-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding-block: 48px 30px;
  }

  .home-copy-page .temporal-hero .hero-copy {
    max-width: 680px;
  }

  .home-copy-page .temporal-hero h1 {
    font-size: clamp(2.15rem, 5.3vw, 3rem);
    max-width: 18ch;
  }

  .home-copy-page .temporal-hero .hero-subtitle {
    font-size: clamp(1.5rem, 3.8vw, 1.95rem);
    max-width: 36ch;
  }

  .home-copy-page .temporal-hero .hero-image {
    max-width: 680px;
    padding-block: 17px 0;
    margin: 0;
    aspect-ratio: auto;
  }

  .home-copy-page .temporal-hero .hero-image img {
    position: static;
    height: auto;
    object-fit: contain;
  }

  .home-copy-page .temporal-hero .actions {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .home-copy-page main .section h2,
  .home-copy-page .home-bioage h2 {
    font-size: clamp(1.9rem, 4.2vw, 2.5rem);
    max-width: 30ch;
    margin-bottom: 0;
  }

  .home-copy-page .home-guide-preview h2 {
    margin-bottom: 27px;
  }

  .home-copy-page .home-profiler-intro {
    margin-block: 26px 30px;
  }

  .home-copy-page .home-guide-preview .atlas-map-figure {
    margin-block: 32px;
  }

  .home-copy-page .home-author h3 {
    margin: 20px 0 0;
  }

  .home-copy-page .home-final .home-reading h2 {
    margin-bottom: 28px;
  }

  .home-copy-page .home-final .newsletter-panel {
    max-width: 650px;
  }

  .home-copy-page .footer-row {
    grid-template-columns: 1fr;
    gap: 27px;
  }
}

@media (max-width: 540px) {
  .home-copy-page .wrap {
    width: calc(100% - 40px);
  }

  .home-copy-page .temporal-hero .hero-grid {
    padding-top: 40px;
    gap: 32px;
  }

  .home-copy-page .temporal-hero h1 {
    font-size: clamp(2rem, 8.15vw, 2.65rem);
    letter-spacing: -.045em;
    line-height: 1.22;
  }

  .home-copy-page .temporal-hero .hero-subtitle {
    font-size: 1.48rem;
    line-height: 1.48;
    margin-bottom: 24px;
  }

  .home-copy-page .temporal-hero .hero-copy > p {
    font-size: .98rem;
    line-height: 1.85;
  }

  .home-copy-page main .section h2,
  .home-copy-page .home-bioage h2 {
    font-size: 1.85rem;
    line-height: 1.34;
  }

  .home-copy-page .actions,
  .home-copy-page .temporal-hero .actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .home-copy-page .actions .button,
  .home-copy-page .home-bioage .button {
    width: 100%;
    padding: 15px 18px;
    font-size: .85rem;
  }

  .home-copy-page .actions .text-link {
    align-self: flex-start;
  }

  .home-copy-page .home-profiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .home-copy-page .home-profile {
    padding: 22px;
  }

  .home-copy-page .home-guide-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-copy-page .home-guide-links > a {
    min-height: 82px;
    padding-block: 20px;
    gap: 13px;
  }

  .home-copy-page .home-guide-links h3 {
    font-size: 1rem;
    line-height: 1.75;
  }

  .home-copy-page .home-bioage .offer-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 27px;
  }

  .home-copy-page .home-bioage .offer-summary > div {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 19px;
    align-items: start;
  }

  .home-copy-page .home-bioage .offer-summary strong {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 2.4rem;
    margin: 0;
  }

  .home-copy-page .home-bioage .offer-summary span,
  .home-copy-page .home-bioage .offer-summary p {
    grid-column: 2;
  }

  .home-copy-page .home-bioage .offer-summary p {
    margin-top: 5px;
  }

  .home-copy-page .home-final .newsletter-panel {
    padding: 25px 21px;
  }

  .home-copy-page .footer-links {
    gap: 12px 18px;
  }
}

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