/* Index and article share the service site's type, navigation, and palette. */
.article-preview { padding-block: clamp(28px,4vw,48px) clamp(48px,7vw,96px); }
.article-preview[hidden] { display: none; }
.article-preview > .container { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(18px,2.4vw,32px); }
.article-entry { display: grid; align-content: start; min-width: 0; overflow: hidden; border: 1px solid var(--site-line); border-radius: 10px; background: var(--site-glass); transition: border-color .2s,background-color .2s; }
.article-entry:is(:hover,:focus-visible) { border-color: var(--site-text); background: color-mix(in srgb,var(--site-surface) 86%,transparent); }
.article-entry:focus-visible { outline: 2px solid var(--site-text); outline-offset: 4px; }
.article-entry-copy { min-width: 0; container-type: inline-size; padding: clamp(16px,2.3vw,28px); }
.article-entry-copy h2 { margin: 0; font-size: clamp(1rem,6.5cqi,1.6rem); line-height: 1.6; word-break: auto-phrase; text-wrap: pretty; }
@container (min-width: 28rem) { .article-entry-copy h2 { text-wrap: balance; } }
.article-entry-copy h2 span:first-child { display: block; }
.article-published,.article-draft { margin: 10px 0 0; color: var(--site-muted); font-size: .875rem; line-height: 1.6; }
.article-published time { white-space: nowrap; }
.article-entry-image { overflow: hidden; }
.article-entry-image img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
  .article-preview > .container { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-entry:only-child { grid-column: 1/-1; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(24px,3vw,36px); padding: clamp(24px,3.5vw,44px); }
  .article-entry:only-child .article-entry-copy { padding: 0; }
}

.article-detail-page { --article-header-height: 72px; --article-nav-height: 0px; --article-paper: #fcfcfa; --article-ink: #17354b; --article-body: #2e4859; --article-muted: #506777; --article-rule: #c4d3dd; --article-teal: #087d86; --content-motion-opacity: .22; }
.article-detail-page .site-header { background: var(--site-canvas); }
.article-hero { border-bottom: 1px solid var(--site-line); }
.article-hero > .container { max-width: 1200px; padding-block: 22px 32px; }
.article-hero h1 { max-width: 25em; margin: 0 0 20px; font-size: clamp(1.75rem,2.8vw,2.5rem); font-weight: 900; line-height: 1.5; text-wrap: balance; }
.article-hero h1 span { display: block; }
.article-hero h1:has(+ .article-published) { margin-bottom: 6px; }
.article-hero .article-published { margin: 0 0 20px; }
.article-lead { max-width: 46em; margin: 0; font-size: 1.0625rem; line-height: 1.9; text-wrap: pretty; }
.article-layout { display: grid; grid-template-columns: 170px minmax(0,1fr); align-items: start; gap: 32px; max-width: 1200px; padding-block: 36px 80px; }
.article-toc { position: sticky; top: calc(var(--article-header-height) + 24px); }
.article-toc nav > p { margin: 0 0 12px; color: var(--site-text); font-size: 1rem; font-weight: 700; }
.article-toc ol { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--site-line); }
.article-toc a { display: block; min-height: 48px; padding: 12px 12px 12px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--site-muted); font-size: .9375rem; line-height: 1.65; transition: color .15s,border-color .15s; }
.article-toc a:is(:focus-visible,:active) { color: var(--site-text); border-color: var(--site-muted); }
@media (hover: hover) and (pointer: fine) {
  .article-toc a:hover { color: var(--site-text); }
  .article-toc a:not([aria-current="location"]):hover { border-color: var(--site-muted); }
}
.article-toc a[aria-current="location"] { color: #77dce0; border-left-color: #77dce0; font-weight: 700; }
.article-toc .toc-short { display: none; }
.article-story { min-width: 0; padding: clamp(28px,3.4vw,48px); color: var(--article-body); background: var(--article-paper); border: 1px solid #d3dfe7; font-size: 1.0625rem; line-height: 1.95; }
.article-story .article-cover { margin: -1px 0 34px; }
.article-cover img { display: block; width: 100%; height: auto; }
.story-section { scroll-margin-top: calc(var(--article-header-height) + var(--article-nav-height) + 20px); }
.story-section + .story-section { margin-top: 48px; padding-top: 38px; border-top: 1px solid var(--article-rule); }
.story-section h2 { margin: 0 0 28px; padding: 16px 20px; color: #fff; background: #24475d; font-size: clamp(1.4rem,2vw,1.875rem); font-weight: 900; line-height: 1.6; text-wrap: balance; }
.story-section h2 > span,.story-section h3 > span { display: inline-block; max-width: 100%; }
.story-section h3 { margin: 34px 0 14px; color: var(--article-ink); font-size: clamp(1.125rem,1.5vw,1.3125rem); font-weight: 700; line-height: 1.75; text-wrap: balance; }
.story-section h2 + h3 { margin-top: 24px; }
.story-section p { margin: 0 0 1.3em; text-wrap: pretty; }
.story-section > p { max-width: 40em; }
.article-story strong { color: var(--article-ink); font-weight: 700; }
#preparation .reading-mark { display: inline-block; max-width: 100%; }
.reading-mark { padding-inline: .08em; color: var(--article-ink); background: linear-gradient(transparent 64%,#f3d887 64%,#f3d887 94%,transparent 94%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.article-story p a,.article-story figcaption a,.article-story .source-records a { color: #086c79; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.article-story a:is(:hover,:focus-visible) { color: #593984; }
.article-story a:focus-visible { outline: 2px solid #087c86; outline-offset: 4px; }
.article-story figure { margin: 26px 0 30px; }
.article-story figcaption { margin: 0 0 18px; color: var(--article-ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.75; text-wrap: pretty; }
.article-story .story-source,.article-story .figure-note { color: var(--article-muted); font-size: .875rem; font-weight: 400; line-height: 1.85; }
.article-story .figure-note { margin: 14px 0 0; }
.story-section > .story-source { margin: 8px 0 28px; padding-inline-start: 12px; border-inline-start: 2px solid var(--article-rule); }
.source-records > p { margin: 0 0 8px; }
.source-records ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.source-records li { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.source-records li > span { white-space: nowrap; }

/* Credits stay in the article, separate from the common site footer. */
.article-credits { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 8px 24px; margin-top: 36px; padding: 24px; border: 1px solid var(--article-rule); background: #edf2f4; }
.article-credits-icon { grid-row: 1 / span 2; align-self: center; display: block; width: 80px; height: 80px; border-radius: 6px; background: #102b3f; object-fit: contain; }
.article-credits-title { margin: 0 0 6px; color: var(--article-muted); font-size: .875rem; }
.article-credits-name { margin: 0; color: var(--article-ink); font-size: 1.125rem; font-weight: 700; line-height: 1.7; text-wrap: pretty; }
.article-credits-name > span { display: inline-block; max-width: 100%; }
.article-credits-description { grid-column: 2; margin: 0; font-size: .9375rem; }

/* The seasonal cover introduces the scenes; the chart adds evidence without repeating them. */
.parcel-comparison { padding: 24px; color: #eaf5f7; background: #1a3b51; }
.article-story .parcel-comparison > figcaption { color: #fff; }
.parcel-chart { display: grid; grid-template-columns: minmax(140px,.7fr) minmax(0,1fr); gap: 16px 32px; align-items: center; }
.parcel-comparison .parcel-insight { grid-row: span 2; display: flex; flex-direction: column; gap: 4px; margin: 0; line-height: 1.5; }
.parcel-insight > span { font-size: .875rem; }
.article-story .parcel-insight strong { color: #79dce2; font-size: 2.3rem; font-variant-numeric: tabular-nums; }
.parcel-insight small { margin-left: 4px; color: #eaf5f7; font-size: 1rem; }
.parcel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.article-story .parcel-row strong { color: #eaf5f7; text-align: right; white-space: nowrap; }
.parcel-track { grid-column: 1/-1; }
.parcel-track > span { display: block; width: var(--bar); height: 15px; background: #94a7be; }
.parcel-row + .parcel-row .parcel-track > span { background: #60ced8; }
.article-story .parcel-comparison .figure-note { margin: 20px 0 0; color: #c2d5e0; }

/* The scene comparison separates continuing work from temporary demand. */
.workload-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.workload-scene { min-width: 0; }
.workload-scene > p { margin: 0 0 10px; text-align: center; font-weight: 700; font-size: 1rem; }
.workload-image { position: relative; overflow: hidden; aspect-ratio: 1; }
.workload-image img { position: absolute; top: 0; left: 0; display: block; width: 200%; max-width: none; height: 100%; }
.workload-image--peak img { left: -100%; }
.workload-scene > strong { display: block; margin-top: 12px; text-align: center; font-size: .9375rem; line-height: 1.75; }
.article-story .workload-scene + .workload-scene > strong { color: var(--article-teal); }

/* Short cells stay comparable at phone widths, without repeated labels or scrolling. */
.cost-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 1rem; line-height: 1.8; }
.cost-table th,.cost-table td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--article-rule); }
.cost-table thead th { color: #fff; background: #24475d; font-weight: 700; }
.cost-table thead th:first-child { width: 22%; }
.cost-table tbody th { background: #edf2f4; font-weight: 700; }
.cost-table td { background: #fff; }
.cost-table td + td { border-left: 1px solid var(--article-rule); }
.cost-table ul { margin: 0; padding: 0; list-style: none; }

/* Each scene supports a different operational decision. */
.article-scene > img { display: block; width: 100%; height: auto; }

.cost-table caption { margin-bottom: 16px; color: var(--article-ink); text-align: left; font-size: 1.0625rem; font-weight: 700; }

.article-contact { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--article-rule); }
.article-contact h2 { margin: 0 0 16px; color: var(--article-ink); font-size: 1.375rem; font-weight: 700; line-height: 1.7; text-wrap: balance; }
.article-contact p { max-width: 40em; margin: 0 0 24px; text-wrap: pretty; }
.article-contact-button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 56px; padding: 14px 24px; color: var(--cta-text); background: var(--cta); border: 1px solid var(--cta-border); border-radius: var(--cta-radius); text-align: center; font-size: 1rem; font-weight: 700; line-height: 1.7; }
.article-story .article-contact-button:is(:hover,:focus-visible) { color: var(--cta-text); background: var(--cta-hover); }
.article-related { margin-top: 32px; }
.article-related h2 { margin: 0 0 12px; font-size: 1.125rem; line-height: 1.6; color: var(--article-ink); }
.article-related a { display: grid; grid-template-columns: clamp(86px,19vw,180px) minmax(0,1fr); align-items: center; gap: clamp(12px,2vw,24px); padding-block: 14px; border-block: 1px solid var(--article-rule); color: var(--article-ink); font-weight: 700; line-height: 1.7; }
.article-related img { display: block; width: 100%; height: auto; }
.article-related a span { word-break: auto-phrase; text-wrap: pretty; }
.article-related a:is(:hover,:focus-visible) span { text-decoration: underline; text-underline-offset: .2em; }
.article-back { margin: 28px 0 0; font-size: .9375rem; }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 155px minmax(0,1fr); gap: 24px; }
  .article-story { padding: 30px; }
  .article-toc a { padding-inline: 12px; font-size: .875rem; }
}
@media (max-width: 1023px) {
  .article-detail-page { --article-nav-height: 56px; }
  .article-layout { display: block; padding-top: 0; }
  .article-toc { top: var(--article-header-height); z-index: 80; margin: 0; padding: 0; background: var(--site-canvas); border-bottom: 1px solid var(--site-line); }
  .article-toc nav > p { display: none; }
  .article-toc ol { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border: 0; }
  .article-toc a { display: grid; place-items: center; min-height: 56px; padding: 10px 8px; margin: 0; border: 0; border-bottom: 2px solid transparent; text-align: center; font-size: .875rem; line-height: 1.5; }
  .article-toc a[aria-current="location"] { border-bottom-color: #77dce0; }
  .article-story { padding: 36px; border-top: 0; }
}
@media (max-width: 860px) {
  .article-detail-page { --article-header-height: 66px; }
}
@media (max-width: 767px) {
  .article-detail-page { --article-nav-height: 54px; }
  .article-hero > .container { padding-block: 18px 26px; }
  .article-hero h1 { margin-bottom: 18px; font-size: clamp(1.65rem,5.8vw,2rem); line-height: 1.55; }
  .article-lead { font-size: 1rem; line-height: 1.9; }
  .article-layout { width: 100%; padding-bottom: 48px; }
  .article-story { padding: 24px max(20px,6vw) 36px; border-inline: 0; font-size: 1rem; line-height: 1.9; }
  .article-story .article-cover { margin: 0 -4px 28px; }
  .article-toc a { min-height: 54px; padding-inline: 6px; font-size: .8125rem; }
  .article-toc .toc-long { display: none; }
  .article-toc .toc-short { display: inline; }
  .story-section h2 { margin-bottom: 22px; padding: 14px 16px; font-size: 1.375rem; }
  .story-section h3 { margin-top: 28px; font-size: 1.125rem; }
  .story-section + .story-section { margin-top: 36px; padding-top: 28px; }
  .article-story figure { margin-block: 24px 28px; }
  .article-story figcaption { font-size: .9375rem; }
  .article-story .story-source,.article-story .figure-note { font-size: .875rem; }
  .parcel-comparison { padding: 18px; }
  .parcel-insight strong { font-size: 2rem; }
  .parcel-chart { grid-template-columns: 1fr; gap: 18px; }
  .parcel-comparison .parcel-insight { grid-row: auto; }
  .workload-scenes { gap: 16px; }
  .workload-scene > p { font-size: .875rem; }
  .workload-scene > strong { margin-top: 10px; font-size: .875rem; }
  .cost-table,.cost-table caption,.cost-table thead,.cost-table tbody { display: block; }
  .cost-table { font-size: .9375rem; line-height: 1.85; }
  .cost-table thead { position: sticky; top: calc(var(--article-header-height) + var(--article-nav-height)); z-index: 1; }
  .cost-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .cost-table th,.cost-table td { min-width: 0; padding: 12px; }
  .cost-table thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; white-space: nowrap; }
  .cost-table tbody th { grid-column: 1/-1; padding-block: 8px; }
  .cost-table td[colspan] { grid-column: 1/-1; }
  .article-credits { grid-template-columns: 56px minmax(0,1fr); gap: 12px 16px; padding: 20px; }
  .article-credits-icon { grid-row: auto; width: 56px; height: 56px; }
  .article-credits-heading { display: contents; }
  .article-credits-title { align-self: center; margin: 0; }
  .article-credits-name { grid-column: 1/-1; }
  .article-credits-description { grid-column: 1/-1; }
  .article-contact { margin-top: 36px; padding-top: 26px; }
  .article-contact h2 { font-size: 1.25rem; }
  .article-contact-button { width: 100%; padding-inline: 14px; font-size: .9375rem; }
}

@media (max-width: 620px) {
  .article-detail-page { --article-header-height: 62px; }
}
@media (max-width: 360px) {
  .article-entry-copy { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .article-entry,.article-toc a { transition: none; }
}
