﻿:root {
  --primary: #111827;
  --secondary: #1f2937;
  --light: #f9fafb;
  --safety-orange: #f97316;
  --safety-yellow: #facc15;
  --charcoal: var(--primary);
  --steel: var(--secondary);
  --white: #ffffff;
  --orange: var(--safety-orange);
  --yellow: var(--safety-yellow);
  --ink: var(--primary);
  --muted: #5f6b7a;
  --line: #d8dee7;
  --soft: var(--light);
  --soft-2: #eef2f7;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
main[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.gallery-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 56px);
  color: var(--white);
  background: rgba(17, 24, 39, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  background: var(--orange);
  border-radius: 6px;
}

.brand strong {
  display: block;
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(0.88rem, 2vw, 1rem);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  white-space: nowrap;
}

.brand-logo {
  flex: 0 1 auto;
  gap: 0;
}

.brand-logo img {
  display: block;
  width: clamp(188px, 18vw, 256px);
  max-width: 100%;
  max-height: 46px;
  height: auto;
  object-fit: contain;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-quote {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--white);
  white-space: nowrap;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.nav-quote:hover,
.nav-quote:focus-visible {
  background: #ea6209;
  border-color: #ea6209;
}

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 79px);
  color: var(--white);
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/industrial-photographer-landing.jpg");
  background-position: 62% center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.97) 0%, rgba(17, 24, 39, 0.86) 39%, rgba(17, 24, 39, 0.24) 74%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.22) 0%, rgba(17, 24, 39, 0.66) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 79px);
  flex-direction: column;
  justify-content: center;
  padding: 56px 0;
}

.hero-content {
  width: min(100%, 760px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 770px;
  font-size: clamp(3rem, 6.2vw, 5.35rem);
  font-weight: 800;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 750;
}

h3 {
  font-size: 1.18rem;
  font-weight: 750;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.hero-trust span::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--primary);
  content: "\2713";
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  background: var(--yellow);
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ea6209;
  border-color: #ea6209;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.trust-bar {
  color: var(--white);
  background: var(--secondary);
  border-top: 1px solid rgba(250, 204, 21, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trust-grid span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid span:last-child {
  border-right: 0;
}

.trust-grid span::before {
  content: "\2713";
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  background: var(--yellow);
  border-radius: 50%;
}

.industry-showcase {
  border-bottom: 1px solid var(--line);
}

.industry-showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.68fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: end;
  margin-bottom: 42px;
}

.industry-showcase-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.industry-card {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.industry-card:hover {
  background: var(--white);
  border-color: rgba(249, 115, 22, 0.65);
  transform: translateY(-2px);
}

.industry-card svg {
  width: 30px;
  height: 30px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-card h3 {
  font-size: 0.98rem;
}

.section {
  padding: clamp(72px, 10vw, 118px) 0;
}

.section-white {
  background: var(--white);
}

.section-steel {
  background: var(--soft);
}

.section-charcoal {
  color: var(--white);
  background: var(--primary);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-text {
  display: grid;
  gap: 16px;
}

.about-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-text p:first-child {
  color: var(--primary);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.about-text p:last-child {
  padding: 14px 16px;
  color: var(--primary);
  font-weight: 750;
  background: var(--soft);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
}

.about-images {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(190px, 0.72fr);
  gap: 14px;
  align-items: end;
}

.about-images figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--primary);
  border-radius: var(--radius);
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-primary {
  min-height: 560px;
}

.about-image-primary img {
  min-height: 560px;
  object-position: 67% center;
}

.about-image-secondary {
  min-height: 400px;
}

.about-image-secondary img {
  min-height: 400px;
  object-position: 36% center;
}

.about-image-secondary figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 13px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 750;
  background: rgba(17, 24, 39, 0.88);
  border-left: 4px solid var(--yellow);
  border-radius: 5px;
}

.quote-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-charcoal p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading-narrow {
  max-width: 680px;
}

.deliverables-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.deliverables-heading > p:last-child {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.deliverables-card {
  position: relative;
  min-height: 390px;
  padding: clamp(26px, 4vw, 36px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
}

.deliverables-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--orange);
  content: "";
}

.deliverables-card-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.deliverables-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 14px;
}

.deliverables-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.deliverables-card-top p {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deliverables-card-top h3 {
  max-width: 480px;
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.2;
}

.deliverables-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.deliverables-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--secondary);
  font-weight: 750;
}

.deliverables-list li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--yellow);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.14);
  content: "";
}

.deliverables-card-dark {
  color: var(--white);
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}

.deliverables-card-dark .deliverables-icon {
  color: var(--white);
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.35);
}

.deliverables-card-dark .deliverables-card-top p {
  color: var(--orange);
}

.deliverables-card-dark .deliverables-card-top h3,
.deliverables-card-dark .deliverables-list li {
  color: var(--white);
}

.deliverables-card-dark .deliverables-list li::before {
  box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.18);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.service-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--orange);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card p,
.process-grid p,
.safety-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.featured-projects {
  background: var(--primary);
  color: var(--white);
}

.featured-projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.68fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 72px);
}

.featured-projects-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.featured-projects-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
}

.case-study-list {
  display: grid;
  gap: clamp(34px, 6vw, 64px);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  min-height: 520px;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.case-study-reverse {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
}

.case-study-reverse .case-study-media {
  order: 2;
}

.case-study-media {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 150px;
  min-width: 0;
  min-height: 520px;
  background: #0f172a;
  cursor: zoom-in;
}

.case-study-media::after {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 8px 11px;
  color: var(--white);
  content: "View gallery";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  pointer-events: none;
}

.case-study-media:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}

.case-study-image {
  position: relative;
  min-height: 370px;
  margin: 0;
  overflow: hidden;
}

.case-study-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(17, 24, 39, 0.58));
  pointer-events: none;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-image > span {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  padding: 8px 11px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange);
  border-radius: 5px;
}

.case-study-supporting {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.12);
}

.case-study-supporting img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.case-study-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
}

.case-study-number {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.case-study-details {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
}

.case-study-details div {
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.case-study-details dt {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: clamp(14px, 3vw, 34px);
  place-items: center;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  width: min(1180px, 100%);
  height: min(880px, calc(100svh - 28px));
  padding: clamp(16px, 2.4vw, 28px);
  color: var(--white);
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gallery-kicker {
  margin: 0 0 3px;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-toolbar h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.gallery-close,
.gallery-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.gallery-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.gallery-close span {
  font-size: 1.75rem;
  line-height: 1;
}

.gallery-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  min-height: 0;
  align-items: center;
}

.gallery-arrow {
  width: 48px;
  height: 58px;
  border-radius: 6px;
  font-size: 1.35rem;
}

.gallery-close:hover,
.gallery-close:focus-visible,
.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  color: var(--primary);
  background: var(--orange);
  border-color: var(--orange);
}

.gallery-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.gallery-figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: var(--primary);
  border-radius: 4px;
}

.gallery-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.gallery-figure figcaption span:last-child {
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 800;
}

.gallery-thumbnails {
  display: grid;
  grid-auto-columns: minmax(110px, 150px);
  grid-auto-flow: column;
  gap: 10px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--orange) rgba(255, 255, 255, 0.08);
}

.gallery-thumbnail {
  height: 72px;
  padding: 0;
  overflow: hidden;
  background: var(--primary);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.56;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnail:hover,
.gallery-thumbnail:focus-visible,
.gallery-thumbnail.is-active {
  border-color: var(--yellow);
  opacity: 1;
}

.value-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-heading {
  margin-bottom: 38px;
}

.value-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.value-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 38px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card:first-child svg,
.value-card:nth-child(3) svg {
  color: var(--yellow);
}

.value-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.testimonials-section {
  color: var(--white);
  background: var(--secondary);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 8vw, 96px);
  align-items: center;
}

.testimonials-heading h2 {
  margin-bottom: 20px;
}

.testimonials-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-slider {
  min-width: 0;
}

.testimonial-viewport {
  overflow: hidden;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-track {
  display: flex;
  transition: transform 240ms ease;
}

.testimonial-slide {
  display: flex;
  flex: 0 0 100%;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(28px, 5vw, 54px);
}

.testimonial-mark {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 4.8rem;
  line-height: 0.75;
}

.testimonial-slide blockquote {
  max-width: 720px;
  margin: auto 0;
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.45;
}

.testimonial-slide footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-slide footer strong {
  color: var(--white);
}

.testimonial-slide footer span {
  color: rgba(255, 255, 255, 0.62);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.testimonial-dots,
.testimonial-arrows {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible,
.testimonial-dot.is-active {
  background: var(--yellow);
}

.testimonial-arrows button {
  display: grid;
  width: 46px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
}

.testimonial-arrows button:hover,
.testimonial-arrows button:focus-visible {
  color: var(--primary);
  background: var(--orange);
  border-color: var(--orange);
}

.content-services {
  border-bottom: 1px solid var(--line);
}

.content-services-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.content-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.content-service-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.content-service-card:hover::after {
  transform: scaleX(1);
}

.content-service-card > span {
  margin-bottom: auto;
  color: var(--orange);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.content-service-card h3 {
  margin-top: 44px;
}

.content-service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-service-card-featured {
  grid-column: span 2;
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.content-service-card-featured p {
  color: rgba(255, 255, 255, 0.7);
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: start;
}

.safety-intro {
  position: sticky;
  top: 120px;
}

.safety-intro h2 {
  margin-bottom: 22px;
}

.safety-intro > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.safety-image {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.safety-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(17, 24, 39, 0.72));
}

.safety-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 65% center;
}

.safety-image figcaption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  padding: 8px 11px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--yellow);
  border-radius: 5px;
}

.safety-card-grid {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.safety-card {
  min-height: 210px;
  padding: 24px;
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.safety-card > span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--yellow);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.safety-card h3 {
  color: var(--white);
}

.safety-card p {
  color: rgba(255, 255, 255, 0.66);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid article {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 46px;
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  background: var(--secondary);
  border-radius: 6px;
}

.industries-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--primary);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.quote-section {
  border-top: 1px solid var(--line);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 84px);
}

.quote-grid h2 {
  margin-bottom: 20px;
}

.contact-panel {
  align-self: start;
}

.contact-intro {
  max-width: 560px;
}

.contact-info-block {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-info-block h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.12rem;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
}

.contact-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.12rem;
}

.contact-info-item strong {
  display: block;
  color: var(--primary);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.96rem;
}

.contact-info-item p,
.contact-info-item a {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.contact-info-item a {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.contact-info-item a:hover,
.contact-info-item a:focus-visible {
  color: var(--orange);
}

.contact-note {
  margin-top: 10px !important;
  color: var(--primary) !important;
  font-weight: 800;
}

.quote-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.quote-details span {
  display: block;
  width: fit-content;
  padding: 10px 12px;
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 800;
  background: var(--soft);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: none;
  padding: 12px 13px;
}

.quote-form select {
  color: #ffffff;
  background-color: #151722;
  color-scheme: light;
  appearance: auto;
}

.quote-form select option {
  color: #111827;
  background-color: #ffffff;
  font-weight: 700;
}

.quote-form select option:checked,
.quote-form select option:hover {
  color: #111827;
  background-color: #dbeafe;
}

.quote-form select option:disabled {
  color: #6b7280;
  background-color: #ffffff;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.quote-form ::placeholder {
  color: rgba(255, 255, 255, 0.46);
}
.custom-select-field {
  position: relative;
  display: grid;
  width: 100%;
  gap: 8px;
}

.custom-select-field.full-field {
  grid-column: 1 / -1;
}

.custom-select-field.is-open {
  z-index: 90;
}

.custom-select-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form .custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.custom-select-chevron {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
  line-height: 1;
}

.quote-form .custom-select-trigger:hover,
.quote-form .custom-select-trigger:focus-visible,
.custom-select-field.is-open .custom-select-trigger {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  outline: none;
}

.custom-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  display: grid;
  max-height: 235px;
  overflow-y: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
}


.custom-select-menu[hidden] {
  display: none !important;
}

.quote-form .custom-select-menu button {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 11px 13px;
  color: #111827;
  background: #ffffff;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.quote-form .custom-select-menu button:hover,
.quote-form .custom-select-menu button:focus-visible,
.quote-form .custom-select-menu button[aria-selected="true"] {
  color: #111827;
  background: #dbeafe;
  outline: none;
}
.industry-choice {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

.industry-choice legend {
  padding: 0;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.industry-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-choice .industry-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.industry-choice label {
  position: relative;
  display: block;
}

.industry-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.industry-choice span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.industry-choice span:hover,
.industry-choice input:focus-visible + span {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.16);
}

.industry-choice input:checked + span {
  color: var(--primary);
  background: var(--yellow);
  border-color: var(--yellow);
}

@media (max-width: 560px) {
  .industry-choice-grid {
    grid-template-columns: 1fr;
  }
}

.full-field {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #d9f99d;
}

.form-status.is-error {
  color: #fecaca;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  padding: clamp(54px, 8vw, 84px) 0 26px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
}

.site-footer p {
  margin: 0;
}

.footer-brand > a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  display: inline-flex;
  flex: 0 1 auto;
  gap: 0;
}

.footer-logo img {
  width: clamp(236px, 28vw, 356px);
  max-height: 78px;
}

.footer-brand > p {
  max-width: 490px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.footer-location {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 10px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--yellow);
  border-radius: 4px;
}

.footer-navigation,
.footer-social {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-navigation strong,
.footer-social strong {
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-navigation a,
.footer-social a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--orange);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 112px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--orange);
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .nav-shell {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-shell.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    padding: 14px;
    border-radius: 6px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-quote {
    width: 100%;
  }

  .hero-bg {
    background-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.78) 58%, rgba(17, 24, 39, 0.44) 100%),
      linear-gradient(180deg, rgba(17, 24, 39, 0.18) 0%, rgba(17, 24, 39, 0.72) 100%);
  }

  .about-layout,
  .deliverables-grid,
  .industry-showcase-heading,
  .featured-projects-heading,
  .testimonials-layout,
  .safety-layout,
  .industries-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-card {
    min-height: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study,
  .case-study-reverse {
    grid-template-columns: 1fr;
  }

  .safety-intro {
    position: static;
  }

  .about-images {
    max-width: 780px;
  }

  .safety-card-grid {
    grid-column: auto;
  }

  .case-study-reverse .case-study-media {
    order: 0;
  }

  .case-study {
    min-height: 0;
  }

  .case-study-media {
    min-height: 560px;
  }

  .case-study-image {
    min-height: 380px;
  }

  .case-study-media {
    grid-template-rows: minmax(0, 1fr) 180px;
  }

  .case-study-supporting,
  .case-study-supporting img {
    min-height: 180px;
    height: 180px;
  }

  .industry-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding: 14px;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .brand small {
    max-width: 176px;
    white-space: normal;
  }

  .brand-logo img {
    width: min(58vw, 218px);
    max-height: 42px;
  }

  .footer-logo img {
    width: min(78vw, 310px);
    max-height: 72px;
  }

  .nav-shell {
    right: 14px;
    left: 14px;
  }

  .hero,
  .hero-inner {
    min-height: calc(100svh - 70px);
  }

  .hero-bg {
    background-position: 72% center;
  }

  .hero-inner {
    padding: 46px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.75rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-trust span {
    font-size: 0.84rem;
    white-space: normal;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid span {
    min-height: 52px;
  }

  .services-grid,
  .value-card-grid,
  .content-service-grid,
  .process-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .deliverables-card {
    padding: 24px 20px;
  }

  .deliverables-card-top {
    flex-direction: column;
  }

  .industry-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-image-primary,
  .about-image-primary img,
  .about-image-secondary,
  .about-image-secondary img {
    min-height: 360px;
  }

  .industry-card {
    min-height: 138px;
    padding: 18px;
  }

  .value-card {
    min-height: 0;
    padding: 22px;
  }

  .value-card svg {
    margin-bottom: 28px;
  }

  .content-service-card,
  .content-service-card-featured {
    min-height: 210px;
    grid-column: auto;
    padding: 22px;
  }

  .testimonial-slide {
    min-height: 350px;
    padding: 28px 22px;
  }

  .testimonial-slide footer {
    display: grid;
  }

  .testimonial-controls {
    align-items: flex-end;
  }

  .testimonial-dots {
    max-width: 120px;
    flex-wrap: wrap;
  }

  .footer-grid {
    gap: 38px;
  }

  .footer-bottom {
    display: grid;
  }

  .case-study,
  .case-study-media {
    min-height: 330px;
  }

  .case-study-media {
    grid-template-rows: 280px 120px;
  }

  .case-study-image {
    min-height: 280px;
  }

  .case-study-supporting,
  .case-study-supporting img {
    min-height: 120px;
    height: 120px;
  }

  .case-study-content {
    padding: 26px 22px;
  }

  .case-study-media::after {
    top: 12px;
    right: 12px;
  }

  .gallery-modal {
    padding: 0;
  }

  .gallery-dialog {
    width: 100%;
    height: 100svh;
    padding: 14px;
    border: 0;
    border-radius: 0;
  }

  .gallery-stage {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 52px;
    background: rgba(17, 24, 39, 0.78);
    transform: translateY(-50%);
  }

  .gallery-arrow-previous {
    left: 8px;
  }

  .gallery-arrow-next {
    right: 8px;
  }

  .gallery-figure figcaption {
    font-size: 0.76rem;
  }

  .gallery-thumbnails {
    grid-auto-columns: 104px;
  }

  .gallery-thumbnail {
    height: 62px;
  }

  .safety-image,
  .safety-image img {
    min-height: 330px;
  }

  .safety-card-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-grid article,
  .safety-card {
    padding: 22px;
  }

  .safety-card {
    min-height: 0;
  }

  .safety-card > span {
    margin-bottom: 24px;
  }

  .service-number,
  .process-grid span {
    margin-bottom: 28px;
  }

}

.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a[aria-current="page"]::after {
  background: var(--yellow);
  transform: scaleX(1);
}

.portal-page,
.portal-main {
  background: var(--light);
}

.portal-hero {
  position: relative;
  isolation: isolate;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: clamp(108px, 13vw, 154px) 0 clamp(60px, 8vw, 90px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.82) 48%, rgba(17, 24, 39, 0.42) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.15) 0%, rgba(17, 24, 39, 0.72) 100%),
    url("assets/industrial-photographer-landing.jpg") center / cover no-repeat;
}

.portal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.portal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.portal-hero-copy {
  max-width: 720px;
}

.portal-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.94;
}

.portal-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.portal-secure-message {
  display: flex;
  gap: 14px;
  max-width: 620px;
  margin-top: 30px;
  padding: 18px;
  background: rgba(31, 41, 55, 0.78);
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.portal-secure-message > span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
  background: var(--yellow);
  border-radius: 6px;
}

.portal-secure-message strong {
  display: block;
  color: var(--white);
  font-family: "Sora", "Inter", sans-serif;
  margin-bottom: 5px;
}

.portal-secure-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.portal-login-card {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(249, 250, 251, 0.96);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portal-card-heading p,
.portal-login-card label,
.portal-folder span,
.portal-metric span,
.portal-notification-row span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-card-heading p {
  margin: 0 0 8px;
  color: var(--orange);
}

.portal-card-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.portal-login-card label {
  display: grid;
  gap: 8px;
  color: var(--secondary);
}

.portal-login-card input {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.portal-login-card input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}

.portal-login-card .button {
  width: 100%;
  margin-top: 4px;
}

.portal-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.portal-section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.portal-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.portal-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-metric {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

.portal-metric span {
  display: block;
  color: var(--muted);
  margin-bottom: 38px;
}

.portal-metric strong {
  display: block;
  color: var(--primary);
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.portal-metric p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.portal-status {
  border-top: 4px solid var(--yellow);
}

.portal-delivery-section {
  background: var(--primary);
  color: var(--white);
}

.portal-delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 24px;
  align-items: start;
}

.portal-delivery-main {
  padding: clamp(22px, 4vw, 34px);
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.portal-delivery-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-delivery-header h2 {
  color: var(--white);
  max-width: 760px;
}

.portal-download-all {
  flex: 0 0 auto;
}

.portal-folder-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.portal-folder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.portal-folder span {
  color: var(--yellow);
}

.portal-folder h3 {
  margin: 6px 0 6px;
  color: var(--white);
  font-size: 1.05rem;
}

.portal-folder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.portal-folder button {
  min-height: 42px;
  padding: 10px 13px;
  color: var(--white);
  font-weight: 900;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.portal-folder button:hover,
.portal-folder button:focus-visible {
  color: var(--primary);
  background: var(--yellow);
  border-color: var(--yellow);
}

.portal-notification-card {
  padding: 26px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portal-alert-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 50px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(250, 204, 21, 0.18);
}

.portal-notification-card h3 {
  margin: 0 0 12px;
}

.portal-notification-card p {
  color: var(--muted);
}

.portal-notification-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.portal-notification-row span {
  color: var(--muted);
}

.portal-notification-row strong {
  color: var(--primary);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .nav-links a[aria-current="page"] {
    background: rgba(250, 204, 21, 0.12);
  }
}

@media (max-width: 940px) {
  .portal-hero-grid,
  .portal-dashboard-layout,
  .portal-delivery-layout {
    grid-template-columns: 1fr;
  }

  .portal-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .portal-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .portal-delivery-header,
  .portal-folder,
  .portal-notification-row {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-download-all,
  .portal-folder button {
    width: 100%;
  }

  .portal-hero h1 {
    font-size: clamp(2.35rem, 16vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}











