/* The document scrolls normally. Only the visual column sticks within this section. */
.home-page #main > #serviceStory {
  --service-story-ready: 1;
  --story-card-height: 380px;
  display: block;
  min-height: 0;
  overflow: visible;
}
#serviceStory .service-story-section {
  display: block;
  width: calc(100% - 88px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 54px 0 58px;
  border: 0;
}
.service-story-heading { max-width: 620px; margin-bottom: 24px; }
.service-story-heading .section-kicker { margin-bottom: 15px; }
.service-story-heading h2 { font-size: clamp(32px,3.1vw,43px); font-weight: 670; line-height: 1.34; letter-spacing: -1.7px; }
.service-story-heading > p:last-child { margin-top: 16px; color: var(--on-section-green-muted,#2c4014); font-size: 13px; line-height: 1.9; }
.service-story-layout, .service-story-steps, .service-story-step { min-width: 0; }
.service-story-step { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,450px); align-items: center; gap: clamp(32px,6vw,90px); padding-block: 38px; }
.service-story-copy { min-width: 0; max-width: 430px; }
.service-story-number { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; font: 14px/1.5 Arial,sans-serif; color: var(--on-section-green-muted,#2c4014); }
.service-story-number > span { font-size: 9px; letter-spacing: 1.5px; }
.service-story-copy h3 { color: var(--on-section-green,#172016); font-size: clamp(29px,3vw,40px); font-weight: 650; line-height: 1.35; letter-spacing: -1.2px; }
.service-story-copy > p:not(.service-story-number) { max-width: 32em; margin-top: 22px; font-size: 14px; color: var(--on-section-green-muted,#2c4014); line-height: 1.95; }
.service-story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 24px; margin-top: 25px; }
.service-story-actions :is(a,button) { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #233b12; font-size: 12px; line-height: 1.6; text-align: left; }
.service-story-actions > a:first-child { font-weight: 650; }
.service-story-actions > button, .service-story-actions .service-story-secondary { text-decoration: underline; text-decoration-color: #4d702c; text-underline-offset: 5px; }
.service-story-actions .icon { width: 16px; height: 16px; }
#serviceStory .service-story-actions :is(a,button):focus-visible { outline: 2px solid #172016; outline-offset: 4px; border-radius: 2px; }
.service-story-figure { margin: 0; width: 100%; max-width: 450px; min-width: 0; height: var(--story-card-height); justify-self: end; }
.story-art { box-sizing: border-box; position: relative; display: flex; flex-direction: column; padding: 24px 27px 21px; border: 1px solid #c1cbb7; border-radius: 20px; background: #f6f5ee; color: #263321; box-shadow: 0 18px 42px -28px #263f1870; }
.story-art figcaption { font-size: 11px; line-height: 1.5; color: #56624f; }
.story-art-note { margin-top: auto; color: #68705f; font-size: 10px; line-height: 1.8; }
.story-art--gpu { background: #dee7e9; }
.story-gpu-image { display: block; width: 100%; height: 235px; min-height: 0; margin: 7px auto 0; object-fit: contain; }
.story-gpu-options { display: flex; justify-content: space-between; gap: 18px; margin: 8px 0; padding-top: 11px; border-top: 1px solid #bfcbca; color: #374b48; font-size: 12px; }
.story-model-logos { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; margin: 13px 0 4px; }
.story-model-logos > img { object-fit: contain; max-width: 31%; }
.story-model-logos > span { display: flex; align-items: center; gap: 7px; font: 650 16px/1.4 Arial,sans-serif; }
.story-model-logos > span img { width: 29px; height: 29px; object-fit: contain; }
.story-model-flow { display: grid; gap: 0; margin: 4px 0 17px; padding: 0; list-style: none; }
.story-model-flow li { display: flex; align-items: center; gap: 20px; padding: 15px 0; border-top: 1px solid #dddfd3; }
.story-model-flow span { flex: none; color: #69795e; font-size: 11px; }
.story-model-flow strong { font-size: 13px; font-weight: 550; }
.story-art--inquiry { background: #f7f3e9; }
.story-inquiry-flow { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 18px 0 13px; }
.story-inquiry-flow > div { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 13px; width: 100%; padding: 14px 15px; border: 1px solid #dedccf; border-radius: 8px; background: #fffdf7; }
.story-inquiry-flow span { color: #637453; font-size: 11px; }
.story-inquiry-flow strong { font-size: 12px; font-weight: 550; }
.story-inquiry-flow > .icon { width: 15px; height: 15px; transform: rotate(90deg); color: #899478; }
.story-inquiry-price { display: flex; align-items: baseline; gap: 11px; margin-top: auto; color: #394b2a; font: 600 16px/1.5 Arial,sans-serif; }
.story-inquiry-price span { font: 11px/1.6 var(--font,system-ui,sans-serif); color: #67715c; }
.story-art--training { background: #e9e5d9; }
.story-practice-sheet { flex: 1; margin: 17px 6px 14px; padding: 18px 23px; border-left: 3px solid #718e4e; background: #fcfaf3; box-shadow: 0 7px 16px -13px #333d22; }
.story-practice-sheet > p { font: 8px/1.5 Arial,sans-serif; letter-spacing: 1.3px; color: #677458; }
.story-practice-sheet h4 { margin: 13px 0 14px; color: #31432a; font-size: 25px; font-weight: 650; line-height: 1.3; letter-spacing: -.7px; }
.story-practice-sheet ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.story-practice-sheet li { display: flex; gap: 14px; align-items: center; color: #53624a; font-size: 11px; }
.story-practice-sheet li span { font: 9px/1.5 Arial,sans-serif; color: #7b876e; }
.service-story-visual { display: none; }

@media (min-width:980px) and (min-height:720px) and (prefers-reduced-motion:no-preference) {
  #serviceStory.is-story-enhanced .service-story-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,450px); align-items: start; gap: clamp(40px,7vw,110px); }
  #serviceStory.is-story-enhanced .service-story-step { position: relative; display: flex; align-items: center; min-height: clamp(490px,70svh,680px); padding-block: 65px; }
  #serviceStory.is-story-enhanced .service-story-copy { opacity: .2; transition: opacity 450ms ease; }
  #serviceStory.is-story-enhanced .service-story-step.is-active .service-story-copy { opacity: 1; }
  /* Originals retain their reading order; the sticky copies are entirely decorative. */
  #serviceStory.is-story-enhanced .service-story-step > .service-story-figure { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  #serviceStory.is-story-enhanced .service-story-visual { display: block; position: sticky; top: calc(var(--header-row-height,80px) + (100svh - var(--header-row-height,80px) - var(--story-card-height))/2); width: 100%; height: var(--story-card-height); }
  .service-story-visual > .story-art { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.99); transition: opacity 450ms ease, transform 450ms cubic-bezier(.2,.65,.3,1), visibility 450ms; pointer-events: none; }
  .service-story-visual > .story-art.is-active { opacity: 1; visibility: visible; transform: none; }
  @supports (animation-timeline:view()) {
    #serviceStory.is-story-enhanced .service-story-copy { animation: service-story-reading 1s linear both; animation-timeline: view(block); animation-range: entry 0% exit 100%; transition: none; }
  }
  #serviceStory.is-story-enhanced .service-story-copy:focus-within { opacity: 1; animation: none; transition: none; }
}
@keyframes service-story-reading { 0%,100% { opacity: .05; } 22%,78% { opacity: .35; } 39%,61% { opacity: 1; } }
@media(max-width:979px) {
  #serviceStory .service-story-section { width: calc(100% - 52px); }
  .service-story-step { gap: 32px; grid-template-columns: minmax(0,1fr) minmax(0,390px); }
  .service-story-copy h3 { font-size: 31px; }
  .service-story-copy > p:not(.service-story-number) { font-size: 13px; }
}
@media(max-width:760px) {
  #serviceStory .service-story-section { width: calc(100% - 44px); padding-block: 43px 45px; }
  .service-story-heading { margin-bottom: 8px; }
  .service-story-heading h2 { font-size: 32px; }
  .service-story-step { display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding-block: 31px; }
  .service-story-copy { max-width: none; }
  .service-story-copy h3 { font-size: 29px; }
  .service-story-copy > p:not(.service-story-number) { margin-top: 15px; }
  .service-story-actions { margin-top: 16px; gap: 2px 20px; }
  .service-story-figure { align-self: center; height: 355px; }
  .story-art { padding: 21px 20px 18px; border-radius: 15px; }
  .story-gpu-image { height: 216px; }
  .story-inquiry-flow > div { grid-template-columns: 60px minmax(0,1fr); gap: 9px; padding: 13px 11px; }
  .story-inquiry-flow strong { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  #serviceStory .service-story-copy, #serviceStory .story-art { animation: none; transition: none; transform: none; }
}
