/* JMA Group brand colours supplied by the owner. */
:root {
  --brand-orange: #F96C09;
  --brand-white: #F6F6F6;
  --brand-black: #000000;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--brand-black);
  background: var(--brand-white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.site-header {
  background: var(--brand-black);
  color: var(--brand-white);
  border-bottom: 3px solid var(--brand-orange);
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; flex-shrink: 0; }
.brand img { display: block; width: 150px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
nav a {
  padding: 12px 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a[aria-current="page"] {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
}
a:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 6px; }
main { width: 100%; flex: 1; max-width: 1200px; margin: 0 auto; padding: 64px 40px; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; letter-spacing: -0.035em; }
.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  padding: 12px 16px;
  background: var(--brand-white);
  color: var(--brand-black);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
@media (max-width: 640px) {
  .header-inner { padding: 20px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .brand img { width: 125px; }
  nav { width: 100%; gap: 8px 24px; }
  nav a { font-size: 14px; }
  main { padding: 40px 24px; }
}

.site-footer { background: var(--brand-black); color: var(--brand-white); border-top: 3px solid var(--brand-orange); }
.footer-inner { max-width: 1200px; margin: auto; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-name { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.footer-contact address { font-style: normal; font-size: 15px; line-height: 1.6; }
.footer-contact a { text-underline-offset: 4px; }
.footer-contact a:hover { color: var(--brand-orange); }
.footer-links { gap: 12px 24px; }
.legal-page { max-width: 880px; line-height: 1.75; }
.policy-date { margin: 20px 0 28px; font-size: 14px; }
.policy-notice { border-left: 4px solid var(--brand-orange); padding: 12px 20px; margin-bottom: 36px; background: #fff; }
.legal-page section + section { margin-top: 32px; }
.legal-page h2 { font-size: 23px; line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.02em; }
.legal-page p { margin-top: 0; }
.legal-page a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-page a:hover { text-decoration-thickness: 2px; }
@media (max-width: 640px) {
  .footer-inner { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 8px 24px; }
  .legal-page h2 { font-size: 21px; }
}

/* Service showcases */
.services-main { padding-top: 0; padding-bottom: 0; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.home-hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; background: #000; color: #f6f6f6; margin: 0 -40px; }
.hero-copy { padding: 64px 32px 64px 40px; align-self: center; }
.home-hero h1 { font-size: clamp(36px,4.1vw,56px); line-height: 1.08; }
.home-hero h1 span { color: var(--brand-orange); }
.hero-intro { max-width: 440px; margin: 24px 0 28px; font-size: 17px; line-height: 1.7; color: #d0d0d0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 22px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.3; }
.button-orange { background: var(--brand-orange); color: #000; }
.button-orange:hover { background: #ff8a36; }
.text-link { font-size: 14px; text-underline-offset: 5px; }
.hero-image { position: relative; min-height: 420px; }
.hero-image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.image-label { position: absolute; bottom: 24px; left: 24px; right: 24px; background: #000e; padding: 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.image-label span { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.services-section { padding: 72px 0; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: flex-end; gap: 48px; justify-content: space-between; margin-bottom: 30px; }
.services-main h2 { font-size: clamp(26px,3vw,36px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 16px; }
.section-heading h2 { max-width: 560px; margin-bottom: 0; }
.section-heading > p { max-width: 330px; margin: 0; font-size: 15px; line-height: 1.65; color: #555; }
.service-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px; }
.service-card { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid #dedede; text-decoration: none; transition: border-color .15s; }
.service-card:nth-child(n+4) { grid-column: span 3; }
.service-card:hover { border-color: #000; }
.service-card > img { display: block; width: 100%; height: 230px; object-fit: cover; }
.card-copy { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.service-number { font-size: 12px; font-weight: 700; color: #555; margin-bottom: 14px; }
.service-card h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 14px; }
.service-card p { font-size: 15px; line-height: 1.65; color: #555; margin: 0 0 24px; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #ddd; font-size: 13px; font-weight: 700; }
.card-link > span { color: #000; background: var(--brand-orange); padding: 5px 8px; }
.enquiry { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; margin-bottom: 64px; background: #e8e8e8; }
.enquiry p:last-child { color: #444; line-height: 1.6; margin-bottom: 0; }
.enquiry .button { flex-shrink: 0; }
.page-intro { padding: 64px 0 0; }
.page-intro > p:last-child { font-size: 19px; color: #555; line-height: 1.6; }
.breadcrumb { display: flex; align-items: center; gap: 12px; margin: 28px 0 38px; font-size: 12px; color: #555; }
.breadcrumb a { font-size: 12px; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.detail-hero h1 { font-size: clamp(36px,4.5vw,56px); }
.detail-hero p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: #444; }
.detail-hero p.detail-tagline { font-size: 24px; line-height: 1.4; color: #000; margin: 22px 0 18px; }
.detail-hero .button { margin-top: 16px; }
.detail-hero > img { width: 100%; height: 510px; object-fit: cover; }
.detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 64px 0; }
.detail-info h2 { font-size: 28px; }
.service-list { padding: 0; margin: 24px 0 0; list-style: none; }
.service-list li { padding: 15px 0; border-bottom: 1px solid #ccc; font-size: 16px; }
.service-list li::before { content: '↗'; margin-right: 14px; }
.enquiry-note { padding: 30px; background: #e9e9e9; border-top: 4px solid var(--brand-orange); }
.enquiry-note p { line-height: 1.7; color: #444; }
.enquiry-note a { color: #000; font-weight: 700; text-underline-offset: 4px; }
.gallery-section > p:not(.eyebrow) { line-height: 1.6; color: #555; }
.photo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.photo-gallery figure { margin: 0; }
.photo-gallery img { display: block; width: 100%; height: 370px; object-fit: contain; background: #e4e4e4; }
.photo-gallery figcaption { color: #555; padding: 12px 0; font-size: 13px; line-height: 1.6; }
.other-services { padding: 64px 0; }
.other-services > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.other-services a { padding: 16px 20px; border: 1px solid #aaa; text-decoration: none; font-size: 14px; font-weight: 700; }
.other-services a:hover { background: #fff; border-color: #000; }
.other-services a span { padding-left: 16px; }
@media(max-width: 900px) {
  .home-hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-top: 40px; padding-bottom: 40px; }
  .service-card, .service-card:nth-child(n+4) { grid-column: span 3; }
  .service-card:last-child { grid-column: span 6; }
  .section-heading { align-items: flex-start; gap: 24px; }
  .enquiry { flex-direction: column; align-items: flex-start; }
  .detail-hero, .detail-info { gap: 28px; }
}
@media(max-width: 640px) {
  .home-hero { grid-template-columns: 1fr; margin: 0 -24px; }
  .hero-copy { padding: 40px 24px; }
  .home-hero h1 { font-size: 44px; }
  .hero-image { min-height: 340px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .services-section { padding: 44px 0; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card, .service-card:nth-child(n+4), .service-card:last-child { grid-column: auto; }
  .service-card > img { height: 240px; }
  .card-copy { padding: 24px; }
  .enquiry { padding: 28px 24px; margin-bottom: 40px; }
  .detail-hero, .detail-info, .photo-gallery { grid-template-columns: 1fr; }
  .detail-hero > img { height: 350px; }
  .detail-info, .other-services { padding: 44px 0; }
  .photo-gallery img { height: 330px; }
  .page-intro { padding-top: 40px; }
}
@media(prefers-reduced-motion: reduce) { .service-card { transition: none; } }

/* Homepage collage: prominent Sony scaffolding, with the high-vis and HIAB photos together. */
.hero-collage { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 4px; min-width: 0; min-height: 600px; background: #000; }
.collage-tile { min-width: 0; min-height: 0; overflow: hidden; position: relative; }
.collage-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.collage-scaffolding { grid-column: 1 / 3; grid-row: 1 / 4; }
.collage-truck { grid-column: 3 / 5; grid-row: 1; }
.collage-vehicle { grid-column: 3 / 5; grid-row: 2; }
.collage-recycling { grid-column: 3; grid-row: 3; }
.collage-hiab { grid-column: 4; grid-row: 3; }
.collage-scaffolding img { object-position: 62% 50%; }
.collage-truck img { object-position: 53% 70%; }
.collage-vehicle img { object-position: 39% 58%; }
.collage-recycling img { object-position: 31% 58%; }
.collage-hiab img { object-position: 57% 60%; }
.metal-gallery img { height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: transparent; }
.metal-gallery .landscape-photo img { aspect-ratio: 4 / 3; }
.metal-videos { margin-top: 48px; }
.video-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.video-gallery figure { margin: 0; min-width: 0; }
.video-gallery video { display: block; width: 100%; height: auto; max-height: 540px; background: #000; }
.video-gallery figcaption { font-size: 13px; line-height: 1.6; color: #555; padding: 12px 0; }
@media (min-width: 641px) and (max-width: 900px) {
 .home-hero { grid-template-columns: 1fr; }
 .hero-copy { padding-right: 40px; }
 .hero-collage { height: 600px; min-height: 0; }
}
@media (max-width: 640px) {
 .hero-collage { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 420px 160px 230px; min-height: 0; }
 .collage-scaffolding { grid-column: 1 / 3; grid-row: 1; }
 .collage-scaffolding img { object-position: 50% 42%; }
 .collage-truck { grid-column: 1; grid-row: 2; }
 .collage-vehicle { grid-column: 2; grid-row: 2; }
 .collage-recycling { grid-column: 1; grid-row: 3; }
 .collage-hiab { grid-column: 2; grid-row: 3; }
 .video-gallery { grid-template-columns: 1fr; }
}
