/* Original, deliberately large pen drawings. The SVG is complete without JS. */
.page-index .illustrations-story { position: relative; overflow: clip; background: radial-gradient(ellipse at 10% 35%, #24434040, transparent 50%), #101e2b; border-block: 1px solid #ffffff12; }
.illustrations-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 65px; margin-bottom: 38px; }
.illustrations-intro h2 { max-width: 660px; }
.illustrations-intro h2 span { display: block; }
.illustrations-intro > p { font-size: 16px; max-width: 350px; margin: 0 0 5px; justify-self: end; line-height: 1.8; }
.drawn-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.drawn-story { min-width: 0; }
.line-art-stage { margin: 0; position: relative; display: grid; place-items: center; width: 100%; height: 380px; }
.line-art-stage::before { content: ''; position: absolute; inset: 12% 7%; z-index: 0; border-radius: 50%; background: radial-gradient(ellipse, #577a701c, transparent 70%); pointer-events: none; }
.drawn-story:nth-child(2) .line-art-stage::before { background: radial-gradient(ellipse, #a58b431b, transparent 70%); }
.drawn-story:nth-child(3) .line-art-stage::before { background: radial-gradient(ellipse, #52779924, transparent 70%); }
.line-illustration { position: relative; display: block; width: min(100%, 390px); height: 365px; overflow: visible; }
.line-illustration [data-draw-path] { vector-effect: non-scaling-stroke; }
.drawn-story-copy { padding-top: 26px; margin-top: 18px; border-top: 1px solid #ffffff26; }
.page-index .drawn-story .eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; font-size: 14px; letter-spacing: .08em; line-height: 1.6; }
.drawn-story .eyebrow > span { font-size: 14px; letter-spacing: 0; color: #889cab; }
.page-index .drawn-story h3 { font-size: 25px; font-weight: 550; line-height: 1.24; letter-spacing: -.035em; max-width: 310px; }
.page-index .drawn-story-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; margin: 17px 0 22px; color: #aec1cf; }
.page-index .drawn-story .text-link, .page-index .illustrations-note .text-link { font-size: 16px; gap: 8px; padding-block: 8px; min-height: 44px; color: #ead09a; }
.drawn-story .text-link svg, .illustrations-note .text-link svg { width: 18px; height: 18px; }
.page-index .illustrations-note { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid #ffffff16; font-size: 16px; line-height: 1.7; color: #a7b9c6; }
/* Keep the complete desktop story together, including its links and final note.
   Short windows use smaller artwork instead of clipping content or shrinking text. */
@media (min-width: 1101px) {
  .page-index .illustrations-story { --drawing-size: clamp(200px, calc(100svh - 500px), 350px); padding-block: clamp(12px, calc(4svh - 16px), 26px); }
  .illustrations-intro { gap: 40px; margin-bottom: 8px; }
  .page-index .illustrations-intro .eyebrow { margin-bottom: 8px; }
  .page-index .illustrations-intro h2 { font-size: clamp(36px, 4.8svh, 44px); }
  .illustrations-intro > p { max-width: 410px; line-height: 1.5; margin-bottom: 2px; }
  .line-art-stage { height: var(--drawing-size); }
  .line-illustration { width: min(100%, var(--drawing-size)); height: var(--drawing-size); }
  .drawn-story-copy { padding-top: 10px; margin-top: 6px; }
  .page-index .drawn-story .eyebrow { margin-bottom: 8px; letter-spacing: .055em; line-height: 1.4; }
  .page-index .drawn-story h3 { font-size: 23px; line-height: 1.2; }
  .page-index .drawn-story-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.5; margin: 8px 0 4px; }
  .page-index .drawn-story .text-link { padding-block: 6px; }
  .page-index .illustrations-note { margin-top: 8px; padding-top: 8px; line-height: 1.5; }
}
@media (min-width: 1101px) and (max-width: 1200px) {
  .page-index .illustrations-story { --drawing-size: clamp(180px, calc(100svh - 524px), 326px); }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .drawn-stories { grid-template-columns: 1fr; gap: 35px; }
  .drawn-story { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr); gap: 35px; align-items: center; }
  .line-art-stage { height: 350px; }
  .line-illustration { max-width: 360px; height: 340px; }
  .drawn-story-copy { margin: 0; padding-top: 24px; }
  .drawn-story:nth-child(2) .line-art-stage { order: 2; }
  .drawn-story:nth-child(2) .drawn-story-copy { order: 1; }
  .illustrations-intro { gap: 35px; grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 700px) {
  .illustrations-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 16px; }
  .illustrations-intro > p { justify-self: start; font-size: 17px; }
  .drawn-stories { grid-template-columns: 1fr; gap: 42px; }
  .line-art-stage { height: 340px; max-width: 390px; margin-inline: auto; }
  .line-illustration { width: min(100%, 365px); height: 330px; }
  .drawn-story-copy { margin-top: 2px; padding-top: 22px; }
  .page-index .drawn-story h3 { font-size: 27px; max-width: 340px; }
  .page-index .drawn-story-copy > p:not(.eyebrow) { margin-block: 14px; }
  .page-index .illustrations-note { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .line-illustration [data-draw-path] { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}
@media print {
  .line-illustration [data-draw-path] { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}
