:root {
  color-scheme: light;
  --orange: #ff6200;
  --orange-deep: #a63b00;
  --ink: #191c1e;
  --paper: #f7f6f3;
  --line: #dbdcd8;
  --muted: #525653;
  --wrap: 76rem;
  --type-page: clamp(2.25rem, 4.65vw, 4.25rem);
  --type-section: 1.65rem;
  --type-body: 1rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-width: 20rem; min-height: 100vh; display: flex; flex-direction: column; }
body:has(dialog[open]) { overflow: hidden; }
main { flex: 1; }
main:has(> .hero) { display: grid; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 6.5rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: .7rem; left: .7rem; z-index: 20; padding: .8rem 1rem; background: #fff; }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #e7e7e3; background: white; }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 11.7rem; height: 3.65rem; object-fit: cover; }
nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.8rem); }
.site-header nav { gap: clamp(.6rem, 1.5vw, 1.5rem); white-space: nowrap; }
nav a { font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--orange-deep); }
nav .nav-contact { border: 1px solid var(--ink); padding: .65rem 1.15rem; }
.menu-toggle { display: none; }
.hero { display: grid; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(1.7rem, 5vw, 5rem); align-items: center; align-content: center; padding-block: clamp(2.4rem, 5vw, 4.8rem);
}
.hero-image { width: 100%; height: auto; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { margin-bottom: 1.15rem; font-size: var(--type-page); line-height: 1.05; letter-spacing: -.045em; }
h2, h3, h4 { font-size: var(--type-body); }
.section-head > h2, .section-title {
  margin-bottom: 0;
  font-size: var(--type-section);
  letter-spacing: -.025em;
}
.hero-lead { max-width: 32rem; margin-bottom: 0; }
.button {
  display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center;
  padding: .8rem 1.2rem; border: 1px solid transparent;
  text-align: center; text-decoration: none; font-weight: 700;
}
.section { padding-block: clamp(3rem, 5.5vw, 5.4rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.6rem; }
.page-masthead { color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-masthead-copy { padding-block: clamp(2.2rem, 5vw, 4.4rem); }
.page-masthead h1 {
  margin-bottom: 0;
  border-inline-start: 3px solid var(--orange);
  padding-inline-start: .65rem;
}
.work-navigation { flex-wrap: wrap; gap: .65rem 1.4rem; margin-top: 1.2rem; }
.work-navigation a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: .25em; }
.work-navigation a:hover { color: var(--ink); }
.masthead-with-image {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(1.25rem, 4vw, 3.25rem);
  align-items: center;
  padding-block: clamp(1.25rem, 2.4vw, 2rem);
}
.masthead-with-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.25rem); }
.service { display: flex; flex-direction: column; padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.service h2 { margin-bottom: .65rem; }
.service p { color: var(--muted); margin-bottom: 1.4rem; }
.service-description { margin-bottom: 1.4rem; }
.service-description p { margin-bottom: 0; }
.service-description p + p { margin-top: .6rem; }
.service-epc {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  align-items: center;
  gap: .75rem 2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 0;
  border-inline-start: 3px solid var(--orange);
  background: var(--paper);
}
.service-epc h2 { margin: 0; }
.service-epc p { max-width: 52rem; margin-bottom: 0; }
.service-epc .service-description { margin-bottom: 0; }
.service a { align-self: start; margin-top: auto; color: var(--orange-deep); font-weight: 700; text-underline-offset: .33rem; }
.service-extension {
  margin-top: clamp(2.4rem, 5vw, 4rem);
}
.service-extension > h2 { margin: 0 0 1rem; }
.service-extension-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.service-extension-grid article { background: var(--paper); border-bottom: 1px solid var(--line); }
.service-extension-grid img { width: 100%; height: auto; background: var(--paper); }
.service-extension-grid h3 { margin: 1rem 1.15rem .35rem; }
.service-extension p { margin: 0; color: var(--muted); }
.service-extension-grid p { margin: 0 1.15rem 1.15rem; }
.work-section { background: var(--paper); border-block: 1px solid var(--line); }
.work-section .section-head { display: block; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.filters button {
  min-height: 2.65rem; padding: .45rem .88rem; border: 1px solid #cbc9c4;
  background: transparent; color: var(--ink); font-weight: 700; cursor: pointer;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.work-card { position: relative; display: block; height: 100%; text-decoration: none; background: white; border-bottom: 1px solid var(--line); }
.work-card > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.work-card > img.weld-detail { object-position: center top; }
.work-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.work-caption { position: relative; padding: .75rem 2.35rem .85rem .85rem; }
.work-caption h3 { margin: 0; line-height: 1.35; text-wrap: initial; }
.work-caption span { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--orange-deep); }
.international { background: var(--paper); border-block: 1px solid var(--line); }
.international-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.reference-list { border-top: 1px solid var(--line); }
.reference-list article { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.reference-list h3 { margin-bottom: .45rem; }
.reference-list article > p:last-child { margin: 0; color: var(--muted); }
.about { background: var(--paper); }
.about img { width: 100%; height: auto; }
.about p { margin: 0; color: var(--muted); }
.about p + p { margin-top: .65rem; }
.about-intro, .about-details {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.6rem);
}
.about-intro { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.about-intro h1 { padding-inline-start: .65rem; border-inline-start: 3px solid var(--orange); }
.about-intro p { max-width: 34ch; }
.about-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.about-details img { aspect-ratio: 16 / 9; object-fit: cover; }
.about-details .about-platform { object-position: center top; }
.about-details h2 { margin: 1rem 0 .55rem; }
.contact-inner {
  display: flex; gap: 2rem; align-items: center; justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.45rem); border-inline-start: 3px solid var(--orange);
  background: var(--paper); font-style: normal;
}
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #333638; }
.contact :focus-visible { outline-color: var(--ink); }
.contact-details { display: grid; justify-items: start; gap: .35rem; }
.site-footer { background: var(--ink); color: #e8e8e5; }
.footer-inner { min-height: 5.2rem; padding-block: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-logo { display: block; width: 8.5rem; height: 3rem; object-fit: cover; }
.footer-inner a { text-underline-offset: .25em; }
.footer-contact { display: grid; gap: .15rem; font-size: .85rem; font-style: normal; line-height: 1.45; }
.footer-contact > div { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.lightbox {
  width: min(64rem, 100% - 1.3rem); max-height: calc(100dvh - 1.3rem); padding: .75rem;
  border: 1px solid #80817d; color: #fff; background: var(--ink);
}
.lightbox::backdrop { background: #0e0e0fe8; }
.lightbox img { width: 100%; height: min(70vh, 42rem); object-fit: contain; background: #111; }
.lightbox-bar, .lightbox-nav { display: flex; justify-content: space-between; align-items: center; gap: .55rem; }
.lightbox-bar { margin-bottom: .6rem; }
.lightbox-nav { margin-top: .6rem; }
.lightbox-bar p { margin: 0; font-weight: 700; }
.lightbox button { padding: .45rem .7rem; color: white; border: 1px solid #929292; background: #2a2b2b; cursor: pointer; }
.lightbox button:hover { background: #3a3b3b; }
@media (max-width: 58rem) {
  .wrap { width: min(var(--wrap), 100% - 3.2rem); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  html { scroll-padding-top: 4.5rem; }
  .header-inner { min-height: 4.15rem; }
  .brand img { width: 9.3rem; height: 3rem; }
  html.js .menu-toggle { display: inline-flex; padding: .5rem .75rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; }
  html.js .site-header nav { display: none; }
  html.js .site-header nav.open {
    position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0;
    padding: .45rem 1rem 1rem; border-bottom: 1px solid var(--line); background: white;
  }
  .site-header nav a { display: block; padding: .7rem .4rem; }
  nav .nav-contact { border: 0; padding: .7rem .4rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 0; }
  html:not(.js) .site-header nav { flex-wrap: wrap; gap: .4rem; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner { grid-template-columns: 1fr; gap: 1.45rem; padding-block: 2.1rem 1.6rem; }
  .button { padding-inline: .85rem; }
  .section-head { flex-direction: column; align-items: start; gap: .8rem; }
  .masthead-with-image, .service-grid, .service-epc, .service-extension-grid, .international-inner, .about-intro, .about-details { grid-template-columns: 1fr; }
  .masthead-with-image .page-masthead-copy { padding-block: .4rem 0; }
  .about-intro p { max-width: 50ch; }
  .service { min-height: auto; }
  .work-caption { padding: .65rem 1.75rem .75rem .65rem; min-height: 5.6rem; }
  .work-caption span { right: .6rem; }
  .contact-inner { align-items: start; flex-direction: column; gap: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: start; justify-content: center; gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.certificates { background: var(--paper); }
.certificate-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.3rem, 3.5vw, 3.1rem); }
.certificate-group { align-self: start; padding: 0 clamp(1rem, 2.5vw, 1.55rem); background: white; border-top: 3px solid var(--orange); }
.certificate-group > h2 { margin: 0; padding: 1.15rem 0 .9rem; text-wrap: initial; }
.certificate-list { margin: 0; padding: 0; list-style: none; }
.certificate-list li { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .8rem 0; border-top: 1px solid var(--line); }
.certificate-list h3 { margin: 0 0 .28rem; }
.certificate-list p { margin: 0; color: var(--muted); }
.certificate-list .certificate-detail { margin-top: .25rem; }
.certificate-thumbnail {
  display: grid; place-items: center; flex: 0 0 3.75rem; min-height: 4.65rem;
  padding: .18rem; border: 1px solid var(--line); background: var(--paper);
}
.certificate-thumbnail img { width: 100%; height: auto; }
.certificate-thumbnail:hover { border-color: var(--orange-deep); }
@media (max-width: 42rem) { .certificate-columns { grid-template-columns: 1fr; } }

.domestic-group + .domestic-group { margin-top: 2rem; }
.domestic-group > h3 { margin: 0 0 .85rem; }
.domestic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.3rem; border-top: 1px solid var(--line); }
.domestic-grid.domestic-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.domestic-grid article { padding: .95rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.domestic-grid h4 { margin: 0 0 .4rem; line-height: 1.35; }
.domestic-grid p { margin: 0; color: var(--muted); }
.reference-folder { margin-top: .9rem; }
.reference-folder summary { width: fit-content; padding: .45rem 0; cursor: pointer; color: var(--orange-deep); font-weight: 700; }
.reference-folder > .domestic-grid { margin-top: .5rem; }
.current-projects { background: white; border-top: 1px solid var(--line); }
.active-projects { border-top: 1px solid var(--line); }
.active-project { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .35rem 1.5rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.active-project p { margin: 0; color: var(--muted); }
.active-project h3 { margin: 0; line-height: 1.35; }
@media (max-width: 58rem) { .domestic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 42rem) {
  .domestic-grid, .domestic-grid.domestic-featured, .active-project { grid-template-columns: 1fr; }
}
