/* URAY homepage: an unchanged hero followed by five focused sections. */
[hidden] { display: none !important; }
.home-services .section-heading { max-width: 1000px; }
.home-services .section-heading h2 { max-width: 1000px; }
.home-services .lead { max-width: 900px; }
.service-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.service-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 22px 18px; text-align: left; color: var(--muted); font-weight: 700; font-size: 1rem; line-height: 1.5; }
.tab-number { display: block; font-size: .875rem; font-weight: 800; color: #16727b; margin-bottom: 10px; }
.service-tabs button[aria-selected=true] { background: #eef8fa; border-color: var(--teal); color: var(--navy); }
.service-tabs button:hover { background: #f1f7f8; }
.service-panel { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 500px; background: var(--paper); }
.service-panel figure { min-width: 0; position: relative; background: #e9f0f2; }
.service-panel figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.service-panel figure figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; font-size: .8125rem; line-height: 1.5; background: #ffffffed; color: #374d5b; }
.service-panel-copy { padding: clamp(28px,3.5vw,52px); }
.service-panel-copy h3 { font-size: clamp(1.6rem,2.7vw,2.45rem); }
.service-panel-copy>p:not(.eyebrow) { color: var(--muted); }
.service-points { list-style: none; padding: 0; margin: 26px 0; }
.service-points li { padding: 9px 0 9px 22px; border-bottom: 1px solid #cddce1; position: relative; }
.service-points li::before { content: '+'; position: absolute; left: 0; color: #126e79; font-weight: 800; }
.technology-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 36px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.technology-note strong { display: block; font-size: 1.125rem; margin-bottom: 5px; }
.technology-note p { margin: 0; max-width: 760px; color: var(--muted); }
.technology-note .text-link { flex-shrink: 0; }
.technology-note { background: #eff7fa; padding: 32px; border-left: 3px solid var(--teal); align-items: flex-start; }
.technology-note h3 { font-size: 1.65rem; margin-bottom: 16px; }
.technology-note .eyebrow { margin-bottom: 12px; color: #136d75; }
.technology-note .text-link { max-width: 245px; flex-shrink: 1; align-self: center; }
.geek-capability { background: #f1f6f8; }
.geek-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 6%; margin-bottom: 45px; }
.geek-intro img { width: 100%; height: 370px; object-fit: cover; }
.geek-intro figcaption { font-size: .875rem; color: var(--muted); padding-top: 10px; }
.geek-intro figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.geek-intro h3 { font-size: 2rem; }
.geek-intro>div>p:not(.eyebrow) { color: var(--muted); }
.geek-records { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.geek-records article { background: var(--navy); color: white; padding: 34px; }
.geek-records .eyebrow,.geek-records .text-link { color: var(--cyan); }
.geek-records article>p:not(.eyebrow) { color: #c7d6df; }
.geek-record-note { margin: 24px 0 64px; }
.capability-matrix { border-top: 1px solid #bfcfd6; }
.capability-matrix article { display: grid; grid-template-columns: 34px minmax(0,1fr) 240px; gap: 26px; border-bottom: 1px solid #bfcfd6; padding: 28px 0; align-items: start; }
.capability-matrix article>span { color: #136d75; font-weight: 800; }
.capability-matrix h3 { font-size: 1.35rem; margin-bottom: 10px; }
.capability-matrix p { color: var(--muted); margin: 0; }
.capability-matrix .text-link { justify-self: end; font-size: .9375rem; }
.other-platforms { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6%; border-top: 1px solid #bfcfd6; padding-top: 32px; }
.other-platforms>p { color: var(--muted); margin: 0; }
.project-role-summary { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 24px; width: 100%; }
.project-role-summary h4 { font-size: .9375rem; font-weight: 800; margin: 0 0 12px; }
.project-role-summary ul { padding-left: 18px; margin: 0; font-size: .9375rem; }
.project-role-summary li { margin-bottom: 8px; }
.project-card:first-child .project-role-summary { border-color: #ffffff40; }
@media(max-width:800px) {
  .geek-intro,.geek-records,.other-platforms { grid-template-columns: 1fr; gap: 28px; }
  .geek-intro img { height: auto; }
  .capability-matrix article { grid-template-columns: 28px minmax(0,1fr); gap: 16px; }
  .capability-matrix .text-link { grid-column: 2; justify-self: start; }
  .technology-note { padding: 24px; }
  .technology-note .text-link { max-width: none; }
}
.home-features { background: var(--navy); color: white; }
.home-features .eyebrow { color: var(--cyan); }
.feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 36px; }
.feature-grid article { border-top: 1px solid #ffffff35; padding-top: 28px; }
.feature-grid svg { color: var(--cyan); margin-bottom: 28px; }
.feature-grid h3 { font-size: 1.4rem; }
.feature-grid p { color: #c1d0d8; margin-bottom: 0; }
.standards-note { border-top: 1px solid #ffffff35; padding-top: 26px; margin: 42px 0 0; color: #c1d0d8; font-size: .9375rem; }
.heading-with-link { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; }
.heading-with-link>.text-link { flex-shrink: 0; margin-top: 38px; }
.delivery-stages { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.delivery-stages>li { min-width: 0; padding: 0 22px 0 0; position: relative; }
.delivery-stages>li::before { content: ''; position: absolute; top: 25px; left: 0; right: 0; height: 1px; background: #b6ced6; }
.stage-number { display: grid; place-items: center; position: relative; width: 52px; height: 52px; border: 1px solid #137784; border-radius: 50%; background: white; color: #126e79; font-weight: 800; margin-bottom: 26px; }
.delivery-stages summary { cursor: pointer; list-style: none; }
.delivery-stages summary::-webkit-details-marker { display: none; }
.delivery-stages summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.delivery-stages h3 { font-size: 1.25rem; margin-bottom: 12px; }
.stage-summary { display: block; color: var(--muted); }
.detail-label { display: inline-flex; align-items: center; gap: 18px; margin-top: 20px; color: #126a74; font-size: .875rem; font-weight: 800; }
.delivery-stages details[open] .detail-label span { transform: rotate(45deg); }
.delivery-stages details>p { color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin: 20px 0 0; }
.home-industries { background: #eef4f6; }
.industry-showcase { display: grid; grid-template-columns: minmax(230px,.7fr) minmax(0,1.7fr); gap: 30px; }
.industry-tabs { background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 2px; align-self: start; border: 1px solid var(--line); }
.industry-tabs button { display: flex; align-items: center; gap: 14px; padding: 12px; background: transparent; border: 0; text-align: left; color: var(--ink); font-size: 1rem; font-weight: 700; min-height: 54px; }
.industry-tabs button[aria-selected=true] { background: var(--navy); color: white; }
.industry-tabs button:hover:not([aria-selected=true]) { background: #edf6f8; }
.industry-code { width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; font-size: .75rem; }
.industry-arrow { margin-left: auto; }
.industry-panel { background: var(--navy); color: white; min-height: 100%; }
.industry-panel figure { position: relative; }
.industry-panel figure img { width: 100%; height: 320px; object-fit: cover; }
.industry-panel figcaption { position: absolute; top: 15px; right: 15px; max-width: calc(100% - 30px); padding: 5px 12px; background: #ffffffed; color: #374d5b; font-size: .8125rem; }
.industry-copy { padding: 32px 38px; }
.industry-copy h3 { font-size: 2.25rem; }
.industry-copy>p { color: #c7d5dc; }
.industry-copy .eyebrow { color: var(--cyan); font-size: .8125rem; }
.industry-case { border-top: 1px solid #ffffff35; padding-top: 20px; margin-bottom: 24px; }
.industry-case p { margin-bottom: 8px; }
.industry-case .text-link { color: var(--cyan); }
.home-impact { text-align: center; }
.home-impact .section-heading { margin: 0 auto 60px; }
.home-impact .section-heading h2,.home-impact .lead { margin-inline: auto; }
.impact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.impact-item { display: flex; flex-direction: column; align-items: center; padding: 36px 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.impact-item:nth-child(-n+3) { border-top: 1px solid var(--line); }
.impact-item:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.impact-item strong { font-size: clamp(2.6rem,4.5vw,4.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; color: #137680; }
.impact-item:nth-child(2n) strong { color: var(--navy); }
.impact-item h3 { font-size: 1rem; letter-spacing: 0; margin: 18px 0 8px; max-width: 260px; }
.impact-item p { font-size: .875rem; color: var(--muted); margin: 0; }
.impact-item:hover { background: #f2f8fa; }
.impact-note { max-width: 990px; margin: 32px auto 0; font-size: .875rem; color: var(--muted); }
.home-contact { background: var(--teal); padding: 38px 0; }
.home-contact>.wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.home-contact h2 { font-size: clamp(1.7rem,2.6vw,2.6rem); margin: 0; }
@media(max-width:1100px) {
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-tabs button { padding: 18px 12px; }
  .service-panel { grid-template-columns: 1fr 1fr; }
  .industry-showcase { gap: 20px; grid-template-columns: minmax(220px,.8fr) minmax(0,1.4fr); }
  .industry-copy { padding: 28px; }
  .heading-with-link { display: block; }
  .heading-with-link>.text-link { margin: 0 0 34px; }
}
@media(max-width:800px) {
  .service-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel figure { min-height: 300px; }
  .technology-note { display: block; }
  .technology-note .text-link { margin-top: 16px; }
  .delivery-stages { grid-template-columns: 1fr; }
  .delivery-stages>li { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 22px; padding: 0 0 34px; }
  .delivery-stages>li::before { top: 0; bottom: 0; left: 25px; width: 1px; height: auto; right: auto; }
  .delivery-stages>li:last-child::before { display: none; }
  .delivery-stages h3 { margin-top: 10px; }
  .stage-number { margin: 0; }
  .detail-label { margin-top: 12px; }
  .industry-showcase { grid-template-columns: 1fr; }
  .industry-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 10px; }
  .industry-tabs button { font-size: .875rem; gap: 8px; padding: 10px 8px; }
  .industry-arrow { display: none; }
  .industry-panel figure img { height: 280px; }
  .impact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .impact-item:nth-child(n) { border-right: 0; border-top: 0; }
  .impact-item:nth-child(2n+1) { border-right: 1px solid var(--line); }
  .impact-item:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .home-contact>.wrap { flex-direction: column; align-items: flex-start; }
}
@media(max-width:540px) {
  .feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid svg { margin-bottom: 20px; }
  .service-tabs button { font-size: .875rem; }
  .service-panel-copy { padding: 26px; }
  .impact-item { padding: 28px 10px; }
  .impact-item strong { font-size: clamp(2rem,7vw,2.8rem); }
  .impact-item h3 { font-size: .9375rem; }
  .industry-copy { padding: 26px; }
}
