/* Scoped styles for the three editorial service sections. */
.section.im-story {
  padding: 100px 0 !important;
  min-height: auto !important;
  color: #0d2421;
  overflow: clip;
  scroll-margin-top: 80px;
}
.im-story .im-wrap { width: min(1240px, calc(100% - 96px)); margin: auto; }
.im-story .im-heading { margin: 0 auto 56px; text-align: center; }
.im-story .im-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; margin-bottom: 20px; color: #7a7264; }
.im-story h2 { font: 800 clamp(30px, 3.2vw, 48px)/1.3 var(--font-body, sans-serif); letter-spacing: -.055em; word-break: keep-all; color: #0d2421; }
.im-story h2 em { font-style: normal; color: #0d2421; }
.im-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.im-story .im-feature { min-width: 0; }
.im-story h3 { font-size: clamp(23px, 2vw, 29px); font-weight: 800; line-height: 1.5; letter-spacing: -.045em; word-break: keep-all; margin: 28px 0 18px; color: #0d2421; }
.im-story p { font-size: 16px; line-height: 1.9; color: #4b453a; word-break: keep-all; overflow-wrap: anywhere; margin: 0 0 18px; }
.im-marker { background-image: linear-gradient(transparent 57%, #f5df79 57%, #f5df79 94%, transparent 94%); background-size: var(--im-highlight, 100%) 100%; background-repeat: no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.im-visual { min-width: 0; border: 2px solid #0d2421; border-radius: 10px; overflow: hidden; background: #fffefb; box-shadow: 5px 5px 0 #0d242124; }
.im-windowbar { display: flex; gap: 12px; align-items: center; padding: 15px 20px; border-bottom: 1px solid #e5ded2; background: #efeae2; font-size: 12px; color: #4b453a; font-weight: 600; }
.im-dots { font-size: 8px; letter-spacing: 2px; color: #aaa192; white-space: nowrap; }
.im-live { margin-left: auto; color: #4b453a; font-size: 9px; letter-spacing: .08em; }
.im-svg { display: block; width: 100%; height: auto; }
.im-svg text { font-family: var(--font-body, sans-serif); }
.im-svg-label { fill: #2c2820; font-weight: 700; font-size: 19px; }
.im-svg-muted { fill: #8d8478; font-size: 17px; }
.im-svg-number { fill: #877354; font-size: 14px; font-weight: 700; }
.im-svg-logo { fill: #2c2820; font-size: 24px; font-weight: 900; }
.im-muted-fill { fill: #f1ece4; }
.im-warm-fill { fill: #f5edda; stroke: #e3d7ba; }
.im-search-fill { fill: white; stroke: #a99b80; stroke-width: 2; }
.im-path { fill: none; stroke: #a18750; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.im-check { fill: none; stroke: #766138; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.im-strike { fill: none; stroke: #b77969; stroke-width: 1.5; }
.im-visual-footer { padding: 14px 18px; color: #8c8274; font-size: 12px; text-align: center; border-top: 1px solid #ede7dc; }
.im-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.im-copy { min-width: 0; }
.im-copy h3 { margin-top: 0; }
.im-copy strong { color: #2c2820; font-weight: 750; }
.im-promise { border-left: 3px solid #e5c65d; padding: 3px 0 3px 17px; margin-top: 26px; font-size: 16px; line-height: 1.8; font-weight: 750; color: #4b453a; word-break: keep-all; }
.im-materials { display: flex; justify-content: space-between; gap: 8px; padding: 25px 24px 0; }
.im-materials span { text-align: center; padding: 11px 10px; border: 1px solid #e0d8ca; border-radius: 8px; background: #f8f4ed; font-size: 13px; font-weight: 600; }
.im-pen-path { width: calc(100% - 48px); height: 42px; display: block; margin: 0 auto; }
.im-paper { margin: 0 24px 24px; background: white; border: 1px solid #e0d8ca; border-radius: 10px; padding: 24px; box-shadow: 0 7px 0 -3px #ede7dc; }
.im-paper-meta { display: flex; align-items: center; justify-content: space-between; color: #8a8174; font-size: 11px; margin-bottom: 18px; }
.im-edit-dot { width: 7px; height: 7px; background: #bc9255; border-radius: 50%; }
.im-paper h4 { font-size: 21px; letter-spacing: -.04em; color: #2c2820; margin: 0 0 16px; word-break: keep-all; }
.im-story .im-type { font-size: 15px; line-height: 1.9; min-height: 114px; margin: 0; }
.im-type.im-typing .im-typed::after { content: ''; display: inline-block; height: 1em; width: 2px; margin-left: 3px; vertical-align: -.1em; background: #4b453a; }
.im-editor-rule { height: 1px; background: #e7dfd2; margin: 22px 0 18px; }
.im-approved { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #776039; }
.im-approved svg { width: 18px; height: 18px; fill: none; stroke: #766138; stroke-width: 2; }
.im-search { display: flex; align-items: center; gap: 14px; margin: 24px 24px 12px; padding: 14px 18px; border: 2px solid #a9997c; border-radius: 12px; font-size: 16px; }
.im-search b { font-size: 23px; color: #2c2820; }
.im-search svg { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: #8f816d; stroke-width: 2; }
.im-result-types { display: flex; gap: 18px; margin: 0 26px 22px; font-size: 12px; color: #8a7c68; }
.im-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 24px; }
.im-channel { border: 1px solid #dfd2bb; border-radius: 12px; padding: 17px 14px; background: #f5eddd; min-width: 0; }
.im-channel-label { font-size: 10px; color: #92733d; letter-spacing: .1em; font-weight: 800; }
.im-channel h4 { font-size: 15px; margin: 9px 0 14px; color: #2c2820; word-break: keep-all; }
.im-story .im-channel p { font-size: 12px; margin: 12px 0 0; color: #7a6b53; }
.im-site-channel { background: #edf3fa; border-color: #d3deec; }
.im-site-channel .im-channel-label { color: #4c77a0; }
.im-mini-photo { height: 65px; border-radius: 6px; background: #e9ddc5; overflow: hidden; }
.im-mini-photo svg { width: 100%; height: 100%; fill: none; stroke: #a79066; stroke-width: 2; }
.im-mini-site { height: 65px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 9px; border-radius: 6px; background: #dce7f4; }
.im-mini-site i { background: #aec4dd; border-radius: 3px; }
.im-mini-site i:first-child { grid-column: 1 / -1; background: #6b90b5; }
.im-link-path { display: block; width: calc(100% - 48px); height: 50px; margin: auto; }
.im-package-tag { margin: 0 24px 24px; padding: 15px 10px; background: #302b24; color: white; text-align: center; font-size: 14px; font-weight: 700; border-radius: 8px; }
.im-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: #0d2421; color: #f8f3ec; border: 2px solid #0d2421; border-radius: 0; padding: 14px 24px; margin-top: 26px; cursor: pointer; font: 800 14px/1.5 var(--font-body, sans-serif); text-align: left; box-shadow: 4px 4px 0 #0d2421; transition: box-shadow .15s ease, background .15s ease; }
.im-cta:hover { background: #243b35; box-shadow: 6px 6px 0 #0d2421; }
.im-cta:active { box-shadow: 1px 1px 0 #0d2421; }
.im-cta:focus-visible { outline: 3px solid #d7b544; outline-offset: 5px; opacity: 1 !important; }
.im-cta span { color: inherit; font-size: 22px; }
/* Values are driven by scroll position, never by a timed entrance. */
.im-story [data-im-reveal] { transform: translate3d(0, var(--im-y, 0px), 0); opacity: var(--im-opacity, 1); }
.im-story [data-im-step] { transform: translateY(var(--im-step-y, 0px)); opacity: var(--im-step-opacity, 1); }
.im-story [data-im-draw] { stroke-dasharray: 1; stroke-dashoffset: var(--im-dash, 0); }
.im-type { position: relative; }
.im-type-source { opacity: 0; }
.im-typed { position: absolute; inset: 0; }
@media (max-width: 1000px) {
  .im-story .im-wrap { width: calc(100% - 48px); }
  .im-duo { gap: 28px; }
  .im-split { gap: 32px; }
  .im-story h3 { font-size: 23px; }
  .im-story p { font-size: 15px; }
}
@media (max-width: 760px) {
  .section.im-story { padding: 64px 0 !important; }
  .im-story .im-wrap { width: calc(100% - 36px); }
  .im-story .im-heading { margin-bottom: 32px; text-align: left; }
  .im-story .im-eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 15px; }
  .im-story h2 { font-size: clamp(27px, 6.6vw, 36px); line-height: 1.38; letter-spacing: -.06em; }
  .im-duo, .im-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .im-story h3 { font-size: clamp(20px, 5.15vw, 26px); line-height: 1.55; margin: 23px 0 14px; }
  .im-copy h3 { margin-top: 0; }
  .im-story p { font-size: 15px; line-height: 1.85; }
  .im-visual { border-radius: 8px; box-shadow: 4px 4px 0 #0d242124; }
  .im-windowbar { padding: 12px 15px; font-size: 11px; gap: 8px; }
  .im-visual-footer { font-size: 10px; padding: 11px 10px; }
  .im-materials { padding: 19px 15px 0; gap: 5px; }
  .im-materials span { padding: 9px 7px; font-size: 11px; }
  .im-paper { margin: 0 15px 20px; padding: 20px 17px; }
  .im-paper h4 { font-size: 19px; }
  .im-story .im-type { font-size: 14px; min-height: 133px; }
  .im-search { margin: 18px 15px 12px; font-size: 14px; padding: 10px 14px; }
  .im-result-types { margin: 0 18px 19px; gap: 16px; font-size: 11px; }
  .im-channel-grid { padding: 0 15px; gap: 9px; }
  .im-channel { padding: 14px 10px; }
  .im-channel h4 { font-size: 13px; }
  .im-story .im-channel p { font-size: 11px; }
  .im-package-tag { margin: 0 15px 19px; font-size: 12px; }
  .im-promise { font-size: 14px; padding-left: 13px; margin-top: 22px; }
  .im-cta { width: 100%; font-size: 14px; padding: 15px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .im-story *, .im-story *::after { animation: none !important; transition: none !important; }
  .im-story [data-im-step], .im-story [data-im-reveal] { opacity: 1 !important; transform: none !important; }
  .im-story [data-im-draw] { stroke-dashoffset: 0 !important; }
  .im-marker { background-size: 100% 100% !important; }
}

/* Product-like screens make the service argument visible, not just procedural. */
.im-screen-scene { position: relative; min-width: 0; padding: 8px 16px 40px 0; min-height: 342px; }
.im-audit-app { color: #f0ecdf; border: 2px solid #343241; border-radius: 11px; background: #22212c; box-shadow: 0 17px 26px -12px #29232b65; overflow: hidden; }
.im-app-chrome, .im-browser-chrome { display: flex; align-items: center; gap: 6px; height: 35px; padding: 0 14px; border-bottom: 1px solid #ffffff12; background: #191923; }
.im-app-chrome i, .im-browser-chrome i { width: 6px; height: 6px; border-radius: 50%; background: #c2917a; }
.im-app-chrome i:nth-child(2), .im-browser-chrome i:nth-child(2) { background: #d9c58b; }
.im-app-chrome i:nth-child(3), .im-browser-chrome i:nth-child(3) { background: #a1a6ac; }
.im-app-chrome span { margin-left: 10px; font: 10px monospace; letter-spacing: .08em; color: #aaa8bc; }
.im-audit-body { padding: 22px 24px; }
.im-audit-body > small { display: block; color: #b2aebe; font-size: 11px; margin-bottom: 8px; }
.im-audit-body > strong { display: block; color: #f3ecdf; font-size: 20px; letter-spacing: -.04em; margin-bottom: 22px; }
.im-grade { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 17px; background: #ffffff06; border: 1px solid #ffffff18; border-radius: 7px; font-size: 13px; }
.im-grade b { color: #dcc990; }
.im-grade small { grid-column: 1 / -1; color: #9793a3; font-size: 11px; }
.im-chart { height: 61px; margin-top: 14px; }
.im-chart svg { width: 100%; height: 100%; }
.im-floating-note { position: absolute; right: 0; bottom: 4px; padding: 15px 23px; background: #fbf2d6; border: 1px solid #cbb889; box-shadow: 4px 5px 0 #40372a13; transform: rotate(-2deg); }
.im-floating-note b, .im-floating-note span { display: block; font-size: 15px; line-height: 1.6; color: #473b27; }
.im-floating-note span { font-size: 12px; }
.im-browser { background: #fff; border: 2px solid #656a66; border-radius: 10px; overflow: hidden; box-shadow: 4px 5px 0 #323a3222; }
.im-browser-chrome { background: #f0eee9; border-bottom: 1px solid #dedbd3; height: 30px; }
.im-browser-chrome span { margin-left: 9px; color: #8b8579; font-size: 9px; }
.im-serp-search { margin: 18px 15px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid #a79a7e; border-radius: 5px; padding: 10px 12px; font-size: 13px; color: #343a35; }
.im-serp-search b { font: 900 20px sans-serif; }
.im-serp-search svg { width: 17px; height: 17px; margin-left: auto; stroke: #8b867a; stroke-width: 2; fill: none; }
.im-search-tabs { padding: 0 17px 11px; font-size: 10px; border-bottom: 1px solid #eeece7; color: #a09a8c; }
.im-search-tabs b { color: #4b453a; border-bottom: 2px solid #9a8150; padding-bottom: 10px; }
.im-real-result { padding: 15px 17px; border-bottom: 1px solid #efede7; }
.im-real-result small, .im-site-lift small { display: block; font-size: 10px; color: #8e887b; margin-bottom: 7px; }
.im-real-result b, .im-site-lift b { display: block; color: #3c567f; font-size: 14px; font-weight: 650; line-height: 1.5; word-break: keep-all; }
.im-story .im-real-result p, .im-story .im-site-lift p { font-size: 11px; color: #7d796e; line-height: 1.6; margin: 5px 0 0; }
.im-result-muted { background: #faf9f6; }
.im-result-muted b { color: #8d887d; }
.im-search-scene .im-browser { padding-bottom: 30px; }
.im-writing-scene { min-height: 530px; padding: 0; }
.im-keyword-app { width: 82%; }
.im-keyword-row { display: flex; justify-content: space-between; padding: 11px 0; font-size: 12px; border-top: 1px solid #ffffff10; gap: 12px; }
.im-keyword-row b { font-size: 10px; font-weight: 500; color: #d4bf86; }
.im-story .im-keyword-row > span, .im-story .im-grade > span { color: #e4dfd2; }
.im-editor-connector { position: absolute; width: 90px; height: 100px; top: 245px; left: 10px; }
.im-editor-window { position: relative; width: 83%; margin: -20px 0 0 auto; background: white; border: 2px solid #757875; border-radius: 7px; box-shadow: 0 14px 24px -10px #222c2945; }
.im-editor-toolbar { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid #e6e8e6; font-size: 9px; align-items: center; color: #969b96; }
.im-editor-toolbar b { margin-right: auto; font-size: 11px; color: #394c42; }
.im-editor-toolbar i { font-weight: 400; color: #8a918d; }
.im-editor-publish { padding: 5px 8px; background: #3c4941; color: white; border-radius: 3px; }
.im-editor-tools { background: #f5f5f3; padding: 7px 12px; color: #8b8e88; font-size: 10px; }
.im-editor-document { padding: 24px; }
.im-editor-document > small { font-size: 10px; color: #a49b88; }
.im-editor-document h4 { margin: 11px 0 15px; font-size: 18px; letter-spacing: -.04em; color: #303a33; word-break: keep-all; }
.im-editor-sign { border-top: 1px solid #eee9df; padding-top: 12px; margin-top: 10px; font-size: 10px; color: #8f7f60; text-align: right; }
.im-split:has(.im-serp-evolution) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.im-serp-evolution { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
.im-evolution-screen { min-width: 0; }
.im-era-label { display: block; font-size: 12px; font-weight: 750; margin-bottom: 13px; color: #8b8070; }
.im-era-current { color: #343a35; }
.im-serp-evolution .im-serp-search { margin: 12px 10px 10px; padding: 8px; font-size: 11px; gap: 7px; }
.im-serp-evolution .im-search-tabs { font-size: 9px; padding-left: 12px; }
.im-popular-group { margin: 10px; border: 1px solid #e3ded3; border-radius: 6px; background: #f9f7f2; }
.im-popular-group > strong { display: block; font-size: 11px; padding: 13px 10px 2px; color: #6b6356; }
.im-serp-evolution .im-real-result { padding: 13px 10px; }
.im-serp-evolution .im-real-result b { font-size: 12px; }
.im-skeleton { width: 86%; height: 5px; background: #eceae4; border-radius: 3px; margin: 9px 0 6px; box-shadow: 0 8px 0 #f1efe9; }
.im-buried-site { opacity: .4; margin: 5px 10px 16px; }
.im-evolution-arrow { font-size: 28px; color: #9b8a6b; }
.im-mixed-results { padding: 10px; overflow: hidden; }
.im-site-lift { position: relative; padding: 15px 12px; min-height: 125px; background: #fcf7e9; transform: translateY(var(--im-site-y, 0px)); z-index: 2; }
.im-site-lift b { font-size: 14px; }
.im-site-links { display: flex; flex-wrap: wrap; gap: 9px; font-size: 9px; color: #7a6741; margin-top: 12px; }
.im-site-outline { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #bca367; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: var(--im-site-dash, 0); pointer-events: none; }
.im-serp-now .im-browser { border-color: #303d35; }
.im-mixed-blog { transform: translateY(var(--im-blog-y, 0px)) !important; }
.im-evolution-caption { grid-column: 1 / -1; text-align: center; font-size: 17px; font-weight: 700; margin-top: 23px; color: #494236; word-break: keep-all; }
.im-evolution-caption small { display: block; margin-top: 12px; font-size: 10px; font-weight: 400; line-height: 1.7; color: #9b9384; }
@media (max-width: 1100px) {
  .im-split:has(.im-serp-evolution) { grid-template-columns: 1fr; }
  .im-serp-evolution { max-width: 780px; width: 100%; margin: auto; }
  .im-serp-evolution .im-real-result b { font-size: 14px; }
}
@media (max-width: 760px) {
  .im-screen-scene { padding-right: 9px; min-height: 325px; }
  .im-audit-body { padding: 18px; }
  .im-audit-body > strong { font-size: 17px; }
  .im-floating-note { padding: 11px 16px; }
  .im-writing-scene { padding: 0; min-height: 510px; }
  .im-keyword-app { width: 93%; }
  .im-editor-window { width: 93%; margin-top: -8px; }
  .im-editor-document { padding: 18px; }
  .im-editor-document h4 { font-size: 17px; }
  .im-editor-connector { left: 0; top: 230px; }
  .im-serp-evolution { grid-template-columns: 1fr; gap: 20px; }
  .im-evolution-arrow { text-align: center; transform: rotate(90deg); }
  .im-serp-evolution .im-serp-search { font-size: 13px; padding: 11px; margin: 15px; }
  .im-serp-evolution .im-search-tabs { font-size: 11px; }
  .im-era-label { font-size: 13px; }
  .im-popular-group { margin: 15px; }
  .im-popular-group > strong { font-size: 13px; }
  .im-serp-evolution .im-real-result { padding: 14px; }
  .im-mixed-results { padding: 15px; }
  .im-site-lift { padding: 18px 15px; }
  .im-site-lift b { font-size: 16px; }
  .im-site-links { font-size: 11px; }
  .im-evolution-caption { margin-top: 0; font-size: 16px; }
}
