﻿/* SBR corporate composition. Base components/forms remain in site.css.
   Explicit desktop/tablet/mobile rules for the new header and home sections. */
:root {
  --container: 1280px;
  --wide-container: 1600px;
  --ink: #243744;
  --surface: #eef2f4;
  --type-display: clamp(38px, 4.1vw, 58px);
  --type-h1: clamp(32px, 3.4vw, 48px);
  --type-h2: clamp(28px, 2.8vw, 40px);
  --type-h3: clamp(23px, 2vw, 28px);
  --space-section-sm: 64px;
  --space-section-md: 96px;
  --space-section-lg: 120px;
  --section: var(--space-section-md);
  --gutter: 40px;
}
html {
  scroll-padding-top: 112px;
}
body {
  color: var(--ink);
}
h1,
h2,
h3 {
  letter-spacing: -0.025em;
}
.button {
  border-radius: 0;
  min-height: 50px;
  padding: 13px 24px;
}
.button:focus-visible {
  outline-offset: 5px;
}
.button:hover {
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.12);
}
.site-header {
  background: white;
  border-bottom: 1px solid #e3e8ec;
}
.header-inner {
  min-height: 106px;
  gap: 30px;
}
.brand {
  width: 230px;
}
.header-contact {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-left: var(--border);
  padding-left: 25px;
}
.header-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  line-height: 1;
  font-size: 19px;
}
#navigation {
  gap: 24px;
  margin-left: auto;
}
#navigation > a,
#navigation > a:first-child {
  padding: 14px 0;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}
#navigation > a:hover {
  background: transparent;
  color: var(--blue);
}
#navigation > a:after {
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: var(--blue);
}
#navigation > a[aria-current] {
  color: var(--blue);
}
#navigation a:focus-visible {
  outline-color: var(--blue);
  outline-offset: 4px;
}
.quick-contact {
  display: none;
}
.site-header.is-scrolled .header-inner {
  min-height: 84px;
}
.site-header.is-scrolled .brand {
  transform: scale(0.9);
}
.industrial-hero {
  max-width: var(--wide-container);
  margin-inline: auto;
}
.industrial-hero .hero-media {
  position: relative;
  height: clamp(400px, calc(100svh - 360px), 600px);
  overflow: hidden;
  background: #d9e5eb;
}
.industrial-hero .hero-media img {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero-motion-toggle {
  position: absolute;
  bottom: 20px;
  right: 24px;
  border: 1px solid rgb(255 255 255 / 0.5);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.hero-motion-toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.hero-motion-toggle span {
  font-size: 17px;
}
.hero-base {
  position: relative;
  display: grid;
  grid-template-columns: 620px 1fr;
  align-items: end;
  gap: 48px;
  margin-top: -190px;
  pointer-events: none;
}
.hero-panel {
  background: var(--blue);
  color: white;
  padding: 42px 48px 44px;
  pointer-events: auto;
}
.hero-location {
  font-size: 14px;
  margin-bottom: 20px;
}
.hero-panel h1 {
  font-size: var(--type-display);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero-panel .hero-subtitle {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 400;
}
.hero-panel .hero-actions {
  margin-top: 28px;
  gap: 12px;
}
.hero-panel .button {
  background: #fff;
  color: var(--blue);
  border-color: white;
  font-size: 14px;
}
.hero-panel .button:hover {
  background: #e5f0f7;
}
.hero-panel .button-outline {
  color: white;
  background: transparent;
  border-color: #90badc;
}
.hero-panel .button-outline:hover {
  background: #004f90;
  border-color: white;
}
.hero-panel a:focus-visible {
  outline-color: white;
}
.hero-caption {
  padding-bottom: 6px;
  max-width: 30ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.hero-caption strong {
  display: block;
  font-weight: 400;
  color: var(--ink);
  font-size: 15px;
}
.company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 80px 96px;
}
.company-intro h2 {
  font-size: clamp(29px, 2.6vw, 38px);
  max-width: 22ch;
  font-weight: 400;
  color: var(--ink);
}
.company-intro p {
  max-width: 58ch;
}
.company-intro p + p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.company-intro .text-link {
  margin-top: 22px;
}
.section-heading h2 {
  color: var(--ink);
}
.section-heading {
  margin-bottom: 42px;
}
.section-heading p {
  font-size: 17px;
}
.industry-services {
  background: var(--surface);
}
.service-showcase {
  position: relative;
  padding-right: calc(50% + 32px);
  min-height: 556px;
}
.service-entry {
  border-top: 1px solid #cbd5dc;
}
.service-entry:last-child {
  border-bottom: 1px solid #cbd5dc;
}
.service-entry > a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 25px 24px 25px 0;
}
.service-entry-copy {
  position: relative;
  padding-left: 24px;
}
.service-entry-copy:before {
  position: absolute;
  content: "";
  top: 2px;
  left: 0;
  height: 28px;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 250ms var(--ease);
}
.service-entry.is-active .service-entry-copy:before,
.service-entry > a:hover .service-entry-copy:before {
  transform: scaleY(1);
}
.service-entry h3 {
  font-size: clamp(22px, 2.05vw, 28px);
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-entry.is-active h3,
.service-entry a:hover h3 {
  color: var(--blue);
}
.service-entry p {
  font-size: 15px;
  line-height: 1.65;
  max-width: 44ch;
}
.service-entry-link {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: var(--blue);
}
.service-entry-link span {
  display: inline-block;
  margin-left: 12px;
  transition: transform 250ms var(--ease);
}
.service-entry a:hover .service-entry-link span {
  transform: translate(3px, -3px);
}
.service-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease);
}
.service-entry.is-active .service-visual {
  opacity: 1;
}
.service-visual img {
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}
.service-entry:nth-child(1) img {
  object-position: 38% 50%;
}
.service-entry:nth-child(2) img {
  object-position: 50% 37%;
}
.service-entry:nth-child(3) img {
  object-position: 50% 42%;
}
.work-preview {
  background: white;
  padding-block: var(--space-section-lg);
}
.work-preview .section-heading {
  margin-bottom: 38px;
}
.preview-gallery {
  grid-template-columns: 1.15fr 1fr;
  gap: 26px 40px;
}
.work-caption {
  border-bottom: var(--border);
  padding-bottom: 16px;
}
.work-caption h3 {
  font-size: 21px;
}
.home-company {
  position: relative;
  padding-block: 76px;
  border-block: var(--border);
}
.company-story h2 {
  color: var(--ink);
  font-size: var(--type-h2);
}
.company-picture img {
  aspect-ratio: 1.07;
}
.history-facts {
  border-top-color: #b9cbd8;
}
.history-facts strong {
  font-size: 34px;
  color: var(--blue);
}
.home-documents {
  padding-block: var(--space-section-md);
}
.home-documents .section-heading h2 {
  max-width: 19ch;
}
.document {
  padding-block: 28px;
}
.home-training {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 44px 48px;
  margin-bottom: 80px;
  background: var(--blue);
  color: white;
}
.home-training h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}
.training-label {
  font-size: 13px;
  margin-bottom: 15px;
}
.home-training > div:last-child {
  align-self: center;
}
.home-training p {
  max-width: 48ch;
}
.home-training .button {
  margin-top: 24px;
  background: white;
  border-color: white;
  color: var(--blue);
}
.home-training .button:hover {
  background: #e4eef6;
}
.home-training a:focus-visible {
  outline-color: white;
}
.funding {
  padding: 42px 48px;
  border-top: 0;
  background: var(--surface);
}
.funding h2 {
  color: var(--ink);
  font-size: 28px;
}
.home-contact {
  padding-block: 96px 80px;
}
.home-contact h2 {
  color: var(--ink);
  font-size: var(--type-h2);
}
.home-contact-links a:first-child {
  font-size: 46px;
}
.site-footer {
  background: #00477e;
}
.footer-main {
  padding-block: 64px 44px;
}
.footer-main h2 {
  font-size: 17px;
}
.footer-main .footer-phone {
  font-size: 25px;
}
.page-intro {
  padding-block: 64px 48px;
}
.page-intro h1 {
  color: var(--ink);
  font-size: var(--type-h1);
}
.page-intro > p {
  max-width: 64ch;
}
.service-sidebar nav a[aria-current] {
  border-left: 3px solid var(--blue);
}
.service-summary h2,
.service-gallery h2 {
  color: var(--ink);
}
.chronology time {
  color: var(--blue);
  font-size: 34px;
}
.contact-details {
  background: var(--blue);
  color: white;
  border-top: 0;
  padding: 34px;
}
.contact-details a,
.contact-details .small {
  color: white;
}
.contact-details a:focus-visible {
  outline-color: white;
}
.contact-details .text-link {
  border-color: #8bb5d6;
}
@media (min-width: 1600px) {
  .hero-base {
    margin-top: -210px;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 22px;
  }
  .brand {
    width: 205px;
  }
  #navigation {
    gap: 19px;
  }
  .header-contact {
    padding-left: 20px;
  }
  .header-contact > a {
    font-size: 17px;
  }
  .hero-base {
    grid-template-columns: 570px 1fr;
    gap: 32px;
  }
  .hero-panel {
    padding: 36px 40px;
  }
  .company-intro {
    gap: 48px;
  }
  .service-showcase {
    padding-right: calc(48% + 24px);
  }
  .service-visual {
    width: 48%;
  }
  .service-entry > a {
    padding-right: 12px;
  }
  .home-training {
    gap: 48px;
  }
}
@media (max-width: 1000px) {
  :root {
    --gutter: 28px;
    --space-section-lg: 88px;
    --space-section-md: 72px;
  }
  html {
    scroll-padding-top: 145px;
  }
  .header-inner {
    min-height: 90px;
    flex-wrap: nowrap;
  }
  .brand {
    width: 205px;
  }
  .header-contact {
    display: none;
  }
  .js .menu-toggle {
    display: flex;
  }
  .site-header.is-scrolled .header-inner {
    min-height: 76px;
  }
  .quick-contact {
    display: block;
    background: var(--blue);
  }
  .quick-contact .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
  }
  .quick-contact a {
    color: white;
    font-size: 13px;
    padding-block: 10px;
    text-decoration: none;
  }
  #navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px var(--gutter) 22px;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 6px 10px rgb(30 65 90 / 0.1);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
  }
  .js #navigation:not(.open) {
    display: none;
  }
  #navigation > a,
  #navigation > a:first-child {
    padding: 14px 4px;
    border-top: var(--border);
    font-size: 17px;
  }
  #navigation > a:after {
    left: 4px;
    right: auto;
    width: 34px;
    bottom: 9px;
  }
  #navigation > a[aria-current] {
    background: transparent;
  }
  #navigation.open {
    animation: menu-reveal 220ms var(--ease);
  }
  html:not(.js) .header-inner {
    flex-wrap: wrap;
  }
  html:not(.js) #navigation {
    position: static;
    order: 2;
    width: 100%;
    box-shadow: none;
    padding: 0;
    max-height: none;
  }
  .hero-base {
    grid-template-columns: 1fr 230px;
    gap: 28px;
    margin-top: -125px;
  }
  .hero-panel {
    padding: 32px;
  }
  .hero-panel h1 {
    font-size: 44px;
  }
  .hero-panel .hero-subtitle {
    font-size: 19px;
  }
  .hero-panel .hero-actions {
    flex-wrap: wrap;
  }
  .hero-panel .button {
    padding-inline: 18px;
    font-size: 13px;
  }
  .company-intro {
    gap: 38px;
    padding-block: 64px 72px;
  }
  .company-intro p {
    font-size: 16px;
  }
  .service-entry h3 {
    font-size: 24px;
  }
  .service-entry-copy {
    padding-left: 18px;
  }
  .home-contact-links a:first-child {
    font-size: 38px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --type-h2: 30px;
    --type-h1: 34px;
    --space-section-sm: 40px;
    --space-section-md: 56px;
    --space-section-lg: 72px;
  }
  .industrial-hero .hero-media {
    height: 335px;
  }
  .industrial-hero .hero-media img {
    object-position: 45% 50%;
  }
  .hero-motion-toggle {
    bottom: auto;
    top: 14px;
    right: 14px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 11px;
  }
  .hero-base {
    display: block;
    margin-top: -36px;
  }
  .hero-panel {
    padding: 29px 28px 32px;
  }
  .hero-panel h1 {
    font-size: clamp(36px, 7vw, 44px);
    line-height: 1.06;
  }
  .hero-location {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .hero-panel .hero-subtitle {
    margin-top: 20px;
    font-size: 18px;
  }
  .hero-panel .hero-actions {
    margin-top: 24px;
    gap: 12px;
  }
  .hero-panel .button {
    padding: 12px 14px;
    font-size: 13px;
    min-height: 46px;
  }
  .hero-caption {
    margin-top: 18px;
    padding: 0;
    font-size: 12px;
    max-width: none;
  }
  .hero-caption br {
    display: none;
  }
  .hero-caption strong {
    display: inline;
    margin-left: 7px;
    font-size: 12px;
  }
  .company-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 48px 56px;
  }
  .company-intro h2 {
    font-size: 29px;
    max-width: 24ch;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .service-showcase {
    padding: 0;
    min-height: 0;
  }
  .service-entry {
    border: 0;
  }
  .service-entry:last-child {
    border: 0;
  }
  .service-entry > a {
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
  }
  .service-entry + .service-entry {
    margin-top: 34px;
  }
  .service-visual {
    position: static;
    width: 100%;
    height: auto;
    opacity: 1;
  }
  .service-visual img {
    height: auto;
    aspect-ratio: 1.6;
    object-fit: cover;
  }
  .service-entry-copy {
    padding: 22px 0 0;
  }
  .service-entry-copy:before {
    display: none;
  }
  .service-entry h3,
  .service-entry.is-active h3 {
    color: var(--blue);
    font-size: 25px;
  }
  .service-entry p {
    max-width: 55ch;
  }
  .service-entry-link {
    margin-top: 14px;
  }
  .preview-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }
  .work-caption h3 {
    font-size: 18px;
  }
  .work-caption .text-link {
    font-size: 12px;
  }
  .home-company {
    padding-block: 48px;
  }
  .company-picture img {
    aspect-ratio: 1.2;
  }
  .history-facts strong {
    font-size: 29px;
  }
  .home-documents {
    padding-block: 56px;
  }
  .home-documents .section-heading h2 {
    max-width: none;
  }
  .home-training {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 26px;
    margin-bottom: 44px;
  }
  .home-training h2 {
    font-size: 29px;
  }
  .training-label {
    font-size: 12px;
  }
  .home-training p {
    font-size: 16px;
  }
  .funding {
    padding: 28px 24px;
  }
  .funding h2 {
    font-size: 25px;
  }
  .home-contact {
    padding-block: 56px;
  }
  .home-contact-links a:first-child {
    font-size: 36px;
  }
  .footer-main {
    padding-block: 44px 32px;
  }
  .page-intro {
    padding-block: 36px 30px;
  }
  .contact-details {
    padding: 27px;
  }
}
@media (max-width: 430px) {
  .industrial-hero .hero-media {
    height: 290px;
  }
  .hero-panel {
    padding: 28px 24px;
  }
  .hero-panel .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-panel .button {
    justify-content: space-between;
  }
  .hero-panel .button:after {
    content: "↗";
    font-size: 17px;
  }
  .hero-caption {
    display: none;
  }
  .brand {
    width: 195px;
  }
  .work-caption {
    padding-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #navigation.open {
    animation: none;
  }
  .service-visual {
    transition: none;
  }
}
/* Finish round: measured tablet image proportions and contact alignment. */
@media (min-width: 761px) and (max-width: 900px) {
  .company-picture img {
    aspect-ratio: 1.6;
    object-position: 48% 35%;
  }
  .hero-base {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 24px;
  }
  .hero-caption {
    font-size: 12px;
  }
  .hero-caption strong {
    font-size: 13px;
  }
  .home-training {
    padding: 36px;
    gap: 32px;
  }
}
@media (min-width: 1001px) and (max-width: 1120px) {
  #navigation {
    gap: 15px;
  }
  .header-inner {
    gap: 20px;
  }
  .header-contact {
    padding-left: 18px;
  }
}
.industrial-hero .hero-media > picture {
  width: 100%;
  height: 100%;
}

.header-contact .phone-icon { flex: none; width: 20px; height: 20px; }
