:root {
  --ink: #303437;
  --muted: #545d65;
  --blue: #399cd6;
  --blue-ink: #08628f;
  --chapter-pale: #f2f8fb;
  --chapter-blue: #1d5679;
  --coral: #ef5c63;
  --coral-ink: #b52e3c;
  --yellow: #da9e26;
  --green: #4e9a46;
  --line: #dce5e9;
  --font: "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #fff; font: 17px/1.85 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { max-width: 100%; }
img { height: auto; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: 10px; left: 10px; padding: 12px 20px; background: white; z-index: 2; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { display: block; width: 80px; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 700; }
.desktop-nav > a:not(.button):hover, .footer-links a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 5px; }
.mobile-menu { display: none; }
.button { min-height: 58px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 13px 26px; border: 2px solid transparent; border-radius: 16px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.button.small { min-height: 48px; padding: 10px 20px; font-size: 16px; border-radius: 13px; }
.primary { background: #147eaf; color: white; border-color: #147eaf; box-shadow: 0 4px 0 #085d86; }
.secondary { color: var(--blue-ink); background: #fff; border-color: #b5d9e9; box-shadow: 0 4px 0 #dbeaf1; }
.button:hover { filter: brightness(.96); }
.button:active { transform: translateY(2px); box-shadow: none; }
.hero { padding-block: 30px 48px; text-align: center; }
.hero-copy { max-width: 960px; margin-inline: auto; }
.eyebrow { color: var(--muted); font-size: 16px; font-weight: 700; margin: 0 0 18px; line-height: 1.7; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-right: 10px; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(36px, 5.1vw, 70px); letter-spacing: -.035em; line-height: 1.35; margin-bottom: 22px; }
h1 > span { white-space: nowrap; }
.title-flower { font-size: 1.06em; color: var(--coral-ink); position: relative; }
.title-flower::after { content: ""; position: absolute; height: 12px; background: #fce4be; border-radius: 8px; bottom: 1px; left: 2px; right: 0; z-index: -1; }
.hero-lead { font-size: 19px; line-height: 1.9; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.support-link { display: inline-flex; align-items: center; min-height: 48px; gap: 22px; margin-top: 18px; font-size: 16px; color: var(--blue-ink); font-weight: 700; }
.support-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-art { margin: 8px 0 0; width: 100%; }
.hero-art img { display: block; width: 100%; height: auto; }
figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.section { padding-block: 88px; scroll-margin-top: 20px; }
h2 { font-size: clamp(30px, 3.35vw, 44px); line-height: 1.55; letter-spacing: -.025em; margin-bottom: 22px; }
h3 { font-size: 21px; line-height: 1.6; margin-bottom: 12px; }
p { margin-bottom: 20px; }
.blue { color: var(--blue-ink); }
.green { color: #32712c; }
.coral { color: var(--coral-ink); }
.text-link { color: var(--blue-ink); display: inline-flex; gap: 25px; align-items: center; font-size: 17px; font-weight: 700; min-height: 48px; border-bottom: 2px solid #b5d9e9; }
.text-link:hover { border-color: var(--blue-ink); }
.about { text-align: center; max-width: 760px; }
.about-copy { max-width: 630px; margin-inline: auto; }
.about-copy p:not(.eyebrow) { color: var(--muted); }
.section-heading { text-align: center; margin-bottom: 44px; }
.work { padding-top: 64px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.work-item { text-align: center; }
.work-item p { font-size: 16px; color: var(--muted); }
.work-icon { width: 108px; height: 96px; margin: 0 auto 24px; display: grid; place-items: center; }
.work-icon svg { width: 108px; height: 88px; }
.pink { background: white; }
.pale-blue { background: white; }
.pale-yellow { background: white; }
.chat-section { background: #eff8fc; margin-block: 32px; }
.chat-layout { text-align: center; }
.chat-copy { max-width: 740px; margin: 0 auto 30px; }
.chat-panel { max-width: 580px; margin-inline: auto; text-align: left; }
.demo-note { font-size: 15px; color: var(--muted); }
.chat-panel { background: white; border: 1px solid #dcecf3; padding: 28px; border-radius: 26px; box-shadow: 0 12px 34px #2364870b; }
.chat-label { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.chat-label .dot { margin: 0; background: var(--green); flex-shrink: 0; }
.demo-badge { margin-left: auto; background: #f0f5f7; color: var(--muted); border-radius: 6px; padding: 2px 7px; font-size: 14px; white-space: nowrap; }
.bubble { margin: 14px 0; background: #f1f7fa; border-radius: 4px 20px 20px; padding: 15px; max-width: 95%; font-size: 16px; }
.bubble.visitor { background: #fff2d9; margin-left: auto; border-radius: 20px 4px 20px 20px; }
#chat-answer { scroll-margin-top: 100px; }
.questions { display: grid; gap: 9px; margin-top: 20px; }
.questions button { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border: 1.5px solid #a9d2e5; background: white; color: var(--blue-ink); padding: 10px 14px; border-radius: 13px; text-align: left; font-size: 16px; font-weight: 700; line-height: 1.6; }
.questions button:hover { background: #f1f9fd; }
.chat-form { margin-top: 24px; }
.chat-form label { font-weight: 700; }
.chat-form .demo-note { margin: 4px 0 10px; }
.chat-form textarea { display: block; width: 100%; padding: 10px 12px; font: inherit; color: inherit; border: 1.5px solid #a9d2e5; border-radius: 8px; resize: vertical; }
.chat-form button { margin-top: 10px; min-height: 44px; padding: 8px 18px; background: var(--blue-ink); color: white; font: inherit; font-weight: 700; border: 0; border-radius: 8px; cursor: pointer; }
.chat-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.chat-contact .text-link { min-height: 44px; }
.faq-groups { max-width: 820px; }
.faq-group + .faq-group { margin-top: 32px; }
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps li { text-align: center; position: relative; }
.step-number { display: grid; place-items: center; font-size: 24px; width: 52px; height: 52px; background: #fff0ed; color: var(--coral-ink); border-radius: 50%; margin: 0 auto 16px; font-weight: 700; }
.steps li:nth-child(2) .step-number { background: #edf7fc; color: var(--blue-ink); }
.steps li:nth-child(3) .step-number { background: #eff7e9; color: #32712c; }
.steps li:not(:last-child)::after { content: "→"; color: #9aafb9; position: absolute; right: -35px; top: 5px; font-size: 25px; }
.steps p { color: var(--muted); font-size: 16px; }
.phone-block {
  display: grid;
  grid-template-columns: minmax(min-content, max-content) minmax(0, 1fr);
  gap: 8px clamp(10px, 3vw, 36px);
  align-items: center;
}
.phone-block p { margin: 0; font-size: 16px; }
.phone-block p:first-child { font-weight: 700; }
.phone-number {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.35em;
  min-height: 44px;
  font: 700 clamp(24px, 7vw, 66px)/1.2 var(--font);
  color: inherit;
  white-space: nowrap;
}
.phone-number:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 6px; }
.phone-number:focus-visible { outline-color: currentColor; }
.phone-portrait {
  position: relative;
  grid-area: 1 / 2 / 3;
  place-self: end center;
  margin-block-end: calc(-0.8 * var(--chapter-end-space));
  width: min(100%, clamp(60px, 15vw, 188px));
}
.phone-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 18%);
  clip-path: polygon(29% 40%, 33% 37%, 42% 35%, 42% 38%, 45% 40%, 50% 41%, 56% 40%, 62% 38%, 67% 35%, 76% 38%, 81% 41%, 83% 49%, 85% 55%, 77% 56%, 68% 59%, 65% 64%, 67% 70%, 71% 77%, 73% 84%, 67% 86%, 56% 87%, 44% 87%, 32% 86%, 23% 84%, 26% 77%, 28% 71%, 31% 65%, 30% 60%, 28% 55%, 25% 53%, 26% 46%);
}
.phone-portrait img {
  display: block;
  width: 100%;
  filter: brightness(1.05) invert(1);
  mix-blend-mode: screen;
}
.guide { padding-top: 56px; }
.guide-list { margin-block-start: clamp(20px, 4vw, 52px); }
.guide-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
  align-items: center;
  column-gap: clamp(24px, 5vw, 88px);
  padding-block: clamp(32px, 4.5vw, 64px);
  border-block-start: 1px solid #c6dce7;
  scroll-margin-top: 100px;
}
.guide-item h2 { margin: 0 0 0.65em; }
.guide-item p { max-inline-size: 42em; margin: 0; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.85; }
.guide-art {
  display: block;
  inline-size: min(100%, 285px);
  aspect-ratio: 3 / 2;
  object-fit: contain;
  justify-self: center;
}
@media (max-width: 600px) {
  .guide-item { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .guide-art { inline-size: min(72%, 210px); justify-self: end; }
}
.guide-contact { padding-block-start: clamp(28px, 4vw, 52px); border-block-start: 1px solid #c6dce7; }
.guide-contact p { margin: 0; }
.guide-contact .text-link { font-size: clamp(22px, 3vw, 34px); }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-block: 40px; }
.footer-logo img { display: block; width: 76px; margin-bottom: 18px; }
.footer p { font-size: 15px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 20px 28px; font-size: 16px; }
.review-note { width: 100%; margin: 0; }
.mobile-break { display: none; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { padding-top: 30px; }
  .hero-actions { max-width: none; }

  .hero-lead { font-size: 17px; }

  .desktop-break { display: none; }
  .work-grid { gap: 18px; }
  .work-item h3 { font-size: 19px; }
  .work-item br { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  body { font-size: 17px; }
  .header { min-height: 90px; }
  .logo img { width: 65px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; font-size: 16px; font-weight: 700; }
  .mobile-menu summary { display: flex; align-items: center; gap: 15px; min-height: 48px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; width: min(280px, calc(100vw - 40px)); z-index: 3; box-shadow: 0 10px 24px #30343712; }
  .mobile-menu a { display: block; padding: 12px; min-height: 48px; }
  .hero { padding-block: 24px 36px; }
  .hero-copy { text-align: center; }
  h1 { font-size: clamp(28px, 7.4vw, 45px); line-height: 1.6; margin-top: 0; margin-bottom: 18px; }
  .hero .eyebrow { font-size: 14px; margin-bottom: 16px; }
  .hero .dot { width: 7px; height: 7px; margin-right: 6px; }
  .hero-lead { font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
  .hero-actions { display: grid; margin-inline: auto; max-width: 330px; gap: 12px; }
  .support-link { margin-top: 14px; }
  .hero-art { width: calc(100% + 24px); max-width: none; margin: 12px -12px 0; }
  .hero-art img { height: 190px; object-fit: contain; }
  figcaption { font-size: 13px; margin-top: 0; }
  .section { padding-block: 52px; }
  h2 { font-size: clamp(27px, 7vw, 36px); }

  .about-copy p:not(.eyebrow) { text-align: left; }
  .section-heading { margin-bottom: 32px; }
  .work-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 18px; text-align: left; align-items: center; }
  .work-icon { width: 100px; height: 100px; grid-row: span 2; margin: 0; }
  .work-icon svg { width: 95px; height: 86px; }
  .work-item h3 { font-size: 19px; margin: 0 0 8px; }
  .work-item p { font-size: 16px; margin: 0; }
  .chat-section { margin-block: 0; }

  .chat-panel { padding: 20px; border-radius: 20px; }
  .chat-label { font-size: 16px; gap: 6px; }
  .chat-label .dot { width: 8px; height: 8px; }
  .demo-badge { font-size: 13px; }
  .questions button { font-size: 15px; padding: 12px; }
  .steps { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; text-align: left; }
  .step-number { width: 44px; height: 44px; font-size: 22px; grid-row: span 2; margin: 0; }
  .steps h3 { margin-bottom: 6px; }
  .steps p { margin: 0; }
  .steps li:not(:last-child)::after { display: none; }
  .phone-block p { font-size: 15px; }
  .footer { gap: 24px; }
  .footer-links { flex-direction: column; gap: 10px; align-items: start; }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .mobile-break { display: initial; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 32px); }
  .work-item { grid-template-columns: 78px minmax(0, 1fr); gap: 0 12px; }
  .work-icon { width: 78px; height: 84px; }
  .work-item h3 { font-size: 17px; }
  .chat-panel { padding: 16px; }
}

/* The illustration frames the message without dividing the hero into columns. */
.welcome {
  position: relative;
  isolation: isolate;
  border-radius: 48% 46% 40% 42% / 38% 45% 47% 43%;
  background: #eff7fb;
  padding: clamp(48px, 6vw, 86px) 20px clamp(66px, 8vw, 112px);
}
.welcome .hero-copy { position: relative; z-index: 1; }
.welcome-art { position: absolute; width: clamp(95px, 17vw, 220px); height: auto; }
.tools-art { left: 3%; bottom: 4%; transform: rotate(-8deg); }
.window-art { right: 3%; top: 12%; transform: rotate(7deg); }
.welcome h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.3; }
.welcome .title-flower { color: var(--blue-ink); }
.welcome .title-flower::after { content: none; }
.button, .button.small { border-radius: 999px; box-shadow: none; }
.primary { background: #08628f; border-color: #08628f; }
.hero { padding-block: 20px 24px; }
.concerns { padding-block: 64px; }
.concern-links { max-width: 720px; margin-inline: auto; display: grid; gap: 12px; }
.concern-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}
.concern-links a:hover { background: #eff7fb; }
.concern-links a span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--blue-ink);
  background: #e7f4fc;
  font-size: 14px;
}
.concern-links a:nth-child(2) span:first-child { color: #805b0a; background: #fff0d5; }
.concern-links a:nth-child(3) span:first-child { color: var(--coral-ink); background: #fff0ed; }
.about { padding-block: 68px 38px; border-top: 1px solid var(--line); }
.work { padding-top: 24px; }
@media (max-width: 760px) {
  .welcome { padding: 36px 14px 90px; border-radius: 32px 40px 44px 34px; }
  .welcome h1 { font-size: clamp(34px, 9.5vw, 56px); }
  .welcome .hero-lead { text-wrap: pretty; }
  .welcome-art { width: 92px; top: auto; bottom: 4px; }
  .tools-art { left: 6%; }
  .window-art { right: 6%; }
  .concerns { padding-block: 44px; }
  .concern-links a { gap: 9px; padding: 12px; font-size: 16px; }
}

/* Keep the brand and navigation available without a colored header bar. */
html { scroll-padding-top: 98px; }
.header { position: sticky; top: 0; z-index: 10; min-height: 88px; background: transparent; }
.desktop-nav { gap: clamp(12px, 2vw, 28px); }
.desktop-nav a, .mobile-menu summary { text-shadow: 0 0 5px #fff, 0 0 8px #fff; }
.chapter { padding-block: 70px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.worries, .chapter-list, .day-list { max-width: 740px; margin: 0 auto; }
.worries, .day-list { padding: 0; list-style: none; }
.worries li { margin-bottom: 12px; padding: 18px 24px; background: #eff7fb; border-radius: 24px; font-weight: 700; }
.chapter-list article, .chapter-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.chapter-list p, .day-list p { margin-bottom: 0; }
.chapter-list summary { cursor: pointer; font-weight: 700; padding-block: 8px; }
.chapter-list details p { margin-top: 12px; }
.day-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.day-list time { color: var(--blue-ink); font-weight: 700; }
.day-list h3 { margin-bottom: 5px; }
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .header { min-height: 78px; }
  .chapter { padding-block: 46px; }
  .worries li { padding: 14px 18px; }
}

/* Section links land at the blank space above each heading. */
html:has(.chapter) { scroll-padding-top: 0; }
.chapter, #visit, #chat { scroll-margin-top: 0; padding-top: 104px; }
@media (max-width: 760px) {
  .chapter, #visit, #chat { padding-top: 88px; }
}

/* Editorial layout for candidate 3. */
:root { --ink: #262626; --line: #d9d9d3; }
.header { border-bottom: 1px solid var(--line); }
.editorial-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 9vw, 132px) 0 42px clamp(98px, 14vw, 200px);
  text-align: left;
}
@font-face {
  font-family: "Lovelo Black";
  src: url("lovelo-black.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
.editorial-rail {
  position: absolute;
  inset: 24px auto 40px 0;
  writing-mode: vertical-rl;
  font: 900 clamp(66px, 9vw, 138px)/1 "Lovelo Black", Arial, sans-serif;
  letter-spacing: -.04em;
  color: var(--ink);
  border-right: 1px solid var(--ink);
  padding-right: 12px;
}
.editorial-copy h1 {
  font-size: clamp(48px, 7.5vw, 102px);
  line-height: 1.22;
  letter-spacing: -.04em;
  margin-bottom: 40px;
}
.editorial-copy h1 span {
  background: linear-gradient(transparent 77%, #f6d88c 77%, #f6d88c 94%, transparent 94%);
}
.editorial-lead { border-left: 2px solid var(--ink); padding-left: 22px; }
.editorial-lead p { font-size: clamp(17px, 2vw, 23px); margin-bottom: 8px; }
.editorial-art { margin: 38px 0 0; }
.editorial-art img { display: block; width: 100%; }
.chapter .section-heading { max-width: 740px; margin-inline: auto; text-align: left; }
.chapter .eyebrow { color: var(--ink); letter-spacing: .08em; }
.worries li { border-bottom: 1px solid var(--line); background: #fff; border-radius: 0; padding-inline: 0; }
.worries li::before { content: "●"; color: #a56a00; margin-right: 12px; font-size: .75em; }
@media (max-width: 760px) {
  .editorial-hero { padding: 52px 0 26px; }
  .editorial-rail {
    position: static;
    writing-mode: horizontal-tb;
    font-size: 14px;
    letter-spacing: .25em;
    border-right: 0;
    margin-bottom: 20px;
  }
  .editorial-copy h1 { font-size: clamp(38px, 11.2vw, 67px); margin-bottom: 26px; }
  .editorial-lead { padding-left: 14px; }
  .editorial-art { margin-top: 28px; }
}

/* Chapter layouts begin below the approved first view. */
.chapter + .chapter, .chapter#questions { border-top: 3px solid var(--ink); }
#questions .section-heading h2 { font-size: clamp(32px, 5vw, 68px); }
#questions .worries li { border-top: 1px solid var(--ink); border-bottom: 0; }
#questions .worries li:last-child { border-bottom: 1px solid var(--ink); }
.chapter-illustration { max-width: 360px; margin: 0 auto 32px; }
.chapter-illustration img { display: block; width: 100%; }
.answer-list { counter-reset: answer; }
.answer-list article { counter-increment: answer; padding: 22px 0 24px 64px; position: relative; }
.answer-list article::before {
  content: "0" counter(answer);
  position: absolute;
  left: 0;
  font: 700 30px/1.2 Arial, sans-serif;
  color: #08628f;
}
.chapter-band, .contact-band { color: white; background: #27292c; }
.chapter-band .section-heading, .chapter-light .section-heading { max-width: none; }
.chapter-band .eyebrow, .contact-band .eyebrow { color: #f6d88c; }
.chapter-band h2, .chapter-light h2 { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.3; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid #93989b; }
.reading-link { display: grid; gap: 14px; padding: clamp(22px, 4vw, 52px); }
.reading-grid .reading-link + .reading-link { border-left: 1px solid #93989b; }
.reading-number { font: 700 18px/1.4 Arial, sans-serif; letter-spacing: .1em; }
.chapter-band .reading-number { color: #f6d88c; }
.reading-link strong { font-size: clamp(25px, 3.1vw, 42px); line-height: 1.4; }
.reading-action { font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.reading-action span { font-size: 1.5em; }
.reading-link:hover .reading-action, .reading-link:focus-visible .reading-action { text-decoration: underline; text-underline-offset: 4px; }
.chapter-band .reading-link:hover { background: #383d42; }
#day .day-list { max-width: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--ink); }
#day .day-list li { display: block; padding: 22px 16px; border: 0; }
#day .day-list li + li { border-left: 1px solid var(--line); }
#day time { display: block; font-size: clamp(24px, 3vw, 40px); line-height: 1.2; margin-bottom: 16px; }
.chapter-light { background: #eef5f8; }
.illustrated-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; border-block: 1px solid #8799a4; }
.illustrated-reading img { width: min(100%, 320px); margin: 12px auto; }
.illustrated-reading .reading-link { border-left: 1px solid #8799a4; }
.illustrated-reading .reading-link:hover { background: #e0edf3; }
#voices { border-bottom: 1px solid var(--ink); }
.contact-band .steps p { color: #f0f1f2; }
.detail-page { padding-block: 55px 90px; }
.detail-page h1 { font-size: clamp(38px, 6vw, 70px); border-bottom: 3px solid var(--ink); padding-bottom: 22px; }
.detail-art { display: block; width: min(100%, 900px); max-height: 300px; object-fit: contain; margin: 0 auto 30px; }
.detail-copy { max-width: 740px; margin-inline: auto; }
.detail-copy h2 { margin-top: 40px; font-size: clamp(25px, 3.5vw, 38px); }
.detail-nav { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 44px; }
@media (max-width: 760px) {
  .reading-grid, .illustrated-reading { grid-template-columns: 1fr; }
  .reading-grid .reading-link + .reading-link, .illustrated-reading .reading-link { border-left: 0; border-top: 1px solid #93989b; }
  #day .day-list { grid-template-columns: 1fr; }
  #day .day-list li { display: grid; grid-template-columns: 68px minmax(0, 1fr); padding-inline: 0; }
  #day .day-list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

.header-on-dark .desktop-nav > a,
.header-on-dark .mobile-menu > summary {
  color: #fff;
  text-shadow: 0 0 3px #27292c, 0 0 7px #27292c;
}
.header-on-dark .desktop-nav > a:hover { color: #f6d88c; }
.chapter-band .reading-link:focus-visible,
.header-on-dark a:focus-visible,
.header-on-dark summary:focus-visible { outline-color: #f6d88c; }

/* A single rule runs from the cover through the last chapter. */
.continuous-page {
  --rail-position: calc(max(48px, (100% - 1120px) / 2) + clamp(66px, 9vw, 138px) + 12px);
  --rail-inset: calc(clamp(66px, 9vw, 138px) + 12px);
  --reading-gutter: clamp(32px, 4vw, 60px);
  --rail-ink: #23688d;
  position: relative;
}
.continuous-page::before {
  content: "";
  position: absolute;
  inset: 24px auto 0 var(--rail-position);
  width: 1px;
  background: var(--rail-ink);
  z-index: 1;
  pointer-events: none;
}
.continuous-page .editorial-rail { border-right: 0; }
.continuous-page .chapter, .continuous-page .contact-band {
  border: 0;
  padding-block: clamp(96px, 10vw, 148px);
}
.continuous-page .chapter.wrap,
.continuous-page .chapter > .wrap,
.continuous-page .contact-band > .wrap,
.continuous-page .chat-layout {
  padding-inline-start: calc(var(--rail-inset) + var(--reading-gutter));
}
.continuous-page .section-heading { max-width: none; margin-inline: 0; text-align: left; position: relative; }
.continuous-page .section-heading .eyebrow {
  position: absolute;
  inset: 0 auto auto calc(-1 * var(--reading-gutter) - 31px);
  writing-mode: vertical-rl;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .11em;
}
.continuous-page .chapter .section-heading h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.34; }
.continuous-page .chapter-list, .continuous-page .worries { margin-inline: 0; }
.continuous-page .intro-opening, .continuous-page #activities, .a-type-light,
.credo > .rail-title, .credo-list {
  background: var(--chapter-pale);
  box-shadow: 0 0 0 100vmax var(--chapter-pale);
  clip-path: inset(0 -100vmax);
}
.continuous-page #questions .worries li { border: 0; background: transparent; }
.continuous-page #questions .worries li + li { border-top: 1px solid #c6dce7; }
.continuous-page #questions .worries li::before { color: #ad3848; }
.continuous-page .answer-list article:nth-child(2)::before { color: #397b43; }
.continuous-page .answer-list article:nth-child(3)::before { color: #936419; }
.continuous-page .chapter-band, .continuous-page .contact-band { background: #246488; }
.continuous-page .chapter-band .eyebrow, .continuous-page .contact-band .eyebrow { color: #fff; }
.continuous-page .chapter-band .reading-link:hover { background: #2c7398; }
.continuous-page .chapter-light { background: #eaf4f9; }
.continuous-page .chapter-illustration { margin-inline: 0; }
.scene { overflow: hidden; width: min(100%, 380px); margin: 0 0 28px; }
.scene img, .chapter-illustration.scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.scene-pair { aspect-ratio: 0.94; }
.scene-pair img { object-position: 2% center; }
.scene-window { aspect-ratio: 1.2; }
.scene-window img { object-position: 48% center; }
.scene-check { aspect-ratio: 0.94; }
.scene-check img { object-position: right center; }
.illustrated-reading .scene { margin: 0 auto; }
.illustrated-reading .scene img { margin: 0; }
.continuous-page .chat-section { margin-block: 0; background: #f2f8fb; }
.continuous-page .chat-copy { margin-inline: 0; text-align: left; }
.continuous-page .chat-panel { margin-inline: 0; }
.header-on-dark .desktop-nav > a, .header-on-dark .mobile-menu > summary {
  text-shadow: 0 0 3px #246488, 0 0 7px #246488;
}
@media (max-width: 1000px) {
  .continuous-page { --rail-position: calc(32px + var(--rail-inset)); }
  .continuous-page #day .day-list { grid-template-columns: 1fr; }
  .continuous-page #day .day-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); padding-inline: 0; }
  .continuous-page #day .day-list li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .continuous-page { --rail-position: 20px; --rail-inset: 0px; --reading-gutter: 18px; }
  .continuous-page .editorial-hero { padding-inline-start: var(--reading-gutter); }
  .continuous-page .section-heading .eyebrow {
    position: static;
    writing-mode: horizontal-tb;
    letter-spacing: .07em;
  }
  .continuous-page .chapter, .continuous-page .contact-band { padding-block: 88px 52px; }
  .continuous-page .chapter .section-heading h2 { font-size: clamp(27px, 7vw, 40px); }
  .continuous-page .answer-list article { padding-inline-start: 45px; }
  .continuous-page .answer-list article::before { font-size: 24px; }
}
@media (max-width: 350px) {
  .continuous-page { --rail-position: 16px; }
}
.continuous-page .chapter#questions, .continuous-page .chapter#voices { border: 0; }
.continuous-page { --rail-ink: #6594ac; }
.continuous-page .section-heading .eyebrow { white-space: nowrap; }
.scene-pair { aspect-ratio: .87; }
.scene-pair img { object-position: left center; }
.scene-window { aspect-ratio: 1.15; }
.scene-window img { object-position: 44.5% center; }
.scene-check { aspect-ratio: 1.04; }
.reading-grid .reading-link { padding-inline: clamp(20px, 2.5vw, 36px); }
.reading-grid .reading-link strong { font-size: clamp(23px, 2.45vw, 34px); text-wrap: balance; }
@media (min-width: 761px) and (max-width: 1000px) {
  .reading-grid .reading-link strong br { display: none; }
}

/* Candidate 3: questions, illustrated chapters and vertical headings */
.logo-filter { position: absolute; overflow: hidden; pointer-events: none; }
img[src$="hanataba-logo.png"] { filter: url(#logo-clear); }
.header-on-dark .logo img { filter: url(#logo-clear) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.question-intro { margin: 0 0 24px; font-size: clamp(16px, 1.6vw, 21px); }
.qa-list { display: grid; }
.qa-row { display: grid; grid-template-columns: minmax(140px, .9fr) 44px minmax(0, 1.65fr); align-items: center; gap: clamp(14px, 3vw, 46px); padding-block: clamp(24px, 4vw, 54px); }
.qa-row + .qa-row { border-top: 1px solid #b8cdd8; }
.qa-prompt { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; min-height: 210px; }
.qa-prompt .scene { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: .23; z-index: -1; }
.qa-prompt h3 { writing-mode: vertical-rl; font-size: clamp(21px, 2.7vw, 34px); line-height: 1.42; letter-spacing: .08em; margin: 0; text-shadow: 0 0 6px white, 0 0 10px white, 0 0 12px white; }
.qa-arrow { font-size: 40px; color: #246488; text-align: center; }
.qa-answer h3 { font-size: clamp(20px, 2.6vw, 33px); line-height: 1.5; margin: 0 0 12px; }
.qa-answer p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.chapter-feature, .handbook-feature { --feature-padding: clamp(22px, 4vw, 50px); }
.chapter-feature { display: flex; position: relative; isolation: isolate; flex-direction: column; align-items: flex-start; min-height: clamp(315px, 36vw, 495px); gap: 14px; padding: var(--feature-padding); color: white; background: var(--chapter-blue); text-decoration: none; overflow: hidden; }
.chapter-feature:nth-child(even) { background: #276a8d; }
.chapter-feature:hover, .chapter-feature:focus-visible { background: #154967; color: white; }
.chapter-feature:focus-visible { outline: 3px solid #f6d88c; outline-offset: -5px; }
.feature-kicker { font-size: .73rem; letter-spacing: .14em; }
.chapter-feature strong { border-left: 1px solid #e7f5ff; padding-inline-start: .5em; font-size: clamp(23px, 3.15vw, 44px); line-height: 1.38; }
.chapter-feature .scene { display: block; position: absolute; width: min(72%, 280px); inset: auto auto 0 2%; margin: 0; z-index: -1; mix-blend-mode: screen; opacity: .62; }
.chapter-feature .scene img { filter: grayscale(1) invert(1); mix-blend-mode: normal; }
.feature-action { display: grid; justify-items: center; gap: 5px; margin: auto 0 0 auto; font-size: .8rem; text-align: center; }
.feature-arrow { display: grid; place-items: center; width: clamp(48px, 6vw, 76px); aspect-ratio: 1; border-radius: 50%; background: #113e5a; color: white; font-size: 30px; line-height: 1; }
.feature-wide .chapter-feature { min-height: clamp(225px, 25vw, 340px); }
.feature-wide .chapter-feature .scene { inset: auto 14% 0 auto; width: min(42%, 345px); opacity: .42; }
.continuous-page #day .day-list { grid-template-columns: repeat(5,minmax(0,1fr)); border: 0; }
.continuous-page #day .day-list li { display: block; padding: 16px clamp(10px, 1.7vw, 24px); }
.continuous-page #day .day-list li + li { border-top: 0; border-left: 1px solid #b8cdd8; }
#day .day-list h3 { writing-mode: vertical-rl; margin: 12px auto 16px; height: 8.5em; letter-spacing: .07em; }
#day .day-illustration { display: block; width: 100%; height: auto; margin: 0 0 12px; }
#day .day-nap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.day-nap img {
  position: absolute;
  inset: 26% 0 auto;
  width: 100%;
  height: auto;
}
.day-nap-zzz {
  position: absolute;
  top: 44%;
  left: 12%;
  color: var(--blue-ink);
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  letter-spacing: 0.1em;
  line-height: 1;
  transform: rotate(-20deg);
}
@media(max-width: 760px) {
  .qa-row { grid-template-columns: minmax(84px, 1fr) 18px minmax(0, 1.75fr); gap: 8px; }
  .qa-prompt { min-height: 180px; }
  .qa-prompt h3 { font-size: clamp(16px, 4.7vw, 23px); }
  .qa-arrow { font-size: 21px; }
  .qa-answer h3 { font-size: 18px; }
  .qa-answer p { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .chapter-feature .scene { width: min(60%, 230px); }
  .feature-wide .chapter-feature { min-height: 320px; }
  .feature-wide .chapter-feature .scene { inset: auto auto 0 2%; width: 62%; }
  .continuous-page #day .day-list { grid-template-columns: 1fr; }
  .continuous-page #day .day-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); padding-inline: 0; }
  .continuous-page #day .day-list li + li { border-left: 0; border-top: 1px solid #b8cdd8; }
  #day .day-list h3 { writing-mode: horizontal-tb; height: auto; margin: 0 0 10px; }
  #day .day-illustration { width: min(100%, 125px); }
}
.feature-grid .chapter-feature strong { font-size: clamp(22px, 2.7vw, 38px); }
@media (min-width: 761px) and (max-width: 1000px) {
  .continuous-page #day .day-list { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 24px; }
  .continuous-page #day .day-list li:nth-child(4) { border-left: 0; }
}

/* The opening story: worries, a change of perspective, and matched answers. */
.worry-scenes { list-style: none; padding: 0; margin: clamp(24px,5vw,60px) 0 30px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(10px,3vw,48px); align-items: start; }
.worry-scene { position: relative; display: grid; justify-items: center; padding-block: 12px 0; }
.worry-scene:nth-child(2) { margin-block-start: 0; }
.worry-scene:nth-child(odd) { margin-block-start: clamp(28px,6vw,86px); }
.worry-scene p, .qa-question { writing-mode: vertical-rl; font-size: clamp(20px,2.35vw,34px); font-weight: 700; letter-spacing: .08em; line-height: 1.42; margin: 10px 0 0; }
.worry-scene .scene { display: block; width: min(100%,245px); margin: 0; }
.worry-scene .scene img { opacity: .92; }
.continuous-page #about .story-turn .section-heading { margin-bottom: 0; }
.continuous-page #about .story-turn h2 { font-size: clamp(31px,4.2vw,58px); }
.story-answers { scroll-margin-top: 105px; background: #f2f8fb; padding: clamp(18px,4vw,56px); }
.story-answers-title { font-size: clamp(26px,3.4vw,47px); line-height: 1.35; margin: 0 0 10px; }
.story-answers .qa-prompt { min-height: 0; gap: 4px; }
.story-answers .qa-row:last-child { padding-bottom: 0; }
@media(max-width:760px) {
  .worry-scenes { grid-template-columns: 1fr; gap: 24px; }
  .worry-scene, .worry-scene:nth-child(odd) { grid-template-columns: minmax(70px,.65fr) minmax(0,1fr); grid-template-rows: auto 1fr; align-items: center; margin: 0; padding: 0; }
  .worry-scene p { grid-area: 2 / 1; font-size: clamp(17px,4.7vw,22px); align-self: start; margin-top: 8px; }
  .worry-scene .scene { grid-area: 1 / 2 / 3; width: min(100%,175px); }
  .worry-scene:nth-child(even) { grid-template-columns: minmax(0,1fr) minmax(70px,.65fr); }
  .worry-scene:nth-child(even) p { grid-column: 2; }
  .worry-scene:nth-child(even) .scene { grid-column: 1; }
  .story-answers { scroll-margin-top: 90px; padding: 16px 12px 22px; }
  .story-answers .qa-question { font-size: clamp(15px,4.25vw,20px); }
  .story-answers .qa-answer h3 { font-size: clamp(16px,4.55vw,19px); }
}
.continuous-page #questions .section-heading h2 { font-size: clamp(27px,4vw,54px); text-wrap: balance; }
@media (min-width:761px) {
  .worry-scenes { margin-top: clamp(18px,2.4vw,35px); }
  .worry-scene:nth-child(odd) { margin-block-start: clamp(20px,4vw,55px); }
  .worry-scene p { font-size: clamp(19px,1.85vw,27px); }
  .worry-scene .scene { width: min(100%,210px); }
}
.continuous-page #about .story-turn h2 { font-size: clamp(28px,3.45vw,48px); text-wrap: balance; }
.worry-scene .scene-window { clip-path: inset(0 0 0 3%); }
.continuous-page #about .story-turn h2 { font-size: clamp(23px,3.1vw,42px); }
.story-turn h2 span { display: inline-block; }
.worry-scene .scene { mix-blend-mode: multiply; }
@media(max-width:760px) {
  .continuous-page #questions .section-heading h2 { font-size: clamp(20px,6vw,27px); }
}

/* Each title sits in the same vertical interval on the continuous rule. */
.continuous-page {
  --title-track-length: 156px;
  --title-track-width: 4px;
  --title-track-ink: #246488;
}
.continuous-page .editorial-hero {
  padding-inline-start: calc(var(--rail-inset) + var(--reading-gutter));
}
.continuous-page .editorial-copy,
.continuous-page .section-heading,
.continuous-page .story-answers,
.continuous-page .chat-copy { container-type: inline-size; }

.continuous-page .rail-title {
  position: relative;
  display: grid;
  align-items: center;
  min-block-size: var(--title-track-length);
  line-height: 1.2;
}
.continuous-page .rail-title::before,
.handbook-page h2::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(-1 * var(--reading-gutter) - var(--title-extra-inset, 0px));
  inset-block-start: 50%;
  transform: translateY(-50%);
  inline-size: var(--title-track-width);
  block-size: var(--title-track-length);
  background: var(--title-track-ink);
  z-index: 2;
  pointer-events: none;
}
.continuous-page :is(.chapter-band, .contact-band) .rail-title { --title-track-ink: #eaf6ff; }
.continuous-page h1.rail-title { font-size: min(clamp(42px, 6vw, 62px), 13cqi); }
.continuous-page :is(.section-heading, .chat-copy) h2.rail-title { font-size: min(clamp(30px, 4.4vw, 62px), 6cqi); }
.continuous-page :is(.section-heading, .chat-copy) h2.rail-title.title-two-lines,
.continuous-page #about .story-turn h2.rail-title {
  font-size: min(clamp(23px, 3.35vw, 46px), 6cqi);
}
.continuous-page #questions .section-heading h2.rail-title {
  font-size: min(clamp(22px, 3.35vw, 46px), 5.85cqi);
}
.continuous-page #about .story-turn h2.rail-title { font-size: min(clamp(22px, 3.35vw, 46px), 7.65cqi); }
.continuous-page .editorial-copy h1 .rail-title-text { background: none; }
.continuous-page .editorial-copy h1 .rail-title-text > span {
  background: linear-gradient(transparent 77%, #f6d88c 77%, #f6d88c 94%, transparent 94%);
}
.continuous-page .story-turn h2 .rail-title-text { display: block; }
.continuous-page .story-answers {
  --answer-inset: clamp(18px,4vw,56px);
  padding-inline: var(--answer-inset);
}
.continuous-page .story-answers-title {
  --title-extra-inset: var(--answer-inset);
  font-size: min(clamp(25px, 3.35vw, 46px), 8cqi);
}
@media (min-width: 761px) {
  .continuous-page .section-heading #visit-title { font-size: min(62px, 5.35cqi); }
}
@media (max-width: 760px) {
  .continuous-page { --title-track-length: 72px; --title-track-width: 3px; }
  .continuous-page .story-answers { --answer-inset: 12px; }
  .continuous-page h1.rail-title { font-size: min(29px, 13cqi); }
  .continuous-page :is(.section-heading, .chat-copy) h2.rail-title { font-size: min(30px, 7.8cqi); }
  .continuous-page :is(.section-heading, .chat-copy) h2.rail-title:is(.title-two-lines, .title-mobile-two-lines),
  .continuous-page #about .story-turn h2.rail-title { font-size: min(25px, 7.65cqi); }
  .continuous-page #questions .section-heading h2.rail-title { font-size: min(25px, 5.85cqi); }
}

/* The three scenes share one introduction and one marker on the rail. */
.continuous-page #questions {
  --intro-start-space: clamp(96px, 10vw, 148px);
  --intro-stage-space: clamp(45px, 8vw, 105px);
  padding-block: 0;
}
.continuous-page #learn {
  padding-block-start: clamp(44px, 5vw, 72px);
}
.continuous-page > :is(#learn, #concrete) {
  padding-inline-start: var(--rail-position);
}
.intro-opening { padding-block: var(--intro-start-space) calc(var(--intro-stage-space) / 2); }
.intro-worries { display: grid; margin-block-start: 18px; }
.intro-worries .worry-scenes,
.intro-thinker { grid-area: 1 / 1; }
.intro-worries .worry-scenes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-block-end: 30px;
  z-index: 1;
}
.intro-worries .worry-scene { display: grid; grid-template: auto / 1fr; justify-items: center; }
.intro-worries .worry-scene p { grid-area: auto; margin-top: 0; }
.story-answers .qa-question { margin-top: 0; }
.intro-worries .worry-scene:nth-child(odd) { margin-block-start: clamp(55px, 11vw, 155px); }
.intro-thinker {
  align-self: end;
  justify-self: center;
  width: min(42%, 350px);
  margin: clamp(150px, 19vw, 255px) 0 0;
}
.intro-thinker img { display: block; width: 100%; height: auto; }
.continuous-page #about { scroll-margin-top: 100px; padding-block-start: calc(var(--intro-stage-space) / 2); }
.story-turn {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding-block-end: clamp(25px, 4vw, 55px);
}
.story-turn .section-heading,
.story-turn-art { grid-area: 1 / 1; }
.story-turn .section-heading { width: 57%; z-index: 1; }
.story-turn-art { width: 100%; margin: 0; }
.story-turn-art img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .story-turn .section-heading,
  .story-turn-art { grid-area: auto; }
  .story-turn .section-heading { width: 100%; }
}
.story-turn-message {
  font-size: min(clamp(24px, 3.2vw, 44px), 8cqi);
  font-weight: 700;
  margin-bottom: 16px;
  text-wrap: balance;
}
.continuous-page #questions .story-answers {
  background: transparent;
  padding-block: 0;
  padding-inline: 0;
}
@media (max-width: 760px) {
  .continuous-page #questions { --intro-start-space: 88px; }
  .intro-worries .worry-scene p { font-size: clamp(13px, 4vw, 20px); }
  .intro-worries .worry-scene:nth-child(odd) { margin-block-start: 44px; }
  .intro-thinker { width: min(57%, 275px); margin-block-start: clamp(178px, 45vw, 225px); }
}

/* Shorten the transitions from the chapter cards through the chat section. */
.continuous-page {
  --chapter-start-space: clamp(96px, 10vw, 148px);
  --chapter-end-space: var(--chapter-start-space);
  --chat-start-space: 104px;
  --voices-heading-space: 44px;
}
.continuous-page > :is(#day, #activities, #voices, #visit) {
  padding-block-start: calc(var(--chapter-start-space) * 0.8);
}
.continuous-page > :is(#learn, #activities, #voices, #visit) {
  padding-block-end: calc(var(--chapter-end-space) * 0.8);
}
.continuous-page > #day { padding-block-end: calc(var(--chapter-end-space) * 0.6); }
.continuous-page > #concrete {
  padding-block-start: calc(var(--chapter-start-space) * 0.6);
  padding-block-end: 0;
}
.continuous-page > #chat { padding-block-start: calc(var(--chat-start-space) * 0.8); }
.continuous-page #voices .section-heading {
  margin-block-end: calc(var(--voices-heading-space) * 0.8);
}
@media (max-width: 760px) {
  .continuous-page {
    --chapter-start-space: 88px;
    --chapter-end-space: 52px;
    --chat-start-space: 88px;
    --voices-heading-space: 32px;
  }
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
}
.activities-grid .activity-label {
  color: var(--blue-ink);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.activities-grid h3,
.credo-heading,
.smile-row h3 {
  border-inline-start: 2px solid var(--rail-ink);
}
.activities-grid h3 {
  padding-inline-start: .5em;
  font-size: clamp(23px, 3vw, 40px);
  line-height: 1.35;
  margin-bottom: 16px;
}
.activities-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  filter: url("lineart-filter.svg?v=2#clear-haze");
  margin-bottom: 14px;
}
.activities-grid article > p:last-child { margin-bottom: 0; }
@media (max-width: 680px) {
  .activities-grid { grid-template-columns: 1fr; }
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 34px);
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.voice-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  aspect-ratio: 2 / 3;
  padding: clamp(18px, 2.7vw, 34px);
  border: 1px solid #dbe5ea;
  background: repeating-linear-gradient(#fff 0 35px, #e8eff2 35px 36px);
  box-shadow: 0 8px 22px rgb(24 67 89 / 7%);
  color: var(--ink);
  text-decoration: none;
}

.voice-card:hover,
.voice-card:focus-visible {
  border-color: var(--blue-ink);
  color: var(--blue-ink);
}

.voice-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cbdce4;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-ink);
  font-variant-numeric: tabular-nums;
}

.voice-card h3 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.65;
}

.voice-illustration {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: url("lineart-filter.svg?v=3#card-ink");
}

.voice-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}

.voice-arrow { color: var(--blue-ink); font-size: 1.3rem; }
.voice-detail .detail-copy { margin: 32px 0 0; }

@media (max-width: 850px) {
  .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .voice-grid { grid-template-columns: 1fr; }
  .voice-card { gap: 12px; }
}

.chapter-index {
  flex: 1;
  min-width: 0;
  scroll-margin-top: 95px;
}

.chapter-index ol {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-inline-end: 1px solid var(--line);
}

.chapter-index a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 250px;
  height: 100%;
  padding: 20px clamp(2px, .4vw, 6px);
  border-inline-start: 1px solid var(--line);
}

.chapter-index a > :first-child {
  writing-mode: vertical-rl;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.45;
}

.chapter-index .upright { text-orientation: upright; }

.chapter-index a > :last-child {
  font-size: 13px;
}

.chapter-index a:hover,
.chapter-index a:focus-visible {
  background: #f2f8fb;
}

@media (max-width: 760px) {
  .chapter-index ol {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .chapter-index a {
    flex-direction: row;
    min-height: 52px;
    padding: 10px 3px;
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .chapter-index a > :first-child { writing-mode: horizontal-tb; }
}

.footer-identity {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px 32px;
}

@media (width > 760px) {
  .footer-with-index {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: 16px;
  }
  .footer-with-index .footer-overview {
    padding-inline-start: clamp(0px, calc((100vw - 800px) / 16), 28px);
  }
  .footer-with-index .chapter-index {
    inline-size: 91%;
    justify-self: end;
  }
}

.footer-identity p { margin: 0; }

.faq-group { scroll-margin-top: 100px; }


/* Chapter 04 and the visit section on the home page. */
.continuous-page > #faq {
  padding: 0 0 0 var(--rail-position);
  scroll-margin-top: 96px;
}
.feature-wide .faq-scene { aspect-ratio: 1.15; }
.feature-wide .faq-scene img { object-fit: contain; }
#faq .chapter-feature .faq-scene { opacity: .68; }
@media (max-width: 760px) {
  #concrete .chapter-feature .scene-window { opacity: .52; }
  #faq .chapter-feature .faq-scene { opacity: .82; }
}
.subpage-intro {
  margin-block-end: clamp(30px, 5vw, 64px);
}
.subpage-intro-with-art {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(16px, 4vw, 54px);
}
.subpage-intro .section-heading,
.subpage-intro .section-heading > :last-child { margin-block-end: 0; }
.subpage-intro-copy {
  max-inline-size: 28em;
  margin-block: clamp(16px, 2.4vw, 32px) 0;
  text-wrap: balance;
}
.subpage h1.rail-title { font-size: min(clamp(30px, 5vw, 62px), 13cqi); }
.subpage h1 > .rail-title-text { white-space: normal; line-break: strict; }
.subpage-illustration { width: min(100%, 380px); margin: 0; justify-self: end; }
.subpage-illustration:not(.scene) img { display: block; width: 100%; height: auto; }
.subpage-illustration.scene-window { clip-path: inset(0 0 0 3.5%); }
.subpage .detail-copy { margin-inline: 0; }

/* The handbook is reached directly from its heading on the home page. */
.continuous-page .handbook-feature {
  padding-block: clamp(64px, 10vw, 128px);
  padding-inline: calc(var(--rail-position) + var(--reading-gutter)) var(--feature-padding);
  scroll-margin-block-start: 108px;
}
:is(#faq, #handbook) .feature-action { inline-size: 9em; }
.handbook-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 4vw, 52px);
}
.handbook-link .section-heading { display: grid; margin: 0; }
.handbook-link .rail-title { --title-track-length: 2.68em; margin: 0; }
.handbook-link .rail-title span, .handbook-intro .rail-title-text {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.handbook-link #handbook-description { grid-row: 1; margin: 0 0 10px; color: var(--blue-ink); }
.handbook-link #handbook-heading { grid-row: 2; }
.handbook-link .feature-action { place-self: end; margin: 0; color: var(--blue-ink); }
.handbook-link:is(:hover, :focus-visible) h2 { color: var(--blue-ink); }
.handbook-link:is(:hover, :focus-visible) .feature-action { text-decoration: underline; }

.handbook-page {
  --handbook-measure: 33.6em;
  --handbook-intro-space: clamp(22px, 3vw, 42px);
  --handbook-paragraph-gap: 1.65em;
  --handbook-section-gap: clamp(78px, 10.5vw, 138px);
  margin-block-start: var(--handbook-intro-space);
}
.continuous-page.handbook-page > .chapter { padding: 0; }
.handbook-band {
  display: grid;
  grid-template-columns: min(100%, var(--handbook-measure));
  padding-block: var(--handbook-section-gap);
  padding-inline: calc(var(--rail-position) + var(--reading-gutter)) var(--reading-gutter);
  line-break: strict;
}
.handbook-light { background: var(--chapter-pale); }
.handbook-page p { margin: 0; text-wrap: pretty; }
.handbook-page p + p { margin-block-start: var(--handbook-paragraph-gap); }
.handbook-intro { padding-block-start: var(--handbook-intro-space); }
.handbook-intro .section-heading { margin: 0 0 clamp(26px, 4vw, 44px); }
.handbook-page h1.rail-title {
  --title-track-length: 2.7em;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.35;
}
.handbook-page .handbook-subtitle { margin-block-end: .75em; color: var(--chapter-blue); }
.handbook-questions { font-weight: 700; }
.handbook-sources a, .handbook-cites a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.handbook-band > section + section { margin-block-start: var(--handbook-section-gap); }
.handbook-page h2 {
  --title-track-length: calc(100% + 1em);
  position: relative;
  margin: 0 0 .95em;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  text-wrap: balance;
}
.handbook-page :is(h2, li)[id] { scroll-margin-block-start: 108px; }
.handbook-page :is(ul, ol) { padding-inline-start: 1.45em; margin-block: 0; }
.handbook-page li + li { margin-block-start: 1.1em; }
.handbook-page li::marker { color: var(--blue-ink); }
.handbook-summary { grid-template-columns: min(100%, calc(var(--handbook-measure) + 2.25em)); }
.handbook-summary h2 { margin-block-end: .55em; }
.handbook-summary ul { padding: 0; list-style: none; }
.handbook-summary li + li { margin: 0; border-block-start: 1px solid #c6dce7; }
.handbook-summary a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.25em;
  align-items: center;
  column-gap: 1em;
  padding-block: .9em;
  line-height: 1.65;
}
.handbook-summary strong {
  display: block;
  margin-block-end: .2em;
  color: var(--blue-ink);
  font-size: clamp(18px, 1.6vw, 21px);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.handbook-summary a > [aria-hidden] { justify-self: end; color: var(--blue-ink); }
.handbook-summary a:is(:hover, :focus-visible) strong { text-decoration-thickness: 2px; }
.handbook-page table {
  inline-size: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-block: var(--handbook-paragraph-gap);
  line-height: 1.65;
}
.handbook-page :is(th, td) {
  border-block-end: 1px solid #c6dce7;
  padding: .65em clamp(8px, 1.5vw, 18px);
  text-align: start;
  vertical-align: top;
}
.handbook-page thead { color: var(--chapter-blue); }
.handbook-page th:first-child { inline-size: 33%; }
.handbook-cites { white-space: nowrap; color: var(--blue-ink); font-size: .85em; }
.handbook-cites a { padding-inline: .15em; }
.handbook-sources ol, .handbook-source-note { font-size: .92em; }
.handbook-page .handbook-source-note { margin-block-start: 2em; }
.continuous-page.handbook-page + #office-footer,
.continuous-page:has(> .handbook-feature:last-child) + #office-footer { margin-block-start: 0; }
@media (max-width: 760px) {
  .handbook-page h1.rail-title { font-size: min(30px, 10cqi); }
  .handbook-link { grid-template-columns: 1fr; gap: 12px; }
}

.values-page > .chapter { padding-block-start: 0; }
.values-page .subpage-intro {
  margin-block-end: 0;
  padding-block: clamp(44px, 6vw, 80px);
}
.values-page h1 .rail-title-text { word-break: keep-all; overflow-wrap: anywhere; }
.credo { scroll-margin-top: 100px; }
.credo > p { margin-block: 12px 24px; }
.credo-content {
  --credo-content-inset: clamp(16px, 2vw, 26px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(24px, 5vw, 68px);
  padding-block-end: clamp(28px, 4vw, 52px);
}
.credo-list { padding-block-start: var(--credo-content-inset); }
.credo-item { padding-block: clamp(24px, 3.2vw, 38px); }
.credo-heading,
.smile-row h3 { padding-inline-start: clamp(10px, 1.3vw, 17px); }
.credo-item h3 { margin: 0; font-size: clamp(20px, 2.55vw, 34px); line-height: 1.3; }
.credo-print {
  color: var(--blue-ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.credo-item p { margin: 0.55em 0 0; }
.credo-figure {
  margin: 0;
  margin-block-start: var(--credo-content-inset);
  width: min(100%, 380px);
  justify-self: center;
  mix-blend-mode: multiply;
}
.credo-figure img { display: block; width: 100%; height: auto; }
.credo-figure img + img { margin-block-start: clamp(16px, 3vw, 36px); }
@media (max-width: 760px) {
  .credo-content { grid-template-columns: minmax(0, 1fr); }
  .credo-figure { width: min(85%, 300px); margin-block-start: 0; }
}
.smile-and-earn, .smile-row h3 { scroll-margin-block-start: 90px; }
.smile-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 4.5vw, 60px);
  padding-block: clamp(34px, 4.5vw, 60px);
}
.subpage .smile-and-earn > h2.rail-title {
  --title-track-length: 2.9em;
  font-size: clamp(29px, 4vw, 52px);
  line-height: 1.28;
}
.smile-and-earn > h2 span span {
  display: inline-block;
  max-inline-size: 100%;
}
.smile-row:last-child { padding-block-end: 0; }
.smile-row > img { display: block; width: 100%; height: auto; }
.smile-row h3 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.5;
  text-wrap: balance;
}
.smile-practices {
  display: grid;
  gap: 1.1em;
  margin-block: 1.3em 0;
  padding-inline-start: 1.1em;
}
.smile-practices li::marker { color: var(--blue-ink); font-size: 0.72em; }
@media (max-width: 760px) {
  .smile-row { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .smile-row > img { width: min(100%, 320px); justify-self: center; }
}
.faq-page .faq-groups { max-width: none; }
.faq-page .faq-group + .faq-group { margin-block-start: clamp(38px, 6vw, 72px); }
.subpage h2.rail-title {
  --title-track-length: 1.65em;
  font-size: clamp(24px, 3.35vw, 44px);
  color: var(--ink);
}

.work-page { --work-section-space: clamp(46px, 6.5vw, 86px); }
.work-page > .work-cover {
  padding-block: clamp(46px, 6vw, 82px) var(--work-section-space);
}
.work-cover .section-heading, .work-cover h1 { margin-block: 0; }
.work-cover h1.rail-title { --title-track-length: 2.5em; line-height: 1.25; }
.work-page > .work-section { padding-block: var(--work-section-space); }
.work-page > .work-room-section { padding-block-start: 0; }
.work-section h2.rail-title {
  margin-block: 0 clamp(20px, 3vw, 38px);
  scroll-margin-block-start: 108px;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.work-section figure { min-inline-size: 0; margin: 0; }
.work-section figure img { display: block; inline-size: 100%; block-size: auto; }
.work-section figcaption { margin: 0; color: var(--ink); font: inherit; text-align: start; text-wrap: pretty; }
.work-room {
  display: block;
  inline-size: min(100%, 600px);
  margin-inline: auto;
}
.work-posture-section { background-color: var(--chapter-pale); }
.work-section h2.rail-title:has(br) { --title-track-length: 2.8em; }
.work-steps, .work-postures { display: grid; gap: clamp(22px, 3vw, 42px); }
.work-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.work-steps .work-check-art { opacity: .82; }
.work-postures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-postures img { max-inline-size: 390px; margin-inline: auto; }
:is(.work-steps, .work-postures) figcaption { margin-block-start: 1em; }
.work-section figcaption strong {
  display: block;
  margin-block-end: .35em;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
}
.continuous-page.work-page + #office-footer { margin-block-start: 0; }
@media (max-width: 860px) {
  .work-steps { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .work-steps figure {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(18px, 3vw, 28px);
  }
  .work-steps figcaption { margin-block-start: 0; }
}
@media (max-width: 600px) {
  .work-section h2.rail-title:has(br) { font-size: min(24px, 7vw); }
  .work-postures, .work-steps figure { grid-template-columns: minmax(0, 1fr); }
  .work-steps figure { gap: 12px; }
  .work-postures { gap: 32px; }
}

.values-page h2.rail-title {
  margin-block: 0;
  padding-block: clamp(24px, 3.5vw, 46px);
  color: var(--chapter-blue);
}
@media (max-width: 760px) {
  .subpage-intro-with-art { grid-template-columns: minmax(0, 1fr); }
  .subpage-illustration { width: min(76%, 290px); justify-self: center; }
}
.faq-group h2 { margin: 0 0 10px; color: var(--blue-ink); }
.faq-item {
  --faq-label-width: 2.35rem;
  --faq-label-gap: clamp(8px, 1.6vw, 22px);
  border-block-start: 1px solid #c6dce7;
  padding-block: clamp(22px, 3vw, 38px);
}
.faq-item:last-child { border-block-end: 1px solid #c6dce7; }
.faq-question {
  display: grid;
  grid-template-columns: var(--faq-label-width) minmax(0, 1fr);
  gap: var(--faq-label-gap);
  margin: 0;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.5;
}
.faq-number { color: var(--blue-ink); font-size: 0.8em; align-self: baseline; }
.faq-answer {
  padding-inline-start: calc(var(--faq-label-width) + var(--faq-label-gap));
  margin-block-start: 0.6em;
}
.faq-answer p { max-inline-size: 46em; margin: 0; }
.faq-answer p + p { margin-block-start: 0.35em; }
.faq-answer-art { display: block; width: min(100%, 230px); height: auto; margin-top: 12px; }

.continuous-page :is(.intro-opening, #activities, #visit) { background: var(--chapter-pale); }
.continuous-page #visit { color: var(--ink); }
.continuous-page #visit .eyebrow,
.continuous-page #visit .phone-number { color: var(--blue-ink); }
.continuous-page #visit .rail-title { --title-track-ink: var(--blue-ink); }
.continuous-page #visit .steps p { color: var(--muted); }
.visit .phone-block { grid-template-columns: minmax(0, max-content) minmax(60px, 1fr); }
.visit .phone-block > p { align-self: end; }
.visit .phone-number { align-self: start; }
#visit .phone-block .phone-number {
  font-size: clamp(28px, 7vw, 66px);
  font-weight: 700;
  line-height: 1.2;
}
.continuous-page #visit .phone-portrait { margin-block-end: 0; }
.continuous-page #visit .phone-portrait::before { content: none; }
.continuous-page #visit .phone-portrait img { filter: none; mix-blend-mode: multiply; }
.visit-booking { max-inline-size: 42em; margin-block: 14px 0; }
.visit-flow {
  margin-block-start: clamp(32px, 5vw, 60px);
  padding-block-start: clamp(20px, 3vw, 36px);
  border-block-start: 1px solid #c6dce7;
}
.visit-flow > h3 { margin-block: 0 clamp(22px, 3.5vw, 38px); font-size: clamp(21px, 2.4vw, 30px); }
.visit-flow .steps { margin-block-end: 0; }
.visit-flow .steps h4 { margin: 0 0 8px; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.5; }
.visit-flow .steps p { text-align: start; }
.visit-flow a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
#visit-flow, .a-type-page .qa-row[id] { scroll-margin-block-start: 100px; }
@media (max-width: 760px) {
  .continuous-page #visit { scroll-margin-block-start: 24px; }
}

/* Keep a hint of color in the FAQ illustration over the blue card. */
#faq .chapter-feature .faq-scene img {
  filter: brightness(1.28) invert(1) saturate(.35);
}

/* Hide the edge of the neighboring figure without shifting the window scene. */
#concrete .chapter-feature .scene-window {
  clip-path: inset(0 0 0 3.5%);
}

.footer-overview h2 { margin: 0 0 8px; font-size: 18px; }
.office-facts { margin: 0; font-size: 15px; }
.office-facts > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 4px 8px;
}
.office-facts dt { color: var(--muted); }
.office-facts dd { margin: 0; }
.office-facts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#office-footer {
  display: block;
  margin-block-start: 84px;
  padding-block: clamp(34px, 6vw, 68px);
  padding-block-start: clamp(50px, 7.5vw, 92px);
  padding-inline: clamp(18px, 3.25vw, 48px);
  border-block-start: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.continuous-page + #office-footer {
  margin-block-start: clamp(116px, 12vw, 168px);
}
.other-page :is(.guide-item, .guide-contact),
.other-page + #office-footer,
.other-page + #office-footer .chapter-index :is(ol, a) {
  border-block: 0;
}
.footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-block-start: 16px;
}
.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--blue-ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#office-footer > .wrap { max-width: 1008px; }
#office-footer .review-note { margin-block-start: 24px; }

@media (max-width: 760px) {
  .footer-identity { flex-direction: column; align-items: stretch; gap: 28px; }
}

.footer-documents {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 16px;
  color: var(--blue-ink);
  font-weight: 700;
}
.footer-documents:hover { text-decoration: underline; }

.a-type-page {
  --a-type-line: #c6dce7;
  --a-type-measure: 38em;
  --a-type-band-space: clamp(27px, 4vw, 52px);
  --a-type-anchor-offset: 112px;
}
body:has(.a-type-page, .values-page, .handbook-page, .work-page) > .header { background-color: #fff; }
body:has(.a-type-page, .values-page, .handbook-page, .work-page) > .header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  pointer-events: none;
}
.a-type-page > .chapter {
  padding-block: clamp(56px, 8vw, 108px) 0;
}
.a-type-page .subpage-intro {
  margin-block-end: var(--a-type-band-space);
}
.a-type-page .scene-check { clip-path: inset(0 0 0 2%); }
.a-type-section {
  margin-block-start: var(--a-type-band-space);
  scroll-margin-block-start: var(--a-type-anchor-offset);
}
.a-type-light { padding-block: var(--a-type-band-space); }
#a-type-work, #a-type-eligibility {
  scroll-margin-block-start: calc(var(--a-type-anchor-offset) - var(--a-type-band-space));
}
.a-type-section h2 { margin-block-end: clamp(18px, 3vw, 34px); }
.a-type-section h2, .a-type-topic > h3 { text-wrap: balance; }
.a-type-side-title {
  position: absolute;
  top: 0;
  right: calc(100% + var(--reading-gutter) + 14px);
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
}
.a-type-service-name { white-space: nowrap; }
.a-type-topic > h3 {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(18px, 2.05vw, 25px);
  font-weight: 700;
  line-height: 1.45;
}
.a-type-page .subpage-intro-copy, .a-type-section p {
  line-height: 1.9;
  text-wrap: pretty;
}
.a-type-section p {
  max-inline-size: var(--a-type-measure);
  margin: 0;
}
.a-type-section p + p { margin-block-start: .8em; }
.a-type-topic + .a-type-topic {
  margin-block-start: clamp(24px, 3.5vw, 40px);
  padding-block-start: clamp(20px, 2.5vw, 30px);
  border-block-start: 1px solid var(--a-type-line);
}
#a-type-work .a-type-topic + .a-type-topic { border-block-start: 0; }
.a-type-illustrated {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(16px, 4vw, 52px);
}
.a-type-illustrated figure {
  inline-size: 100%;
  justify-self: center;
  margin: 0;
}
.a-type-illustrated img { display: block; inline-size: 100%; }
.a-type-page .qa-question {
  justify-self: center;
  margin: 0;
  white-space: nowrap;
}
.a-type-official {
  margin: 0;
  padding: 0;
  list-style: none;
}
.a-type-official a {
  display: flex;
  align-items: center;
  gap: 8px;
  inline-size: fit-content;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding-block: 6px;
  color: var(--blue-ink);
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.a-type-official a:hover { text-decoration-thickness: 2px; }
.a-type-official a span[aria-hidden="true"] { flex: none; }

@media (max-width: 760px) {
  .a-type-page { --a-type-anchor-offset: 88px; }
  .a-type-section h2.rail-title {
    --title-track-length: max(1.65em, 4.4rem);
    padding-inline-start: 20px;
  }
  .a-type-side-title {
    inset: 50% auto auto calc(8px - var(--reading-gutter));
    transform: translateY(-50%);
    font-size: 13px;
    letter-spacing: .04em;
  }
  .a-type-illustrated { grid-template-columns: minmax(0, 1fr); }
  .a-type-illustrated figure { inline-size: min(86%, 320px); }
  .a-type-page .qa-row { grid-template-columns: clamp(74px, 22vw, 95px) 18px minmax(0, 1fr); }
  .a-type-page .qa-question { font-size: clamp(17px, 4.25vw, 20px); }
  .a-type-page .qa-answer p { font-size: inherit; }
}

@media (max-width: 600px) {
  .a-type-page .qa-row { row-gap: .8em; }
  .a-type-page .qa-answer { display: contents; }
  .a-type-page .qa-answer > p:first-child { grid-column: 3; }
  .a-type-page .qa-answer > p + p { grid-column: 1 / -1; margin-block-start: 0; }
}
