/* dickhddailyweb.com · Patch Bay
   Rack black, label beige, amber patch marks. Square geometry except the
   jack rings and the six screws; nothing decorative crosses the photographs. */

:root {
  --rack: #1b1a17;
  --label: #e8e3d5;
  --gray: #9a9c99;
  --accent: #d08a2e;
  --panel: #2a2d30;
  --jack: #4a4f54;
  --line: #33363a;
  --display: 'Agdasima', 'Arial Narrow', Arial, sans-serif;
  --body: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--rack);
  color: var(--label);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 18px; }

.shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--label); color: var(--rack); padding: 10px 14px; z-index: 30;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 0; flex-wrap: wrap;
}

.brand {
  font-family: var(--display); font-weight: 700; font-size: 27px;
  line-height: 1; letter-spacing: 0.055em; text-transform: uppercase;
  text-decoration: none; color: var(--label);
}
.brand:hover { color: var(--accent); }

.age {
  font-size: 10px; line-height: 1; letter-spacing: 0.08em;
  border: 1px solid var(--jack); color: var(--gray); padding: 4px 5px 3px;
}

.main-nav {
  margin-left: auto; display: flex; align-items: center;
  gap: 22px; flex-wrap: wrap;
}

.main-nav a {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--label); padding: 7px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--label); }

.btn {
  display: inline-block; background: var(--accent); color: var(--rack);
  border: 1px solid var(--accent); padding: 13px 20px; line-height: 1.1;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: transparent; border-color: var(--accent); color: var(--accent); }

/* the 0-1-1 nav rule outranks .btn, so the button states are written out */

.main-nav a.btn {
  color: var(--rack); background: var(--accent); border: 1px solid var(--accent);
  padding: 13px 20px;
}
.main-nav a.btn:hover {
  color: var(--accent); background: transparent; border-color: var(--accent);
}

/* hero */

.hero { padding: 54px 0 58px; border-bottom: 1px solid var(--line); }

.hero-top {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 24px; align-items: end; margin-bottom: 26px;
}

.hero-title { grid-column: 1 / span 6; }
.hero-side { grid-column: 7 / span 4; padding-bottom: 4px; }

.kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: 76px;
  line-height: 0.94; letter-spacing: 0.005em; text-transform: uppercase;
  margin: 0;
}
.hero h1 span { display: block; }
:lang(de) .hero h1 { font-size: 70px; }

.lede {
  max-width: 34ch; font-size: 17px; line-height: 1.66;
  color: var(--label); margin: 0 0 22px;
}

/* patch panel */

.patch-panel {
  display: grid; grid-template-columns: 4fr 6fr; gap: 40px;
  background: var(--panel); border: 1px solid var(--jack);
  padding: 24px; align-items: center;
}

.jack-bay { position: relative; min-height: 500px; }
.bay-label {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); margin: 0; white-space: nowrap;
}
.jack-grid {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; grid-template-columns: repeat(3, 24px);
  gap: 58px 96px; padding-bottom: 26px;
}
.jack {
  width: 24px; height: 24px; border: 1px solid var(--jack);
  border-radius: 50%; position: relative; background: var(--panel);
}
.jack::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--rack);
}
.jack-grid .jack:nth-child(n + 10)::after {
  content: ""; position: absolute; left: 50%; top: 23px;
  width: 1px; height: 25px; background: var(--jack);
}
.bus {
  position: absolute; left: 12%; right: 12%; bottom: 90px;
  height: 1px; background: var(--jack);
}
.route-line {
  position: absolute; right: calc(50% - 132px); top: calc(50% - 123px); bottom: 90px;
  width: 1px; background: var(--jack);
}
.route-line::before {
  content: ""; position: absolute; left: -12px; top: 0;
  width: 12px; height: 1px; background: var(--jack);
}

.photo-bay { position: relative; width: 520px; max-width: 100%; margin-left: auto; }

.ch-label {
  height: 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: var(--label); color: var(--rack);
  padding: 0 10px; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
}

.photo-frame { border: 1px solid var(--jack); background: var(--rack); line-height: 0; }
.photo-frame img { width: 520px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; }

.screw {
  position: absolute; width: 6px; height: 6px; border: 1px solid var(--gray);
  border-radius: 50%; background: var(--panel); z-index: 2;
}
.screw::after {
  content: ""; position: absolute; left: 0; top: 2px; width: 4px; height: 1px;
  background: var(--gray);
}
.s-tl { left: -4px; top: 24px; }
.s-tr { right: -4px; top: 24px; }
.s-bl { left: -4px; bottom: -4px; }
.s-br { right: -4px; bottom: -4px; }

/* sections */

.section { padding: 46px 0 0; }

.section-head {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin: 0 0 24px;
}
.sec-num {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; color: var(--accent);
}
.sec-title {
  font-family: var(--display); font-weight: 700; font-size: 30px;
  line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin: 0;
}
.sec-rule { flex: 1 1 auto; }

/* 01 partners */

.partners {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--jack); background: var(--panel);
}
.partner {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px;
  align-items: center; padding: 16px 16px 0; min-height: 196px;
  text-decoration: none; border-right: 1px solid var(--jack);
  border-bottom: 1px solid var(--jack);
}
.partner:nth-child(3n) { border-right: 0; }
.partner:nth-child(n + 4) { border-bottom: 0; }

.p-jacks { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.p-jack {
  width: 16px; height: 16px; border: 1px solid var(--jack);
  border-radius: 50%; position: relative;
}
.p-jack::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  border-radius: 50%; background: var(--rack);
}

.p-logo {
  display: block; width: 266px; max-width: 100%; justify-self: center;
  padding: 8px; border: 1px solid var(--jack); background: var(--rack);
}
.p-logo img {
  width: 250px; max-width: 100%; height: auto;
  aspect-ratio: 5 / 3; object-fit: contain;
}

.p-strip {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
  min-height: 22px; margin: 14px -16px 0; padding: 0 16px;
  border-top: 1px solid var(--jack); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray);
}
.p-num { color: var(--accent); }
.partner:hover .p-name { color: var(--accent); }

/* 02 quick profile */

.channel-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 160px;
  border: 1px solid var(--jack); background: var(--panel);
}
.ch-fields { padding: 2px 24px; }
.ch-row {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px;
  padding: 13px 0; border-bottom: 1px dotted var(--jack);
}
.ch-row:last-child { border-bottom: 0; }
.ch-k {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray);
}
.ch-v { font-size: 15px; color: var(--label); }

.id-bay {
  border-left: 1px solid var(--jack); padding: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.id-card {
  width: 120px; height: 120px; border: 1px solid var(--jack);
  padding: 4px; background: var(--rack);
}
.id-card img { width: 112px; height: 112px; }
.serial {
  font-size: 10px; letter-spacing: 0.14em; color: var(--gray);
  margin: 10px 0 0; text-transform: uppercase;
}

/* 03 about */

.about-grid {
  display: grid; grid-template-columns: minmax(0, 52%) 1px minmax(0, 40%);
  gap: 32px; justify-content: space-between; align-items: start;
}
.about-rule { background: var(--jack); height: 100%; min-height: 260px; }
.about-text { max-width: 56ch; }
.about-text p { margin: 0 0 18px; }

.spec-box { border: 1px solid var(--jack); background: var(--panel); padding: 18px; }
.spec-box h3 {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
  margin: 0 0 12px;
}
.spec-box dl { display: grid; grid-template-columns: 78px minmax(0, 1fr); margin: 0; }
.spec-box dt {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); padding: 10px 0; border-top: 1px dotted var(--jack);
}
.spec-box dd {
  margin: 0; font-size: 14px; padding: 8px 0; border-top: 1px dotted var(--jack);
}

.about-wide {
  width: 560px; max-width: 100%; margin: 30px 0 0;
  border: 1px solid var(--jack); line-height: 0;
}
.about-wide img { width: 560px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* 04 rack */

.rack { border-top: 1px solid var(--jack); border-bottom: 1px solid var(--jack); }
.rack-unit {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr);
  align-items: center; min-height: 72px;
  border-left: 1px solid var(--jack); border-right: 1px solid var(--jack);
  border-bottom: 1px solid var(--line);
}
.rack-unit:last-child { border-bottom: 0; }
.ru-slot {
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  padding-left: 8px; border-right: 1px solid var(--jack);
}
.ru-id { font-size: 10px; letter-spacing: 0.14em; color: var(--gray); }
.ru-year {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  line-height: 1; color: var(--label); letter-spacing: 0.02em;
}
.ru-text { font-size: 16px; padding: 0 20px; }
.dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--jack); }
.d1 { left: 5px; top: 5px; }
.d2 { right: 5px; top: 5px; }
.d3 { left: 5px; bottom: 5px; }
.d4 { right: 5px; bottom: 5px; }

/* 05 gallery */

.gallery { max-width: 1040px; }
.g-wide { margin: 0; border: 1px solid var(--jack); line-height: 0; }
.g-wide img { width: 1040px; max-width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.g-row { display: grid; grid-template-columns: repeat(3, 300px); gap: 16px; margin-top: 16px; }
.g-row figure { margin: 0; border: 1px solid var(--jack); line-height: 0; }
.g-row img { width: 300px; max-width: 100%; height: auto; }

/* 06 social */

.social-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto);
  grid-auto-flow: column; gap: 0 48px; border-top: 1px solid var(--jack);
}
.social-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px;
  padding: 12px 0; border-bottom: 1px dotted var(--jack);
  text-decoration: none; color: var(--label);
}
.social-platform {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray);
}
.social-handle { font-size: 15px; }
.social-row:hover .social-handle { color: var(--accent); }

/* footer */

.site-footer { margin-top: 70px; border-top: 1px solid var(--jack); }
.footer-rail { position: relative; height: 4px; background: var(--panel); }
.footer-rail i { position: absolute; top: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--gray); }
.footer-rail i:nth-child(1) { left: 6%; }
.footer-rail i:nth-child(2) { left: 23%; }
.footer-rail i:nth-child(3) { left: 40%; }
.footer-rail i:nth-child(4) { left: 57%; }
.footer-rail i:nth-child(5) { left: 74%; }
.footer-rail i:nth-child(6) { left: 91%; }

.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  align-items: start; padding: 26px 0 30px;
}
.footer-brand .brand { font-size: 21px; }
.footer-tagline {
  font-size: 12.5px; line-height: 1.55; color: var(--gray);
  margin: 7px 0 0; max-width: 30ch;
}
.language-nav { font-size: 12px; line-height: 1.9; color: var(--gray); }
.lang-link { text-decoration: none; color: var(--gray); }
.lang-link:hover { color: var(--accent); }
.lang-link.is-current { color: var(--label); }
.sep { margin: 0 4px; color: var(--jack); }
.footer-legal { font-size: 12px; color: var(--gray); margin: 0; text-align: right; }

/* subpages */

.page-strip {
  display: flex; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--line); padding: 14px 0;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
}
.page-head {
  padding: 54px 0 32px; border-bottom: 1px solid var(--line);
  margin-bottom: 38px; max-width: 980px;
}
.page-head h1 {
  font-family: var(--display); font-weight: 700; font-size: 64px;
  line-height: 0.98; letter-spacing: 0.015em; text-transform: uppercase;
  margin: 0 0 16px;
}
.page-head .lede { max-width: 62ch; margin: 0; }
.page-body { padding-bottom: 12px; }

.prose { max-width: 64ch; }
.prose h2 {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase;
  margin: 34px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 64ch; }

.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }

.rail { border: 1px solid var(--jack); background: var(--panel); padding: 18px; }
.rail-head {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--jack);
  padding-bottom: 10px; margin-bottom: 4px;
}
.rail dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); margin: 0; }
.rail dt {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray); padding: 8px 0; border-bottom: 1px dotted var(--jack);
}
.rail dd { margin: 0; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dotted var(--jack); }
.rail-foot { font-size: 10px; line-height: 1.5; color: var(--gray); margin: 12px 0 0; }

.log { max-width: 1000px; }
.log-row {
  display: grid; grid-template-columns: 92px 58px minmax(0, 1fr); gap: 16px;
  align-items: baseline; padding: 14px 0; border-top: 1px solid var(--jack);
}
.log-row:last-child { border-bottom: 1px solid var(--jack); }
.log-year {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  color: var(--label); letter-spacing: 0.04em;
}
.log-code { font-size: 10px; letter-spacing: 0.14em; color: var(--gray); }
.log-text { font-size: 16px; }

.table-wrap { overflow-x: auto; margin: 18px 0 28px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--label); font-weight: 500;
}
.table td { padding: 11px 12px; border-bottom: 1px dotted var(--jack); vertical-align: top; }
.table td:first-child { color: var(--label); }
.table .win { color: var(--accent); font-size: 10px; letter-spacing: 0.1em; }
.table .nom { color: var(--gray); font-size: 10px; letter-spacing: 0.1em; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item {
  position: relative; border: 1px solid var(--jack); background: var(--panel);
  padding: 18px 20px;
}
.faq-item::after {
  content: ""; position: absolute; right: 14px; top: 14px;
  width: 8px; height: 8px; border: 1px solid var(--jack); border-radius: 50%;
}
.faq-q {
  font-family: var(--display); font-weight: 700; font-size: 21px;
  line-height: 1.15; letter-spacing: 0.01em; margin: 0 24px 8px 0;
}
.faq-a { font-size: 14.5px; line-height: 1.65; color: var(--label); margin: 0; }

/* 404 */

.error-wrap {
  padding: 86px 0 56px;
  display: grid; grid-template-columns: 380px minmax(0, 1fr);
  gap: 60px; align-items: center;
}
.error-jacks {
  display: grid; grid-template-columns: repeat(3, 24px);
  gap: 46px 78px; justify-content: center;
}
.error-code {
  font-family: var(--display); font-weight: 700; font-size: 118px;
  line-height: 0.9; letter-spacing: 0.02em; color: var(--accent); margin: 0 0 10px;
}
.error-copy { max-width: 44ch; margin: 0 0 22px; }
.error-link { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }
.error-link:hover { color: var(--accent); }

/* responsive */

@media (max-width: 1100px) {
  .shell { width: calc(100% - 40px); }
  .hero h1 { font-size: 64px; }
  .hero-side { grid-column: 7 / span 5; }
  .patch-panel { grid-template-columns: minmax(0, 1fr) 440px; gap: 28px; padding: 20px; }
  .photo-bay { width: 440px; }
  .photo-frame img { width: 440px; }
  .ch-label { height: 26px; }
  .jack-bay { min-height: 440px; }
  .jack-grid { gap: 46px 74px; }
  .bus { bottom: 72px; }
  .route-line { top: calc(50% - 99px); bottom: 72px; }
  .jack-grid .jack:nth-child(n + 10)::after { height: 31px; }
  .about-grid { grid-template-columns: minmax(0, 1fr) 1px 320px; }
  .g-row { grid-template-columns: repeat(3, 1fr); }
  .g-row img { width: 100%; }
}

@media (max-width: 1024px) {
  .jack-grid { gap: 46px 74px; padding-bottom: 0; }
  .jack-grid .jack:nth-child(n + 7) { display: none; }
  .jack-grid .jack:nth-child(n + 10)::after { display: none; }
  .jack-grid .jack:nth-child(4)::after,
  .jack-grid .jack:nth-child(5)::after,
  .jack-grid .jack:nth-child(6)::after {
    content: ""; position: absolute; left: 50%; top: 23px;
    width: 1px; height: 26px; background: var(--jack);
  }
  .bus { left: 28%; right: 28%; bottom: 147px; }
  .route-line { display: none; }
}

@media (max-width: 1150px) {
  .partners { grid-template-columns: 1fr 1fr; }
  .partner:nth-child(3n) { border-right: 1px solid var(--jack); }
  .partner:nth-child(2n) { border-right: 0; }
  .partner:nth-child(n + 4) { border-bottom: 1px solid var(--jack); }
  .partner:nth-child(n + 5) { border-bottom: 0; }
  .social-grid { gap: 0 28px; }
  .social-row { grid-template-columns: 120px minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 10.5px; letter-spacing: 0.1em; }
  .hero { padding: 42px 0 46px; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-title, .hero-side { grid-column: 1 / -1; }
  .hero h1 { font-size: 58px; }
  .patch-panel { grid-template-columns: 1fr; gap: 26px; }
  .photo-bay { order: -1; margin: 0 auto; width: 86vw; max-width: 440px; }
  .photo-frame img { width: 100%; }
  .jack-bay { min-height: 210px; }
  .bay-label { top: 6px; }
  .jack-grid { grid-template-columns: repeat(3, 24px); gap: 38px 70px; padding-bottom: 0; }
  .jack-grid .jack:nth-child(n + 7) { display: none; }
  .jack-grid .jack:nth-child(n + 10)::after { display: none; }
  .jack-grid .jack:nth-child(4)::after,
  .jack-grid .jack:nth-child(5)::after,
  .jack-grid .jack:nth-child(6)::after {
    content: ""; position: absolute; left: 50%; top: 23px;
    width: 1px; height: 37px; background: var(--jack);
  }
  .bus { left: 28%; right: 28%; bottom: 26px; }
  .route-line { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-rule { display: none; }
  .about-text { max-width: 64ch; }
  .spec-box dl { grid-template-columns: 110px minmax(0, 1fr); }
  .about-wide { width: 100%; }
  .about-wide img { width: 100%; }
  .bio-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-legal { text-align: left; }
  .error-wrap { grid-template-columns: 1fr; gap: 32px; padding: 60px 0 40px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { padding: 14px 0; }
  .brand { font-size: 23px; }
  .main-nav { width: 100%; margin-left: 0; gap: 12px 16px; }
  .main-nav a { padding: 4px 0; }
  .main-nav a.btn { padding: 10px 14px; }
  .hero h1 { font-size: 52px; }
  .hero .lede { max-width: none; }
  .patch-panel { padding: 16px; }
  .photo-bay { width: 86vw; max-width: min(440px, 100%); }
  .ch-label { font-size: 9px; letter-spacing: 0.1em; }
  .jack-bay { min-height: 150px; }
  .jack-grid { grid-template-columns: repeat(4, 24px); gap: 0 52px; }
  .jack-grid .jack:nth-child(n + 5) { display: none; }
  .jack-grid .jack:nth-child(n + 4)::after { display: none; }
  .bus { display: none; }
  .partners { grid-template-columns: 1fr; }
  .partner, .partner:nth-child(2n), .partner:nth-child(3n) { border-right: 0; }
  .partner:nth-child(n + 5) { border-bottom: 1px solid var(--jack); }
  .partner:last-child { border-bottom: 0; }
  .channel-card { grid-template-columns: 1fr; }
  .id-bay { border-left: 0; border-top: 1px solid var(--jack); flex-direction: row; gap: 18px; }
  .serial { margin: 0; }
  .rack-unit { min-height: 64px; grid-template-columns: 56px minmax(0, 1fr); }
  .ru-text { font-size: 15px; padding: 0 14px; }
  .g-row { grid-template-columns: 1fr; }
  .social-grid {
    grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row;
  }
  .social-row { grid-template-columns: 130px minmax(0, 1fr); }
  .page-head { padding: 38px 0 26px; }
  .page-head h1 { font-size: 46px; }
  .log-row { grid-template-columns: 72px 48px minmax(0, 1fr); gap: 10px; }
  .log-year { font-size: 21px; }
  .log-text { font-size: 15px; }
  .table { font-size: 13px; }
  .table th, .table td { padding: 9px 8px; }
  .error-code { font-size: 84px; }
  .error-jacks { grid-template-columns: repeat(3, 24px); gap: 36px 60px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 44px; }
  .page-head h1 { font-size: 40px; }
  .ru-text { font-size: 14.5px; }
}
