/* Main page — rebuilt after the hero. No decorative numbering, no inherited hero colors. */
.hero-inner { min-height: 500px; }
.hero-clients { position: relative; z-index: 3; padding: 0 0 12px; }
.hero-clients-shell { min-height: 78px; padding: 10px 15px 10px 20px; display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 12px; align-items: center; color: var(--ink); background: rgba(255,255,255,.94); border: 1px solid rgba(211,240,247,.32); border-radius: 21px; box-shadow: 0 20px 54px rgba(0,0,0,.2); backdrop-filter: blur(20px) saturate(1.05); }
.hero-clients h2 { margin: 0; color: #0d516b; font-size: 13px; line-height: 1.15; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.hero-clients-scroll { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hero-clients-scroll::-webkit-scrollbar { display: none; }
.hero-clients-track { min-width: 1020px; display: grid; grid-template-columns: repeat(9,minmax(92px,1fr)); align-items: center; }
.hero-clients-track a { min-width: 0; height: 56px; padding: 3px 8px; display: grid; place-items: center; border-left: 1px solid rgba(13,66,88,.1); border-radius: 10px; transition: background .2s,transform .2s; }
.hero-clients-track a:first-child { border-left: 0; }
.hero-clients-track a:hover,.hero-clients-track a:focus-visible { z-index: 1; background: rgba(104,204,230,.12); transform: translateY(-2px); }
.hero-clients-track img { width: 100%; height: 48px; object-fit: contain; }
.theses-grid { border-top: 0; }
.theses-grid article,.theses-grid .thesis-featured { min-height: 145px; }

.proof { padding: 52px 0; color: var(--ink); background: #f4f7f8; }
.proof-layout { display: grid; grid-template-columns: minmax(245px,.62fr) minmax(0,1.38fr); gap: 42px; align-items: stretch; }
.proof-intro { padding: 22px 0; display: flex; flex-direction: column; justify-content: space-between; border-top: 1px solid rgba(11,48,64,.22); border-bottom: 1px solid rgba(11,48,64,.22); }
.proof-intro span { color: #147fa4; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.proof-intro strong { max-width: 300px; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }
.proof-metrics { overflow: hidden; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(13,50,66,.12); border: 1px solid rgba(13,50,66,.1); border-radius: 23px; box-shadow: 0 18px 50px rgba(7,35,48,.07); }
.proof-metrics > div { min-height: 158px; padding: 22px 14px 18px; display: grid; grid-template-rows: 54px 42px; align-content: center; background: rgba(255,255,255,.96); text-align: center; }
.proof-metrics strong { display: flex; align-items: flex-end; justify-content: center; color: #0b2c3c; font-size: clamp(29px,2.6vw,42px); line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.proof-metrics span { display: flex; align-items: flex-start; justify-content: center; margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.25; }

.solutions { padding: 92px 0 54px; color: var(--ink); background: linear-gradient(180deg,#fbfcfc,#eaf1f3); }
.content-heading { margin-bottom: 52px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.52fr); gap: 70px; align-items: end; }
.content-heading h2 { max-width: 860px; margin: 14px 0 0; font-size: clamp(48px,5vw,72px); line-height: .98; letter-spacing: -.06em; font-weight: 680; text-wrap: balance; }
.content-heading > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.solution-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 12px; }
.solution-tile { min-width: 0; grid-column: span 4; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid rgba(13,50,66,.1); border-radius: 25px; box-shadow: 0 18px 55px rgba(7,34,48,.07); }
.solution-tile-wide { grid-column: span 8; min-height: 480px; display: grid; grid-template-columns: minmax(310px,.9fr) minmax(0,1.1fr); }
.solution-grid > .solution-tile:nth-child(4) { grid-column: span 8; }
.solution-grid > .solution-tile:nth-child(5),.solution-grid > .solution-tile:nth-child(6) { grid-column: span 6; }
.solution-visual { min-height: 275px; padding: 22px; display: grid; place-items: center; background: radial-gradient(circle at 48% 40%,#fff 0 20%,#dcebee 58%,#bad3da 100%); }
.solution-visual img { width: min(78%,330px); height: 245px; object-fit: contain; filter: drop-shadow(0 22px 17px rgba(5,35,48,.2)) saturate(.8); transition: transform .35s ease; }
.solution-tile:hover .solution-visual img { transform: translateY(-5px) scale(1.025); }
.solution-tile-wide .solution-visual { min-height: 100%; }
.solution-tile-wide .solution-visual img { width: min(76%,360px); height: 390px; }
.solution-copy { padding: 30px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.solution-tile-wide .solution-copy { padding: 48px; justify-content: center; }
.solution-type { color: #137fa5; font-size: 13px; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.solution-copy h3 { margin: 16px 0 13px; font-size: clamp(27px,2.5vw,39px); line-height: 1.03; letter-spacing: -.05em; }
.solution-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.58; }
.solution-copy a,.solution-copy > i { margin-top: auto; padding-top: 26px; color: #08779d; font-size: 15px; font-style: normal; font-weight: 800; }
.solution-copy a i { margin-left: 12px; font-style: normal; }
.solution-tile-direction { color: #effaff; background: #082534; border-color: rgba(222,246,252,.13); }
.solution-tile-direction .solution-visual { min-height: 310px; background: linear-gradient(145deg,rgba(4,23,34,.82),rgba(9,87,112,.62)),url('/assets/metal-water-atmosphere-v2.png') center/cover; }
.solution-tile-direction .solution-visual img { width: min(86%,410px); height: 300px; filter: drop-shadow(0 24px 20px rgba(0,0,0,.4)) saturate(.85); }
.solution-tile-direction .solution-type,.solution-tile-direction .solution-copy > i { color: #83e2f4; }
.solution-tile-direction .solution-copy p { color: rgba(234,248,252,.65); }

.journey { position: relative; overflow: hidden; padding: 64px 0 92px; color: #effaff; background: #061b28 url('/assets/metal-water-atmosphere-v2.png') center/cover; }
.journey::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,18,27,.97),rgba(7,48,64,.8)); }
.journey .container { position: relative; z-index: 1; }
.journey-heading { margin-bottom: 50px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.5fr); gap: 70px; align-items: end; }
.journey-heading .kicker { grid-column: 1/-1; }
.journey-heading h2 { max-width: 850px; margin: 12px 0 0; font-size: clamp(48px,5vw,72px); line-height: .98; letter-spacing: -.06em; font-weight: 680; }
.journey-heading > p { margin: 0; color: rgba(233,248,252,.66); font-size: 18px; line-height: 1.62; }
.journey-layout { display: grid; grid-template-columns: minmax(300px,.62fr) minmax(0,1.38fr); gap: 12px; }
.journey-outcome { min-height: 430px; padding: 34px; display: flex; flex-direction: column; border: 1px solid rgba(220,246,252,.16); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045)); backdrop-filter: blur(18px); }
.journey-outcome > span { color: #83e3f5; font-size: 13px; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.journey-outcome > strong { margin-top: auto; font-size: 29px; line-height: 1.18; letter-spacing: -.04em; }
.journey-outcome > a { margin-top: 25px; color: #8fe5f6; font-size: 15px; font-weight: 800; }
.journey-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.journey-stages article { min-height: 210px; padding: 28px; display: grid; grid-template-columns: 16px 1fr; column-gap: 17px; align-content: end; border: 1px solid rgba(220,246,252,.14); border-radius: 20px; background: rgba(8,35,49,.64); backdrop-filter: blur(15px); }
.journey-stages i { width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: #78def3; box-shadow: 0 0 0 7px rgba(120,222,243,.1); }
.journey-stages h3 { margin: 0 0 9px; font-size: 23px; letter-spacing: -.035em; }
.journey-stages p { grid-column: 2; margin: 0; color: rgba(232,247,251,.62); font-size: 15px; line-height: 1.55; }

/* The technical catalog remains open, but reads like a specification rather than a numbered table. */
.equipment { padding: 116px 0; color: var(--ink); background: #f7f9fa; }
.equipment-panel { min-height: 0; grid-template-columns: minmax(285px,.62fr) minmax(0,1.38fr); }
.equipment-panel header { padding: 22px 34px 22px 42px; grid-template-columns: 1fr; align-content: center; color: #f2fbfd; background: linear-gradient(135deg,#0b445f,#0e789b); border-color: rgba(219,245,251,.14); }
.equipment-panel h3 { margin: 0; }
.equipment-panel header b { display: none; }
.equipment-panel-content { padding: 22px 42px 22px 36px; }
.equipment-panel-content p { margin-bottom: 11px; line-height: 1.55; }
.model-links { position: relative; overflow: hidden; color: #effaff; background: #061b28 url('/assets/metal-water-atmosphere-v2.png') center/cover; }
.model-links::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg,rgba(3,18,27,.98),rgba(7,52,69,.82)); }
.model-links .container { position: relative; z-index: 1; }
.model-links .kicker { color: #85e2f5; }
.model-links-grid { gap: 10px; }
.model-links-grid a { grid-template-columns: 1fr 32px; }
.model-links-grid a { color: #f0f9fc; background: rgba(8,35,49,.7); border-color: rgba(219,245,251,.15); backdrop-filter: blur(16px); }
.model-links-grid a:hover,.model-links-grid a:focus-visible { color: #f4fcfe; background: linear-gradient(135deg,rgba(18,116,149,.9),rgba(31,157,187,.78)); border-color: rgba(212,244,251,.32); }
.model-links-grid i { color: #8ee4f5; }
.model-links-grid a > span { display: none; }
.reasons-grid h3 { margin: 0 0 12px; }
.reasons-grid article:last-child { grid-template-columns: minmax(190px,.68fr) minmax(0,1.32fr); gap: 34px; }
.document-card { grid-template-rows: 305px minmax(112px,auto); }
.document-card > span { min-height: 112px; padding: 17px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px; align-content: space-between; }
.document-card b { font-size: 15px; line-height: 1.35; }
.document-card i { align-self: end; color: #08779d; font-size: 14px; }
.partner-logo-grid { gap: 24px 34px; }
.partner-logo-grid > div { min-height: 118px; padding: 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.partner-logo-grid img { height: 76px; filter: none; opacity: 1; }

.document-viewer { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; color: #effaff; background: #041722; border: 0; }
.document-viewer::backdrop { background: #041722; }
.document-viewer-stage { width: 100%; height: 100%; margin: 0; padding: 64px 104px 28px; display: grid; grid-template-rows: minmax(0,1fr) 74px; gap: 18px; }
.document-viewer-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 24px 48px rgba(0,0,0,.38)); }
.document-viewer-stage figcaption { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.document-viewer-stage figcaption span { color: #78dff3; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.document-viewer-stage figcaption strong { max-width: 880px; margin-top: 7px; overflow: hidden; color: #f3fbfd; font-size: 18px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.document-viewer-close,.document-viewer-arrow { position: fixed; z-index: 2; display: grid; place-items: center; color: #f2fbfd; background: rgba(7,42,57,.88); border: 1px solid rgba(222,246,252,.3); border-radius: 50%; cursor: pointer; backdrop-filter: blur(16px); transition: background .2s,transform .2s; }
.document-viewer-close:hover,.document-viewer-arrow:hover { background: #1385a9; }
.document-viewer-close { top: 18px; right: 20px; width: 48px; height: 48px; font-size: 29px; }
.document-viewer-arrow { top: 50%; width: 56px; height: 56px; font-size: 27px; transform: translateY(-50%); }
.document-viewer-prev { left: 22px; }
.document-viewer-next { right: 22px; }
.document-viewer-arrow:hover { transform: translateY(-50%) scale(1.06); }
.document-viewer:not([open]) { display: none; }
body:has(.document-viewer[open]) { overflow: hidden; }

@media (max-width: 980px) {
  .hero-inner { min-height: 390px; }
  .hero-clients-shell { grid-template-columns: 104px minmax(0,1fr); }
  .hero-clients-track { min-width: 980px; }
  .theses-grid article,.theses-grid .thesis-featured { min-height: 140px; }
  .proof-layout { grid-template-columns: 1fr; gap: 22px; }
  .proof-intro { min-height: 120px; }
  .proof-intro strong { max-width: 520px; }
  .content-heading,.journey-heading { grid-template-columns: 1fr; gap: 24px; }
  .solution-tile-wide { grid-column: 1/-1; }
  .solution-grid > .solution-tile:nth-child(2),.solution-grid > .solution-tile:nth-child(3) { grid-column: span 6; }
  .solution-grid > .solution-tile:nth-child(4) { grid-column: 1/-1; }
  .journey-layout { grid-template-columns: 1fr; }
  .journey-outcome { min-height: 280px; }
}

@media (max-width: 700px) {
  .hero-clients { padding-bottom: 8px; }
  .hero-clients-shell { width: 100%; min-height: 88px; padding: 9px 0 9px 15px; grid-template-columns: 78px minmax(0,1fr); gap: 5px; border-inline: 0; border-radius: 0; }
  .hero-clients h2 { font-size: 11px; }
  .hero-clients-track { min-width: 900px; }
  .hero-clients-track a { height: 62px; padding-inline: 6px; }
  .hero-clients-track img { height: 54px; }
  .theses-grid article,.theses-grid .thesis-featured { min-height: 72px; }
  .proof { padding: 38px 0; }
  .proof-intro { min-height: 108px; }
  .proof-intro strong { font-size: 23px; }
  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .proof-metrics > div { min-height: 132px; padding: 16px 10px 13px; grid-template-rows: 42px 39px; }
  .proof-metrics strong { font-size: 30px; }
  .proof-metrics span { margin-top: 8px; font-size: 13px; }
  .solutions { padding: 64px 0 40px; }
  .journey { padding: 48px 0 64px; }
  .equipment { padding: 70px 0; }
  .content-heading,.journey-heading { margin-bottom: 34px; }
  .content-heading h2,.journey-heading h2 { font-size: 38px; }
  .content-heading > p,.journey-heading > p { font-size: 16px; }
  .solution-grid { grid-template-columns: 1fr; gap: 10px; }
  .solution-tile,.solution-tile-wide,.solution-grid > .solution-tile:nth-child(n) { grid-column: 1; display: flex; }
  .solution-tile { border-radius: 20px; }
  .solution-visual,.solution-tile-direction .solution-visual { min-height: 220px; }
  .solution-visual img,.solution-tile-wide .solution-visual img,.solution-tile-direction .solution-visual img { height: 205px; }
  .solution-copy,.solution-tile-wide .solution-copy { padding: 25px; }
  .solution-copy h3 { font-size: 29px; }
  .journey-outcome { min-height: 245px; padding: 26px; }
  .journey-outcome > strong { font-size: 25px; }
  .journey-stages { grid-template-columns: 1fr; }
  .journey-stages article { min-height: 185px; padding: 24px; }
  .equipment-panel { grid-template-columns: 1fr; }
  .equipment-panel header { padding: 20px 18px; }
  .equipment-panel-content { padding: 20px 18px 22px; }
  .equipment-panel-featured header { margin-inline: 0; }
  .reasons-grid article:last-child { display: block; }
  .document-card { grid-template-rows: 285px minmax(108px,auto); }
  .document-card img { height: 285px; }
  .document-viewer-stage { padding: 70px 12px 116px; grid-template-rows: minmax(0,1fr) 64px; gap: 8px; }
  .document-viewer-stage figcaption strong { max-width: 92vw; font-size: 16px; white-space: normal; }
  .document-viewer-close { top: 12px; right: 12px; }
  .document-viewer-arrow { top: auto; bottom: 22px; width: 52px; height: 52px; transform: none; }
  .document-viewer-prev { left: 18px; }
  .document-viewer-next { right: 18px; }
  .document-viewer-arrow:hover { transform: scale(1.05); }
}
