:root {
  color-scheme: light;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: calc(100% - clamp(32px, 6.4vw, 128px));
  max-width: 1480px;
  min-width: 0;
  min-height: 100svh;
  margin: 0 auto;
  background: transparent;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url('assets/mi-watermark-pattern.svg');
  background-repeat: repeat;
  background-size: 640px 640px;
  opacity: .10;
  filter: grayscale(1);
  content: '';
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: #333;
  font: 10px/1.5 'Courier New', monospace;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.header-dot { flex: 0 0 5px; height: 5px; border-radius: 50%; background: #111; }
.header-slash { margin: 0 5px; color: #777; }
.site-shell { display: grid; flex: 1; padding: 12px 0 20px; }

.brand-split {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 6px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 0 10px 0 -7px #fff, 0 11px 0 -7px #a4a4a4,
    0 15px 0 -10px #fff, 0 16px 0 -10px #bbb,
    0 22px 28px -20px #666;
}

.brand-split::after {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 1px;
  background: #c1c1c1;
  content: '';
  pointer-events: none;
}

.brand-panel {
  position: relative;
  display: flex;
  min-width: 0;
  justify-content: center;
  padding: clamp(22px, 2.2vw, 32px) clamp(20px, 3vw, 44px) 20px;
  isolation: isolate;
  background: #050505;
  color: #eee;
  color-scheme: dark;
}

.brand-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 90%, #111);
  content: '';
  pointer-events: none;
}

.brand-panel--networks::before { background: linear-gradient(90deg, #111, transparent 10%); }
.brand-content { display: flex; flex-direction: column; width: 100%; max-width: 580px; }

.brand-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #aaa;
  font: 10px/1.5 'Courier New', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-index::after { width: 28px; height: 1px; background: #555; content: ''; }

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto clamp(30px, 3vw, 46px);
  mix-blend-mode: screen;
}

.service-list { margin: 0 0 24px; padding: 0; list-style: none; }

.service-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  min-height: clamp(64px, 5vw, 78px);
  padding: 17px 0;
  border-top: 1px solid #343434;
  color: #eee;
  font-size: clamp(14px, 1.35vw, 21px);
  font-weight: 400;
  letter-spacing: -.35px;
  line-height: 1.4;
  transition: background-color 180ms ease;
}

.service-list li:last-child { border-bottom: 1px solid #343434; }
.service-icon { width: 22px; height: 22px; color: #bdbdbd; transition: color 180ms ease, transform 180ms ease; }

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: #929292;
  font: 9px/1.5 'Courier New', monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .service-list li:hover { background: rgb(255 255 255 / 3%); }
  .service-list li:hover .service-icon { color: #fff; transform: translateY(-2px); }
}

.site-footer {
  display: grid;
  place-items: center;
  padding: 30px 16px 32px;
  background: transparent;
  text-align: center;
}

.contact { display: grid; justify-items: center; gap: 7px; }
.contact a { color: #111; font-size: 19px; font-weight: 400; letter-spacing: .3px; text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact a:focus-visible { outline: 2px solid #111; outline-offset: 6px; border-radius: 2px; }
.contact-time { margin-bottom: 4px; color: #555; font: 10px/1.5 'Courier New', monospace; letter-spacing: 2px; }
.contact-email { display: block; max-width: 100%; height: auto; filter: grayscale(1) invert(1); }

@media (max-width: 44rem), (orientation: portrait) and (max-width: 64rem) {
  body { width: calc(100% - 32px); }
  .site-header { font-size: 9px; letter-spacing: 1.3px; }
  .site-shell { padding-top: 10px; }
  .brand-split { grid-template-columns: 1fr; gap: 10px; }
  .brand-split::after { display: none; }
  .brand-panel { padding: 22px clamp(18px, 5vw, 40px) 18px; }
  .brand-panel::before, .brand-panel--networks::before { background: linear-gradient(90deg, transparent 90%, #111); }
  .brand-content { max-width: 540px; }
  .brand-index { margin-bottom: 18px; }
  .brand-logo { margin-bottom: 30px; }
  .service-list li { min-height: 66px; font-size: clamp(15px, 3.5vw, 19px); }
}

@media (prefers-reduced-motion: reduce) {
  .service-list li, .service-icon { transition: none; }
}
