/* Shared solution presentation. No selectors target the header, footer or homepage. */
.solution-page { background: #fff; }
.solution-page main { color: var(--site-text); }
.solution-page .solution-inner { width: min(100% - 64px, 1200px); margin-inline: auto; }
.solution-page :is(.solution-intro, .solution-section) { padding-block: clamp(36px, 3.3vw, 48px); }
.solution-page .solution-intro { padding-top: clamp(32px, 3vw, 44px); padding-bottom: 12px; text-align: center; }
.solution-page main h1 { max-width: 34ch; margin: 0 auto; font-size: var(--site-title-page); font-weight: var(--site-weight-title); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.solution-page .solution-intro p { max-width: 78ch; margin: 18px auto 0; color: var(--site-text); font-size: var(--site-text-lead); line-height: var(--site-reading-line); }
.solution-page .solution-section { scroll-margin-top: var(--solution-anchor-offset, 132px); }
.solution-page main [hidden] { display: none !important; }
.solution-page .solution-section--cream { background: var(--site-surface-soft); }
.solution-page .solution-heading { margin-bottom: 28px; text-align: center; }
.solution-page main h2 { margin: 0; font-size: var(--site-title-section); font-weight: var(--site-weight-section); line-height: 1.3; text-wrap: balance; overflow-wrap: anywhere; }
.solution-page main h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.solution-page main p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.solution-page :is(.solution-entry, .solution-entry-copy, .solution-project) { min-width: 0; }

/* Technical explanations: small engineering drawings beside readable text, not cards. */
.solution-page :is(.solution-entries, .solution-modules) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 48px; }
.solution-page .solution-entry { padding: 0; border: 0; }
.solution-page .solution-entry--technical { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 20px; }
.solution-page .solution-entry--technical .solution-entry-copy { display: block; min-width: 0; }
.solution-page .solution-entry--technical h3 { font-size: 1.15rem; }
.solution-page .solution-entry-drawing { width: 100%; margin-top: 3px; color: var(--site-brand-green); cursor: default; }
.solution-page .solution-entry-drawing > svg { width: 100%; height: auto; }
.solution-page .solution-media:not([hidden]) { display: grid; gap: 16px; }
.solution-page .solution-media figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.solution-page .solution-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.solution-page .solution-entry.has-media { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); align-items: center; gap: 36px; }
.solution-page .solution-entry.has-media .solution-media { width: 100%; max-width: 440px; min-width: 0; justify-self: center; }
.solution-page .solution-entry.has-media .solution-entry-drawing { display: none; }
.solution-page .solution-entry.has-media h3 { margin-bottom: 12px; }
.solution-page .solution-entry.has-media .solution-entry-copy { display: block; }

/* The approved Material Flow diagram is the visual reference: 248px drawing band,
   centered captions, fine green linework and a plain + / direction operator. */
.solution-page .engineering-equation { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 36px minmax(0, 1.15fr); align-items: start; gap: 18px; }
.solution-page .engineering-equation--four { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 30px minmax(0, 1.15fr); gap: 12px; }
.solution-page .engineering-component { min-width: 0; margin: 0; cursor: default; }
.solution-page .engineering-illustration { display: flex; height: 248px; align-items: center; justify-content: center; color: var(--site-brand-green); }
.solution-page .engineering-illustration > svg { width: 100%; height: 100%; max-width: 360px; }
.solution-page .engineering-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 8px; }
.solution-page .engineering-piece { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 6px; }
.solution-page .engineering-piece > [data-engineering] { width: 100%; max-width: 170px; height: 76px; }
.solution-page .engineering-piece svg { width: 100%; height: 100%; }
.solution-page .engineering-piece > span { max-width: 100%; color: var(--site-text-secondary); font-size: .8rem; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.solution-page .engineering-component figcaption { margin-top: 18px; text-align: center; }
.solution-page .engineering-component h3 { margin-bottom: 8px; font-size: 1.1rem; line-height: 1.4; }
.solution-page .engineering-component p { color: var(--muted); font-size: .91rem; line-height: 1.55; }
.solution-page .engineering-operator { display: flex; height: 248px; align-items: center; justify-content: center; color: var(--site-brand-green); font-size: 2rem; font-weight: 400; line-height: 1; }
.solution-page .engineering-svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.solution-page .engineering-svg :is(path, rect, circle, ellipse, line, polyline) { vector-effect: non-scaling-stroke; }
.solution-page .engineering-svg .engineering-surface { fill: var(--site-surface-soft); }
.solution-page .engineering-svg .engineering-solid { fill: currentColor; }
.solution-page .engineering-svg .engineering-detail { stroke-width: 1; stroke-opacity: .65; }
.solution-page .engineering-svg .engineering-route { stroke-dasharray: 4 5; }
.solution-page .engineering-svg .engineering-construction { stroke-width: 1; stroke-dasharray: 3 5; stroke-opacity: .3; }

/* Image-led project presentation uses only approved, existing project covers. */
.solution-page .solution-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.solution-page .solution-project { display: flex; min-width: 0; flex-direction: column; gap: 16px; border: 0; padding: 0; }
.solution-page .solution-project-cover { aspect-ratio: 3 / 2; margin: 0; overflow: hidden; }
.solution-page .solution-project-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.solution-page .solution-project-copy { display: grid; grid-template-rows: 1fr auto; flex: 1; gap: 10px; min-width: 0; }
.solution-page .solution-project h3 { margin: 0; font-size: 1.1rem; line-height: 1.45; }
.solution-page .solution-project-keywords { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; color: var(--site-text-secondary); font-size: .875rem; line-height: 1.55; }
.solution-page .solution-project-keywords li { min-width: 0; overflow-wrap: anywhere; }
.solution-page .solution-project-keywords li:not(:last-child)::after { content: '·'; margin-left: 12px; opacity: .65; }
/* One confirmed case should not leave two empty project columns. */
.solution-page .solution-projects--single { display: block; }
.solution-page .solution-projects--single .solution-project { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); align-items: center; gap: 36px; }
.solution-page .solution-projects--single .solution-project-copy { display: grid; grid-template-rows: auto auto; gap: 12px; }
.solution-page .solution-projects--single h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }

/* Business-specific sentence + the existing preparation resource, not a second checklist. */
.solution-page .solution-section.solution-design { padding-block: 30px; }
.solution-page .solution-design .solution-heading { margin-bottom: 12px; text-align: left; }
.solution-page .solution-design h2 { font-size: var(--site-title-compact); line-height: 1.35; text-wrap: pretty; }
.solution-page .solution-design-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.solution-page .solution-design-text { min-width: 0; max-width: 85ch; }
.solution-page .solution-design-link { display: flex; align-items: center; min-height: 44px; max-width: 20rem; color: var(--site-brand-green); font-size: .95rem; font-weight: 500; line-height: 1.55; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; transition: opacity var(--site-feedback-time, 220ms) var(--site-feedback-ease, ease); cursor: pointer; }
.solution-page .solution-design-link:focus-visible { outline: 2px solid var(--site-brand-green); outline-offset: 4px; }
.solution-page .solution-inquiry { background: var(--site-surface); text-align: center; }
.solution-page .solution-inquiry .solution-inner { max-width: 920px; }
.solution-page .solution-inquiry h2 { max-width: 30ch; margin-inline: auto; font-size: var(--site-title-section); line-height: 1.2; }
.solution-page .solution-inquiry p { max-width: 60ch; margin: 14px auto 24px; font-size: var(--site-text-lead); }
.solution-page .solution-inquiry-primary { min-width: 190px; min-height: 56px; max-width: 100%; padding: 15px 28px; border-radius: 0; box-shadow: none; font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) {
  .solution-page .solution-design-link:hover { opacity: .75; }
}
@media (max-width: 1000px) {
  .solution-page .solution-inner { width: calc(100% - 48px); }
  .solution-page :is(.engineering-equation, .engineering-equation--four) { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .solution-page .engineering-component { width: 100%; max-width: 400px; }
  .solution-page .engineering-operator { height: 26px; font-size: 1.8rem; }
  .solution-page .engineering-operator--direction { transform: rotate(90deg); }
  .solution-page .engineering-component figcaption { margin-top: 12px; }
  .solution-page .solution-entry--technical { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .solution-page :is(.solution-entries, .solution-modules) { column-gap: 28px; }
}
@media (max-width: 720px) {
  .solution-page .solution-inner { width: calc(100% - 36px); }
  .solution-page :is(.solution-intro, .solution-section) { padding-block: 36px; }
  .solution-page .solution-intro { padding-top: 28px; padding-bottom: 8px; }
  .solution-page .solution-intro p { font-size: 1rem; }
  .solution-page .solution-heading { margin-bottom: 24px; }
  .solution-page :is(.solution-entries, .solution-modules, .solution-projects) { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .solution-page .solution-entry--technical { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .solution-page .solution-entry--technical h3 { font-size: 1.1rem; }
  .solution-page .solution-entry.has-media { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .solution-page .solution-entry.has-media .solution-media { width: 85%; max-width: 320px; }
  .solution-page .solution-projects--single .solution-project { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .solution-page .solution-projects--single h3 { font-size: 1.15rem; }
  .solution-page .solution-design-body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .solution-page .solution-design-link { justify-self: start; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .solution-page :is(.engineering-illustration, .solution-design-link) { transition: none; }
}
