:root {
  --ink: #17283a;
  --muted: #607184;
  --blue: #1766d4;
  --line: #dce3ea;
  --paper: #f3f5f7;
  --navy: #10283d;
  --width: 1200px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased
}

a {
  color: var(--blue);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #3291ff;
  outline-offset: 5px
}

img {
  max-width: 100%;
  height: auto
}

button,
input,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.035em
}

.col-full {
  width: min(var(--width), calc(100% - 80px));
  margin-inline: auto
}

.fix:after {
  content: none !important
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 10px;
  z-index: 100
}

.skip-link:focus {
  top: 10px
}

#wrapper {
  overflow: clip;
  background: var(--paper) !important
}

#header {
  position: relative;
  background: var(--navy);
  color: white;
  border-bottom: 5px solid var(--blue);
  padding: 0;
  margin: 0;
  isolation: isolate
}

#header:after {
  content: '';
  position: absolute;
  inset: 100px 0 0 55%;
  z-index: -1;
  background: repeating-linear-gradient(120deg, transparent 0 80px, #ffffff08 81px 82px, transparent 83px 150px);
  mask-image: linear-gradient(to right, transparent, #000)
}

#header>.col-full {
  position: relative;
  min-height: 366px;
  padding-top: 34px;
  padding-bottom: 54px
}

#header .site-heading {
  display: block
}

#header .site-title {
  font: 800 26px/1.1 Inter, 'Segoe UI', sans-serif !important;
  letter-spacing: -.045em;
  padding: 3px 0 30px 47px;
  position: relative;
  border-bottom: 1px solid #ffffff22;
  color: white !important;
  margin: 0 !important
}

#header .site-title:before {
  content: '';
  position: absolute;
  width: 26px;
  height: 30px;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #4da3ff 0 30%, transparent 31% 38%, #92caff 39% 62%, transparent 63% 70%, #247be9 71%);
  transform: skewY(-12deg)
}

#header .site-title a {
  font: inherit !important;
  color: white !important;
  text-decoration: none
}

#header .site-description {
  font: 600 clamp(32px, 4.1vw, 58px)/1.14 Inter, 'Segoe UI', sans-serif !important;
  letter-spacing: -.045em;
  color: white !important;
  max-width: 900px;
  padding: 48px 0 0;
  margin: 0 !important;
  text-wrap: balance
}

#navigation {
  position: absolute;
  top: 31px;
  right: 0;
  width: auto !important;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0;
  z-index: 20;
  box-shadow: none
}

#navigation ul {
  padding: 0;
  margin: 0;
  list-style: none
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 34px
}

#main-nav>li {
  position: relative;
  float: none
}

#main-nav>li>a {
  display: inline-flex;
  color: #d9e6f2 !important;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
  background: transparent !important;
  text-decoration: none
}

#main-nav>li.current-menu-item>a {
  color: white !important;
  border-bottom: 2px solid #5ca6ff
}

#navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  width: 355px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px #05182c26;
  padding: 12px;
  border-radius: 8px;
  z-index: 50
}

#navigation .sub-menu a {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  padding: 9px 12px;
  color: var(--ink) !important;
  border-radius: 4px
}

#navigation .sub-menu a:hover {
  background: #edf4ff;
  text-decoration: none
}

#navigation li:hover>.sub-menu,
#navigation li:focus-within>.sub-menu,
#navigation li.menu-open>.sub-menu {
  display: block
}

.submenu-toggle {
  border: 0;
  background: none;
  color: #c4d5e8;
  margin-left: 7px;
  padding: 4px 7px
}

.nav-toggle {
  display: none
}

#content {
  padding: 54px 0 68px;
  min-height: 350px
}

#content>.widget {
  margin: 0 0 64px
}

#content>.widget>:is(h2, h3) {
  font-size: 30px;
  padding: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 18px
}

#content>.widget>:is(h2, h3):after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: services
}

.features .fix {
  display: none
}

.feature {
  min-width: 0;
  float: none !important;
  width: auto !important;
  margin: 0 !important
}

.feature-title {
  font-size: 20px !important
}

.feature-content {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8
}

.feature-title a {
  color: var(--ink) !important;
  text-decoration: none
}

#woothemes_features-4 .feature {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 15px;
  background: white;
  min-height: 190px;
  padding: 28px 24px 30px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  counter-increment: services
}

#woothemes_features-4 .feature:before {
  content: '0' counter(services);
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 10px;
  letter-spacing: .1em;
  color: #8394a3
}

#woothemes_features-4 .feature:after {
  content: '↗';
  position: absolute;
  bottom: 12px;
  right: 18px;
  color: #2879dd;
  font-size: 19px
}

#woothemes_features-4 .feature:hover {
  transform: translateY(-3px);
  border-color: #77a8e9;
  box-shadow: 0 10px 30px #132c4510
}

#woothemes_features-4 .feature>a {
  display: flex;
  align-items: center;
  justify-content: center
}

#woothemes_features-4 img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  mix-blend-mode: multiply
}

#woothemes_features-4 .feature-title {
  font-size: 22px !important;
  line-height: 1.25;
  overflow-wrap: anywhere;
  letter-spacing: -.025em
}

#woothemes_features-4 .feature-content {
  display: none
}

#woothemes_features-2 {
  margin-bottom: 0 !important
}

#woothemes_features-2 .features {
  gap: 38px
}

#woothemes_features-2 .feature {
  position: relative;
  padding: 0 0 0 0;
  border-top: 2px solid #1c65c6;
  padding-top: 25px
}

#woothemes_features-2 .feature>img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  float: left;
  margin: 0 16px 16px 0;
  mix-blend-mode: multiply
}

#woothemes_features-2 .feature-title {
  min-height: 55px;
  font-size: 19px !important;
  padding-top: 2px;
  margin: 0 0 14px
}

#woothemes_features-2 .feature-content {
  clear: both
}

#footer {
  background: #e8edf2;
  border-top: 1px solid #d8e0e8;
  margin: 0;
  padding: 42px 0 24px
}

#footer-widgets {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  padding-bottom: 30px
}

#footer .block {
  float: none;
  width: auto;
  margin: 0
}

#footer p {
  font-size: 14px;
  color: #506478;
  margin: 0 0 12px
}

#footer p a {
  display: inline-block;
  color: var(--ink);
  font-style: normal;
  font-size: 17px;
  margin-top: 6px
}

#footer h5 {
  font-size: 14px;
  margin: 0 0 14px;
  letter-spacing: 0
}

#footer h5 em {
  font-style: normal
}

#footer a[href^=tel] {
  font-size: 23px;
  font-weight: 700;
  color: var(--ink)
}

#footer a[href^=tel] img {
  display: none
}

#footer>.col-full:last-child {
  border-top: 1px solid #ccd7e1;
  padding-top: 23px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 20px;
  align-items: center
}

#copyright {
  font-size: 12px;
  color: #637689
}

#footer-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0
}

#footer-nav a {
  font-size: 12px;
  color: #526b81
}

#content #main {
  float: none;
  width: 100%;
  margin: 0
}

article>header {
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px
}

article>header h1 {
  font-size: clamp(30px, 3vw, 42px);
  max-width: 1000px
}

article .entry {
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word
}

article .entry p {
  margin: 0 0 22px
}

article .entry h2 {
  font-size: 25px;
  margin: 36px 0 22px
}

article .entry h3 {
  font-size: 22px;
  margin: 28px 0 16px
}

article .entry h4,
article .entry h5,
article .entry h6 {
  font-size: 18px;
  line-height: 1.6;
  margin: 24px 0 15px
}

article .entry ul,
article .entry ol {
  padding-left: 24px;
  margin: 18px 0 28px
}

article .entry li {
  margin-bottom: 10px
}

article .entry li::marker {
  color: var(--blue)
}

article .entry span {
  font-family: inherit !important;
  font-size: inherit !important
}

article .entry iframe {
  max-width: 100%;
  border: 0
}

.table-scroll {
  overflow-x: auto;
  margin: 26px 0 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.6
}

thead {
  background: var(--navy);
  color: white
}

thead th {
  background: var(--navy) !important;
  color: white !important;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px !important;
  border: 0 !important
}

td {
  padding: 15px 20px !important;
  border: 1px solid #e1e7ed !important;
  vertical-align: middle !important
}

td:first-child {
  min-width: 240px
}

tbody tr:nth-child(even) {
  background: #f4f7fa
}

tbody tr:hover {
  background: #eaf2ff !important
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 34px 0
}

.photo-grid figure {
  margin: 0;
  min-width: 0
}

.photo-grid a {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: #dce4eb
}

.photo-grid img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .25s
}

.photo-grid a:hover img {
  transform: scale(1.04)
}

.photo-grid figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: #53687a;
  margin-top: 10px;
  letter-spacing: 0
}

input:not([type=submit]):not([type=file]),
textarea {
  display: block;
  width: 100%;
  max-width: 640px;
  border: 1px solid #bbc9d5;
  background: #fff;
  border-radius: 5px;
  padding: 12px 14px;
  color: var(--ink)
}

textarea {
  resize: vertical;
  min-height: 180px
}

label {
  font-size: 14px;
  font-weight: 600
}

input[type=submit] {
  border: 0;
  background: var(--blue);
  color: white;
  padding: 13px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer
}

input[type=submit]:hover {
  background: #0c51b3
}

input[type=file] {
  max-width: 100%;
  font-size: 13px
}

.form-note {
  padding: 14px 18px;
  border-left: 3px solid var(--blue);
  background: #e7eff9;
  font-size: 14px;
  margin-top: 18px
}

.inner-page #header>.col-full {
  min-height: 270px
}

.inner-page #header .site-description {
  font-size: 34px !important;
  max-width: 760px;
  padding-top: 36px
}

.entry a[href^=tel] {
  white-space: nowrap
}

.entry [class*=bwg] {
  max-width: 100%
}

dialog {
  border: 0;
  border-radius: 8px;
  padding: 36px 70px;
  background: #142334;
  color: white;
  width: min(1100px, 95vw);
  max-height: 94vh
}

dialog::backdrop {
  background: #07111be6
}

dialog figure {
  margin: 0;
  text-align: center
}

dialog img {
  max-height: 73vh;
  max-width: 100%;
  object-fit: contain
}

dialog figcaption {
  font-size: 13px;
  margin-top: 12px
}

dialog button {
  position: absolute;
  border: 0;
  background: #ffffff14;
  border-radius: 4px;
  color: white;
  font-size: 25px;
  padding: 4px 12px
}

.viewer-close {
  right: 10px;
  top: 8px
}

.viewer-prev {
  left: 10px;
  top: 45%
}

.viewer-next {
  right: 10px;
  top: 45%
}

.map-frame {
  width: 100%;
  height: 460px;
  margin-bottom: 24px
}

@media(min-width:1500px) {
  :root {
    --width: 1280px
  }

  #woothemes_features-4 .feature {
    min-height: 210px;
    grid-template-columns: 130px 1fr
  }

  #woothemes_features-4 img {
    width: 130px;
    height: 130px
  }
}

@media(max-width:1000px) {
  .col-full {
    width: calc(100% - 48px)
  }

  #woothemes_features-4 .feature {
    grid-template-columns: 80px 1fr;
    padding-inline: 16px;
    gap: 10px
  }

  #woothemes_features-4 img {
    width: 80px;
    height: 95px
  }

  .features {
    gap: 12px
  }

  #main-nav {
    gap: 22px
  }

  .photo-grid img {
    height: 190px
  }
}

@media(max-width:720px) {
  .col-full {
    width: calc(100% - 36px)
  }

  #header>.col-full {
    padding-top: 25px;
    min-height: 320px;
    padding-bottom: 38px
  }

  #header .site-title {
    font-size: 22px !important;
    padding-left: 39px;
    padding-bottom: 26px
  }

  #header .site-title:before {
    height: 25px;
    width: 23px
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 24px;
    z-index: 30
  }

  .nav-toggle a {
    font-size: 12px;
    color: white !important;
    padding: 7px 9px;
    border: 1px solid #ffffff50;
    border-radius: 4px
  }

  #header .site-description {
    padding-top: 35px;
    max-width: 550px;
    font-size: 36px !important
  }

  #navigation {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #19344b !important;
    border: 1px solid #ffffff20;
    border-radius: 5px;
    padding: 12px !important;
    width: 100% !important
  }

  #navigation.is-open {
    display: block
  }

  #main-nav {
    display: block
  }

  #main-nav>li>a {
    font-size: 14px;
    padding: 9px
  }

  #navigation .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 6px;
    border-radius: 4px
  }

  .submenu-toggle {
    float: right;
    padding: 7px 14px
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  #woothemes_features-4 .feature {
    grid-template-columns: 1fr;
    gap: 6px;
    align-content: start;
    padding: 28px 14px;
    min-height: 215px
  }

  #woothemes_features-4 .feature>a {
    justify-content: flex-start
  }

  #woothemes_features-4 img {
    height: 90px;
    width: 90px
  }

  #woothemes_features-2 .features {
    grid-template-columns: 1fr;
    gap: 26px
  }

  #content {
    padding: 36px 0 44px
  }

  #content>.widget {
    margin-bottom: 42px
  }

  #content>.widget>:is(h2, h3) {
    font-size: 24px;
    padding-bottom: 22px
  }

  #woothemes_features-2 .feature-title {
    min-height: 40px
  }

  #footer-widgets {
    grid-template-columns: 1fr;
    gap: 12px
  }

  #footer>.col-full:last-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px
  }

  #footer {
    padding-top: 30px
  }

  .inner-page #header>.col-full {
    min-height: 240px
  }

  .inner-page #header .site-description {
    font-size: 26px !important;
    padding-top: 30px
  }

  article>header h1 {
    font-size: 29px
  }

  article .entry {
    font-size: 15px
  }

  article .entry h2 {
    font-size: 22px
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
  }

  .photo-grid img {
    height: 170px
  }

  .photo-grid figcaption {
    font-size: 12px
  }

  thead th,
  td {
    padding: 12px !important
  }

  td:first-child {
    min-width: 190px
  }

  table {
    min-width: 580px;
    font-size: 13px
  }

  dialog {
    padding: 40px 40px 25px
  }

  .viewer-next {
    right: 3px
  }

  .viewer-prev {
    left: 3px
  }

  .map-frame {
    height: 330px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

/* ALS Center visual language — graphite, red accents, technical grid, Inter. */
:root {
  color-scheme: dark;
  --ink: #f3f6f4;
  --muted: #c4cecf;
  --blue: #f57e87;
  --line: rgba(255, 255, 255, .11);
  --paper: #090d10;
  --navy: #10171b;
  --panel: #151d22;
  --accent: #b51220;
  --accent-light: #e33a45;
  --text: #e8edec
}

body {
  color: var(--text);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif
}

::selection {
  color: #fff;
  background: #b51220
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline-color: #f57e87
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -.025em
}

#header {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 90% 12%, #b5122023, transparent 52%), radial-gradient(ellipse at 10% 10%, #5e879425, transparent 65%), #090d10
}

#header:after {
  inset: 0;
  background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none
}

#header>.col-full {
  padding-top: 37px;
  padding-bottom: 58px;
  min-height: 380px
}

#header>.col-full:before {
  content: '';
  position: absolute;
  inset: 18px -18px auto;
  height: 73px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1013cf;
  box-shadow: 0 18px 55px #0005;
  z-index: -1
}

#header .site-title {
  font-size: 23px !important;
  border-bottom: 0;
  padding-left: 43px;
  padding-bottom: 34px;
  letter-spacing: -.025em
}

#header .site-title:before {
  top: 0;
  width: 26px;
  height: 28px;
  background: linear-gradient(135deg, #e33a45 0 30%, transparent 31% 38%, #f3f6f4 39% 62%, transparent 63% 70%, #b51220 71%);
  box-shadow: -3px 0 15px #b512201c
}

#header .site-description {
  padding-top: 46px;
  font-weight: 700 !important;
  line-height: 1.09 !important;
  letter-spacing: -.025em;
  max-width: 950px
}

#navigation {
  top: 32px
}

#main-nav {
  gap: 12px
}

#main-nav>li>a {
  color: #e8edec !important;
  padding: 10px 13px;
  font-weight: 700;
  border-radius: 5px
}

#main-nav>li.current-menu-item>a {
  border-bottom: 0;
  background: #ffffff12 !important;
  color: #fff !important
}

#main-nav>li>a:hover {
  color: #fff !important;
  background: #ffffff0c !important
}

.submenu-toggle {
  color: #cbd5d6
}

#navigation .sub-menu {
  background: #151d22;
  box-shadow: 0 25px 60px #0009;
  border-color: #ffffff21
}

#navigation .sub-menu a {
  color: #e8edec !important
}

#navigation .sub-menu a:hover {
  background: #ffffff0c;
  color: white !important
}

#content>.widget>:is(h2, h3) {
  font-weight: 700
}

#woothemes_features-4 .feature {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 35px #0002;
  min-height: 200px
}

#woothemes_features-4 .feature:before {
  color: #bac6c7;
  font-weight: 600
}

#woothemes_features-4 .feature:after {
  color: #f57e87;
  bottom: 15px
}

#woothemes_features-4 .feature:hover {
  border-color: #e33a4580;
  box-shadow: 0 18px 45px #0006
}

#woothemes_features-4 img {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: .88
}

#woothemes_features-4 .feature-title {
  font-weight: 600;
  letter-spacing: -.015em
}

#woothemes_features-2 .feature {
  border-top: 1px solid #e33a4580
}

#woothemes_features-2 .feature>img {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: .8
}

.feature-content {
  color: #d5dede
}

#footer {
  background: #06090b;
  border-top-color: var(--line)
}

#footer p {
  color: #cbd5d6
}

#footer>.col-full:last-child {
  border-top-color: var(--line)
}

#footer a[href^=tel],
#footer p a {
  color: var(--ink)
}

#footer-nav a,
#copyright {
  color: #c4cecf
}

#footer a:hover {
  color: #ff858d !important
}

.inner-page #header>.col-full {
  min-height: 280px
}

article .entry {
  color: #e8edec
}

article .entry a {
  color: #ff858d
}

.table-scroll {
  background: #10171b;
  border-color: var(--line)
}

thead,
thead th {
  background: #1b252b !important;
  color: #f3f6f4 !important
}

thead {
  border-bottom: 2px solid #b51220
}

td {
  border-color: #ffffff12 !important;
  color: #e8edec
}

tbody tr:nth-child(even) {
  background: #ffffff03
}

tbody tr:hover {
  background: #b512201a !important
}

.photo-grid a {
  background: #151d22;
  border: 1px solid var(--line);
  border-radius: 8px
}

.photo-grid figcaption {
  color: #cbd5d6
}

input:not([type=submit]):not([type=file]),
textarea {
  background: #10171b;
  border-color: #ffffff2a;
  color: #f3f6f4
}

input:not([type=submit]):not([type=file]):focus,
textarea:focus {
  border-color: #e33a45
}

input[type=submit] {
  color: white;
  background: linear-gradient(135deg, #cc2331, #a20e1b);
  box-shadow: 0 12px 32px #b5122029
}

input[type=submit]:hover {
  background: linear-gradient(135deg, #df2a39, #b51220)
}

.form-note {
  color: #e8edec;
  background: #b5122012;
  border-left-color: #e33a45
}

.skip-link {
  color: #fff;
  background: #b51220
}

dialog {
  background: #10171b;
  border: 1px solid #ffffff24;
  color: #f3f6f4;
  box-shadow: 0 30px 90px #0009
}

dialog::backdrop {
  background: #030507ef
}

dialog button:hover {
  background: #b51220
}

@media(max-width:720px) {
  #header>.col-full {
    padding-top: 32px;
    min-height: 310px;
    padding-bottom: 40px
  }

  #header>.col-full:before {
    inset: 16px -7px auto;
    height: 60px
  }

  #header .site-title {
    font-size: 21px !important;
    padding-left: 36px;
    padding-bottom: 24px
  }

  #header .site-title:before {
    height: 23px;
    width: 22px
  }

  #header .site-description {
    padding-top: 37px;
    font-size: 34px !important
  }

  .nav-toggle {
    top: 29px;
    right: 6px
  }

  .nav-toggle a {
    background: #ffffff06;
    border-color: #ffffff26;
    color: #f3f6f4 !important
  }

  #navigation {
    top: 82px;
    background: #10171bf7 !important;
    border: 1px solid #ffffff26;
    box-shadow: 0 22px 50px #0009
  }

  #navigation .sub-menu {
    background: #1b252b
  }

  #main-nav>li>a {
    padding: 9px 11px
  }

  #woothemes_features-4 .feature {
    min-height: 218px
  }

  .inner-page #header>.col-full {
    min-height: 235px
  }

  .inner-page #header .site-description {
    font-size: 25px !important
  }
}

/* Browser annotations: compact heading and service grid. */
#header>.col-full,
.inner-page #header>.col-full {
  min-height: 0;
  padding-bottom: 30px
}

#header .site-title {
  padding-bottom: 28px
}

#header .site-description,
.inner-page #header .site-description {
  max-width: none;
  width: 100%;
  padding-top: 20px;
  font-size: clamp(20px, 2.15vw, 34px) !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-wrap: nowrap;
  letter-spacing: -.025em
}

.home #content {
  padding-top: 32px
}

@media(max-width:720px) {

  #header>.col-full,
  .inner-page #header>.col-full {
    padding-bottom: 24px
  }

  #header .site-title {
    padding-bottom: 24px
  }

  #header .site-description,
  .inner-page #header .site-description {
    padding-top: 24px;
    font-size: 25px !important;
    white-space: normal;
    text-wrap: balance;
    line-height: 1.2 !important
  }

  .home #content {
    padding-top: 24px
  }
}

/* Center the brand in the header panel, independently of the tagline. */
#header .site-heading {
  padding-top: 53px
}

#header .site-title {
  position: absolute;
  top: 18px;
  left: 0;
  height: 73px;
  display: flex;
  align-items: center;
  padding: 0 0 0 43px;
  width: max-content
}

#header .site-title:before {
  top: 50%;
  width: 30px;
  height: 30px;
  background: url("/favicon.svg") center / contain no-repeat;
  box-shadow: none;
  transform: translateY(-50%)
}

@media(max-width:720px) {
  #header .site-heading {
    padding-top: 47px
  }

  #header .site-title {
    top: 16px;
    height: 60px;
    padding-left: 36px
  }

  #header .site-title:before {
    width: 26px;
    height: 26px
  }
}

/* Header wordmark only. */
#header .site-title {
  font-size: 27px !important;
  letter-spacing: .015em
}

@media(max-width:720px) {
  #header .site-title {
    font-size: 24px !important
  }
}

/* Editorial typography: same copy, clearer reading rhythm. */
.inner-page #content {
  width: min(1120px, calc(100% - 80px));
  padding-top: 44px;
  padding-bottom: 80px
}

article>header {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line)
}

article>header h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
  max-width: 32ch
}

article .entry {
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: .005em
}

article .entry p {
  max-width: 76ch;
  margin: 0 0 24px;
  text-align: left
}

article .entry p:has(table),
article .entry p:has(.table-scroll),
article .entry p:has(.photo-grid) {
  max-width: none
}

article .entry p:empty {
  display: none
}

article .entry h2,
article .entry h3,
article .entry h4,
article .entry h5,
article .entry h6,
article .entry .section-label {
  max-width: 44ch;
  line-height: 1.35;
  letter-spacing: -.025em;
  color: #f3f6f4;
  text-wrap: balance
}

article .entry h2 {
  font-size: 27px;
  margin: 48px 0 22px;
  font-weight: 650
}

article .entry h3 {
  font-size: 24px;
  margin: 40px 0 20px;
  font-weight: 650
}

article .entry h4,
article .entry h5,
article .entry h6 {
  font-size: 21px;
  margin: 36px 0 18px;
  font-weight: 600
}

article .entry .tablepress-table-name {
  max-width: 48ch;
  font-size: 25px;
  margin-top: 8px;
  margin-bottom: 22px
}

article .entry .section-label {
  font-size: 23px;
  font-weight: 650;
  margin: 44px 0 20px
}

article .entry .section-label strong,
article .entry .section-label b {
  font-weight: inherit
}

article .entry .intro-text {
  max-width: 70ch;
  font-size: 20px;
  font-weight: 450;
  line-height: 1.7;
  color: #dce4e4;
  margin: 0 0 30px;
  letter-spacing: 0;
  text-wrap: pretty
}

article .entry strong,
article .entry b {
  font-weight: 600;
  color: #f3f6f4
}

article .entry .text-emphasis {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8
}

article .entry .text-note,
article .entry .price-note {
  max-width: 76ch;
  border: 1px solid #ffffff12;
  border-left: 3px solid #b51220;
  border-radius: 0 6px 6px 0;
  background: #121a1e;
  padding: 20px 24px;
  margin: 30px 0;
  color: #eef2f1;
  line-height: 1.8
}

article .entry .price-note {
  font-size: 18px;
  font-weight: 600;
  background: #151d22
}

article .entry .text-note strong,
article .entry .text-note em {
  font-weight: 500;
  font-style: normal
}

article .entry ul,
article .entry ol {
  max-width: 76ch;
  margin: 22px 0 32px;
  padding: 0 0 0 26px
}

article .entry ul>li {
  padding-left: 7px;
  margin: 0 0 12px
}

article .entry ul>li::marker {
  font-size: .8em;
  color: #e16a74
}

article .entry ol {
  list-style: none;
  counter-reset: steps;
  padding: 0
}

article .entry ol>li {
  counter-increment: steps;
  position: relative;
  padding: 18px 22px 18px 62px;
  background: #10171b;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 0 0 12px;
  line-height: 1.8
}

article .entry ol>li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 600;
  color: #f08088;
  font-variant-numeric: tabular-nums
}

article .entry .compact-list {
  max-width: 88ch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 0
}

article .entry a:not(.photo-link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: #f57e8755
}

article .entry a:not(.photo-link):hover {
  text-decoration-color: currentColor
}

.table-scroll {
  margin: 24px 0 36px;
  border-radius: 8px;
  scrollbar-color: #5a4549 #10171b
}

article .entry table {
  font-size: 15px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums
}

article .entry thead th {
  padding: 18px 20px !important;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .01em;
  font-weight: 600;
  white-space: normal
}

article .entry td {
  padding: 16px 20px !important;
  vertical-align: middle !important
}

article .entry td:first-child {
  width: 55%
}

article .entry td.cell-number {
  text-align: right;
  font-weight: 550;
  color: #f0f4f3;
  white-space: nowrap
}

article .entry td[rowspan] {
  background: #ffffff02;
  font-weight: 500;
  color: #eef2f1
}

.photo-grid {
  margin: 40px 0 46px;
  gap: 24px
}

.photo-grid figcaption {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 12px;
  color: #cbd5d6;
  letter-spacing: 0
}

article .entry .wp-caption {
  max-width: 100%;
  margin: 30px 0 38px;
  padding: 18px;
  background: #10171b;
  border: 1px solid var(--line);
  border-radius: 8px
}

article .entry .wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px
}

article .entry .wp-caption .wp-caption-text {
  max-width: 76ch;
  font-size: 14px;
  line-height: 1.75;
  color: #cbd5d6;
  margin: 16px 0 0
}

article .entry img.boxr {
  max-width: min(100%, 480px);
  border-radius: 6px;
  margin: 24px 0
}

article .entry label {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: #d5dede
}

article .entry input:not([type=submit]):not([type=file]),
article .entry textarea {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 9px
}

article .entry .map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 16px 0 38px
}

.feature-content {
  font-size: 15px;
  line-height: 1.85
}

#woothemes_features-2 .feature-title {
  line-height: 1.4
}

#footer p {
  line-height: 1.8
}

@media(max-width:900px) {
  article .entry .compact-list {
    grid-template-columns: 1fr
  }
}

@media(max-width:720px) {
  .inner-page #content {
    width: calc(100% - 36px);
    padding-top: 30px;
    padding-bottom: 48px
  }

  article>header {
    padding-bottom: 22px;
    margin-bottom: 26px
  }

  article>header h1 {
    font-size: 29px;
    line-height: 1.25
  }

  article .entry {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0
  }

  article .entry p {
    margin-bottom: 22px
  }

  article .entry h2 {
    font-size: 23px;
    margin-top: 36px
  }

  article .entry h3,
  article .entry .section-label {
    font-size: 21px;
    margin-top: 32px
  }

  article .entry h4,
  article .entry h5,
  article .entry h6 {
    font-size: 19px
  }

  article .entry .tablepress-table-name {
    font-size: 21px
  }

  article .entry .intro-text {
    font-size: 18px;
    line-height: 1.75
  }

  article .entry .text-note,
  article .entry .price-note {
    padding: 16px 18px;
    margin: 24px 0;
    font-size: 16px
  }

  article .entry ol>li {
    padding: 16px 16px 16px 50px
  }

  article .entry ol>li::before {
    left: 15px;
    top: 18px
  }

  article .entry table {
    font-size: 14px
  }

  article .entry thead th,
  article .entry td {
    padding: 13px 15px !important
  }

  .photo-grid {
    gap: 18px;
    margin: 30px 0 36px
  }

  .photo-grid figcaption {
    font-size: 13px
  }

  article .entry .wp-caption {
    padding: 12px
  }
}

article .entry td:first-child {
  width: auto;
  min-width: 0
}

article .entry td.column-1 {
  width: 46%;
  min-width: 240px
}

article .entry th.column-2,
article .entry th.column-3,
article .entry th.column-9 {
  text-align: right
}

/* Keep the navigation above service cards and their hover effects. */
#header {
  z-index: 1;
}

/* Consistent reading rhythm across all pages and service descriptions. */
.inner-page article>header {
  margin-bottom: 26px;
  padding-bottom: 22px;
}

.inner-page article>header h1 {
  max-width: 36ch;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

article .entry {
  padding-top: 0;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0;
  color: #e8edec;
}

article .entry>p:not(:has(table, .table-scroll, .photo-grid)) {
  max-width: 70ch;
  margin-bottom: 20px;
  text-wrap: pretty;
}

article .entry .intro-text {
  font-size: 19px;
  line-height: 1.7;
  color: #eef2f1;
}

article .milling-entry p.milling-lead {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

article .entry>h2:not(.tablepress-table-name) {
  max-width: 34ch;
  margin: 42px 0 16px;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.025em;
  text-wrap: balance;
}

article .milling-entry>h2:has(+ .milling-machines) {
  font-size: clamp(22px, 2.5vw, 28px);
}

article .entry ul,
article .entry ol {
  max-width: 72ch;
  margin: 18px 0 30px;
}

article .entry ul>li {
  margin-bottom: 10px;
}

article .entry a {
  overflow-wrap: anywhere;
}

article .milling-entry .milling-panels {
  max-width: 72ch;
  margin: 0 0 32px;
}

article .milling-entry .milling-panels>li {
  padding: 24px 26px 24px 56px;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
}

article .milling-entry .milling-panels>li::before {
  content: counter(steps, decimal-leading-zero);
}

article .milling-entry .milling-panels>li p {
  margin: 0 0 12px;
}

article .milling-entry .milling-panels>li p:last-child {
  margin-bottom: 0;
}

article .milling-entry .milling-machines>li {
  font-size: inherit;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}

.home-seo-summary {
  margin: 48px 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.home-seo-summary h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2vw, 27px);
  color: var(--ink);
  line-height: 1.35;
}

.home-seo-summary p {
  max-width: none;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
  text-wrap: pretty;
}

.home-seo-summary p:last-child {
  margin-bottom: 0;
}

.home-seo-summary a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact details and compact map. */
.contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  align-items: stretch;
  gap: 32px;
  margin-bottom: 28px;
}

article .entry .contact-actions ul {
  margin: 18px 0 28px;
}

.contact-details {
  min-width: 0;
}

article .entry .contact-details > p:last-child {
  margin-bottom: 0;
}

article .entry .contact-actions .map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  margin: 0;
}

@media (max-width: 850px) {
  .contact-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  article .entry .contact-actions .map-frame {
    height: 380px;
    min-height: 0;
  }
}

/* Contact request form. */
.request-panel {
  margin-top: 42px;
  padding: clamp(22px, 4vw, 48px);
  background: linear-gradient(135deg, #1b2329, var(--panel) 55%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 18px 48px #0003;
}

.request-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.request-eyebrow {
  display: inline-block;
  color: #ff858d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

article .entry .request-header h2 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.2;
}

article .entry .request-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.request-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}

.request-field {
  min-width: 0;
}

.request-wide {
  grid-column: 1 / -1;
}

article .entry .request-field label {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.request-required {
  color: #ff858d;
}

.request-optional {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

article .entry .request-form input:not([type=file]):not([type=checkbox]),
article .entry .request-form textarea {
  max-width: none;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px;
  background: #0d1317;
  border: 1px solid #ffffff26;
  border-radius: 9px;
  color: var(--ink);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}

article .entry .request-form textarea {
  min-height: 180px;
  resize: vertical;
}

.request-form :is(input, textarea)::placeholder {
  color: var(--muted);
  opacity: .9;
}

article .entry .request-form :is(input:not([type=file]):not([type=checkbox]), textarea):focus {
  border-color: #f57e87;
  box-shadow: 0 0 0 3px #e33a4526;
  outline: none;
}

.request-upload {
  position: relative;
  background: #0d1317;
  border: 1px dashed #ffffff36;
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}

.request-upload:focus-within,
.request-upload:hover {
  border-color: #f57e87;
}

.request-file-drag .request-upload {
  border-color: #f57e87;
  background: #e33a4512;
}

.request-file-drag .contact-actions .map-frame {
  pointer-events: none;
}

.request-drop-label {
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.request-choose-files {
  color: #ff858d;
  font-weight: 600;
}

.request-file-status {
  display: block;
  color: var(--text);
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.request-file-status:empty {
  display: none;
}

.request-drop-notice {
  display: none;
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 16px 24px;
  border: 1px solid #f57e87;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 12px 36px #0008;
  color: var(--ink);
  text-align: center;
  pointer-events: none;
}

.request-file-drag .request-drop-notice {
  display: block;
}

.request-upload-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #ff858d;
}

article .entry .request-field .request-upload-trigger {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 66px;
  margin: 0;
  padding: 16px 20px;
  cursor: pointer;
}

.request-upload-trigger .request-help {
  margin-left: auto;
}

.request-upload input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.request-help {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.request-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.request-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-shrink: 0;
  min-height: 58px;
  padding: 14px 30px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #ed3443, #d01829);
  box-shadow: 0 8px 26px #b5122033;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.request-submit:disabled {
  background: #461017;
  color: #e0b5b9;
  box-shadow: none;
  cursor: not-allowed;
}

.request-submit:not(:disabled):hover {
  background: linear-gradient(135deg, #ff4b55, #e22335);
}

.request-submit:not(:disabled):active {
  transform: translateY(1px);
}

.request-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.request-consent {
  margin-top: 22px;
}

article .entry .request-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

article .entry .request-consent input[type=checkbox] {
  appearance: auto;
  accent-color: #d01829;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  cursor: pointer;
}

article .entry .request-consent .request-policy-link {
  display: inline-block;
  margin: 4px 0 0 29px;
  font-size: 13px;
  color: var(--muted);
}

.legal-document {
  max-width: 1000px;
  margin-inline: auto;
}

article.legal-document .entry {
  font-size: 16px;
  line-height: 1.75;
}

article.legal-document .entry .legal-version {
  color: var(--muted);
  font-size: 14px;
}

article.legal-document .entry .legal-draft-note {
  padding: 14px 18px;
  border: 1px solid #f57e8755;
  border-left: 3px solid var(--accent-light);
  border-radius: 6px;
  background: #b5122014;
  color: #ffb1b7;
  font-size: 14px;
}

article .entry .request-result {
  margin: 20px 0 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.55;
}

.request-result:empty {
  display: none;
}

.request-result[data-state="success"] {
  color: #bde9cf;
  background: #20472e55;
  border-color: #50896577;
}

.request-result[data-state="error"] {
  color: #ffb1b7;
  background: #b512201a;
  border-color: #b5122077;
}

@media (max-width: 900px) {
  .request-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .request-panel {
    margin-top: 30px;
  }

  .request-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .request-footer {
    flex-direction: column;
    align-items: stretch;
  }

  article .entry .request-field .request-upload-trigger {
    padding: 14px;
    gap: 8px;
  }

  .request-upload-trigger .request-help {
    flex-basis: 100%;
    margin-left: 29px;
  }
}

#woothemes_features-4 .feature-title {
  font-size: clamp(17px, 1.6vw, 20px) !important;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

#woothemes_features-2 .feature-content {
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 721px) and (max-width: 1300px) {
  #woothemes_features-4 .feature {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 16px;
  }

  #woothemes_features-4 img {
    width: 80px;
    height: 95px;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  #woothemes_features-4 .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-seo-summary {
    margin: 30px 0;
    padding: 20px;
  }

  .home-seo-summary p {
    font-size: 16px;
  }

  .inner-page article>header {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .inner-page article>header h1 {
    font-size: 28px;
  }

  article .entry,
  article .milling-entry p.milling-lead,
  article .milling-entry .milling-panels>li {
    font-size: 16px;
    line-height: 1.75;
  }

  article .entry>h2:not(.tablepress-table-name) {
    margin-top: 34px;
    font-size: 23px;
  }

  article .entry .intro-text {
    font-size: 17px;
  }

  article .milling-entry .milling-panels>li {
    padding: 18px 16px 18px 44px;
  }

  article .milling-entry .milling-panels>li::before {
    left: 14px;
    top: 19px;
  }
}

@media (max-width: 560px) {
  #woothemes_features-4 .features {
    grid-template-columns: 1fr;
  }

  #woothemes_features-4 .feature {
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: 14px;
    min-height: 132px;
    padding: 28px 20px;
  }

  #woothemes_features-4 img {
    width: 70px;
    height: 70px;
  }

  #woothemes_features-4 .feature-title {
    font-size: 18px !important;
  }
}

/* Photo viewer */
#image-viewer {
  width: min(1240px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 64px 72px 28px;
  margin: auto;
  border: 1px solid #ffffff20;
  border-radius: 16px;
  background: #10171b;
  color: var(--ink);
  box-shadow: 0 30px 100px #000b;
  overflow: auto;
}

#image-viewer::backdrop {
  background: #030609e8;
  backdrop-filter: blur(9px);
}

#image-viewer[open] {
  animation: viewer-appear .18s ease-out;
}

@keyframes viewer-appear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

#image-viewer figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}

#image-viewer img {
  display: block;
  max-width: 100%;
  max-height: min(72dvh, calc(100dvh - 170px));
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 34px #0005;
}

#image-viewer figcaption {
  margin: 0;
  color: #d5dede;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

#image-viewer figcaption:empty {
  display: none;
}

#image-viewer button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  background: #212b30;
  color: #f3f6f4;
  font: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
  z-index: 1;
}

#image-viewer button[hidden] {
  display: none;
}

#image-viewer button:hover {
  background: var(--accent);
  border-color: #f57e87;
  transform: scale(1.06);
}

#image-viewer button:focus-visible {
  outline: 2px solid #f57e87;
  outline-offset: 3px;
}

#image-viewer .viewer-close {
  top: 12px;
  right: 18px;
  font-size: 30px;
}

#image-viewer .viewer-prev {
  left: 14px;
  top: calc(50% - 22px);
}

#image-viewer .viewer-next {
  right: 14px;
  top: calc(50% - 22px);
}

#image-viewer .viewer-count {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #cbd5d6;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

body:has(#image-viewer[open]) {
  overflow: hidden;
}

/* Editorial photo layouts: preserve the geometry of products and drawings. */
.inner-page #content {
  width: min(1200px, calc(100% - 80px))
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 30px;
  align-items: center;
  margin: 26px 0 40px
}

.editorial-split>p,
.editorial-split>ul,
.editorial-split>ol {
  margin: 0 !important;
  max-width: none !important;
  min-width: 0
}

.editorial-copy {
  min-width: 0;
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--panel);
  font-size: 17px;
  line-height: 1.7
}

article .entry .editorial-copy p {
  margin: 0 0 16px
}

article .milling-entry .editorial-copy p.milling-intro {
  font-size: clamp(10px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -.02em
}

article .entry .editorial-copy h2 {
  font-size: 23px;
  margin: 24px 0 12px;
  line-height: 1.35
}

article .entry .editorial-copy>:first-child {
  margin-top: 0
}

article .entry .editorial-copy>:last-child {
  margin-bottom: 0
}

.editorial-copy ul,
.editorial-copy ol {
  padding-left: 22px
}

/* Align article text with both outer edges of the photo area. */
.inner-page article>header h1 {
  max-width: 100%;
  text-wrap: pretty
}

.inner-page article .entry :is(p, h2, h3, h4, h5, h6, ul, ol, .compact-list, .section-label, .text-note, .price-note, .milling-panels, .tablepress-table-name) {
  max-width: none
}

.inner-page article .entry> :is(p, h2, h3, ul, ol) {
  width: 100%
}

.inner-page article .entry .editorial-copy :is(p, h2, h3, ul, ol) {
  max-width: 100%
}

.editorial-split.photo-left {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr)
}

.editorial-split.photo-left>.editorial-grid {
  grid-column: 1;
  grid-row: 1
}

.editorial-split.photo-left>:first-child {
  grid-column: 2;
  grid-row: 1
}

.editorial-split:has(>.editorial-grid.two) {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px
}

.editorial-split:has(>.editorial-grid.two)>p,
.editorial-split:has(>.editorial-grid.two)>ul,
.editorial-split:has(>.editorial-grid.two)>ol {
  grid-column: 1;
  grid-row: 1;
  max-width: 76ch !important
}

.editorial-split:has(>.editorial-grid.two)>.editorial-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 100%
}

.editorial-split:has(>.editorial-grid.two)>.editorial-grid {
  grid-column: 1;
  grid-row: 2
}

.editorial-grid,
.editorial-grid.three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 20px 0 36px;
  align-items: start
}

.editorial-grid.single {
  grid-template-columns: minmax(0, 1fr)
}

.editorial-split .editorial-grid {
  margin: 0
}

.editorial-grid figure {
  display: grid;
  gap: 0;
  min-width: 0
}

.editorial-grid a {
  display: block;
  min-width: 0;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  border: 0
}

.editorial-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 760px;
  margin: 0 auto;
  border-radius: 8px
}

.editorial-grid:not(.single):not(.technical)>figure:last-child:nth-child(odd) {
  grid-column: 1/-1;
  width: min(100%, 900px);
  justify-self: center
}

.editorial-grid.single:not(.portrait) figure {
  width: 100%;
  max-width: 1040px;
  justify-self: center
}

.editorial-grid.single a {
  aspect-ratio: auto
}

.editorial-grid.portrait a {
  max-width: 560px;
  margin-inline: auto
}

.editorial-grid.portrait img {
  width: auto;
  height: auto;
  max-height: 820px
}

.editorial-grid.technical a {
  background: #f6f7f7;
  aspect-ratio: auto;
  min-height: 0;
  padding: 6px
}

.editorial-grid.technical img {
  height: auto;
  width: 100%;
  object-fit: contain
}

.editorial-grid.technical a:hover img {
  transform: none
}

.editorial-grid.technical:has(a[href^="/assetsNoWatermark/fasadnye-kassety/"]) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px
}

.editorial-grid img.boxr {
  width: auto;
  max-width: 100%;
  margin: 0 auto
}

/* Plotter: keep the photo column compact and align the text beside it. */
@media (min-width: 851px) {
  .editorial-split:has(a[href="/assetsNoWatermark/plotter/01.webp"]) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  }

  .editorial-split.photo-left:has(a[href="/assetsNoWatermark/plotter/02.webp"]) {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  }
}

article .entry .editorial-grid a[href="/assetsNoWatermark/plotter/01.webp"] img.boxr,
article .entry .editorial-grid a[href="/assetsNoWatermark/plotter/02.webp"] img.boxr {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
}

.editorial-grid figcaption {
  margin: 8px 0 0;
  line-height: 1.45
}

.photo-topic {
  margin: 30px 0 42px
}

.photo-topic h3 {
  margin: 0 0 14px !important;
  font-size: 20px
}

.home-photo-hero {
  margin: 0 0 36px !important
}

.home-portfolio {
  margin: 42px 0 56px
}

.home-portfolio>h2 {
  margin-bottom: 18px
}

.home-portfolio .home-projects {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0 18px;
  align-items: start
}

.home-portfolio .home-projects img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain
}

.home-portfolio .home-projects figure {
  min-width: 0
}

.home-portfolio .home-projects figcaption {
  margin-top: 10px
}

@media(max-width:850px) {
  .home-portfolio .home-projects {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px
  }
}

/* Give standalone prose its own comfortable reading measure; keep media full width. */
.inner-page article .entry:not(:has(form))>:is(p, h2, h3, h4, h5, h6, ul, ol) {
  width: min(100%, 1000px);
  max-width: 100%;
  margin-inline: auto;
}

.inner-page article .entry:not(:has(form))>p:not(.intro-text),
.inner-page article .entry:not(:has(form))>:is(ul, ol) {
  font-size: 17px;
  line-height: 1.8;
}

.inner-page article .entry:not(:has(form))>p {
  margin-bottom: 20px;
  text-wrap: pretty
}

.inner-page article .entry:not(:has(form))>h2:not(.tablepress-table-name) {
  margin-top: 46px;
  margin-bottom: 18px;
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.3;
  text-wrap: balance;
}

.inner-page article .entry:not(:has(form))>:is(ul, ol) {
  margin-top: 12px;
  margin-bottom: 30px
}

.inner-page article .entry:not(:has(form))>.compact-list {
  column-gap: 32px
}

.inner-page article .entry:not(:has(form))>h2:has(+ :is(.photo-topic, .photo-grid)) {
  width: 100%;
  margin-inline: 0;
}

.inner-page article .entry:not(:has(form))>:is(.text-note, .price-note) {
  width: min(100%, 1000px);
  margin-inline: auto;
}

@media(max-width:720px) {

  .inner-page article .entry:not(:has(form))>p:not(.intro-text),
  .inner-page article .entry:not(:has(form))>:is(ul, ol) {
    font-size: 16px;
    line-height: 1.75
  }

  .inner-page article .entry:not(:has(form))>h2:not(.tablepress-table-name) {
    margin-top: 34px;
    margin-bottom: 14px
  }
}

@media(max-width:850px) {
  .inner-page #content {
    width: calc(100% - 36px)
  }

  .editorial-split,
  .editorial-split.photo-left {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0 28px
  }

  .editorial-copy {
    padding: 16px 18px;
    font-size: 16px
  }

  .editorial-split.photo-left>.editorial-grid,
  .editorial-split.photo-left>:first-child {
    grid-column: auto;
    grid-row: auto
  }

  .editorial-grid,
  .editorial-grid.three {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px
  }

  .editorial-grid a {
    aspect-ratio: auto;
    padding: 0
  }

  .editorial-grid.technical a {
    padding: 4px
  }

  .editorial-grid img {
    max-height: none
  }

  .editorial-grid.portrait img {
    max-height: 720px
  }

  .photo-topic {
    margin: 24px 0 32px
  }
}

@media (max-width: 600px) {
  #image-viewer {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 60px 12px 74px;
    border-radius: 12px;
  }

  #image-viewer img {
    max-height: calc(100dvh - 220px);
  }

  #image-viewer .viewer-prev {
    left: calc(50% - 54px);
    top: auto;
    bottom: 14px;
  }

  #image-viewer .viewer-next {
    right: calc(50% - 54px);
    top: auto;
    bottom: 14px;
  }

  #image-viewer figcaption {
    font-size: 13px;
  }
}

/* Highlight numeric technical specifications throughout the site. */
article .entry .technical-value {
  font-weight: 700;
}

/* Milling page: balanced intro and an aligned, uncropped methods illustration. */
.inner-page article .milling-entry:not(:has(form)) > p.milling-guidance {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.8;
}

article .milling-entry .milling-hero .editorial-copy {
  padding: 14px 18px;
}

article .milling-entry .milling-hero .editorial-copy h2 {
  margin-top: 16px;
  margin-bottom: 10px;
}

article .milling-entry .milling-methods {
  grid-template-columns: minmax(0, 1fr) minmax(0, 47.5%);
  align-items: center;
  margin-top: 18px;
}

article .milling-entry .milling-methods-copy {
  min-width: 0;
}

article .milling-entry .milling-methods-intro {
  margin: 0 0 12px;
}

article .milling-entry .milling-methods .editorial-copy {
  padding: 0;
  background: transparent;
}

article .milling-entry .milling-methods .milling-panels {
  margin: 0;
  padding: 0;
  max-width: none;
}

article .milling-entry .milling-methods .editorial-grid img {
  width: 100%;
  height: auto;
  max-height: none;
}

@media (max-width: 1100px) {
  article .milling-entry .milling-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 850px) {
  article .milling-entry .milling-methods {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Rolling page: matched photo pair, compact aluminium image and balanced project grid. */
article .entry .valcovka-emphasis {
  font-weight: 600;
}

article .entry .valcovka-pair a {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

article .entry .valcovka-pair img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

article .entry .valcovka-pair img[src$="/04.webp"] {
  object-position: 50% 65%;
}

article .entry .valcovka-aluminum {
  width: 100%;
  margin-top: 76px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 450px);
}

article .entry .valcovka-aluminum .editorial-copy p {
  font-size: 19px;
  line-height: 1.75;
}

article .entry .valcovka-projects {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}

.valcovka-projects-stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

/* Independent, optional analytics consent. */
.analytics-banner[hidden] { display: none !important; }
.analytics-banner {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 1100;
  box-sizing: border-box;
  width: min(540px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid #454b50;
  border-radius: 12px;
  background: #171e24;
  color: #f1f3f4;
  box-shadow: 0 8px 36px #0008;
  font-size: 15px;
  line-height: 1.55;
}
.analytics-banner p { margin: 0 0 14px; }
.analytics-banner a { color: #f1939b; text-decoration: underline; }
.analytics-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.analytics-actions button {
  appearance: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #68717a;
  border-radius: 7px;
  background: #242c33;
  color: #f4f5f6;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.analytics-actions button:hover { background: #343d45; }
.analytics-settings {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.analytics-actions button:focus-visible,
.analytics-settings:focus-visible { outline: 2px solid #f1939b; outline-offset: 3px; }
@media (max-width: 480px) {
  .analytics-banner { inset: auto 10px 10px; width: auto; padding: 16px; }
  .analytics-actions button { flex: 1 1 120px; }
}

article .entry .valcovka-projects img {
  width: 100%;
  height: auto;
  max-height: none;
}

@media (max-width: 850px) {
  article .entry .valcovka-aluminum,
  article .entry .valcovka-projects {
    grid-template-columns: minmax(0, 1fr);
  }

  article .entry .valcovka-aluminum > .editorial-grid {
    width: min(100%, 450px);
    justify-self: center;
  }

  article .entry .valcovka-aluminum {
    margin-top: 44px;
  }
}
