/* Homepage presentation matching the approved desktop/mobile concept.
   Kept separate from shared styles to preserve portals and other pages. */
:is(.reference-home, .solutions-page) .site-header { background: rgba(1, 15, 43, .76); border-bottom: 0; }
:is(.reference-home, .solutions-page) .site-header.scrolled { background: rgba(1, 15, 43, .97); }
:is(.reference-home, .solutions-page) .nav-wrap { min-height: 88px; }
:is(.reference-home, .solutions-page) .brand { width: 216px; flex-shrink: 0; }
:is(.reference-home, .solutions-page) .site-nav { gap: clamp(1rem, 1.7vw, 1.6rem); }
:is(.reference-home, .solutions-page) .site-nav a { font-size: .86rem; font-weight: 600; }
:is(.reference-home, .solutions-page) .site-nav a[aria-current="page"] { position: relative; }
:is(.reference-home, .solutions-page) .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: #00dcf7; }
:is(.reference-home, .solutions-page) .nav-quote-button { background: #00d9f5; color: #00162e; border-radius: 15px; box-shadow: 0 0 25px rgba(0, 217, 245, .35); }
.reference-home .reference-hero { min-height: 620px; height: min(760px, 82svh); padding: 88px 0 0; background: #041b4d; color: #fff; }
.reference-home .reference-hero::before { display: block; inset: 0; width: 100%; opacity: 1; mask-image: none; -webkit-mask-image: none; background: linear-gradient(90deg, rgba(0, 14, 43, .75), rgba(0, 18, 49, .28) 55%, rgba(0, 13, 40, .08)), url("assets/perth-skyline-blue-hour.webp") center 58% / cover no-repeat; background-blend-mode: normal; }
.reference-home .reference-hero::after { height: 100px; background: linear-gradient(transparent, rgba(0, 12, 35, .52)); pointer-events: none; }
.reference-home .hero-grid { position: relative; height: 100%; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: center; }
.reference-home .hero-copy { grid-column: 1; grid-row: 1; padding-bottom: 16px; z-index: 3; }
.reference-home .hero-copy h1 { margin: 0 0 18px; max-width: 640px; color: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.5rem, 4vw, 3.6rem); font-weight: 850; line-height: 1.08; letter-spacing: -.035em; text-shadow: 0 2px 18px rgba(0, 15, 43, .35); }
.reference-home .hero-copy h1 span { color: #00dcf4; }
.reference-home .hero-text { max-width: 510px; margin: 0 0 28px; color: #edf4ff; font-size: clamp(1.05rem, 1.8vw, 1.4rem); line-height: 1.45; }
.reference-home .hero-actions { display: flex; gap: 18px; flex-wrap: nowrap; }
.reference-home .hero-actions .button { min-width: 185px; min-height: 54px; padding: 12px 26px; border-radius: 15px; font-size: 1rem; font-weight: 750; }
.reference-home .hero-actions .button-primary { color: #001a30; background: #00daf4; border: 1px solid #00daf4; box-shadow: 0 0 28px rgba(0, 219, 247, .3); }
.reference-home .hero-actions .button-primary span { margin-left: 10px; font-size: 1.4rem; }
.reference-home .hero-actions .button-secondary { color: #fff; border: 1px solid #7cb7d8; background: rgba(1, 23, 53, .6); box-shadow: none; }
.reference-home .hero-actions .button:hover { transform: translateY(-2px); }
.reference-home .hero-panel { display: block; grid-column: 2; grid-row: 1; position: relative; align-self: stretch; min-height: 0; width: 100%; max-width: none; margin: 0; z-index: 2; }
.reference-home .support-bot { position: absolute; top: 8px; left: 50%; width: auto; height: clamp(710px, 62vw, 880px); max-width: none; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 19, 52, .25)); }
@media (min-width: 1100px) { :is(.reference-home, .solutions-page) .theme-toggle-desktop { width: 30px; min-width: 30px; padding: 4px; } }
@media (max-width: 1099px) and (min-width: 721px) {
  .reference-home .reference-hero { height: 620px; min-height: 620px; }
  .reference-home .hero-copy h1 { font-size: clamp(2.2rem, 4.7vw, 3.2rem); }
  .reference-home .hero-actions { gap: 10px; }
  .reference-home .hero-actions .button { min-width: 150px; padding: 12px 18px; }
  .reference-home .support-bot { left: 56%; height: 740px; top: 24px; }
}
@media (max-width: 720px) {
  :is(.reference-home, .solutions-page) .nav-wrap { min-height: 70px; }
  :is(.reference-home, .solutions-page) .brand { width: 166px; }
  :is(.reference-home, .solutions-page) .nav-controls { gap: 8px; }
  .reference-home .reference-hero { height: auto; min-height: 0; padding: 70px 0 24px; }
  .reference-home .reference-hero::before { background: linear-gradient(180deg, rgba(1, 17, 45, .12), rgba(1, 16, 43, .38) 45%, rgba(1, 19, 47, .8)), url("assets/perth-skyline-blue-hour.webp") 58% top / cover no-repeat; }
  .reference-home .hero-grid { display: flex; flex-direction: column; gap: 0; height: auto; width: min(100% - 36px, 480px); }
  .reference-home .hero-panel { position: relative; display: block; height: clamp(235px, 69vw, 310px); min-height: 0; width: calc(100% + 36px); overflow: hidden; order: 0; }
  .reference-home .support-bot { height: auto; width: clamp(290px, 91vw, 395px); top: 6px; left: 50%; transform: translateX(-50%); max-width: none; }
  .reference-home .hero-copy { order: 1; width: 100%; padding: 4px 0 0; }
  .reference-home .hero-copy h1 { max-width: none; margin: 0 0 12px; font-size: clamp(1.7rem, 7.6vw, 2.45rem); line-height: 1.08; letter-spacing: -.035em; }
  .reference-home .hero-text { margin-bottom: 20px; font-size: 1rem; line-height: 1.4; color: #e4edfb; }
  .reference-home .desktop-break { display: none; }
  .reference-home .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .reference-home .hero-actions .button { width: 100%; min-width: 0; min-height: 49px; border-radius: 13px; }
  .reference-home .reference-hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reference-home .hero-actions .button:hover { transform: none; } }

/* Keep the city photograph visible in either colour mode. */
html[data-theme="light"] .reference-home .reference-hero::before { opacity: 1; }
/* Shared Perth skyline for the Solutions Hub hero on desktop and mobile. */
.solutions-page .solutions-hero::before {
  display: block;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
  background: linear-gradient(90deg, rgba(0, 14, 43, .88), rgba(0, 18, 49, .55) 55%, rgba(0, 13, 40, .25)), url("assets/perth-skyline-blue-hour.webp") center 58% / cover no-repeat;
  pointer-events: none;
}
.solutions-page .solutions-hero { color: #fff; background-color: #041b4d; }
.solutions-page .solutions-hero h1,
.solutions-page .solutions-hero .division-wordmark span { color: #fff; }
.solutions-page .solutions-hero-copy > p:not(.eyebrow),
.solutions-page .solutions-hero .breadcrumb,
.solutions-page .solutions-hero .breadcrumb a { color: #e4edfb; }
.solutions-page .solutions-hero .button-secondary { color: #fff; background: rgba(1, 23, 53, .7); border-color: #7cb7d8; }
html[data-theme="light"] .solutions-page .solutions-hero::before { opacity: 1; }
html[data-theme="light"] .solutions-page .solutions-hero-copy .division-wordmark span { color: #fff; }
@media (max-width: 720px) {
  .solutions-page .solutions-hero::before {
    background: linear-gradient(180deg, rgba(0, 14, 43, .7), rgba(0, 18, 49, .6) 50%, rgba(0, 13, 40, .75)), url("assets/perth-skyline-blue-hour.webp") 58% top / auto 100% no-repeat;
  }
}

/* Mascot presentation carousel: readable cards over the Perth skyline. */
.solutions-page .solution-slideshow { display: block; min-height: 610px; background: linear-gradient(155deg, rgba(9, 52, 88, .82), rgba(0, 15, 40, .9)); border-color: rgba(0, 218, 245, .5); }
.solution-slides { position: relative; height: 550px; }
.solution-slide { position: relative; height: 100%; overflow: hidden; }
.solution-slide[hidden] { display: none; }
.solution-slide.is-active { animation: solution-reveal .45s ease-out; }
.solution-slide-label { position: relative; z-index: 4; padding: 25px 24px 0; color: #fff; }
.solution-slide-label > span { color: #35ddf7; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.solution-slide-label h2 { margin: 8px 0; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.15; color: #fff; }
.solution-slide-label p { margin: 0; font-size: .9rem; color: #d4e7fa; }
.solutions-page .solution-slide img { position: absolute; top: 105px; left: 50%; transform: translateX(-50%); width: 290px; height: 390px; max-height: none; object-fit: contain; }
.solution-preview { position: absolute; z-index: 4; left: 20px; right: 20px; bottom: 12px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(0, 218, 245, .45); background: rgba(1, 18, 42, .94); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); color: #fff; }
.solution-preview > span { display: block; color: #aad0e8; font-size: .7rem; margin-bottom: 9px; }
.solution-preview > strong { display: block; font-size: .82rem; margin-top: 8px; }
.preview-bars { display: flex; gap: 10px; height: 45px; align-items: end; border-bottom: 1px solid #50738a; }
.preview-bars i { flex: 1; height: 35%; border-radius: 4px 4px 0 0; background: linear-gradient(#42e9ff, #087cf0); }
.preview-bars i:nth-child(2) { height: 55%; }.preview-bars i:nth-child(3) { height: 48%; }.preview-bars i:nth-child(4) { height: 80%; }.preview-bars i:nth-child(5) { height: 100%; }
.preview-steps { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.preview-steps b { font-size: .72rem; padding: 8px 6px; border-radius: 8px; background: #123950; color: #c6f7ff; }.preview-steps i { color: #35ddf7; font-style: normal; }
.solution-slider-controls { position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px 18px; }
.solution-slider-controls button { cursor: pointer; border: 1px solid #527a94; color: #fff; background: #0a2741; border-radius: 10px; min-width: 40px; min-height: 40px; font: inherit; }
.solution-slider-controls button:focus-visible { outline: 3px solid #35ddf7; outline-offset: 3px; }
.solution-slider-controls [data-slide-pause] { padding: 0 10px; font-size: .75rem; }
.solution-slider-dots { display: flex; gap: 4px; }.solution-slider-dots button { min-width: 28px; min-height: 40px; border: 0; background: transparent; position: relative; }
.solution-slider-dots button::after { content: ""; position: absolute; width: 8px; height: 8px; top: 16px; left: 10px; border-radius: 50%; background: #688aa0; }
.solution-slider-dots button[aria-pressed="true"]::after { background: #35ddf7; box-shadow: 0 0 12px #00d9f5; }
@keyframes solution-reveal { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) { .solutions-page .solution-slideshow { min-height: 575px; }.solution-slides { height: 515px; }.solution-slide-label { padding: 22px 20px 0; }.solutions-page .solution-slide img { top: 100px; height: 350px; width: 265px; }.solution-preview { left: 14px; right: 14px; }.solution-slider-controls { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .solution-slide.is-active { animation: none; } }

/* Image-led services: local, optimised photos; no third-party image requests. */
.reference-home .segment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.reference-home .segment-card { overflow: hidden; padding: 0 0 1.6rem; border-radius: 20px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.reference-home .segment-card > :not(img) { margin-left: 1.4rem; margin-right: 1.4rem; }
.reference-home .segment-card > span { display: block; margin-top: 1.2rem; }
.reference-home .segment-card .segment-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; transition: transform .4s; }
.reference-home .segment-card:hover .segment-photo { transform: scale(1.025); }
.reference-home .segment-card h3 { font-size: 1.18rem; line-height: 1.35; }
.reference-home .segment-card:hover { border-color: #00cbe8; box-shadow: 0 16px 36px rgba(0, 25, 50, .18); }
.service-category-photo { overflow: hidden; border-radius: 18px; margin-bottom: 1.4rem; height: clamp(180px, 24vw, 300px); position: relative; }
.service-category-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.service-category-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 65%, rgba(0, 19, 44, .25)); }
.seo-hero .service-photo-hero { min-height: 0; padding: 0; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; box-shadow: 0 24px 60px rgba(0, 20, 45, .2); }
.seo-hero .service-photo-hero img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.solutions-page .solution-area-card { overflow: hidden; border-radius: 20px; }
.solution-capability-photo { position: relative; height: 195px; margin: -1.7rem -1.7rem 1.4rem; overflow: hidden; background: radial-gradient(ellipse at 70% 35%, #12648a, #071b38 72%); border-bottom: 1px solid rgba(0, 215, 245, .2); }
.solution-capability-photo img { position: absolute; height: 290px; width: 195px; object-fit: contain; right: 6px; top: -16px; }
.solution-capability-photo > span { position: absolute; left: 24px; top: 38px; width: 46%; font-size: 1rem; line-height: 1.35; font-weight: 750; color: #e5f9ff; }
.demo-workspace-photo { width: 100%; display: block; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin-bottom: 1.7rem; }
/* Wider hero presentation and quieter decorative lines. */
.solutions-page .solutions-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(410px, .95fr); gap: clamp(2rem, 4vw, 3.5rem); }
.solutions-page .solution-slideshow { border-color: rgba(0, 218, 245, .28); background: linear-gradient(155deg, rgba(9, 52, 88, .94), rgba(0, 15, 40, .96)); }
.solutions-page .solution-slideshow::before { opacity: .28; }
.solutions-page .solution-slideshow .solutions-orbit { opacity: .22; }
.solution-slider-controls { padding-top: 2px; padding-bottom: 15px; }
.solution-slider-dots { gap: 4px; }
.solution-slider-dots button { min-width: 44px; min-height: 44px; }
.solution-slider-dots button::after { top: 18px; left: 18px; }
.solution-slider-dots button[aria-pressed="true"]::after { width: 22px; left: 11px; border-radius: 5px; }
@media (max-width: 1000px) {
  .reference-home .segment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions-page .solutions-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .solutions-page .solution-slideshow { width: 100%; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .reference-home .segment-grid { grid-template-columns: 1fr; }
  .reference-home .segment-card .segment-photo { aspect-ratio: 16 / 9; }
  .service-category-photo { height: 210px; }
  .solution-capability-photo { height: 175px; }
  .solution-capability-photo img { height: 265px; }
  .seo-hero .service-photo-hero { aspect-ratio: 4 / 3; }
  .solutions-page .solution-slideshow { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-home .segment-card, .reference-home .segment-photo { transition: none; }
  .reference-home .segment-card:hover .segment-photo { transform: none; }
}
.team-photo-placeholder { margin-top: 1.5rem; min-height: 220px; border: 1px dashed rgba(0, 203, 232, .45); border-radius: 20px; background: linear-gradient(140deg, rgba(0, 203, 232, .07), rgba(8, 124, 240, .05)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: .55rem; }
.team-photo-placeholder svg { width: 64px; height: 48px; color: var(--accent-text); opacity: .65; }
.team-photo-placeholder strong { font-size: 1rem; }.team-photo-placeholder span { color: var(--muted); font-size: .85rem; }
.solution-capability-photo { flex-shrink: 0; margin: -1.55rem -1.55rem 1.4rem; }

/* Full-scene editorial refresh using the supplied, approved quokka imagery. */
.solutions-page .scene-carousel { min-height: 0; background: #061a32; box-shadow: 0 28px 70px rgba(0, 9, 29, .35); }
.scene-carousel .solution-slides { height: auto; }
.scene-carousel .solution-slide { height: auto; }
.solutions-page .scene-carousel .solution-slide > img { display: block; position: static; transform: none; width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; filter: none; }
.scene-carousel .solution-slide-label { padding: 22px 26px 18px; min-height: 170px; background: linear-gradient(130deg, #0a2948, #061a32); }
.scene-carousel .solution-slide-label h2 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); }
.scene-carousel .solution-slide-label p { font-size: .94rem; max-width: 40ch; }
.scene-carousel .solution-slider-controls { background: #061a32; }
.solutions-page .solution-capability-photo { height: auto; aspect-ratio: 3 / 2; background: #0a2948; }
.solutions-page .solution-capability-photo img { position: static; width: 100%; height: 100%; object-fit: cover; }
.scene-gallery-section { background: linear-gradient(180deg, rgba(0, 110, 180, .045), transparent); }
.scene-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.scene-gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.scene-gallery-card > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.scene-gallery-card > div { padding: 1.4rem; }
.scene-gallery-card h3 { margin: 0 0 .6rem; font-size: 1.16rem; line-height: 1.3; }
.scene-gallery-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.scene-gallery-cta { margin-top: 1.6rem; }
.about-scene-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 20px; margin-bottom: 1.6rem; }
html[data-theme="light"] .scene-gallery-card { background: #fff; box-shadow: 0 14px 30px rgba(12, 40, 70, .06); }
@media (max-width: 1000px) { .scene-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .scene-gallery-grid { grid-template-columns: 1fr; }
  .scene-carousel .solution-slide-label { padding: 18px 20px 14px; min-height: 180px; }
  .scene-carousel .solution-slide-label > span { font-size: .64rem; }
  .scene-carousel .solution-slide-label h2 { font-size: 1.5rem; }
  .scene-carousel .solution-slide-label p { font-size: .9rem; }
}
/* Mobile home story: headline, clear advice, centred scene carousel, then CTA. */
.mobile-home-slideshow { display: none; }
@media (max-width: 720px) {
  .reference-home .hero-panel { display: none; }
  .reference-home .hero-copy { padding-top: 30px; text-align: center; }
  .reference-home .hero-copy h1 { font-size: clamp(1.9rem, 8vw, 2.65rem); line-height: 1.12; }
  .reference-home .hero-text { max-width: 34ch; margin: 16px auto 22px; line-height: 1.55; }
  .reference-home .mobile-home-slideshow { display: block; position: relative; width: 100%; max-width: 440px; margin: 0 auto 22px; overflow: hidden; border: 1px solid rgba(90, 216, 245, .3); border-radius: 19px; background: #061a32; box-shadow: 0 14px 36px rgba(0, 7, 27, .3); text-align: left; }
  .mobile-home-slideshow .solution-slides, .mobile-home-slideshow .solution-slide { height: auto; }
  .mobile-home-slideshow .solution-slide > img { position: static; width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
  .mobile-home-slideshow .solution-slide-label { padding: 13px 18px 4px; min-height: 70px; }
  .mobile-home-slideshow .solution-slide-label > span { display: block; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
  .mobile-home-slideshow .solution-slide-label > p { color: #d4e7fa; font-size: .84rem; margin-top: 4px; }
  .mobile-home-slideshow .solution-slider-controls { padding: 0 10px 5px; }
  .reference-home .hero-actions { max-width: 440px; margin: 0 auto; }
}

/* Desktop service categories show the complete scene rather than a cropped strip. */
@media (min-width: 721px) {
  .reference-home .service-category-photo {
    width: min(100%, 720px);
    height: auto;
    margin-inline: auto;
    background: #061a32;
  }
  .reference-home .service-category-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .reference-home .service-category-photo::after { display: none; }
}
/* Mobile homepage refinements: compact hero and unobstructed contact actions. */
@media (max-width: 720px) {
  :is(.reference-home, .solutions-page) .nav-wrap { min-height: 62px; }
  :is(.reference-home, .solutions-page) .brand { width: 154px; }
  .reference-home .reference-hero { padding-top: 62px; }
  .reference-home .hero-copy { padding-top: 22px; }
  .reference-home .reference-hero::before {
    background: linear-gradient(180deg, rgba(1, 17, 45, .55), rgba(1, 16, 43, .72) 35%, rgba(1, 19, 47, .85)), url("assets/perth-skyline-blue-hour.webp") 58% top / cover no-repeat;
  }
  .reference-home .hero-text { margin: 12px auto 16px; }
  .reference-home .mobile-home-slideshow { margin-bottom: 16px; }
  .reference-home .mobile-home-slideshow .solution-slide > img {
    height: clamp(155px, 49vw, 190px);
    aspect-ratio: auto;
    object-fit: contain;
    background: #061a32;
  }
  .reference-home .mobile-home-slideshow .solution-slide-label { min-height: 58px; padding: 9px 16px 2px; }
  .reference-home .mobile-home-slideshow .solution-slide-label > p { margin: 3px 0 0; line-height: 1.35; }
  .reference-home .mate-chat { display: none; }
  .reference-home { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  html:has(.reference-home) { scroll-padding-top: 72px; scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* Desktop homepage polish; mobile retains its compact layout. */
@media (min-width: 721px) {
  .reference-home .reference-hero::before {
    background: linear-gradient(90deg, rgba(0, 14, 43, .9), rgba(0, 18, 49, .68) 43%, rgba(0, 13, 40, .16) 75%), url("assets/perth-skyline-blue-hour.webp") center 58% / cover no-repeat;
  }
}
@media (min-width: 980px) {
  .reference-home .division-pathways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-home .division-card-solutions .division-lockup strong { font-size: clamp(2.2rem, 5vw, 4rem); }
  .reference-home .division-card-solutions .button-secondary { color: #fff; background: linear-gradient(120deg, #087cf0, #095cbd); border: 1px solid #6fb8ff; box-shadow: 0 8px 24px rgba(8, 124, 240, .2); }
  .reference-home .division-card-solutions .button-secondary:hover { background: #087cf0; }
  :is(.reference-home, .solutions-page) .nav-wrap { gap: 1rem; }
  :is(.reference-home, .solutions-page) .brand { width: 190px; }
  :is(.reference-home, .solutions-page) .nav-controls { display: none; }
  :is(.reference-home, .solutions-page) .theme-toggle-mobile { display: none; }
  :is(.reference-home, .solutions-page) .theme-toggle-desktop { display: inline-flex; }
  :is(.reference-home, .solutions-page) .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: clamp(.65rem, 1.2vw, 1.1rem); padding: 0; border: 0; background: transparent; box-shadow: none; }
  :is(.reference-home, .solutions-page) .site-nav a { padding: 0; border-radius: 0; font-size: .82rem; white-space: nowrap; }
  :is(.reference-home, .solutions-page) .site-nav .nav-quote-button { margin-top: 0; padding: .7rem .95rem; border-radius: 13px; }
}
/* Compact mobile photo captions with touch-revealed navigation. */
@media (max-width: 720px) {
  .reference-home .mobile-home-slideshow .solution-slide { position: relative; }
  .reference-home .mobile-home-slideshow .solution-slide-label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
    min-height: 0; padding: 28px 16px 12px;
    background: linear-gradient(transparent, rgba(0, 13, 35, .9) 40%);
  }
  .reference-home .mobile-home-slideshow .solution-slide-label > span { color: #79f0ff; }
  .reference-home .mobile-home-slideshow .solution-slide-label > p { color: #fff; font-size: .78rem; }
  .reference-home .mobile-home-slideshow .solution-slider-controls {
    position: absolute; top: 7px; left: 7px; right: 7px; bottom: auto;
    padding: 0 2px; gap: 0; justify-content: space-between;
    background: rgba(1, 16, 36, .85); border-radius: 12px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s;
  }
  .reference-home .mobile-home-slideshow.controls-visible .solution-slider-controls,
  .reference-home .mobile-home-slideshow:focus-within .solution-slider-controls {
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .reference-home .mobile-home-slideshow .solution-slider-dots { gap: 0; }
  .reference-home .mobile-home-slideshow .solution-slider-controls button { min-width: 36px; min-height: 44px; }
  .reference-home .mobile-home-slideshow .solution-slider-dots button::after { left: 14px; }
  .reference-home .mobile-home-slideshow .solution-slider-dots button[aria-pressed="true"]::after { left: 7px; }
  .reference-home .mobile-home-slideshow:focus-visible { outline: 3px solid #35ddf7; outline-offset: 3px; }
  .reference-home .mate-chat { display: block; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .reference-home .mate-chat-launch { min-height: 44px; padding: 4px; }
  .reference-home .mate-chat-panel { max-height: calc(100dvh - 160px); overflow-y: auto; }
}
@media (max-width: 720px) {
  .reference-home .mobile-home-slideshow .mobile-slide-link { position: relative; display: block; color: #fff; text-decoration: none; }
  .reference-home .mobile-home-slideshow .mobile-slide-link > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 40%; }
  .reference-home .mobile-home-slideshow .mobile-slide-link:focus-visible { outline: 3px solid #35ddf7; outline-offset: -3px; }
  .reference-home .mobile-home-slideshow .solution-slider-controls { justify-content: space-between; background: transparent; pointer-events: none; }
  .reference-home .mobile-home-slideshow.controls-visible .mobile-slide-arrow,
  .reference-home .mobile-home-slideshow:focus-within .mobile-slide-arrow { pointer-events: auto; }
  .reference-home .mobile-home-slideshow .mobile-slide-arrow { background: rgba(1, 16, 36, .85); }
}

/* Clickable photos preserve their original proportions. */
.solutions-page .scene-carousel .solution-slide-link { display: block; position: relative; color: #fff; text-decoration: none; }
.solutions-page .scene-carousel .solution-slide-link > img { display: block; position: static; transform: none; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; filter: none; }
.solutions-page .scene-carousel .solution-slide-link:focus-visible { outline: 3px solid #79f0ff; outline-offset: -3px; }
/* One photo card with integrated wording and full uncropped imagery. */
.solutions-page .scene-carousel { position:relative; min-height:0; background:#061a32; border-radius:20px; }
.solutions-page .scene-carousel::before { display:none; }
.solutions-page .scene-carousel .solution-slides { width:100%; height:auto; }
.solutions-page .scene-carousel .solution-slide { height:auto; }
.solutions-page .scene-carousel .solution-slide-link { display:block; width:100%; min-height:clamp(540px,45vw,680px); padding-bottom:180px; background:#061a32; }
.solutions-page .scene-carousel .solution-slide-link > img { position:static; inset:auto; display:block; width:100%; height:auto; max-height:none; aspect-ratio:3 / 2; object-fit:contain; }
.solutions-page .scene-carousel .solution-slide-label { position:absolute; left:0; right:0; bottom:0; min-height:180px; padding:20px 24px 62px; background:none; color:#fff; }
.solutions-page .scene-carousel .solution-slide-label > span { color:#79f0ff; }
.solutions-page .scene-carousel .solution-slide-label h2 { margin:7px 0; font-size:clamp(1.35rem,2.2vw,1.9rem); }
.solutions-page .scene-carousel .solution-slide-label p { color:#fff; line-height:1.4; font-size:.9rem; }
.solutions-page .scene-carousel .solution-slider-controls { position:absolute; left:0; right:0; bottom:0; padding:0 12px 7px; background:none; }
@media (min-width:721px) and (hover:hover) {
 .solutions-page .scene-carousel .solution-slider-controls { opacity:0; pointer-events:none; transition:opacity .2s ease; }
 .solutions-page .scene-carousel:hover .solution-slider-controls,
 .solutions-page .scene-carousel:focus-within .solution-slider-controls { opacity:1; pointer-events:auto; }
}
@media (max-width:720px) { .solutions-page .scene-carousel .solution-slide-link { min-height:0; padding-bottom:180px; } }

/* About Us: copy alongside a three-by-three mascot team grid. */
.about-section .about-team-layout { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.about-section .team-avatar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); width: 100%; min-width: 0; }
.about-section .team-avatar-tile { aspect-ratio: 1; overflow: hidden; border-radius: 16px; border: 1px solid rgba(68, 209, 239, .22); background: rgba(37, 139, 184, .07); }
.about-section .team-avatar-tile img { display: block; width: 100%; height: 100%; object-fit: contain; }
.about-section .team-avatar-empty { background: rgba(37, 139, 184, .04); border-style: dashed; }
@media (max-width: 760px) {
  .about-section .about-team-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-section .team-avatar-grid { max-width: 540px; margin-inline: auto; }
  .about-section .team-avatar-tile { border-radius: 12px; }
}

/* Contact Us only: clear support choices and a compact social row. */
#contact.contact-refresh { min-height: 0; background: radial-gradient(ellipse at 10% 70%, rgba(0, 181, 216, .10), transparent 55%), #051122; color: #fff; }
#contact .contact-help-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
#contact .contact-welcome { min-width: 0; }
#contact .contact-welcome h2 { max-width: 12ch; margin-bottom: 1rem; color: #fff; }
#contact .contact-reassurance { color: #bfd0e1; line-height: 1.7; max-width: 48ch; }
#contact .contact-mascot { display: block; width: min(100%, 225px); height: 245px; object-fit: contain; object-position: bottom; margin: 1.5rem auto 0; }
#contact .contact-actions { min-width: 0; }
#contact .contact-grid { grid-template-columns: 1fr; gap: 12px; }
#contact .contact-card { color: #fff; background: rgba(13, 35, 58, .85); padding: 1.35rem; }
#contact .contact-card small { color: #b8cbdd; font-size: .84rem; margin-bottom: 4px; }
#contact .contact-card strong { font-size: clamp(.95rem, 1.5vw, 1.12rem); }
#contact .contact-prompt { display: block; margin-top: 6px; color: #b8cbdd; font-size: .86rem; line-height: 1.45; }
#contact .contact-whatsapp-primary { background: linear-gradient(120deg, #103e39, #0a2934); border-color: #31c786; box-shadow: 0 8px 30px rgba(13, 173, 111, .10); }
#contact .contact-whatsapp-primary:hover { background: #12483d; border-color: #69efae; }
#contact .contact-card:focus-visible, #contact .contact-social-links a:focus-visible { outline: 3px solid #63eaff; outline-offset: 4px; }
#contact .contact-social-row { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(175, 215, 239, .16); }
#contact .contact-social-row > p { color: #b8cbdd; font-size: .9rem; margin: 0 0 12px; }
#contact .contact-social-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
#contact .contact-social-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: .9rem; }
#contact .contact-social-links a:hover { text-decoration: underline; }
#contact .contact-social-links .contact-icon { width: 30px; height: 30px; border-radius: 8px; }
#contact .contact-social-links svg { width: 17px; height: 17px; }
#contact .contact-quote-mobile { margin: 1rem 0 0; }
@media(max-width:760px) {
  #contact .contact-help-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  #contact .contact-welcome { position: relative; padding-right: 100px; }
  #contact .contact-welcome h2 { max-width: none; }
  #contact .contact-mascot { position: absolute; right: 0; bottom: 0; width: 90px; height: 135px; margin: 0; }
  #contact .contact-card { padding: 1.1rem; gap: .8rem; }
}
@media(max-width:380px) {
  #contact .contact-welcome { padding-right: 0; }
  #contact .contact-mascot { position: static; width: 90px; height: 135px; margin: 1rem auto 0; }
}

/* Solutions slideshow: fill the tall card, caption over the image. */
.solutions-page .scene-carousel .solution-slide-link {
  position: relative; display: block; width: 100%; height: clamp(540px, 45vw, 680px); min-height: 0; padding: 0; overflow: hidden;
}
.solutions-page .scene-carousel .solution-slide-link > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: center; transform: none;
}
.solutions-page .scene-carousel .solution-slide-label {
  position: absolute; inset: auto 0 0; min-height: 0; padding: 80px 28px 58px;
  background: linear-gradient(transparent, rgba(2, 14, 30, .88) 45%, rgba(2, 14, 30, .97));
}
.solutions-page .scene-carousel .solution-slide-label h2 { color: #fff; }
@media (max-width:720px) {
  .solutions-page .scene-carousel .solution-slide-link { height: clamp(390px, 110vw, 540px); min-height: 0; padding: 0; }
  .solutions-page .scene-carousel .solution-slide-label { padding: 65px 20px 45px; }
}
