:root {
  --orange: #FF5100;
  --black: #1A1A1A;
  --charcoal: #333333;
  --grey: #B2B2B2;
  --white: #fff;
  --soft: #f3f4f6;
  --line: #e3e4e6;
  --shadow: 0 18px 60px rgba(26, 26, 26, .12);
  --radius: 24px;
  --max: 1240px;
  /* Type scale from the Milek brand guide (Tahoma, 8 / 10 / 12 / 16 / 20 pt).
     Held in rem so the page still scales with the browser text size. */
  --t-caption: .78rem;
  --t-body: .94rem;
  --t-body-lg: 1.05rem;
  --t-sub: 1.12rem;
  --f-mono: ui-monospace, Consolas, Menlo, monospace
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.6
}

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

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

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

.eyebrow {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase
}

.display {
  font-size: clamp(2.6rem, 6vw, 6.3rem);
  line-height: .93;
  letter-spacing: -.055em;
  margin: .12em 0 .28em;
  color: var(--charcoal)
}

h1,
h2,
h3 {
  line-height: 1.05;
  color: var(--charcoal)
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -.04em;
  margin: .2em 0 .45em
}

h3 {
  font-size: 1.22rem;
  margin: .2em 0 .55em
}

p {
  margin: .3em 0 1.2em
}

.muted {
  color: #626262
}

.small {
  font-size: .9rem
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .25s ease
}

.btn-primary {
  background: var(--orange);
  color: #fff
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 81, 0, .25)
}

.btn-secondary {
  border-color: #d5d5d1;
  /* background: #fff */
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 2rem
}

.brand {
  width: 210px;
  flex: none
}

.brand img {
  width: 100%
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: .9rem;
  font-weight: 700
}

.nav-links a {
  position: relative;
  padding: .4rem 0
}

.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: .2s
}

.nav-links a:hover:after,
.nav-links a.active:after {
  right: 0
}

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 1.6rem
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0 62%, #eff0f2 62%);
  min-height: 690px;
  display: flex;
  align-items: center
}

.hero:before,
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(30deg, transparent 24%, rgba(51, 51, 51, .035) 25%, rgba(51, 51, 51, .035) 26%, transparent 27%, transparent 74%, rgba(51, 51, 51, .035) 75%, rgba(51, 51, 51, .035) 76%, transparent 77%), linear-gradient(150deg, transparent 24%, rgba(51, 51, 51, .035) 25%, rgba(51, 51, 51, .035) 26%, transparent 27%, transparent 74%, rgba(51, 51, 51, .035) 75%, rgba(51, 51, 51, .035) 76%, transparent 77%);
  background-size: 42px 72px;
  mask-image: linear-gradient(90deg, transparent 0, transparent 60%, #000 100%);
  pointer-events: none
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 5rem
}

.hero-copy p {
  font-size: 1.12rem;
  max-width: 660px;
  color: #555
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.8rem
}

.hero-media {
  position: relative
}

.video-placeholder {
  aspect-ratio: 4/5;
  border-radius: 32px;
  background: linear-gradient(145deg, #232323, #3c3c3c);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.video-placeholder.wide {
  aspect-ratio: 16/8
}

.video-placeholder:before {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  border: 1px solid rgba(255, 255, 255, .16);
  transform: rotate(12deg);
  border-radius: 22px
}

.play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3)
}

.media-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase
}

.orange-tab {
  position: absolute;
  right: -14px;
  top: 44px;
  width: 92px;
  height: 28px;
  background: var(--orange);
  transform: skewX(-38deg)
}

.section {
  padding: 110px 0
}

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

.section.dark {
  background: var(--black);
  color: #fff
}

.section.dark h2,
.section.dark h3 {
  color: #fff
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem
}

.section-head p {
  max-width: 610px;
  color: #666
}

.dark .section-head p {
  color: #aaa
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: .25s
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  border-color: #ddd
}

.dark .card {
  background: #242424;
  border-color: #363636
}

.icon-chip {
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.card .arrow {
  margin-top: 1.5rem;
  color: var(--orange);
  font-weight: 700
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd
}

.stat {
  padding: 35px 20px;
  border-right: 1px solid #ddd
}

.stat:last-child {
  border-right: 0
}

.stat strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--charcoal)
}

.stat span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #777
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center
}

.image-placeholder {
  min-height: 490px;
  border-radius: 30px;
  background: linear-gradient(135deg, #dededb, #f2f3f5);
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd
}

/* .image-placeholder:after {
  content: "PROJECT IMAGE / VIDEO";
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: #777
} */

.hex-panel {
  background-color: #f5f6f8;
  background-image: radial-gradient(circle at center, #d4d4d1 1px, transparent 1.5px);
  background-size: 18px 18px
}

.quote {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  max-width: 950px
}

.quote.dark{
  color: #fff;
}

.quote span {
  color: var(--orange)
}

.project-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line)
}

.project1-thumb {
  height: 220px;
  background: linear-gradient(135deg, #2d2d2d, #595959);
  position: relative;
  background-image: url("Project1/picture.jpg");
  background-size: cover;
}

.project2-thumb {
  height: 220px;
  background: linear-gradient(135deg, #2d2d2d, #595959);
  position: relative;
  background-image: url("Project2/picture.jpg");
  background-size: cover;
}

.project3-thumb {
  height: 220px;
  background: linear-gradient(135deg, #2d2d2d, #595959);
  position: relative;
  background-image: url("Project3/picture.jpg");
  background-size: cover;
}

.project4-thumb {
  height: 220px;
  background: linear-gradient(135deg, #2d2d2d, #595959);
  position: relative;
  background-image: url("Project4/picture.jpg");
  background-size: cover;
}

.project5-thumb {
  height: 220px;
  background: linear-gradient(135deg, #2d2d2d, #595959);
  position: relative;
  background-image: url("Project5/picture.jpg");
  background-size: cover;
}

.project6-thumb {
  height: 220px;
  background: linear-gradient(135deg, #2d2d2d, #595959);
  position: relative;
  background-image: url("Project6/picture.jpg");
  background-size: cover;
}

.project-body {
  padding: 25px
}

/* Card headings and body copy sit on the same two steps everywhere -
   without this the project and value cards fall back to the browser
   defaults (1.17em / 1rem) and read a size larger than the rest. */
.project-body h3,
.value h3 {
  font-size: var(--t-sub);
  margin: 0 0 .5rem
}

.project-body p,
.value p {
  font-size: var(--t-body)
}

.tag {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: .3rem .6rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #666;
  margin-bottom: .8rem
}

.cta {
  background: var(--orange);
  color: #fff;
  border-radius: 30px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden
}

.cta h2 {
  color: #fff;
  margin: 0;
  max-width: 760px
}

.cta .btn {
  background: #fff;
  color: var(--black)
}

/* .cta:after {
  content: "M";
  position: absolute;
  right: 17%;
  top: -55px;
  font-size: 13rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .08);
  line-height: 1
} */

.page-hero {
  position: relative;
  padding: 110px 0 85px;
  background: linear-gradient(120deg, #fff 0 70%, #f1f2f4 70%);
  overflow: hidden
}

.page-hero .container {
  position: relative;
  z-index: 2
}

.page-hero p {
  max-width: 760px;
  font-size: 1.1rem;
  color: #5d5d5d
}

.breadcrumb {
  font-size: .78rem;
  color: #777;
  margin-bottom: 1.7rem
}

.breadcrumb b {
  color: var(--orange)
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0
}

.list-clean li {
  padding: .65rem 0 .65rem 1.6rem;
  border-bottom: 1px solid #eee;
  position: relative
}

.list-clean li:before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.product-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 300px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff
}

.product-media {
  background: linear-gradient(145deg, #272727, #494949);
  position: relative
}

.product-media:after {
  content: "PRODUCT IMAGE";
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: #bbb;
  font-size: .7rem;
  letter-spacing: .12em
}

.product-content {
  padding: 28px
}

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

.value {
  border-top: 3px solid var(--orange);
  padding: 24px;
  background: #fff
}

.job-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

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

.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d8d8d5;
  background: #fff
}

.field textarea {
  min-height: 160px;
  resize: vertical
}

.field label {
  font-size: .8rem;
  font-weight: 700;
  color: #555
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px
}

.contact-box {
  border-radius: 22px;
  padding: 24px;
  background: var(--soft);
  margin-bottom: 14px
}

.map-placeholder {
  min-height: 320px;
  border-radius: 22px;
  background: #e6e7e9;
  display: grid;
  place-items: center;
  color: #777;
  font-size: .75rem;
  letter-spacing: .12em
}

footer {
  background: #111;
  color: #c7c7c7;
  padding: 34px 0 18px;
  margin-top: 90px
}

/* One slim row: logo, then the two link groups spread across the width. */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px
}

.footer-logo {
  border-radius: 16px;
  padding: 12px 12px 12px 0;
  width: 190px;
  margin-bottom: 0
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.7rem;
  font-size: .9rem
}

.footer-links a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: #777
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .6s ease
}

.reveal.show {
  opacity: 1;
  transform: none
}

@media(max-width:980px) {
  .nav-links {
    position: fixed;
    inset: 86px 0 auto 0;
    background: #fff;
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #ddd
  }

  .nav-links.open {
    display: flex
  }

  .menu-btn {
    display: block
  }

  .nav .btn {
    display: none
  }

  .hero {
    min-height: auto;
    padding: 80px 0
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .hero-media {
    max-width: 650px
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid-3,
  .value-grid {
    grid-template-columns: 1fr 1fr
  }

  .product-grid {
    grid-template-columns: 1fr
  }
}

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

  .nav {
    height: 74px
  }

  .brand {
    width: 170px
  }

  .nav-links {
    inset: 74px 0 auto 0
  }

  .section {
    padding: 76px 0
  }

  .section-head {
    display: block
  }

  .grid-3,
  .grid-4,
  .value-grid,
  .stats {
    grid-template-columns: 1fr
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #ddd
  }

  .product-card {
    grid-template-columns: 1fr
  }

  .product-media {
    min-height: 200px
  }

  .cta {
    padding: 38px 28px;
    display: block
  }

  .cta .btn {
    margin-top: 22px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .footer-bottom {
    display: block
  }

  .display {
    font-size: 3.15rem
  }

  .hero {
    background: #fff
  }

  .page-hero {
    padding: 80px 0 60px
  }

  .job-card {
    align-items: flex-start;
    flex-direction: column
  }
}


/* Homepage cinematic video hero */
.hero-video-section {
  position: relative;
  min-height: clamp(620px, 78vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #171717;
  color: #fff;
  padding: 0
}

.hero-video-section:before {
  display: none
}

.hero-bg-video,
.hero-video-fallback,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.hero-bg-video {
  z-index: 0;
  object-fit: cover;
  object-position: center
}

.hero-video-fallback {
  z-index: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #232323, #444);
  color: rgba(255, 255, 255, .3);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em
}

.hero-video-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 15, 15, .84) 0%, rgba(15, 15, 15, .68) 42%, rgba(15, 15, 15, .28) 72%, rgba(15, 15, 15, .34) 100%)
}

.hero-video-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  padding: 95px 0 70px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.hero-video-content .hero-copy {
  max-width: 900px
}

.hero-video-content .eyebrow {
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35)
}

.hero-video-content .display {
  color: #fff;
  font-size: clamp(3.4rem, 7.3vw, 7.25rem);
  max-width: 1050px;
  margin: 0 0 .28em;
  text-shadow: 0 5px 35px rgba(0, 0, 0, .38)
}

.hero-video-content .display span {
  color: var(--orange)
}

.hero-video-content .hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4)
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
  background: rgba(0, 0, 0, .12);
  backdrop-filter: blur(6px)
}

.btn-ghost:hover {
  background: #fff;
  color: var(--black);
  border-color: #fff
}

.hero-video-caption {
  position: absolute;
  right: 0;
  bottom: 28px;
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase
}

/* Footer white logo */
.footer-logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
  width: 220px;
  margin-bottom: 22px
}

.footer-logo img {
  width: 100%;
  height: auto
}

@media(max-width:980px) {
  .hero-video-section {
    min-height: 650px;
    padding: 0
  }

  .hero-video-content {
    padding: 80px 0 65px
  }

  .hero-video-overlay {
    background: linear-gradient(90deg, rgba(15, 15, 15, .82), rgba(15, 15, 15, .46))
  }
}

@media(max-width:640px) {
  .hero-video-section {
    min-height: 620px;
    background: #171717
  }

  .hero-video-content {
    width: min(100% - 28px, var(--max));
    padding: 70px 0 56px
  }

  .hero-video-content .display {
    font-size: clamp(3rem, 15vw, 4.8rem)
  }

  .hero-video-content .hero-copy p {
    font-size: 1rem
  }

  .hero-video-caption {
    display: none
  }

  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(15, 15, 15, .54) 0%, rgba(15, 15, 15, .76) 70%, rgba(15, 15, 15, .88) 100%)
  }
}


/* Products v5 — detailed catalogue */
.product-intro-strip {
  background: #f3f4f5;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4
}

.product-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.product-intro-item {
  padding: 24px;
  border-right: 1px solid #ddd
}

.product-intro-item:last-child {
  border-right: 0
}

.product-intro-item h4 {
  margin: 0 0 7px;
  font-size: 15px;
  text-transform: uppercase
}

.product-intro-item h4:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--orange, #FF5100);
  transform: rotate(45deg);
  margin-right: 10px
}

.product-intro-item p {
  margin: 0;
  font-size: 14px;
  color: #686868
}

.catalog-section {
  padding: 64px 0
}

.catalog-section.alt {
  background: #f8f8f8
}

.catalog-head {
  max-width: 760px;
  margin-bottom: 28px
}

.catalog-kicker {
  display: inline-block;
  background: var(--orange, #FF5100);
  color: #fff;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase
}

.catalog-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 10px 0 8px
}

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

.catalog-card {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  transition: .2s
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .10)
}

.catalog-media {
  height: 170px;
  background: linear-gradient(135deg, #eeeeee, #d8d8d8);
  position: relative;
  display: grid;
  place-items: center;
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em
}

.catalog-media:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange, #FF5100)
}

.catalog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.catalog-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--orange, #FF5100);
  text-transform: uppercase
}

.catalog-card h3 {
  font-size: 21px;
  line-height: 1.1;
  margin: 5px 0 13px
}

.catalog-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1
}

.catalog-specs li {
  font-size: 13px;
  padding: 6px 0 6px 15px;
  border-bottom: 1px dashed #e3e3e3;
  position: relative
}

.catalog-specs li:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #555;
  transform: rotate(45deg);
  position: absolute;
  left: 1px;
  top: 13px
}

.catalog-foot {
  border-top: 1px solid #e5e5e5;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.catalog-price {
  font-size: 20px;
  font-weight: 800
}

.catalog-price small {
  font-size: 10px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase
}

.catalog-enquire {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange, #FF5100);
  text-transform: uppercase
}

.tech-band {
  background: #242424;
  color: #fff;
  padding: 52px 0
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #444
}

.tech-cell {
  padding: 18px;
  border-right: 1px solid #444
}

.tech-cell:last-child {
  border-right: 0
}

.tech-cell span {
  display: block;
  color: #999;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.tech-cell strong {
  font-size: 19px
}

.products-cta {
  background: var(--orange, #FF5100);
  color: #fff;
  padding: 34px 0
}

.products-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.products-cta h2 {
  margin: 0
}

.products-cta p {
  margin: 5px 0 0;
  opacity: .85
}

.products-cta .btn {
  background: #fff;
  color: #222
}

@media(max-width:1000px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .product-intro-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:620px) {

  .catalog-grid,
  .product-intro-grid,
  .tech-grid {
    grid-template-columns: 1fr
  }

  .product-intro-item,
  .tech-cell {
    border-right: 0;
    border-bottom: 1px solid #ddd
  }

  .products-cta .container {
    display: block
  }

  .products-cta .btn {
    margin-top: 16px
  }
}

/* v8 — Style-guide honeycomb motif on homepage video hero */
.hero-video-section:before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='84' viewBox='0 0 96 84'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.20' stroke-width='1'%3E%3Cpath d='M24 1l23 13v26L24 53 1 40V14z'/%3E%3Cpath d='M72 1l23 13v26L72 53 49 40V14z'/%3E%3Cpath d='M48 42l23 13v26L48 94 25 81V55z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 84px;
  background-position: right -10px top 10px;
  opacity: .42;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 53%, rgba(0, 0, 0, .18) 67%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 53%, rgba(0, 0, 0, .18) 67%, #000 100%);
}

.hero-video-overlay {
  z-index: 2
}

.hero-video-content {
  z-index: 3
}

@media(max-width:640px) {
  .hero-video-section:before {
    opacity: .24;
    background-size: 76px 66px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .2) 35%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .2) 35%, #000 100%);
  }
}


/* === MILEK V9 THEME SYSTEM START === */
:root {
  --milek-orange: #FF5100;
  --milek-orange-hover: #d94500;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eff0f2;
  --text: #1A1A1A;
  --text-strong: #333333;
  --muted: #6f6f6f;
  --border: #ddddda;
  --header-bg: rgba(255, 255, 255, .94);
  --footer-bg: #1A1A1A;
  --footer-text: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, .08);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #111312;
  --bg-soft: #181b19;
  --surface: #1d201e;
  --surface-2: #252926;
  --text: #f4f5f7;
  --text-strong: #ffffff;
  --muted: #b2b2b2;
  --border: #343835;
  --header-bg: rgba(17, 19, 18, .94);
  --footer-bg: #090b0a;
  --footer-text: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background-color .25s ease, color .25s ease;
}

header,
.site-header,
.main-header,
.navbar {
  background-color: var(--header-bg);
  transition: background-color .25s ease, border-color .25s ease;
}

main,
section:not(.hero):not(.home-hero):not(.hero-section),
.page-section {
  color: var(--text);
}

.card,
.service-card,
.product-card,
.project-card,
.career-card,
.contact-card,
.feature-card,
.panel,
.content-card,
.stat-card {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-strong);
}

p,
li {
  color: inherit;
}

.muted,
.subtitle,
.eyebrow-copy,
.section-copy,
.lede {
  color: var(--muted);
}

html[data-theme="dark"] a:not(.btn):not(.button):not(.cta-button):not(.nav-cta) {
  color: inherit;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

html[data-theme="dark"] .section-light,
html[data-theme="dark"] .light-section,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .product-grid-section {
  background: var(--bg-soft) !important;
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.theme-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-strong);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  margin-left: 8px;
  padding: 0;
  flex: 0 0 auto;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--milek-orange);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block;
}

@media(max-width:900px) {
  .theme-toggle {
    width: 38px;
    height: 38px;
    margin-left: 4px;
  }
}

/* === MILEK V9 THEME SYSTEM END === */

/* === MILEK V9 HERO HEX START === */
.home-hero,
.hero-section,
.hero.hero-home {
  position: relative;
  overflow: hidden;
}

.home-hero::after,
.hero-section::after,
.hero.hero-home::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  top: 0;
  right: -1%;
  width: min(58vw, 900px);
  height: 100%;
  opacity: .48;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='126' viewBox='0 0 144 126'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.42' stroke-width='1.4'%3E%3Cpath d='M36 1 71 21.5v41L36 83 1 62.5v-41z'/%3E%3Cpath d='M108 1 143 21.5v41L108 83 73 62.5v-41z'/%3E%3Cpath d='M72 43 107 63.5v41L72 125 37 104.5v-41z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 144px 126px;
  background-position: right 22px top 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .2) 18%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .2) 18%, #000 52%, #000 100%);
}

.home-hero>*,
.hero-section>*,
.hero.hero-home>* {
  position: relative;
  z-index: 3;
}

@media(max-width:800px) {

  .home-hero::after,
  .hero-section::after,
  .hero.hero-home::after {
    width: 90vw;
    opacity: .32;
    background-size: 118px 103px;
  }
}

/* === MILEK V9 HERO HEX END === */

/* Explicit homepage hero class detected */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  top: 0;
  right: -1%;
  width: min(58vw, 900px);
  height: 100%;
  opacity: .48;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='126' viewBox='0 0 144 126'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.42' stroke-width='1.4'%3E%3Cpath d='M36 1 71 21.5v41L36 83 1 62.5v-41z'/%3E%3Cpath d='M108 1 143 21.5v41L108 83 73 62.5v-41z'/%3E%3Cpath d='M72 43 107 63.5v41L72 125 37 104.5v-41z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 144px 126px;
  background-position: right 22px top 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .2) 18%, #000 52%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .2) 18%, #000 52%, #000 100%);
}

.hero>* {
  position: relative;
  z-index: 3;
}

/* === MILEK V10 HEADER LOGO + HERO SCALE === */
.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video-content .hero-copy {
  width: min(100%, 820px);
  max-width: 820px;
}

.hero-video-content .display {
  font-size: clamp(3rem, 5.6vw, 5.9rem);
  line-height: .94;
  letter-spacing: -.05em;
  width: 100%;
  max-width: 820px;
  overflow-wrap: normal;
  word-break: normal;
}

@media(max-width:1200px) {
  .hero-video-content .hero-copy {
    max-width: 720px;
  }

  .hero-video-content .display {
    max-width: 720px;
    font-size: clamp(2.9rem, 5.4vw, 5rem);
  }
}

@media(max-width:900px) {

  .hero-video-content .hero-copy,
  .hero-video-content .display {
    max-width: 650px;
  }

  .hero-video-content .display {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
  }
}

@media(max-width:640px) {

  .hero-video-content .hero-copy,
  .hero-video-content .display {
    max-width: 100%;
  }

  .hero-video-content .display {
    font-size: clamp(2.65rem, 13vw, 4rem);
    letter-spacing: -.045em;
  }
}

/* === END MILEK V10 === */


/* === MILEK V11 HERO HEADING SIZE FIX === */
/* Override the original large .display rule with a deliberately smaller,
   responsive homepage headline. */
.hero-video-content .hero-copy {
  width: min(100%, 690px) !important;
  max-width: 690px !important;
}

.hero-video-content .display {
  font-size: clamp(2.75rem, 4.25vw, 4.65rem) !important;
  line-height: .96 !important;
  letter-spacing: -.045em !important;
  width: 100% !important;
  max-width: 690px !important;
}

@media(max-width:1200px) {

  .hero-video-content .hero-copy,
  .hero-video-content .display {
    max-width: 620px !important;
  }

  .hero-video-content .display {
    font-size: clamp(2.7rem, 4.4vw, 4.15rem) !important;
  }
}

@media(max-width:900px) {

  .hero-video-content .hero-copy,
  .hero-video-content .display {
    max-width: 560px !important;
  }

  .hero-video-content .display {
    font-size: clamp(2.6rem, 7vw, 3.8rem) !important;
  }
}

@media(max-width:640px) {

  .hero-video-content .hero-copy,
  .hero-video-content .display {
    max-width: 100% !important;
  }

  .hero-video-content .display {
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
    line-height: .98 !important;
  }
}

/* === END MILEK V11 === */


/* === MILEK V12 SPLIT HOMEPAGE HERO === */
.hero-split {
  background: var(--bg);
  color: var(--text);
  padding: 48px 0 56px;
  min-height: auto;
  overflow: hidden;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: stretch;
}

.hero-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 0;
  max-width: 650px;
}

.hero-split-copy .eyebrow {
  color: var(--milek-orange);
  margin-bottom: 18px;
}

.hero-split-copy .display {
  margin: 0 0 24px;
  max-width: 620px;
  color: var(--text-strong);
  font-size: clamp(3rem, 4.4vw, 5rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.hero-split-copy .display span {
  color: var(--milek-orange);
}

.hero-split-copy p {
  max-width: 610px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-split-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
  background: #1A1A1A;
  box-shadow: var(--shadow);
}

.hero-split-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-split-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .24)),
    linear-gradient(90deg, rgba(0, 0, 0, .08), transparent 45%);
  pointer-events: none;
}

.hero-split-hex {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 48%;
  opacity: .55;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='102' viewBox='0 0 118 102'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.52' stroke-width='1.2'%3E%3Cpath d='M29.5 1 58 17.5v33L29.5 67 1 50.5v-33z'/%3E%3Cpath d='M88.5 1 117 17.5v33L88.5 67 60 50.5v-33z'/%3E%3Cpath d='M59 51 87.5 67.5v33L59 117 30.5 100.5v-33z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 118px 102px;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, .8) 42%, transparent 92%);
  mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, .8) 42%, transparent 92%);
}

.hero-split-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: rgba(255, 255, 255, .88);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
}

html[data-theme="dark"] .hero-split {
  background: var(--bg);
}

html[data-theme="dark"] .hero-split-media {
  border: 1px solid rgba(255, 255, 255, .07);
}

@media(max-width:1100px) {
  .hero-split-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 28px;
  }

  .hero-split-copy .display {
    font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  }

  .hero-split-media {
    min-height: 560px;
  }
}

@media(max-width:860px) {
  .hero-split {
    padding: 26px 0 38px;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
  }

  .hero-split-copy {
    padding: 30px 0 10px;
    max-width: 700px;
  }

  .hero-split-copy .display {
    max-width: 680px;
    font-size: clamp(2.8rem, 8vw, 4.2rem);
  }

  .hero-split-media {
    min-height: 460px;
  }
}

@media(max-width:560px) {
  .hero-split-grid {
    gap: 18px;
  }

  .hero-split-copy .display {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  .hero-split-copy p {
    font-size: 1rem;
  }

  .hero-split-media {
    min-height: 360px;
    border-radius: 20px;
  }

  .hero-split-caption {
    left: 16px;
    right: 16px;
    bottom: 14px;
    font-size: .62rem;
  }
}

/* === END MILEK V12 SPLIT HOMEPAGE HERO === */


/* === MILEK V13 DARK MODE: INTEGRATED CAPABILITY SECTION === */
html[data-theme="dark"] .section.soft {
  background: #181b19 !important;
  color: var(--text);
}

html[data-theme="dark"] .section.soft h2 {
  color: #ffffff !important;
}

html[data-theme="dark"] .section.soft p {
  color: #b8bbb8 !important;
}

html[data-theme="dark"] .section.soft .eyebrow {
  color: var(--milek-orange) !important;
}

html[data-theme="dark"] .section.soft .list-clean li {
  color: #e7e8ea !important;
  border-bottom-color: #343835 !important;
}

html[data-theme="dark"] .section.soft .list-clean li:before {
  color: var(--milek-orange) !important;
}

html[data-theme="dark"] .section.soft .image-placeholder {
  background: linear-gradient(135deg, #202421, #171a18) !important;
  border-color: #343835 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

html[data-theme="dark"] .section.soft .hex-panel {
  background-color: #1b1f1c !important;
  background-image: radial-gradient(circle at center, #3a3f3b 1px, transparent 1.5px) !important;
}

html[data-theme="dark"] .section.soft .image-placeholder:after {
  color: #8f9490 !important;
}

html[data-theme="dark"] .section.soft .btn-primary {
  background: var(--milek-orange) !important;
  color: #fff !important;
  border-color: var(--milek-orange) !important;
}

html[data-theme="dark"] .section.soft .btn-primary:hover {
  background: var(--milek-orange-hover) !important;
  border-color: var(--milek-orange-hover) !important;
}

/* === END MILEK V13 === */


/* === MILEK V14 DARK MODE: PRODUCTS PAGE === */
html[data-theme="dark"] .catalog-section {
  background: #111312 !important;
  color: #f4f5f7 !important;
}

html[data-theme="dark"] .catalog-section.alt {
  background: #181b19 !important;
}

html[data-theme="dark"] .catalog-head {
  background: transparent !important;
}

html[data-theme="dark"] .catalog-head h2 {
  color: #ffffff !important;
}

html[data-theme="dark"] .catalog-head p,
html[data-theme="dark"] .catalog-head .muted {
  color: #b2b2b2 !important;
}

html[data-theme="dark"] .catalog-kicker {
  background: var(--milek-orange) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .catalog-card {
  background: #1d201e !important;
  color: #f4f5f7 !important;
  border-color: #343835 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28) !important;
}

html[data-theme="dark"] .catalog-card:hover {
  border-color: #4a4f4b !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38) !important;
}

html[data-theme="dark"] .catalog-card h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .catalog-media {
  background: linear-gradient(135deg, #2a2e2b, #202321) !important;
  color: #9da29e !important;
  border-bottom: 1px solid #343835 !important;
}

html[data-theme="dark"] .catalog-body {
  background: #1d201e !important;
}

html[data-theme="dark"] .catalog-code {
  color: var(--milek-orange) !important;
}

html[data-theme="dark"] .catalog-specs li {
  color: #d7d9d6 !important;
  border-bottom-color: #353936 !important;
}

html[data-theme="dark"] .catalog-specs li:before {
  background: #8f9490 !important;
}

html[data-theme="dark"] .catalog-foot {
  border-top-color: #353936 !important;
}

html[data-theme="dark"] .catalog-price {
  color: #ffffff !important;
}

html[data-theme="dark"] .catalog-price small {
  color: #a8aca9 !important;
}

html[data-theme="dark"] .catalog-enquire {
  color: var(--milek-orange) !important;
}

html[data-theme="dark"] .catalog-enquire:hover {
  color: #ff6a40 !important;
}

html[data-theme="dark"] .product-intro,
html[data-theme="dark"] .product-intro-grid,
html[data-theme="dark"] .product-intro-item {
  background: #111312 !important;
  color: #f4f5f7 !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .product-intro-item h3,
html[data-theme="dark"] .product-intro-item strong {
  color: #ffffff !important;
}

html[data-theme="dark"] .product-intro-item p {
  color: #b2b2b2 !important;
}

html[data-theme="dark"] .tech-band {
  background: #0b0d0c !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tech-band h2 {
  color: #ffffff !important;
}

html[data-theme="dark"] .tech-grid {
  border-color: #343835 !important;
}

html[data-theme="dark"] .tech-cell {
  background: #151816 !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .tech-cell span {
  color: #9da29e !important;
}

html[data-theme="dark"] .tech-cell strong {
  color: #ffffff !important;
}

html[data-theme="dark"] .products-cta {
  background: var(--milek-orange) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .products-cta h2,
html[data-theme="dark"] .products-cta p {
  color: #ffffff !important;
}

html[data-theme="dark"] .products-cta .btn {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border-color: #ffffff !important;
}

/* === END MILEK V14 === */


/* === MILEK V15 GLOBAL DARK MODE COLOUR CONSISTENCY === */

/* Page heroes on all inner pages */
html[data-theme="dark"] .page-hero {
  background:
    linear-gradient(120deg, #111312 0 70%, #181b19 70%) !important;
  color: #f4f5f7 !important;
}

html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .page-hero h2,
html[data-theme="dark"] .page-hero .display {
  color: #ffffff !important;
}

html[data-theme="dark"] .page-hero p {
  color: #b7bbb8 !important;
}

html[data-theme="dark"] .page-hero .breadcrumb {
  color: #909590 !important;
}

html[data-theme="dark"] .page-hero .breadcrumb b {
  color: var(--milek-orange) !important;
}

html[data-theme="dark"] .eyebrow {
  color: var(--milek-orange) !important;
}

/* General content sections */
html[data-theme="dark"] .section:not(.dark):not(.soft) {
  background: #111312 !important;
  color: #f4f5f7 !important;
}

html[data-theme="dark"] .section:not(.dark) h1,
html[data-theme="dark"] .section:not(.dark) h2,
html[data-theme="dark"] .section:not(.dark) h3,
html[data-theme="dark"] .section:not(.dark) h4 {
  color: #ffffff !important;
}

html[data-theme="dark"] .section:not(.dark) p {
  color: #c1c4c1 !important;
}

html[data-theme="dark"] .section-head p {
  color: #b7bbb8 !important;
}

html[data-theme="dark"] .muted {
  color: #aeb2ae !important;
}

/* Lists and dividers */
html[data-theme="dark"] .list-clean li {
  color: #e1e2e4 !important;
  border-bottom-color: #343835 !important;
}

html[data-theme="dark"] .list-clean li:before {
  color: var(--milek-orange) !important;
}

/* Generic cards that were hard-coded white */
html[data-theme="dark"] .job-card,
html[data-theme="dark"] .value,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .product-card {
  background: #1d201e !important;
  color: #f4f5f7 !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .job-card h3,
html[data-theme="dark"] .value h3,
html[data-theme="dark"] .project-card h3,
html[data-theme="dark"] .product-card h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .job-card p,
html[data-theme="dark"] .value p,
html[data-theme="dark"] .project-card p,
html[data-theme="dark"] .product-card p {
  color: #b7bbb8 !important;
}

/* Tags/pills */
html[data-theme="dark"] .tag {
  border-color: #4a4f4b !important;
  color: #c7cac7 !important;
  background: #242825 !important;
}

/* Careers page video placeholder */
html[data-theme="dark"] .video-placeholder {
  background: linear-gradient(135deg, #202421, #161917) !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .video-placeholder .media-label {
  color: #c6c9c6 !important;
}

/* Keep orange action buttons strong in dark mode */
html[data-theme="dark"] .btn-primary {
  background: var(--milek-orange) !important;
  color: #ffffff !important;
  border-color: var(--milek-orange) !important;
}

html[data-theme="dark"] .btn-primary:hover {
  background: var(--milek-orange-hover) !important;
  border-color: var(--milek-orange-hover) !important;
}

/* Careers expression-of-interest panel */
html[data-theme="dark"] .section.soft .job-card {
  background: #1d201e !important;
  border-color: #343835 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}

html[data-theme="dark"] .section.soft .job-card h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .section.soft .job-card .muted {
  color: #b7bbb8 !important;
}

/* White/orange CTA blocks remain deliberate contrast */
html[data-theme="dark"] .cta {
  background: var(--milek-orange) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .cta h2,
html[data-theme="dark"] .cta p {
  color: #ffffff !important;
}

html[data-theme="dark"] .cta .btn {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border-color: #ffffff !important;
}

/* Form controls */
html[data-theme="dark"] .field label {
  color: #e3e4e6 !important;
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select {
  background: #1d201e !important;
  color: #ffffff !important;
  border-color: #3a3f3b !important;
}

html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder {
  color: #7f8580 !important;
}

/* === END MILEK V15 GLOBAL DARK MODE === */


/* === MILEK V16 REFINED HONEYCOMB ACCENTS === */

/* Remove the wallpaper-like repeating treatment from generic page backgrounds */
.page-hero,
.section.soft,
.hex-panel {
  background-image: none !important;
}

/* Generic page hero: one subtle corner cluster only */
.page-hero::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -18px;
  width: 430px;
  height: 270px;
  pointer-events: none;
  opacity: .22;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 430px 270px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='430' height='270' viewBox='0 0 430 270'%3E%3Cg fill='none' stroke='%23333333' stroke-opacity='.55' stroke-width='1.3'%3E%3Cpath d='M305 10l35 20v40l-35 20-35-20V30z'/%3E%3Cpath d='M375 10l35 20v40l-35 20-35-20V30z'/%3E%3Cpath d='M340 70l35 20v40l-35 20-35-20V90z'/%3E%3Cpath d='M270 70l35 20v40l-35 20-35-20V90z'/%3E%3Cpath d='M305 130l35 20v40l-35 20-35-20v-40z'/%3E%3Cpath d='M375 130l35 20v40l-35 20-35-20v-40z'/%3E%3Cpath d='M235 130l35 20v40l-35 20-35-20v-40z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, .75) 45%, transparent 92%);
  mask-image: linear-gradient(225deg, #000 0%, rgba(0, 0, 0, .75) 45%, transparent 92%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* Dark mode uses a soft white outline, still only as a corner accent */
html[data-theme="dark"] .page-hero::after {
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='430' height='270' viewBox='0 0 430 270'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.42' stroke-width='1.2'%3E%3Cpath d='M305 10l35 20v40l-35 20-35-20V30z'/%3E%3Cpath d='M375 10l35 20v40l-35 20-35-20V30z'/%3E%3Cpath d='M340 70l35 20v40l-35 20-35-20V90z'/%3E%3Cpath d='M270 70l35 20v40l-35 20-35-20V90z'/%3E%3Cpath d='M305 130l35 20v40l-35 20-35-20v-40z'/%3E%3Cpath d='M375 130l35 20v40l-35 20-35-20v-40z'/%3E%3Cpath d='M235 130l35 20v40l-35 20-35-20v-40z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Integrated capability placeholder: sparse engineering motif instead of dots/wallpaper */
.hex-panel {
  position: relative;
  background-color: #f5f6f8 !important;
  overflow: hidden;
}

.hex-panel::before {
  content: "";
  position: absolute;
  left: -28px;
  bottom: -20px;
  width: 330px;
  height: 235px;
  pointer-events: none;
  opacity: .28;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 330px 235px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='330' height='235' viewBox='0 0 330 235'%3E%3Cg fill='none' stroke='%23B2B2B2' stroke-opacity='.9' stroke-width='1.3'%3E%3Cpath d='M45 100l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M109 100l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M77 154l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M173 100l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M141 154l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M205 154l32 18v36l-32 18-32-18v-36z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(45deg, #000 0%, rgba(0, 0, 0, .75) 46%, transparent 94%);
  mask-image: linear-gradient(45deg, #000 0%, rgba(0, 0, 0, .75) 46%, transparent 94%);
}

html[data-theme="dark"] .hex-panel {
  background-color: #1b1f1c !important;
}

html[data-theme="dark"] .hex-panel::before {
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='330' height='235' viewBox='0 0 330 235'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.5' stroke-width='1.2'%3E%3Cpath d='M45 100l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M109 100l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M77 154l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M173 100l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M141 154l32 18v36l-32 18-32-18v-36z'/%3E%3Cpath d='M205 154l32 18v36l-32 18-32-18v-36z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Keep the split homepage video motif as a restrained single corner accent */
.hero-split-hex {
  width: 42% !important;
  height: 38% !important;
  opacity: .38 !important;
  background-repeat: no-repeat !important;
  background-position: top right !important;
  background-size: 280px 240px !important;
}

@media(max-width:760px) {
  .page-hero::after {
    width: 290px;
    height: 190px;
    background-size: 290px 190px;
    opacity: .16;
  }

  html[data-theme="dark"] .page-hero::after {
    opacity: .18;
  }

  .hex-panel::before {
    width: 245px;
    height: 175px;
    background-size: 245px 175px;
  }
}

/* === END MILEK V16 HONEYCOMB ACCENTS === */


/* === MILEK V17 REMOVE HEXAGON / HONEYCOMB DECORATION === */
.page-hero::after,
.hex-panel::before,
.hero-split-hex,
.hero-video-section::before,
.home-hero::after,
.hero-section::after,
.hero.hero-home::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

.page-hero,
.hex-panel,
.hero-split-media,
.hero-video-section,
.home-hero,
.hero-section,
.hero.hero-home {
  background-image: none !important;
}

/* === END MILEK V17 === */


/* === MILEK V18 ABSOLUTE HEXAGON CLEANUP === */
.hero-split::before,
.hero-split::after,
.hero-split-grid::before,
.hero-split-grid::after,
.hero-split-copy::before,
.hero-split-copy::after,
.hero-split-media::before,
.hero-split-media::after,
.hero-split-hex,
.page-hero::before,
.page-hero::after,
.hex-panel::before,
.hex-panel::after,
.hero-video-section::before,
.hero-video-section::after,
.home-hero::before,
.home-hero::after,
.hero-section::before,
.hero-section::after,
.hero.hero-home::before,
.hero.hero-home::after {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  background: none !important;
  background-image: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.hero-split,
.hero-split-grid,
.hero-split-copy,
.hero-split-media,
.page-hero,
.hex-panel,
.hero-video-section,
.home-hero,
.hero-section,
.hero.hero-home {
  background-image: none !important;
}

/* The video/image remains untouched; only decorative patterns are removed. */
.hero-split-media {
  background-color: #1a1a1a !important;
}

/* === END MILEK V18 === */


/* === MILEK V19 THEME-AWARE APPROACH / DARK SECTIONS === */

/* In LIGHT mode, formerly hard-coded dark editorial sections become light */
html:not([data-theme="dark"]) .section.dark {
  background: #f4f5f7 !important;
  color: #1a1a1a !important;
}

html:not([data-theme="dark"]) .section.dark h1,
html:not([data-theme="dark"]) .section.dark h2,
html:not([data-theme="dark"]) .section.dark h3,
html:not([data-theme="dark"]) .section.dark h4,
html:not([data-theme="dark"]) .section.dark blockquote {
  color: #1a1a1a !important;
}

html:not([data-theme="dark"]) .section.dark p {
  color: #555955 !important;
}

html:not([data-theme="dark"]) .section.dark .eyebrow {
  color: var(--milek-orange) !important;
}

html:not([data-theme="dark"]) .section.dark .accent,
html:not([data-theme="dark"]) .section.dark em,
html:not([data-theme="dark"]) .section.dark strong.orange {
  color: var(--milek-orange) !important;
}

/* In DARK mode retain the intended high-contrast charcoal treatment */
html[data-theme="dark"] .section.dark {
  background: #181a19 !important;
  color: #f4f5f7 !important;
}

html[data-theme="dark"] .section.dark h1,
html[data-theme="dark"] .section.dark h2,
html[data-theme="dark"] .section.dark h3,
html[data-theme="dark"] .section.dark h4,
html[data-theme="dark"] .section.dark blockquote {
  color: #ffffff !important;
}

html[data-theme="dark"] .section.dark p {
  color: #c1c4c1 !important;
}

html[data-theme="dark"] .section.dark .eyebrow {
  color: var(--milek-orange) !important;
}

/* === END MILEK V19 === */


/* === MILEK V20 CONTACT + FOOTER THEME CONSISTENCY === */

/* Contact page cards/panels */
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .contact-info-card,
html[data-theme="dark"] .contact-grid>div,
html[data-theme="dark"] .map-placeholder {
  background: #1d201e !important;
  color: #f4f5f7 !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .contact-card h2,
html[data-theme="dark"] .contact-card h3,
html[data-theme="dark"] .contact-panel h2,
html[data-theme="dark"] .contact-panel h3,
html[data-theme="dark"] .contact-info-card h2,
html[data-theme="dark"] .contact-info-card h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .contact-card p,
html[data-theme="dark"] .contact-panel p,
html[data-theme="dark"] .contact-info-card p,
html[data-theme="dark"] .contact-card a,
html[data-theme="dark"] .contact-panel a,
html[data-theme="dark"] .contact-info-card a {
  color: #d7d9d6 !important;
}

html[data-theme="dark"] .map-placeholder {
  background: #202421 !important;
  color: #9da29e !important;
}

/* Contact form fields */
html[data-theme="dark"] form,
html[data-theme="dark"] .contact-form {
  color: #f4f5f7 !important;
}

html[data-theme="dark"] .field label,
html[data-theme="dark"] .contact-form label {
  color: #ffffff !important;
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .contact-form select {
  background: #1d201e !important;
  color: #ffffff !important;
  border-color: #3a3f3b !important;
}

html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder,
html[data-theme="dark"] .contact-form input::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder {
  color: #7f8580 !important;
}

/* Light mode footer should be light, with dark text */
html:not([data-theme="dark"]) footer,
html:not([data-theme="dark"]) .site-footer {
  background: #f4f5f7 !important;
  color: #333333 !important;
  border-top: 1px solid #ddddda !important;
}

html:not([data-theme="dark"]) footer h3,
html:not([data-theme="dark"]) footer h4,
html:not([data-theme="dark"]) footer h5 {
  color: #1a1a1a !important;
}

html:not([data-theme="dark"]) footer p,
html:not([data-theme="dark"]) footer a,
html:not([data-theme="dark"]) footer span {
  color: #555955 !important;
}

html:not([data-theme="dark"]) footer a:hover {
  color: var(--milek-orange) !important;
}

html:not([data-theme="dark"]) .footer-bottom {
  border-top-color: #ddddda !important;
}

/* Dark mode footer remains charcoal */
html[data-theme="dark"] footer,
html[data-theme="dark"] .site-footer {
  background: #090b0a !important;
  color: #ffffff !important;
  border-top-color: #232624 !important;
}

/* === END MILEK V20 === */


/* === MILEK V21 CONTACT PAGE EXACT DARK MODE FIX === */

/* Contact page overall background */
html[data-theme="dark"] body,
html[data-theme="dark"] main {
  background: #111312 !important;
}

/* Left contact information boxes */
html[data-theme="dark"] .contact-stack,
html[data-theme="dark"] .contact-stack>div,
html[data-theme="dark"] .contact-detail,
html[data-theme="dark"] .contact-box {
  background: transparent !important;
}

html[data-theme="dark"] .contact-item {
  background: #1d201e !important;
  color: #f4f5f7 !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .contact-item h3,
html[data-theme="dark"] .contact-item strong,
html[data-theme="dark"] .contact-item a,
html[data-theme="dark"] .contact-item p {
  color: #ffffff !important;
}

html[data-theme="dark"] .contact-item .eyebrow {
  color: var(--milek-orange) !important;
}

/* Map block */
html[data-theme="dark"] .map-placeholder {
  background: #1d201e !important;
  color: #9da29e !important;
  border-color: #343835 !important;
}

/* Right enquiry/form area */
html[data-theme="dark"] .contact-form-wrap,
html[data-theme="dark"] .contact-form-panel,
html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .contact-form {
  background: #181b19 !important;
  color: #f4f5f7 !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .contact-form-wrap h1,
html[data-theme="dark"] .contact-form-wrap h2,
html[data-theme="dark"] .contact-form-panel h1,
html[data-theme="dark"] .contact-form-panel h2,
html[data-theme="dark"] .contact-form h1,
html[data-theme="dark"] .contact-form h2 {
  color: #ffffff !important;
}

/* Form controls */
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form-wrap input,
html[data-theme="dark"] .contact-form-wrap textarea,
html[data-theme="dark"] .contact-form-wrap select {
  background: #1d201e !important;
  color: #ffffff !important;
  border: 1px solid #3a3f3b !important;
}

html[data-theme="dark"] .contact-form label,
html[data-theme="dark"] .contact-form-wrap label {
  color: #ffffff !important;
}

/* Catch direct child boxes that were hard-coded white */
html[data-theme="dark"] .contact-grid>div:first-child>div:not(.map-placeholder) {
  background: #1d201e !important;
  color: #ffffff !important;
  border-color: #343835 !important;
}

/* Light mode restoration */
html:not([data-theme="dark"]) .contact-item,
html:not([data-theme="dark"]) .contact-grid>div:first-child>div:not(.map-placeholder) {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border-color: #ddddda !important;
}

html:not([data-theme="dark"]) .contact-item h3,
html:not([data-theme="dark"]) .contact-item strong,
html:not([data-theme="dark"]) .contact-item a,
html:not([data-theme="dark"]) .contact-item p {
  color: #1a1a1a !important;
}

/* === END MILEK V21 CONTACT PAGE FIX === */


/* === MILEK V22 CONTACT PAGE LAYOUT RESET === */
/* Keep the contact page structurally identical in light and dark modes.
   Only colours change; padding and spacing remain the same. */

.contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important;
  gap: 64px !important;
  align-items: start !important;
}

.contact-grid>div {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Contact details: text only, no card boxes */
.contact-box {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 34px !important;
  margin: 0 !important;
}

.contact-box+.contact-box {
  margin-top: 0 !important;
}

.contact-box h3 {
  margin: .35rem 0 0 !important;
}

.contact-box a {
  text-decoration: none !important;
}

/* Map keeps a contained visual block */
.map-placeholder {
  margin-top: 10px !important;
  min-height: 320px !important;
  border-radius: 24px !important;
  border: 1px solid var(--border) !important;
}

/* Form column should never become a filled panel */
.contact-grid>div:last-child,
.demo-form,
.form-grid {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.contact-grid>div:last-child>h2 {
  margin-top: .3rem !important;
  margin-bottom: 28px !important;
}

/* Same field geometry in both themes */
.form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px 16px !important;
}

.form-grid .field {
  gap: 7px !important;
}

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

.field input,
.field select {
  min-height: 56px !important;
}

.field textarea {
  min-height: 160px !important;
  resize: vertical;
}

/* LIGHT MODE */
html:not([data-theme="dark"]) .section:has(.contact-grid) {
  background: #ffffff !important;
}

html:not([data-theme="dark"]) .contact-box h3,
html:not([data-theme="dark"]) .contact-box h3 a {
  color: #333333 !important;
}

html:not([data-theme="dark"]) .map-placeholder {
  background: #e7e8ea !important;
  color: #6f7377 !important;
  border-color: #dededb !important;
}

html:not([data-theme="dark"]) .field label {
  color: #333333 !important;
}

html:not([data-theme="dark"]) .field input,
html:not([data-theme="dark"]) .field textarea,
html:not([data-theme="dark"]) .field select {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: 1px solid #d7d7d3 !important;
}

/* DARK MODE */
html[data-theme="dark"] .section:has(.contact-grid) {
  background: #111312 !important;
}

html[data-theme="dark"] .contact-box h3,
html[data-theme="dark"] .contact-box h3 a {
  color: #ffffff !important;
}

html[data-theme="dark"] .map-placeholder {
  background: #1b1f1c !important;
  color: #9da29e !important;
  border-color: #343835 !important;
}

html[data-theme="dark"] .field label {
  color: #f0f1f3 !important;
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select {
  background: #1b1f1c !important;
  color: #ffffff !important;
  border: 1px solid #3b403c !important;
}

/* Remove earlier V20/V21 selectors that made direct children into panels */
html[data-theme="dark"] .contact-grid>div:first-child>div:not(.map-placeholder),
html:not([data-theme="dark"]) .contact-grid>div:first-child>div:not(.map-placeholder) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Responsive */
@media(max-width:900px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }
}

@media(max-width:620px) {
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-grid .field.full {
    grid-column: auto !important;
  }
}

.contact-grid>div:first-child {
  padding: 32px 28px 34px 28px !important;
}

.contact-grid>div:last-child {
  padding: 32px 28px 34px 28px !important;
}

/* Keep map aligned with the inset contact details. */
.map-placeholder {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Dark mode: subtle panels separate the content from the page background. */
html[data-theme="dark"] .contact-grid>div:first-child,
html[data-theme="dark"] .contact-grid>div:last-child {
  background: #181b19 !important;
  border: 1px solid #252925 !important;
  border-radius: 2px !important;
}

/* Light mode stays clean but keeps identical spacing. */
html:not([data-theme="dark"]) .contact-grid>div:first-child,
html:not([data-theme="dark"]) .contact-grid>div:last-child {
  background: transparent !important;
  border: 1px solid transparent !important;
}

/* More deliberate spacing between the contact details. */
.contact-box {
  padding-bottom: 30px !important;
}

.contact-box:last-of-type {
  padding-bottom: 26px !important;
}

@media(max-width:900px) {

  .contact-grid>div:first-child,
  .contact-grid>div:last-child {
    padding: 26px 22px 28px !important;
  }
}

@media(max-width:560px) {

  .contact-grid>div:first-child,
  .contact-grid>div:last-child {
    padding: 22px 16px 24px !important;
  }
}


.footer-logo,
.footer-logo img,
.brand,
.brand img {
  background: none !important;
  background-color: transparent !important;
}

.footer-logo img {
  display: block;
  object-fit: contain;
}

.text-center{
  text-align: center;
}

/* === MOBILE NAV THEME FIX === */
@media(max-width:980px) {
  .nav-links {
    background: var(--surface) !important;
    color: var(--text) !important;
    border-bottom-color: var(--border) !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.08);
  }

  .nav-links a {
    color: var(--text) !important;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text-strong) !important;
  }

  .nav-links a:after {
    background: var(--milek-orange) !important;
  }

  .menu-btn {
    color: var(--text-strong) !important;
  }

  html[data-theme="dark"] .nav-links {
    background: #111312 !important;
    color: #f4f5f7 !important;
    border-bottom-color: #343835 !important;
    box-shadow: 0 18px 34px rgba(0,0,0,.32);
  }

  html[data-theme="dark"] .nav-links a {
    color: #f4f5f7 !important;
  }

  html[data-theme="dark"] .nav-links a:hover,
  html[data-theme="dark"] .nav-links a.active {
    color: #ffffff !important;
  }

  html[data-theme="dark"] .menu-btn {
    color: #ffffff !important;
  }

  html[data-theme="dark"] .nav-links .theme-toggle {
    background: #1d201e !important;
    color: #ffffff !important;
    border-color: #343835 !important;
  }
}
/* === END MOBILE NAV THEME FIX === */
