:root{
  --chassis:  #12151A;
  --panel:    #1A1F27;
  --panel-hi: #212833;
  --edge:     #2E3742;
  --silk:     #C3CBD6;
  --silk-dim: #7C8798;
  --amber:    #FFB13B;
  --oxide:    #C2493D;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 5vw, 56px);
}

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

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

body{
  margin:0;
  background: var(--chassis);
  color: var(--silk);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  /* faint brushed-metal grain across the whole chassis */
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px);
}

a { color: inherit; }

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

.shell{
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) clamp(12px, 3vw, 24px) 48px;
}

/* ---------- the panel itself ---------- */
.panel{
  position: relative;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  border: 1px solid var(--edge);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 24px 60px -30px rgba(0,0,0,.9);
}

/* rack screws in the four corners */
.screw{
  position: absolute;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #495260, #191D24 70%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.05);
}
.screw::after{
  content:"";
  position:absolute; inset: 3px 2px;
  border-top: 1px solid rgba(0,0,0,.75);
  transform: rotate(-28deg);
}
.screw.tl{ top:11px; left:11px; }
.screw.tr{ top:11px; right:11px; }
.screw.bl{ bottom:11px; left:11px; }
.screw.br{ bottom:11px; right:11px; }

/* ---------- header rail ---------- */
.rail{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--edge);
}

.wordmark{
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0;
}
.wordmark span{ color: var(--amber); }

.status{
  display:flex;
  align-items:center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silk-dim);
}

/* signature: the indicator LEDs */
.led{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 10px 1px rgba(255,177,59,.55);
  animation: breathe 3.4s ease-in-out infinite;
}
.led.idle{ animation-delay: -1.1s; }
.led.slow{ animation-delay: -2.2s; }

@keyframes breathe{
  0%, 100%{ opacity: 1;   box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 10px 1px rgba(255,177,59,.55); }
  50%     { opacity: .42; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 4px 0 rgba(255,177,59,.25); }
}

/* access key — the way into the gated side */
.keyway{
  display:inline-flex;
  align-items:center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(255,177,59,.45);
  border-radius: 2px;
  background: rgba(255,177,59,.07);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.keyway:hover{
  background: rgba(255,177,59,.14);
  border-color: var(--amber);
}
.keyway svg{ width: 12px; height: 12px; }

/* ---------- hero ---------- */
.hero{
  padding: clamp(40px, 8vw, 84px) var(--gutter) clamp(36px, 6vw, 60px);
}

.hero h1{
  font-weight: 800;
  font-stretch: 70%;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .86;
  font-size: clamp(56px, 15vw, 148px);
  margin: 0 0 24px;
  color: #E7ECF3;
}
.hero h1 em{
  font-style: normal;
  display:block;
  color: var(--amber);
}

.hero p{
  max-width: 46ch;
  margin: 0;
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--silk);
}

.stripe{
  display:flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--edge);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silk-dim);
}
.stripe b{
  color: var(--silk);
  font-weight: 500;
}

/* ---------- rack units ---------- */
.units{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--edge);
}

.unit{
  padding: 30px var(--gutter) 38px;
  border-left: 1px solid var(--edge);
}
.unit:first-child{ border-left: 0; }

.unit h2{
  display:flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silk);
}
.u{
  color: var(--amber);
  border: 1px solid rgba(255,177,59,.35);
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 10px;
  letter-spacing: .1em;
}

.unit ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.unit li{
  padding: 10px 0;
  border-top: 1px dashed rgba(46,55,66,.85);
  font-size: 15px;
  line-height: 1.45;
}
.unit li:first-child{ border-top: 0; padding-top: 0; }
.unit li b{
  display:block;
  font-weight: 600;
  font-stretch: 88%;
  color: #E7ECF3;
}
.unit li span{
  color: var(--silk-dim);
  font-size: 14px;
}

/* ---------- ports row ---------- */
.ports{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px var(--gutter) 26px;
  border-top: 1px solid var(--edge);
}
.port{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: rgba(0,0,0,.22);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silk-dim);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.port::before{
  content:"";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--silk-dim);
  transition: background .18s ease, box-shadow .18s ease;
}
.port:hover{
  color: #E7ECF3;
  border-color: rgba(255,177,59,.5);
  background: rgba(255,177,59,.06);
}
.port:hover::before{
  background: var(--amber);
  box-shadow: 0 0 8px 1px rgba(255,177,59,.6);
}

/* ---------- spec plate ---------- */
.plate{
  display:flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5C6675;
}

/* ---------- responsive ---------- */
@media (max-width: 860px){
  .units{ grid-template-columns: 1fr; }
  .unit{ border-left: 0; border-top: 1px solid var(--edge); }
  .unit:first-child{ border-top: 0; }
  .screw{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  .led{ animation: none; }
  *{ transition-duration: .01ms !important; }
}
