.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.material-symbols-filled {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.blueprint-grid {
  background-image: radial-gradient(circle, #c4c6cf 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.1;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 200px;
  gap: 1rem;
}

.masonry-item-tall {
  grid-row: span 3;
}

.masonry-item-wide {
  grid-column: span 2;
}

.masonry-item-square {
  grid-row: span 2;
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.portfolio-mosaic-card {
  min-height: 220px;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  box-shadow: 0 12px 26px rgba(0, 32, 70, 0.1);
}

@media (min-width: 768px) {
  .masonry-grid {
    gap: 1.5rem;
  }

  .portfolio-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 9.5rem));
    gap: 1.25rem;
    grid-template-areas:
      "a a b c c d"
      "a a b c c d"
      "e f f g h h"
      "e f f g h h";
  }

  .portfolio-area-a {
    grid-area: a;
  }

  .portfolio-area-b {
    grid-area: b;
  }

  .portfolio-area-c {
    grid-area: c;
  }

  .portfolio-area-d {
    grid-area: d;
  }

  .portfolio-area-e {
    grid-area: e;
  }

  .portfolio-area-f {
    grid-area: f;
  }

  .portfolio-area-g {
    grid-area: g;
  }

  .portfolio-area-h {
    grid-area: h;
  }
}

@media (max-width: 767px) {
  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .masonry-item-tall,
  .masonry-item-square,
  .masonry-item-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 260px;
  }
}

.industrial-gradient {
  background: linear-gradient(
    115deg,
    rgba(0, 32, 70, 0.95) 0%,
    rgba(0, 32, 70, 0.78) 42%,
    rgba(0, 32, 70, 0.42) 70%,
    rgba(0, 32, 70, 0.15) 100%
  );
}

.mesh-overlay {
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(174, 199, 247, 0.45) 0,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(255, 181, 149, 0.3) 0,
      transparent 40%
    );
}

.section-glass-card {
  border: 1px solid rgba(239, 241, 242, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(14px);
  border-radius: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 34px rgba(0, 0, 0, 0.16);
}

.service-card:hover img {
  transform: scale(1.05);
}

.hero-premium {
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 118, 45, 0.18), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(174, 199, 247, 0.22), transparent 32%),
    linear-gradient(135deg, #00152f 0%, #002046 48%, #071423 100%);
}

.hero-blueprint-layer {
  background-image:
    linear-gradient(rgba(174, 199, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 199, 247, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 49% 51%, transparent 52% 100%);
  background-size: 52px 52px, 52px 52px, 360px 360px;
  opacity: 0.8;
}

.hero-steel-sheen {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.12) 0%, transparent 24%, transparent 62%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 8, 20, 0.44) 100%);
}

.hero-doodle {
  position: absolute;
  pointer-events: none;
  opacity: 0.34;
}

.hero-doodle-left {
  left: -4rem;
  bottom: 3rem;
  width: 18rem;
  height: 18rem;
  border: 2px dashed rgba(255, 219, 205, 0.3);
  border-radius: 999px;
}

.hero-doodle-left::before,
.hero-doodle-left::after,
.hero-doodle-right::before,
.hero-doodle-right::after {
  content: "";
  position: absolute;
  display: block;
}

.hero-doodle-left::before {
  left: 4.5rem;
  top: 8.4rem;
  width: 12rem;
  height: 0.18rem;
  background: rgba(255, 219, 205, 0.48);
  transform: rotate(-18deg);
}

.hero-doodle-left::after {
  left: 7rem;
  top: 5.4rem;
  width: 4rem;
  height: 4rem;
  border-left: 0.18rem solid rgba(174, 199, 247, 0.42);
  border-bottom: 0.18rem solid rgba(174, 199, 247, 0.42);
  transform: rotate(-18deg);
}

.hero-doodle-right {
  right: 3rem;
  top: 5rem;
  width: 12rem;
  height: 8rem;
}

.hero-doodle-right::before {
  inset: 0.5rem 0 0 auto;
  width: 9rem;
  height: 5.6rem;
  border: 0.18rem solid rgba(174, 199, 247, 0.28);
  border-radius: 0.55rem;
  transform: skewX(-12deg);
}

.hero-doodle-right::after {
  right: 1.4rem;
  top: 1.7rem;
  width: 6rem;
  height: 0.18rem;
  background: rgba(255, 219, 205, 0.46);
  box-shadow: 0 1.2rem 0 rgba(255, 219, 205, 0.28), 0 2.4rem 0 rgba(255, 219, 205, 0.18);
}

.hero-eyebrow,
.hero-primary-btn,
.hero-secondary-btn,
.hero-proof-card {
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  width: fit-content;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0.9rem;
  color: #dbeafe;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-eyebrow .material-symbols-outlined {
  color: #ffb595;
  font-size: 1.15rem;
}

.hero-primary-btn,
.hero-secondary-btn {
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.45rem;
  border-radius: 0.55rem;
  padding: 0.95rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-primary-btn {
  background: linear-gradient(135deg, #ffdbcd, #ffb595);
  color: #351000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.hero-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.hero-primary-btn:hover,
.hero-secondary-btn:hover {
  transform: translateY(-2px);
}

.hero-primary-btn:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof-card {
  gap: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-proof-card .material-symbols-outlined {
  color: #ffb595;
  font-size: 1.55rem;
}

.hero-proof-card p {
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
}

.hero-proof-card small {
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-fabrication-doodle {
  position: relative;
  min-height: 30rem;
}

.doodle-sheet {
  position: absolute;
  inset: 1.5rem 0 0 1rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(rgba(174, 199, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 199, 247, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transform: rotate(-1.4deg);
}

.doodle-title-line {
  position: absolute;
  left: 2rem;
  top: 2rem;
  width: 10rem;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(255, 219, 205, 0.7);
  box-shadow: 0 0.9rem 0 rgba(174, 199, 247, 0.28);
}

.doodle-frame {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 17rem;
  height: 12rem;
  border: 0.22rem solid rgba(219, 234, 254, 0.7);
  border-radius: 0.35rem;
  transform: translate(-50%, -50%) skewX(-8deg);
}

.doodle-frame::before,
.doodle-frame::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 0.18rem;
  background: rgba(219, 234, 254, 0.56);
}

.doodle-frame::after {
  inset: 0 auto auto 50%;
  width: 0.18rem;
  height: 100%;
}

.doodle-beam {
  position: absolute;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffdbcd, #ffb595);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.doodle-beam-a {
  left: 20%;
  top: 58%;
  width: 62%;
  transform: rotate(-24deg);
}

.doodle-beam-b {
  left: 26%;
  top: 43%;
  width: 42%;
  transform: rotate(32deg);
  opacity: 0.9;
}

.doodle-beam-c {
  left: 30%;
  bottom: 20%;
  width: 50%;
  transform: rotate(0deg);
  background: linear-gradient(90deg, #aec7f7, #dbeafe);
}

.doodle-measure {
  position: absolute;
  right: 2.2rem;
  top: 5.2rem;
  width: 9rem;
  height: 2.1rem;
  border-top: 0.18rem solid rgba(219, 234, 254, 0.72);
  border-bottom: 0.18rem solid rgba(219, 234, 254, 0.72);
  transform: rotate(8deg);
}

.doodle-measure::before,
.doodle-measure::after {
  content: "";
  position: absolute;
  top: -0.55rem;
  width: 0.18rem;
  height: 3rem;
  background: rgba(219, 234, 254, 0.72);
}

.doodle-measure::before {
  left: 0;
}

.doodle-measure::after {
  right: 0;
}

.doodle-sparks {
  position: absolute;
  right: 22%;
  top: 42%;
  width: 5rem;
  height: 5rem;
}

.doodle-sparks span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.28rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #ffdbcd;
  transform-origin: center bottom;
}

.doodle-sparks span:nth-child(1) {
  transform: translate(-50%, -100%) rotate(0deg);
}

.doodle-sparks span:nth-child(2) {
  transform: translate(-50%, -100%) rotate(42deg);
}

.doodle-sparks span:nth-child(3) {
  transform: translate(-50%, -100%) rotate(-44deg);
}

.doodle-sparks span:nth-child(4) {
  transform: translate(-50%, -100%) rotate(86deg);
  opacity: 0.7;
}

.doodle-label {
  position: absolute;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 32, 70, 0.72);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.doodle-label-a {
  left: 2rem;
  bottom: 2.5rem;
}

.doodle-label-b {
  right: 2rem;
  bottom: 3.5rem;
}

.doodle-tool-card {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 18rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 22, 50, 0.82);
  padding: 1rem 1.1rem;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.doodle-tool-card .material-symbols-outlined {
  color: #ffdbcd;
  font-size: 2rem;
}

.hero-worker-scene {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(rgba(174, 199, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 199, 247, 0.08) 1px, transparent 1px),
    linear-gradient(118deg, transparent 0 38%, rgba(255, 255, 255, 0.1) 39% 41%, transparent 42% 100%),
    radial-gradient(circle at 50% 30%, rgba(255, 219, 205, 0.15), transparent 34%),
    rgba(255, 255, 255, 0.06);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.worker-hero-word {
  position: absolute;
  left: 50%;
  top: 4.4rem;
  color: rgba(255, 255, 255, 0.065);
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  transform: translateX(-50%);
  white-space: nowrap;
}

.worker-panel-strip {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 219, 205, 0.74), rgba(174, 199, 247, 0.18));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.worker-panel-strip-a {
  right: -5rem;
  top: 7rem;
  width: 18rem;
  height: 1.1rem;
  transform: rotate(-32deg);
}

.worker-panel-strip-b {
  left: -4rem;
  bottom: 8.5rem;
  width: 16rem;
  height: 0.85rem;
  background: linear-gradient(90deg, rgba(174, 199, 247, 0.56), rgba(255, 255, 255, 0.12));
  transform: rotate(24deg);
}

.worker-arc {
  position: absolute;
  left: 50%;
  top: 53%;
  width: 24rem;
  height: 24rem;
  border: 0.22rem dashed rgba(174, 199, 247, 0.22);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.worker-beam {
  position: absolute;
  height: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #dbeafe, #aec7f7 45%, #ffffff);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.worker-beam-back {
  left: 6%;
  top: 34%;
  width: 88%;
  opacity: 0.42;
  transform: rotate(-14deg);
}

.worker-beam-front {
  left: 9%;
  top: 62%;
  width: 76%;
  background: linear-gradient(90deg, #ffdbcd, #ffb595);
  transform: rotate(16deg);
}

.worker-spec-card {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  min-width: 4.2rem;
  min-height: 3.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 22, 50, 0.64);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.worker-spec-card-a {
  left: 1.35rem;
  top: 5.5rem;
}

.worker-spec-card-b {
  right: 1.35rem;
  top: 12.2rem;
  color: #ffdbcd;
}

.worker-spec-card-c {
  left: 2rem;
  bottom: 5.6rem;
  min-width: 5.2rem;
  color: #bfdbfe;
}

.worker {
  position: absolute;
  left: 50%;
  bottom: 4.5rem;
  width: 14rem;
  height: 22rem;
  transform: translateX(-50%);
}

.worker-head {
  position: absolute;
  left: 50%;
  top: 3.65rem;
  width: 4.1rem;
  height: 4.25rem;
  border-radius: 48% 48% 46% 46%;
  background: #ffd6bd;
  transform: translateX(-50%);
  box-shadow: inset -0.45rem -0.25rem 0 rgba(121, 50, 22, 0.08);
}

.worker-helmet {
  position: absolute;
  left: 50%;
  top: 2.35rem;
  z-index: 2;
  width: 5.2rem;
  height: 2.65rem;
  border-radius: 4rem 4rem 0.75rem 0.75rem;
  background: linear-gradient(180deg, #ffd166, #ff9f1c);
  transform: translateX(-50%);
  box-shadow: inset 0 -0.25rem 0 rgba(110, 61, 0, 0.12);
}

.worker-helmet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.25rem;
  width: 0.7rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.worker-helmet::after {
  content: "";
  position: absolute;
  left: -0.4rem;
  right: -0.4rem;
  bottom: 0;
  height: 0.45rem;
  border-radius: 999px;
  background: #ffb000;
}

.worker-neck {
  position: absolute;
  left: 50%;
  top: 7.45rem;
  width: 1.4rem;
  height: 1.6rem;
  background: #efb28f;
  transform: translateX(-50%);
}

.worker-body {
  position: absolute;
  left: 50%;
  top: 8.2rem;
  width: 6.7rem;
  height: 8.1rem;
  border-radius: 1rem 1rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, #2f6fa8, #17466f);
  transform: translateX(-50%);
}

.worker-vest {
  position: absolute;
  left: 50%;
  top: 8.55rem;
  z-index: 2;
  width: 5.4rem;
  height: 7.3rem;
  border-left: 0.55rem solid #ffb000;
  border-right: 0.55rem solid #ffb000;
  transform: translateX(-50%);
}

.worker-vest::before,
.worker-vest::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  width: 0.45rem;
  height: 7.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.worker-vest::before {
  left: 1rem;
  transform: rotate(-18deg);
}

.worker-vest::after {
  right: 1rem;
  transform: rotate(18deg);
}

.worker-arm {
  position: absolute;
  top: 9rem;
  width: 2rem;
  height: 7rem;
  border-radius: 999px;
  background: #255b88;
  transform-origin: top center;
}

.worker-arm-left {
  left: 1.2rem;
  transform: rotate(32deg);
}

.worker-arm-right {
  right: 1.1rem;
  z-index: 3;
  transform: rotate(-42deg);
}

.worker-tool {
  position: absolute;
  right: 0.2rem;
  top: 13rem;
  z-index: 4;
  width: 4.6rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #dbeafe;
  transform: rotate(-25deg);
}

.worker-tool::after {
  content: "";
  position: absolute;
  right: -0.55rem;
  top: -0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.25rem;
  background: #ffb595;
}

.worker-leg {
  position: absolute;
  top: 15.4rem;
  width: 2rem;
  height: 5.4rem;
  border-radius: 999px;
  background: #24364b;
}

.worker-leg-left {
  left: 4rem;
  transform: rotate(8deg);
}

.worker-leg-right {
  right: 4rem;
  transform: rotate(-8deg);
}

.worker-boot {
  position: absolute;
  top: 20.3rem;
  width: 3.4rem;
  height: 1rem;
  border-radius: 999px;
  background: #111827;
}

.worker-boot-left {
  left: 2.9rem;
}

.worker-boot-right {
  right: 2.9rem;
}

.worker-sparks {
  position: absolute;
  right: 22%;
  top: 48%;
  width: 5rem;
  height: 5rem;
}

.worker-sparks span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.25rem;
  height: 2rem;
  border-radius: 999px;
  background: #ffdbcd;
  transform-origin: center bottom;
  box-shadow: 0 0 14px rgba(255, 181, 149, 0.55);
}

.worker-sparks span:nth-child(1) {
  transform: translate(-50%, -100%) rotate(0deg);
}

.worker-sparks span:nth-child(2) {
  transform: translate(-50%, -100%) rotate(42deg);
}

.worker-sparks span:nth-child(3) {
  transform: translate(-50%, -100%) rotate(-45deg);
}

.worker-sparks span:nth-child(4) {
  transform: translate(-50%, -100%) rotate(88deg);
}

.worker-ground {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 3.8rem;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.34);
  box-shadow: 0 1rem 0 rgba(219, 234, 254, 0.12);
}

@media (max-width: 640px) {
  .hero-fabrication-doodle {
    min-height: 24rem;
  }

  .doodle-sheet {
    inset: 1rem 0 0 0;
  }

  .doodle-frame {
    width: 13rem;
    height: 9rem;
  }

  .doodle-measure {
    right: 1.2rem;
    width: 6rem;
  }

  .doodle-label {
    width: 3.2rem;
    height: 3.2rem;
  }

  .doodle-tool-card {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 1rem;
    max-width: none;
  }

  .hero-worker-scene {
    min-height: 25rem;
  }

  .worker {
    bottom: 3.7rem;
    transform: translateX(-50%) scale(0.82);
  }

  .worker-beam-back {
    top: 32%;
  }

  .worker-beam-front {
    top: 62%;
  }

  .worker-sparks {
    right: 12%;
  }

  .worker-hero-word {
    top: 3.8rem;
    font-size: 3rem;
  }

  .worker-spec-card-a {
    left: 0.8rem;
    top: 5.2rem;
  }

  .worker-spec-card-b {
    right: 0.8rem;
    top: 10rem;
  }

  .worker-spec-card-c {
    left: 1rem;
    bottom: 4.8rem;
  }
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 32, 70, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.5rem 0.8rem;
  color: #0f3b70;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow: 0 8px 22px rgba(0, 32, 70, 0.08);
}

.section-kicker::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #ff762d;
  box-shadow: 0 0 0 0.24rem rgba(255, 118, 45, 0.15);
}

.section-kicker-light {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
}

.modern-card {
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
  border: 1px solid #dbe2ea;
  box-shadow: 0 18px 42px rgba(0, 32, 70, 0.09);
  padding: 1.25rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (min-width: 768px) {
  .modern-card {
    padding: 2rem;
  }
}

.modern-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 32, 70, 0.2);
  box-shadow: 0 24px 54px rgba(0, 32, 70, 0.15);
}

.feature-card,
.advantage-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.advantage-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0 1rem;
  height: 0.22rem;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #ff762d, #aec7f7);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover::after,
.advantage-card:hover::after {
  opacity: 1;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #e8f1ff, #ffffff);
  color: #002046;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 12px 24px rgba(0, 32, 70, 0.1);
}

.icon-tile .material-symbols-outlined {
  font-size: 2rem;
}

.portfolio-card {
  overflow: hidden;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  box-shadow: 0 16px 32px rgba(0, 32, 70, 0.09);
}

.service-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card img {
  transition: transform 500ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(0, 32, 70, 0.15);
}

.metric-pill {
  position: absolute;
  bottom: -1.75rem;
  right: 1rem;
  max-width: 18rem;
  border-radius: 0.5rem;
  background: #002046;
  border: 1px solid rgba(239, 241, 242, 0.28);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 16px 34px rgba(0, 32, 70, 0.3);
}

.industrial-section-accent {
  position: absolute;
  top: 3rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(174, 199, 247, 0.24) 0, transparent 68%);
  pointer-events: none;
}

.safety-image-frame {
  border: 1px solid rgba(0, 32, 70, 0.08);
}

.process-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 32, 70, 0.08);
  background: rgba(255, 255, 255, 0.62);
  padding: 1rem;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(0, 32, 70, 0.05);
}

.process-row .material-symbols-outlined {
  margin-top: 0.12rem;
  color: #0f3b70;
}

.safety-chip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 4rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 32, 70, 0.1);
  background: rgba(255, 255, 255, 0.76);
  padding: 0.85rem;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 10px 22px rgba(0, 32, 70, 0.06);
}

.safety-chip .material-symbols-outlined {
  flex: 0 0 auto;
  color: #0f3b70;
  font-size: 1.35rem;
}

.process-cta {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 32, 70, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 241, 255, 0.76)),
    radial-gradient(circle at 92% 18%, rgba(255, 118, 45, 0.16), transparent 34%);
  padding: 1.15rem;
  box-shadow: 0 20px 42px rgba(0, 32, 70, 0.1);
}

.process-cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5.5rem;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 118, 45, 0.18));
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.primary-action-btn,
.secondary-action-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  border-radius: 0.55rem;
  padding: 0.9rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.primary-action-btn {
  background: linear-gradient(135deg, #002046, #0f4c86);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(0, 32, 70, 0.28);
}

.secondary-action-btn {
  border: 1px solid rgba(0, 32, 70, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: #002046;
}

.primary-action-btn .material-symbols-outlined,
.secondary-action-btn .material-symbols-outlined {
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.primary-action-btn:hover,
.secondary-action-btn:hover {
  transform: translateY(-2px);
}

.primary-action-btn:hover {
  box-shadow: 0 20px 38px rgba(0, 32, 70, 0.34);
}

.primary-action-btn:hover .material-symbols-outlined {
  transform: translateX(0.18rem);
}

.secondary-action-btn:hover {
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 32, 70, 0.12);
}

@media (min-width: 768px) {
  .process-row {
    font-size: 1.125rem;
  }

  .process-cta {
    padding: 1.35rem;
  }
}

.review-card {
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  box-shadow: 0 14px 32px rgba(0, 32, 70, 0.07);
  padding: 1.75rem;
}

/* Mobile nav toggle and panel */
.mobile-nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(160deg, #eff5ff 0%, #dce9ff 100%);
  color: #0f2d56;
  box-shadow: 0 8px 18px rgba(15, 42, 82, 0.2);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

.mobile-nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 42, 82, 0.26);
}

.mobile-nav-toggle:active {
  transform: scale(0.96);
}

.mobile-nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.24), 0 10px 22px rgba(15, 42, 82, 0.26);
}

.mobile-nav-toggle .mobile-nav-icon {
  position: absolute;
  font-size: 1.38rem;
  line-height: 1;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-nav-toggle .mobile-nav-icon-menu {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.mobile-nav-toggle .mobile-nav-icon-close {
  opacity: 0;
  transform: rotate(-92deg) scale(0.55);
}

.mobile-nav-toggle.is-open {
  background: linear-gradient(160deg, #1d4d8f 0%, #153c75 100%);
  color: #f8fbff;
}

.mobile-nav-toggle.is-open .mobile-nav-icon-menu {
  opacity: 0;
  transform: rotate(92deg) scale(0.55);
}

.mobile-nav-toggle.is-open .mobile-nav-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

#mobile-nav-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-0.5rem);
  border-top-color: transparent !important;
  transition:
    max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.24s ease,
    transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease;
}

#mobile-nav-panel.is-open {
  max-height: 24rem;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-top-color: rgba(148, 163, 184, 0.5) !important;
}

html.dark .mobile-nav-toggle {
  background: linear-gradient(160deg, #1e2c43 0%, #142033 100%);
  color: #dbeafe;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.45);
}

html.dark .mobile-nav-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.34), 0 10px 22px rgba(2, 6, 23, 0.52);
}

html.dark .mobile-nav-toggle.is-open {
  background: linear-gradient(160deg, #3b82f6 0%, #2563eb 100%);
  color: #eff6ff;
}

html.dark #mobile-nav-panel.is-open {
  border-top-color: rgba(71, 85, 105, 0.7) !important;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-toggle,
  .mobile-nav-toggle .mobile-nav-icon,
  #mobile-nav-panel {
    transition: none !important;
  }
}

/* Theme toggle button */
#theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 3.75rem;
  height: 2.2rem;
  border: 1px solid #c7d2e2;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #e8eff8 100%);
  cursor: pointer;
  overflow: visible;
  padding: 0 0.34rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#theme-toggle:hover {
  border-color: #94a3b8;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.2);
}

#theme-toggle .toggle-rail-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.65;
  transition: opacity 0.25s ease, color 0.25s ease;
}

#theme-toggle .rail-sun {
  left: 0.45rem;
  color: #d97706;
}

#theme-toggle .rail-moon {
  right: 0.45rem;
  color: #334155;
}

#theme-toggle .toggle-thumb {
  width: 1.58rem;
  height: 1.58rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f1f5f9 65%, #dbe6f3 100%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  transform: translateX(0);
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.25, 1.2), background 0.28s ease;
}

#theme-toggle .thumb-icon {
  position: absolute;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.28s ease, opacity 0.28s ease, color 0.28s ease;
}

#theme-toggle .thumb-sun {
  color: #f59e0b;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

#theme-toggle .thumb-moon {
  color: #cbd5e1;
  opacity: 0;
  transform: rotate(-80deg) scale(0.35);
}

html.dark #theme-toggle {
  border-color: #334155;
  background: linear-gradient(180deg, #1a2536 0%, #0e1727 100%);
  box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.45), 0 4px 12px rgba(2, 6, 23, 0.4);
}

html.dark #theme-toggle .toggle-thumb {
  transform: translateX(1.52rem);
  background: radial-gradient(circle at 30% 30%, #334155 0%, #1e293b 60%, #0f172a 100%);
}

html.dark #theme-toggle .thumb-sun {
  opacity: 0;
  transform: rotate(85deg) scale(0.35);
}

html.dark #theme-toggle .thumb-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html:not(.dark) #theme-toggle .rail-sun {
  opacity: 0.95;
}

html:not(.dark) #theme-toggle .rail-moon {
  opacity: 0.35;
}

html.dark #theme-toggle .rail-sun {
  opacity: 0.35;
}

html.dark #theme-toggle .rail-moon {
  opacity: 0.95;
  color: #e2e8f0;
}

/* Smooth theme transition */
body,
a,
div,
section,
article,
button,
input,
textarea {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Global dark mode baseline */
html.dark body {
  background-color: #060e1b !important;
  color: #e8f1ff !important;
}

/* Tailwind token utility mappings for dark mode */
html.dark .bg-background,
html.dark .bg-surface {
  background-color: #060e1b !important;
}

html.dark .bg-white {
  background-color: #060e1b !important;
}

html.dark .bg-surface-container-lowest {
  background-color: #0b1629 !important;
}

html.dark .bg-surface-container-low {
  background-color: #0f1e36 !important;
}

html.dark .bg-surface-container-high,
html.dark .bg-surface-container {
  background-color: #132340 !important;
}

html.dark .bg-surface-container-highest {
  background-color: #1a2f50 !important;
}

html.dark .bg-primary-container {
  background-color: #17335b !important;
}

html.dark .bg-primary-fixed {
  background-color: #1f4e8b !important;
}

html.dark .bg-secondary-container,
html.dark .bg-secondary-fixed {
  background-color: #1f3f5a !important;
}

html.dark .bg-tertiary-container {
  background-color: #4b220f !important;
}

html.dark .bg-tertiary-fixed {
  background-color: #7a3c1c !important;
}

/* Text token utility mappings for dark mode */
html.dark .text-primary,
html.dark .text-on-background,
html.dark .text-on-surface {
  color: #e8f1ff !important;
}

html.dark .text-on-surface-variant {
  color: #c6d7f0 !important;
}

html.dark .text-on-surface-variant\/60 {
  color: rgba(198, 215, 240, 0.72) !important;
}

html.dark .text-on-primary-container,
html.dark .text-primary-fixed-dim,
html.dark .text-on-primary-fixed {
  color: #a9cbff !important;
}

html.dark .text-on-secondary-container,
html.dark .text-on-secondary-fixed {
  color: #cde5f0 !important;
}

html.dark .text-on-tertiary-container,
html.dark .text-on-tertiary-fixed-variant,
html.dark .text-tertiary-fixed-dim {
  color: #ffd0b5 !important;
}

html.dark .text-on-tertiary-fixed {
  color: #ffe6d8 !important;
}

/* Dark cards and borders */
html.dark .modern-card,
html.dark .portfolio-card,
html.dark .review-card {
  background: #0f1e36 !important;
  border-color: #28466f !important;
}

html.dark .section-kicker {
  border-color: rgba(169, 203, 255, 0.2);
  background: rgba(15, 30, 54, 0.82);
  color: #cfe2ff;
}

html.dark .icon-tile {
  background: linear-gradient(145deg, #17335b, #0f1e36);
  color: #dbeafe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 28px rgba(2, 6, 23, 0.32);
}

html.dark .process-row {
  border-color: rgba(169, 203, 255, 0.16);
  background: rgba(15, 30, 54, 0.68);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
}

html.dark .safety-image-frame {
  border-color: rgba(169, 203, 255, 0.16);
  background: #0f1e36 !important;
}

html.dark .process-row .material-symbols-outlined {
  color: #a9cbff;
}

html.dark .safety-chip {
  border-color: rgba(169, 203, 255, 0.16);
  background: rgba(6, 14, 27, 0.46);
  color: #c6d7f0;
}

html.dark .safety-chip .material-symbols-outlined {
  color: #a9cbff;
}

html.dark .process-cta {
  border-color: rgba(169, 203, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(15, 30, 54, 0.92), rgba(23, 51, 91, 0.7)),
    radial-gradient(circle at 92% 18%, rgba(255, 118, 45, 0.12), transparent 34%);
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.28);
}

html.dark .secondary-action-btn {
  border-color: rgba(169, 203, 255, 0.22);
  background: rgba(15, 30, 54, 0.86);
  color: #dbeafe;
}

html.dark .secondary-action-btn:hover {
  background: rgba(23, 51, 91, 0.95);
}

html.dark .service-card:hover,
html.dark .modern-card:hover {
  border-color: rgba(169, 203, 255, 0.34) !important;
}
