/* ASTAGE home page only. Depends on astage-common.css. */

.wp-site-blocks > .astage-home-template,
.wp-site-blocks > .wp-block-shortcode,
.astage-home-template,
.astage-home-template > .wp-block-shortcode {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.astage-home {
  min-height: 100vh;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

.hero-media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(900px, calc(100% - 34px));
  margin: 0 auto;
  aspect-ratio: 16 / 9.2;
  background: #fff;
  border: 3px solid rgba(255, 92, 0, 0.76);
  border-radius: 8px;
  box-shadow:
    10px 10px 0 rgba(255, 226, 122, 0.55),
    0 10px 24px rgba(20, 23, 29, 0.06);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.media-shade {
  display: none;
}

.play-mark {
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: 68px;
  height: 68px;
  background: var(--orange);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(216, 75, 0, 0.26);
}

.play-mark::after {
  position: absolute;
  top: 21px;
  left: 27px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
  content: "";
}

.media-caption {
  position: absolute;
  right: 28px;
  bottom: 30px;
  margin: 0;
  padding: 7px 12px;
  color: var(--orange-deep);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.people-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-main {
  grid-column: 1 / 2;
  grid-row: 2;
  min-width: 0;
}

.hero-main .lead {
  margin-top: 26px;
  color: #57504a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.9;
}

.hero-main .lead + p {
  margin-top: 24px;
  color: #57504a;
  font-weight: 700;
  line-height: 1.9;
}

.hero-side section:last-child {
  border-bottom: 1px solid var(--line);
}

.hero-actions {
  grid-column: 1 / 2;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-extra-visuals {
  display: grid;
  grid-template-columns: 1fr;
  width: min(980px, calc(100% - 34px));
  margin: 38px auto 0;
}

.hero-extra-visual {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero-extra-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.astage-post-date {
  margin: 22px 0 0;
  color: var(--orange-deep);
  font-size: 0.8rem;
  font-weight: 900;
}

.trust-notes article {
  min-width: 0;
  padding: 18px 18px 20px;
}

.trust-notes article + article {
  border-left: 1px solid var(--line);
}

.trust-notes span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.intro-grid,
.flow-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 68px;
  align-items: start;
}

.program.section {
  padding-top: 22px;
}

.intro h2,
.section-heading h2,
.flow h2,
.faq h2 {
  font-size: 2.05rem;
}

.concept-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.purpose-section h3 span {
  display: inline;
  padding: 0 3px;
  background: linear-gradient(transparent 58%, rgba(255, 226, 122, 0.86) 0);
}

.intro-text p,
.flow-grid p,
.faq-list p {
  margin: 0;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 520px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.program-item {
  min-height: 296px;
  padding: 24px 26px 28px;
  background: #fff;
}

.program-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
}

.program-item-head span {
  color: var(--orange);
  margin-top: 34px;
  font-size: 1.42rem;
  font-weight: 950;
  line-height: 1;
}

.program-item-head img {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  margin-top: 16px;
  object-fit: cover;
  border: 2px solid rgba(255, 226, 122, 0.8);
  border-radius: 50%;
}

.program-item h3 {
  margin: 12px 0 12px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.program-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.program-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.feature-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1fr);
  gap: 54px;
  align-items: end;
  width: min(1120px, calc(100% - 34px));
  margin: 12px auto 0;
  padding: 30px 0;
  background: #fff;
}

.feature-band img {
  grid-column: 2 / 3;
  grid-row: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10.8;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.08) brightness(1.05);
}

.feature-overlay {
  display: none;
}

.feature-content {
  position: relative;
  grid-column: 1 / 2;
  grid-row: 1;
  max-width: 520px;
  color: var(--ink);
}

.feature-content h2 {
  margin: 8px 0 30px;
  font-size: 2.45rem;
}

.feature-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #4d515b;
  font-weight: 700;
  line-height: 1.9;
}

.feature-message-button {
  margin-top: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.stats strong {
  display: block;
  color: var(--orange);
  font-size: 2.2rem;
  line-height: 1;
}

.stats span {
  color: #6d7280;
  font-size: 0.76rem;
  font-weight: 800;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.activity-grid article {
  min-width: 0;
}

.blog-card {
  border-bottom: 1px solid var(--line);
}

.blog-card a {
  display: block;
}

.activity-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card-body {
  padding-top: 14px;
}

.blog-meta {
  margin: 0 0 8px;
  color: var(--orange-deep);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
}

.activity-grid h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.35;
}

.blog-card-body > p:not(.blog-meta) {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.flow-lead {
  max-width: 520px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 2.12;
}

details {
  background: #fff;
}

.steps details:nth-child(1) {
  background: #ffab69;
}

.steps details:nth-child(2) {
  background: #ff8741;
}

.steps details:nth-child(3) {
  background: #ff650c;
}

.steps details:nth-child(4) {
  background: #d95000;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 22px 26px;
  cursor: pointer;
  color: #fff;
  font-weight: 950;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  content: "+";
}

details[open] summary::after {
  content: "−";
}

summary span {
  color: rgba(255, 255, 255, 0.7);
  flex: 0 0 auto;
  font-size: 1.34rem;
  font-weight: 950;
  line-height: 1;
}

.steps summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  justify-items: start;
  text-align: left;
}

.steps summary::after {
  justify-self: end;
}

details p {
  padding: 0 26px 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.quote-band {
  position: relative;
  display: grid;
  min-height: 460px;
  margin: 24px 0 0;
  padding: 72px 24px;
  overflow: hidden;
  place-items: center;
  background: #fff1e7;
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.quote-band::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 92, 0, 0.12), rgba(255, 226, 122, 0.18));
  content: "";
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  min-height: 64px;
  color: var(--ink);
}

.faq-list summary::after {
  color: var(--orange);
}

.faq-list p {
  padding: 0 26px 22px;
  color: var(--muted);
}

.faq-button {
  justify-self: start;
  margin-top: 6px;
}

.access {
  padding-top: 16px;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: 42px;
  align-items: center;
}

.access-copy h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.18;
}

.access-copy > p:not(.soft-title) {
  margin: 30px 0 28px;
  color: #4d515b;
  font-weight: 700;
  line-height: 1.9;
}

.access-map {
  overflow: hidden;
  aspect-ratio: 16 / 9.2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f5f2;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
.hero-media {
    width: calc(100% - 20px);
    aspect-ratio: 4 / 3;
    border-width: 2px;
    box-shadow:
      7px 7px 0 rgba(255, 226, 122, 0.55),
      0 10px 22px rgba(20, 23, 29, 0.06);
  }

.play-mark {
    left: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
  }

.play-mark::after {
    top: 15px;
    left: 21px;
  }

.media-caption {
    right: 18px;
    bottom: 18px;
    max-width: 190px;
    text-align: right;
  }

.hero-copy,
  .intro-grid,
  .flow-grid,
  .faq-grid,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: calc(100% - 34px);
  }

.hero-copy .eyebrow,
  .hero-actions {
    grid-column: auto;
    grid-row: auto;
  }

.hero-main,
  .hero-side {
    grid-column: auto;
    grid-row: auto;
  }

.hero-main .lead {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.85;
  }

.hero-main .lead + p {
    margin-top: 20px;
    line-height: 1.85;
  }

.hero-extra-visuals {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 20px);
    margin-top: 32px;
  }

.hero-extra-visual {
    height: auto;
    aspect-ratio: 4 / 2.1;
  }

.trust-notes article {
    padding: 16px 14px;
  }

.trust-notes article + article {
    border-left: 0;
  }

.trust-notes article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

.trust-notes article:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

.intro h2,
  .section-heading h2,
  .flow h2,
  .faq h2 {
    font-size: 1.72rem;
  }

.program-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

.program-item {
    min-height: 0;
  }

.program-item-head {
    min-height: 122px;
  }

.program-item-head span {
    margin-top: 28px;
    font-size: 1.5rem;
  }

.program-item-head img {
    width: 106px;
    height: 106px;
    flex-basis: 106px;
    margin-top: 14px;
  }

.feature-band {
    grid-template-columns: 1fr;
    gap: 28px;
    width: calc(100% - 34px);
    margin-top: 18px;
    padding: 38px 0;
  }

.feature-band img {
    grid-column: auto;
    grid-row: 1;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 11.1;
    object-position: center 57%;
  }

.feature-content {
    grid-column: auto;
    grid-row: 2;
    max-width: none;
  }

.feature-content h2 {
    font-size: 1.82rem;
  }

.stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

.stats strong {
    font-size: 1.64rem;
  }

.access-copy h2 {
    font-size: 1.72rem;
  }

.access-map {
    aspect-ratio: 4 / 3;
  }

.flow-lead {
    max-width: none;
    margin-top: 40px;
    font-size: 0.98rem;
    line-height: 1.95;
  }

.steps summary {
    grid-template-columns: 62px minmax(0, 1fr) 20px;
    min-height: 82px;
    padding: 24px;
    column-gap: 14px;
  }

.steps summary span {
    font-size: 1.46rem;
  }

.steps details p {
    padding: 0 24px 26px 100px;
    line-height: 1.85;
  }
}

@media (max-width: 460px) {
.stats {
    grid-template-columns: 1fr;
  }

summary {
    padding: 24px 20px;
  }
}

#top {
  scroll-margin-top: 82px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 18px 92px;
  background: #fff;
}

.hero-word {
  position: relative;
  z-index: 3;
  margin: 10px auto 18px;
  max-width: min(1180px, calc(100% - 24px));
  color: var(--orange);
  font-size: clamp(2.55rem, 10.3vw, 8.4rem);
  font-weight: 950;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 8px 0 rgba(255, 226, 122, 0.62);
}

.people-hero {
  overflow: hidden;
  width: min(980px, calc(100% - 34px));
  margin: 34px auto 0;
  aspect-ratio: 16 / 5.4;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  column-gap: 58px;
  row-gap: 18px;
  align-items: start;
  width: min(980px, calc(100% - 34px));
  margin: 42px auto 0;
}

.hero-copy .eyebrow {
  grid-column: 1 / 2;
  grid-row: 1;
  margin: 0;
}

.hero-copy h1 {
  max-width: 660px;
  font-size: 2.25rem;
  line-height: 1.18;
}

.hero-copy p {
  margin: 0;
  color: #3f434c;
  font-size: 0.98rem;
}

.hero-side {
  grid-column: 2 / 3;
  grid-row: 1 / span 3;
  display: grid;
  gap: 0;
  min-width: 0;
}

.hero-side section {
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
}

.hero-side h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.4;
}

.hero-side p {
  line-height: 1.9;
}

.hero-side ul {
  margin: 0;
  padding-left: 1.2em;
  color: #57504a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.9;
}

.quick-info {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(980px, calc(100% - 34px));
  gap: 0;
  margin: -46px auto 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info p {
  margin: 0;
  min-height: 48px;
  padding: 14px 12px;
  color: #575d68;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.quick-info p + p {
  border-left: 1px solid var(--line);
}

.trust-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(980px, calc(100% - 34px));
  margin: -48px auto 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-notes h2 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.trust-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.65;
}

.section {
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
  padding: 36px 0;
}

.soft-title {
  margin: 0 0 10px;
  color: #d8d4d0;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.05;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.intro.section {
  padding-top: 42px;
  padding-bottom: 16px;
}

.concept-photo {
  overflow: hidden;
  width: min(100%, 540px);
  max-width: 540px;
  margin: 24px 0 0;
  aspect-ratio: 2.12 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  line-height: 0;
}

.intro-text {
  display: grid;
  gap: 18px;
  color: #4d515b;
  font-size: 0.96rem;
}

.purpose-copy {
  gap: 0;
  padding-top: 12px;
  color: #16191f;
  text-align: center;
}

.purpose-section h3 {
  margin: 0 0 24px;
  color: #11141a;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.35;
}

.purpose-section p {
  color: #1f232b;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 2;
}

.concept-button {
  margin-top: 28px;
}

.flow {
  padding-top: 54px;
}

.flow-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: 90px;
}

.flow-grid > div:first-child {
  max-width: 560px;
}

.flow h2 {
  line-height: 1.16;
}

.flow-note {
  max-width: 520px;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 92, 0, 0.22);
  border-radius: 8px;
  background: #fff8f1;
  font-weight: 800;
  line-height: 2;
}

.steps {
  border-radius: 8px;
  overflow: hidden;
}

.quote-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(820px, calc(100% - 34px));
  min-height: 100%;
  color: var(--ink);
  text-align: center;
  text-shadow: none;
}

.quote-content p {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 950;
}

.quote-content h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.35;
}

@media (max-width: 860px) {
.hero {
    padding-top: 30px;
  }

.hero-word {
    margin-bottom: 14px;
    text-shadow: 0 5px 0 rgba(255, 226, 122, 0.62);
  }

.people-hero {
    width: calc(100% - 20px);
    margin-top: 28px;
    aspect-ratio: 4 / 2.15;
  }

.hero-copy .eyebrow {
    margin: 0;
  }

.hero-copy h1 {
    font-size: 1.86rem;
  }

.hero-side section {
    padding: 20px 0 22px;
  }

.hero-side h2 {
    font-size: 0.98rem;
  }

.hero-side ul {
    font-size: 0.9rem;
  }

.quick-info {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
  }

.quick-info p + p {
    border-left: 0;
  }

.quick-info p:nth-child(even) {
    border-left: 1px solid var(--line);
  }

.quick-info p:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

.trust-notes {
    grid-template-columns: 1fr 1fr;
    margin: 0 auto 34px;
  }

.section {
    padding: 46px 0;
  }

.soft-title {
    font-size: 1.24rem;
  }

.purpose-copy {
    text-align: left;
  }

.quote-content h2 {
    font-size: 1.55rem;
  }

.flow {
    padding-top: 64px;
    padding-bottom: 68px;
  }

.flow-grid {
    width: 100%;
    gap: 34px;
  }

.flow-grid > div:first-child {
    max-width: none;
  }

.flow h2 {
    line-height: 1.2;
  }

.flow-note {
    max-width: none;
    margin-top: 28px;
    padding: 24px 24px;
    font-size: 1rem;
    line-height: 1.95;
  }

.steps {
    border-radius: 10px;
  }
}

@media (max-width: 460px) {
.hero-word {
    font-size: 2.45rem;
  }

.quick-info {
    grid-template-columns: 1fr;
  }

.quick-info p:nth-child(even) {
    border-left: 0;
  }

.quick-info p:nth-child(n+2) {
    border-top: 1px solid rgba(255, 92, 0, 0.26);
  }
}

@media (max-width: 860px) {
.astage-home {
    overflow-x: hidden;
  }

.astage-home *,
  .astage-home *::before,
  .astage-home *::after {
    box-sizing: border-box;
  }

.hero {
    padding-right: 0;
    padding-left: 0;
  }

.hero-copy,
  .intro-grid,
  .flow-grid,
  .faq-grid,
  .access-grid,
  .feature-band {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100% - 28px, 980px) !important;
    gap: 30px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

.hero-copy {
    margin-top: 34px;
  }

.hero-copy .eyebrow,
  .hero-main,
  .hero-side,
  .hero-actions,
  .flow-grid > *,
  .intro-grid > *,
  .faq-grid > *,
  .access-grid > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

.hero-copy h1,
  .hero-copy p,
  .hero-side h2,
  .hero-side p,
  .hero-side li,
  .intro h2,
  .section-heading h2,
  .feature-content h2,
  .flow h2,
  .faq h2,
  .access-copy h2 {
    writing-mode: horizontal-tb;
    word-break: normal;
    overflow-wrap: break-word;
  }

.hero-actions,
  .blog-actions,
  .program-actions,
  .contact-actions {
    width: 100%;
  }

.hero-actions .button,
  .blog-actions .button,
  .program-actions .button {
    max-width: 100%;
  }

.quick-info,
  .trust-notes {
    width: min(100% - 28px, 980px) !important;
  }

.program-grid,
  .activity-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

.feature-band {
    padding-top: 34px;
    padding-bottom: 34px;
  }

.feature-band img,
  .feature-content {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0 !important;
  }

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

.flow {
    width: min(100% - 28px, 1120px);
  }

.flow-grid {
    width: 100% !important;
  }

.steps summary {
    grid-template-columns: 56px minmax(0, 1fr) 20px;
  }

.steps details p {
    padding-left: 88px;
  }
}

@media (max-width: 460px) {
.hero-copy,
  .intro-grid,
  .flow-grid,
  .faq-grid,
  .access-grid,
  .feature-band,
  .quick-info,
  .trust-notes {
    width: min(100% - 24px, 980px) !important;
  }

.hero-word {
    max-width: calc(100% - 24px);
    white-space: normal;
  }

.hero-actions,
  .blog-actions,
  .program-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

.hero-actions .button,
  .blog-actions .button,
  .program-actions .button {
    width: 100%;
  }

.trust-notes {
    grid-template-columns: 1fr !important;
  }

.trust-notes article:nth-child(even) {
    border-left: 0;
  }

.trust-notes article:nth-child(n+2) {
    border-top: 1px solid var(--line);
  }

.stats {
    grid-template-columns: 1fr;
  }

.steps summary {
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    padding: 20px 16px;
  }

.steps details p {
    padding: 0 16px 22px 64px;
  }
}

/* Final FLOW spacing polish */
.flow .soft-title {
  margin-bottom: 14px;
}

.flow h2 {
  margin: 0 0 28px;
}

.flow-lead {
  max-width: 640px;
  margin-top: 0;
  line-height: 2.12;
}

.flow-note {
  max-width: 660px;
  margin-top: 34px;
  padding: 34px 40px;
  font-size: 1.08rem;
  line-height: 2.12;
}

@media (max-width: 860px) {
  .flow .soft-title {
    margin-bottom: 12px;
  }

  .flow h2 {
    margin-bottom: 24px;
  }

  .flow-lead {
    line-height: 2.05;
  }

  .flow-note {
    margin-top: 30px;
    padding: 30px 28px;
    font-size: 1.02rem;
    line-height: 2.05;
  }
}

@media (max-width: 460px) {
  .flow h2 {
    margin-bottom: 22px;
  }

  .flow-note {
    padding: 26px 22px;
    font-size: 1rem;
    line-height: 2;
  }
}

/* Mobile readability polish */
@media (max-width: 860px) {
  .hero-copy p,
  .hero-main .lead + p,
  .hero-side p,
  .purpose-section p,
  .quick-info p,
  .trust-notes p,
  .program-item p,
  .activity-grid p,
  .blog-card-body > p:not(.blog-meta),
  details p,
  .faq-list p,
  .access-copy > p:not(.soft-title) {
    font-size: 1rem;
    line-height: 1.76;
  }

  .flow-lead {
    font-size: 1.02rem;
    line-height: 1.78;
  }

  .quick-info span,
  .trust-notes span,
  .blog-meta,
  .astage-post-date {
    font-size: 0.82rem;
  }

  .steps summary {
    font-size: 1rem;
  }
}

@media (max-width: 460px) {
  .quick-info p,
  .trust-notes p {
    font-size: 0.92rem;
  }
}

/* iPhone compact tuning */
@media (max-width: 860px) {
  .astage-home,
  .astage-home * {
    letter-spacing: 0;
    word-spacing: 0;
  }

  .section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .intro-grid,
  .flow-grid,
  .faq-grid,
  .access-grid {
    gap: 28px !important;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .flow-note {
    margin-top: 24px;
    padding: 26px 24px;
    line-height: 1.82;
  }

  .steps details p {
    line-height: 1.72;
  }
}

@media (max-width: 460px) {
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .flow-note {
    margin-top: 22px;
    padding: 24px 20px;
    line-height: 1.78;
  }
}
