/* Home hero: one undistorted image, one message, one clear decision */
.hero { position: relative; height: clamp(500px, calc(100svh - var(--uci-header) - 72px), 620px); min-height: 500px; display: grid; align-items: stretch; overflow: hidden; background: var(--uci-white); border-bottom: 1px solid var(--uci-line); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.97) 26%, rgba(255,255,255,.76) 39%, rgba(255,255,255,.16) 56%, rgba(255,255,255,0) 70%); }
.hero-inner { position: relative; display: flex; align-items: center; }
.hero-copy { width: min(470px, 40%); padding-block: 54px; }
.hero h1 { max-width: 460px; margin-bottom: 20px; color: var(--uci-forest); font-size: clamp(48px,4.1vw,60px); letter-spacing: -.05em; }
.hero-lead { max-width: 430px; margin-bottom: 0; color: #4e5a55; font-size: 17px; line-height: 1.75; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-caption { position: absolute; right: var(--uci-gutter); bottom: 18px; margin: 0; padding: 7px 11px; background: rgba(255,255,255,.76); color: #53605b; font-size: 12px; letter-spacing: .02em; backdrop-filter: blur(12px); }

/* Each card is one field story and one clear destination. */
.field-stories { padding-block: 54px 64px; overflow: hidden; background: #f5f5f3; }
.field-stories-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.field-stories-heading .kicker { margin-bottom: 8px; }
.field-stories-heading h2 { margin: 0; color: var(--uci-forest); font-size: clamp(34px,3vw,44px); }
.field-stories-heading > p { max-width: 390px; margin: 0 0 4px; color: var(--uci-muted); font-size: 16px; }
.field-story-track { display: flex; gap: 18px; overflow-x: auto; padding-inline: max(var(--uci-gutter), calc((100vw - var(--uci-container))/2)); padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.field-story-track::-webkit-scrollbar { display: none; }
.field-story { flex: 0 0 470px; height: 398px; display: grid; grid-template-rows: 146px 1fr; position: relative; overflow: hidden; scroll-snap-align: start; background: #fff; color: var(--uci-text); border-radius: 28px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.field-story:nth-child(2) { flex-basis: 410px; }
.field-story:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,35,29,.09); }
.field-story > img { grid-row: 2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.field-story-drain > img { object-position: center 44%; }
.field-story-pdl > img { object-position: center 54%; }
.field-story-copy { grid-row: 1; padding: 20px 72px 12px 25px; display: flex; flex-direction: column; }
.field-story-label { margin-bottom: 6px; color: var(--uci-teal); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.field-story-copy strong { margin-bottom: 5px; color: var(--uci-forest); font-size: 23px; line-height: 1.22; letter-spacing: -.025em; }
.field-story-copy > span:last-child { color: #62706a; font-size: 13.5px; line-height: 1.45; }
.field-story-arrow { position: absolute; z-index: 2; top: 22px; right: 22px; width: 42px; height: 42px; display: grid; place-items: center; background: #f7f8f6; color: var(--uci-forest); border: 1px solid rgba(16,35,29,.11); border-radius: 50%; font-size: 20px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.field-story:hover .field-story-arrow { background: var(--uci-forest); color: #fff; transform: translateX(2px); }
.field-story-all { flex-basis: 330px; grid-template-rows: 1fr; background: var(--uci-forest); }
.field-story-all .field-story-copy { grid-row: 1; justify-content: end; padding: 28px; }
.field-story-all .field-story-label { color: #83c9bc; }
.field-story-all .field-story-copy strong { color: #fff; font-size: 29px; }
.field-story-all .field-story-copy > span:last-child { color: rgba(255,255,255,.72); }
.field-story-all .field-story-arrow { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }

/* Need finder: Apple-like motion, UCI problem-first content */
.solution-finder { padding-block: clamp(56px,6.5vw,var(--uci-section)); overflow: hidden; background: var(--uci-white); }
.section-heading { margin-bottom: clamp(24px,3vw,38px); }
.solution-intro { display: grid; grid-template-columns: 1fr minmax(300px,420px); align-items: end; gap: 16px 64px; }
.solution-intro .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.solution-intro h2 { margin-bottom: 0; color: var(--uci-forest); font-size: clamp(36px,3.2vw,46px); }
.solution-intro > p:last-child { margin-bottom: 3px; color: var(--uci-muted); font-size: 16px; }
.solution-groups { margin-bottom: 22px; display: flex; gap: 28px; overflow-x: auto; scroll-margin-top: calc(var(--uci-header) + 12px); scrollbar-width: none; }
.solution-groups::-webkit-scrollbar { display: none; }
.solution-groups button { position: relative; min-height: 36px; padding: 0 0 8px; border: 0; background: transparent; color: #6a746f; cursor: pointer; white-space: nowrap; font-size: 14px; font-weight: 600; }
.solution-groups button::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--uci-teal); content: ""; opacity: 0; transform: scaleX(.35); transition: opacity .2s ease, transform .2s ease; }
.solution-groups button:is(:hover,:focus-visible) { color: var(--uci-forest); }
.solution-groups button.is-active { color: var(--uci-forest); }
.solution-groups button.is-active::after { opacity: 1; transform: scaleX(1); }
.solution-path-carousel { position: relative; }
.solution-paths { --card-width: min(360px,28vw); display: flex; gap: 18px; overflow-x: auto; padding-inline: max(var(--uci-gutter), calc((100vw - var(--uci-container))/2)); padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.solution-paths::-webkit-scrollbar { display: none; }
.solution-path { --card-surface: #f2f3f0; flex: 0 0 var(--card-width); height: 390px; display: grid; grid-template-rows: 138px 1fr; overflow: hidden; position: relative; isolation: isolate; scroll-snap-align: start; background: var(--card-surface); border: 0; border-radius: 26px; color: var(--uci-text); }
.solution-path-v8,.solution-path-machine { --card-surface: #eef2f0; }
.solution-path-thermal,.solution-path-adhesion { --card-surface: #f4f0e8; }
.solution-path-pmax { --card-surface: #eef1f2; }
.solution-path-jx { --card-surface: #f4f4ef; }
.solution-path-surface { --card-surface: #fbf8f2; }
.solution-path-dci { --card-surface: #edf3f0; }
.solution-path > img { z-index: -1; grid-row: 2; align-self: stretch; width: 100%; height: 100%; min-height: 0; padding: 8px 24px 22px; object-fit: contain; object-position: center bottom; filter: none; transform: none; }
.solution-path-pipe > img { padding: 0; object-fit: contain; object-position: right bottom; }
.solution-path-v8 > img { padding: 0; object-fit: contain; object-position: right center; transform: scale(1.28); transform-origin: right center; }
.solution-path-surface > img { padding: 12px 8px 16px; object-fit: cover; object-position: center; }
.solution-path-adhesion > img { padding: 18px 12px 25px; }
.solution-path-dci > img { padding: 6px 34px 20px; }
.solution-path-shade { display: none; }
.solution-path-content { grid-row: 1; min-width: 0; padding: 25px 72px 10px 26px; display: block; }
.solution-path-audience { margin-bottom: 8px; color: var(--uci-teal); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.solution-path h3 { max-width: 300px; margin-bottom: 7px; color: var(--uci-forest); font-size: clamp(23px,1.7vw,27px); line-height: 1.25; letter-spacing: -.02em; }
.solution-path-content > p:not(.solution-path-audience) { max-width: 300px; margin-bottom: 0; color: #62706a; font-size: 14px; line-height: 1.55; }
.solution-path-actions { position: absolute; z-index: 3; top: 24px; right: 24px; margin: 0; padding: 0; }
.solution-path-link { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; padding: 0; background: rgba(255,255,255,.78); color: var(--uci-forest); border: 1px solid rgba(16,35,29,.12); border-radius: 50%; font-size: 0; line-height: 1; backdrop-filter: blur(9px); transition: background .2s ease,color .2s ease,transform .2s ease; }
.solution-path-link span { font-size: 21px; transform: translateX(-1px); }
.solution-path-link:hover { background: var(--uci-forest); color: #fff; border-color: var(--uci-forest); transform: translateX(2px); }
.carousel-arrow { position: absolute; z-index: 4; top: 61%; width: 46px; height: 46px; transform: translateY(-50%); border: 1px solid rgba(16,35,29,.12); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--uci-forest); font-size: 25px; line-height: 1; box-shadow: 0 6px 18px rgba(16,35,29,.06); cursor: pointer; backdrop-filter: blur(8px); }
.carousel-previous { left: 18px; }
.carousel-next { right: 18px; }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.carousel-status { display: none; }
.finder-other-routes { padding-top: 18px; display: flex; justify-content: space-between; color: var(--uci-muted); font-size: 14px; }
.finder-other-routes a { color: var(--uci-forest); font-weight: 700; }

/* Why UCI: the second editorial banner reverses the hero's reading direction. */
.why-uci-banner { position: relative; min-height: 500px; margin-bottom: 40px; display: grid; align-items: stretch; overflow: hidden; background: var(--uci-white); border-top: 1px solid var(--uci-line); }
.why-uci-background { position: absolute; top: 0; bottom: 0; left: 0; width: 62%; height: 100%; object-fit: cover; object-position: center; transform: scaleX(-1); }
.why-uci-shade { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 44%, rgba(255,255,255,.22) 51%, rgba(255,255,255,.92) 61%, var(--uci-white) 68%); }
.why-uci-inner { position: relative; z-index: 2; display: grid; align-items: center; justify-items: end; }
.why-uci-copy { width: min(440px,39%); padding-block: 64px; }
.why-uci-copy h2 { max-width: 430px; margin-bottom: 18px; color: var(--uci-forest); font-size: clamp(44px,3.8vw,52px); }
.why-uci-lead { max-width: 410px; margin-bottom: 24px; color: var(--uci-muted); font-size: 17px; line-height: 1.72; }

/* Visit */
.visit-uci { min-height: 480px; display: grid; grid-template-columns: 1.06fr .94fr; background: var(--uci-mist); border-top: 1px solid var(--uci-line); }
.visit-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; filter: saturate(.38) contrast(.94) brightness(1.05); }
.visit-info { padding: var(--uci-gutter); display: grid; align-items: center; background: var(--uci-mist); }
.visit-info-inner { max-width: 520px; }
.visit-info h2 { margin-bottom: 18px; color: var(--uci-forest); font-size: clamp(34px,3.5vw,48px); }
.visit-intro { color: var(--uci-muted); }
.visit-details { margin-block: 28px; }
.visit-details > div { padding-block: 14px; border-top: 1px solid var(--uci-line); }
.visit-details dt { color: var(--uci-muted); font-size: 13px; }
.visit-details dd { margin: 4px 0 0; }
.visit-actions { display: flex; align-items: center; gap: 22px; }
.visit-call { padding-bottom: 3px; color: var(--uci-forest); border-bottom: 1px solid #aeb8b3; font-weight: 700; }

@media (max-width: 1000px) {
  .hero-copy { width: min(440px, 47%); }
  .hero-veil { background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.95) 34%, rgba(255,255,255,.56) 50%, rgba(255,255,255,.03) 71%); }
  .solution-paths { --card-width: min(360px,39vw); }
  .why-uci-background { width: 64%; }
  .why-uci-copy { width: 40%; }
  .why-uci-banner { margin-bottom: 32px; }
}

@media (max-width: 780px) {
  .hero { height: auto; min-height: 0; padding-top: min(62vw, 252px); display: block; }
  .hero-media { bottom: auto; height: min(62vw,252px); background: #e8ece9; }
  .hero-media img { object-position: 73% 48%; }
  .hero-veil { top: min(62vw,252px); background: var(--uci-white); }
  .hero-inner { position: relative; z-index: 2; min-height: 174px; align-items: flex-start; padding-block: 22px 30px; }
  .hero-copy { position: relative; width: 100%; padding: 0; }
  .hero .kicker { position: absolute; z-index: 2; top: calc(-1 * min(62vw, 252px) + 12px); left: 0; margin: 0; color: #b9e1da; font-size: 11px; text-shadow: 0 1px 14px rgba(0,0,0,.34); }
  .hero h1 { position: absolute; z-index: 2; top: calc(-1 * min(62vw, 252px) + 45px); left: 0; max-width: 48%; margin: 0; color: var(--uci-white); font-size: clamp(36px,9.6vw,40px); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  .hero-lead { max-width: 560px; margin: 0; color: var(--uci-muted); font-size: 16px; line-height: 1.68; }
  .hero-actions { margin-top: 17px; }
  .hero-actions .button { min-width: 0; min-height: 44px; }
  .hero-actions .hero-case-link { width: auto; padding: 0 2px 2px; justify-content: flex-start; gap: 13px; background: transparent; color: var(--uci-forest); border: 0; border-bottom: 1px solid #9da8a2; font-size: 15px; letter-spacing: .015em; }
  .hero-actions .hero-case-link:hover { background: transparent; color: var(--uci-teal); border-color: var(--uci-teal); }
  .hero-caption { display: none; }
  .field-stories { padding-block: 40px 46px; }
  .field-stories-heading { margin-bottom: 19px; display: block; }
  .field-stories-heading .kicker { margin-bottom: 6px; }
  .field-stories-heading h2 { font-size: 32px; }
  .field-stories-heading > p { margin-top: 9px; font-size: 15px; }
  .field-story-track { gap: 14px; padding-right: 38px; }
  .field-story { flex-basis: calc(100vw - 54px); height: 370px; grid-template-rows: 136px 1fr; border-radius: 24px; }
  .field-story:nth-child(2),.field-story-all { flex-basis: calc(100vw - 54px); }
  .field-story-copy { padding: 17px 60px 10px 20px; }
  .field-story-copy strong { font-size: 21px; }
  .field-story-arrow { top: 18px; right: 18px; width: 38px; height: 38px; font-size: 18px; }
  .field-story-all .field-story-copy { padding: 24px; }
  .field-story-all .field-story-copy strong { font-size: 27px; }
  .solution-intro { grid-template-columns: 1fr; gap: 12px; }
  .solution-intro .kicker { grid-column: auto; }
  .section-heading { margin-bottom: 22px; }
  .solution-intro h2 { font-size: clamp(30px,8vw,35px); }
  .solution-intro > p:last-child { font-size: 16px; }
  .solution-groups { margin-right: calc(-1 * var(--uci-gutter)); margin-bottom: 18px; gap: 24px; overflow-x: auto; padding-right: var(--uci-gutter); }
  .solution-groups button { width: auto; min-height: 34px; padding: 0 0 7px; font-size: 14px; }
  .solution-path-carousel { display: block; }
  .solution-paths { --card-width: min(470px,calc(100vw - 54px)); gap: 14px; padding-right: 38px; padding-bottom: 10px; }
  .solution-path { height: 392px; min-height: 0; grid-template-rows: 136px 1fr; border-radius: 24px; }
  .solution-path > img { min-width: 0; min-height: 0; height: 100%; object-fit: contain; object-position: center bottom; }
  .solution-path-pipe > img { padding: 0; object-fit: contain; object-position: right bottom; }
  .solution-path-v8 > img { padding: 0; object-fit: contain; object-position: right center; transform: scale(1.2); transform-origin: right center; }
  .solution-path-dci > img { padding: 6px 32px 18px; }
  .solution-path-content { padding: 21px 64px 8px 21px; }
  .solution-path-audience { margin-bottom: 7px; font-size: 11px; }
  .solution-path h3 { margin-bottom: 5px; font-size: 22px; }
  .solution-path-content > p:not(.solution-path-audience) { display: -webkit-box; overflow: hidden; color: var(--uci-muted); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .solution-path-actions { top: 20px; right: 20px; }
  .solution-path-link { width: 38px; height: 38px; }
  .solution-path-link span { font-size: 19px; }
  .carousel-arrow { position: absolute; top: 60%; width: 42px; height: 42px; display: grid; place-items: center; transform: translateY(-50%); border-color: rgba(16,35,29,.12); box-shadow: 0 6px 18px rgba(16,35,29,.06); font-size: 22px; }
  .carousel-previous { left: 12px; }
  .carousel-next { right: 12px; }
  .carousel-arrow:disabled { opacity: .28; pointer-events: none; }
  .carousel-status { display: none; }
  .finder-other-routes { align-items: flex-start; flex-direction: column; }
  .finder-other-routes { gap: 6px; }
  .why-uci-banner { min-height: 0; margin-bottom: 24px; padding-top: min(66vw,260px); display: block; }
  .why-uci-background { top: 0; bottom: auto; width: 100%; height: min(66vw,260px); object-position: center 52%; transform: scaleX(-1); }
  .why-uci-shade { bottom: auto; height: min(66vw,260px); background: linear-gradient(180deg, rgba(4,14,11,.02) 0%, rgba(4,14,11,.08) 68%, rgba(255,255,255,.44) 84%, rgba(255,255,255,.96) 97%, var(--uci-white) 100%); }
  .why-uci-inner { position: relative; z-index: 2; width: 100%; justify-items: start; }
  .why-uci-copy { position: relative; width: 100%; padding-block: 20px 38px; }
  .why-uci-copy .kicker { position: absolute; z-index: 2; top: calc(-1 * min(66vw, 260px) + 23px); right: 0; width: 50%; margin: 0; color: #b9e1da; font-size: 11px; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
  .why-uci-copy h2 { position: absolute; z-index: 2; top: calc(-1 * min(66vw, 260px) + 56px); right: 0; width: 50%; max-width: none; margin: 0; color: var(--uci-white); font-size: clamp(29px,7.8vw,33px); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
  .why-uci-lead { max-width: 560px; margin-bottom: 18px; color: var(--uci-muted); font-size: 16px; line-height: 1.68; }
  .why-uci-copy .button { min-height: 46px; }
  .visit-uci { grid-template-columns: 1fr; }
  .visit-info { order: 0; padding-block: 42px 46px; }
  .visit-info h2 { font-size: clamp(32px,8.5vw,38px); }
  .visit-details { margin-block: 22px; }
  .visit-map { order: 1; }
  .visit-map iframe { min-height: 260px; }
  .visit-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header .brand { max-width: calc(100% - 64px); }
  .site-header .brand-logo { width: 86px; height: auto; }
  .solution-path { height: 388px; min-height: 0; grid-template-rows: 134px 1fr; }
}

@media (max-width: 500px) {
  .solution-path-pipe > img { object-fit: cover; object-position: right center; }
  .solution-path-v8 > img { transform: scale(1.48); }
}
