:root {
  --background: #000;
  --foreground: #fff;
  --ap-blue: #4346ff;
  --ap-blue-soft: rgba(67, 70, 255, 0.5);
  --ap-blue-corner: rgba(67, 70, 255, 0.7);
  --ap-blue-italic: #4144f1;
  --ap-red: #ff4346;
}

* { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }

html { background-color: var(--background); color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100dvh;
  font-family: "Sometype Mono", monospace;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

img, svg, canvas { display: block; max-width: 100%; }
button { background: transparent; color: inherit; font: inherit; cursor: pointer; }
strong { font-weight: 700; }

/* Dither background */
.dither-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.dither-container canvas { display: block; width: 100%; height: 100%; }

.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  pointer-events: none;
}

/* Page */
.page {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 108px 32px 96px;
}

@media (max-width: 640px) {
  .page { padding: 88px 20px 96px; }
}

/* Logo */
.logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 147px;
  z-index: 40;
  pointer-events: none;
  opacity: 0.7;
  animation: fadeInDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (max-width: 640px) {
  .logo { top: 32px; width: 120px; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to   { opacity: 0.7; transform: translate(-50%, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUpSmall {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-bottom: 64px;
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-eyebrow {
  font-family: "Sometype Mono", monospace;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 4.8px;
  line-height: 1.4;
  margin-bottom: 28px;
}

.hero-stencil {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-stencil-title {
  width: 402px;
  max-width: 100%;
  margin-bottom: 28px;
}

.hero-stencil-important {
  width: 188px;
  max-width: 100%;
  margin-bottom: 28px;
}

.hero-copy {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-copy p {
  font-family: "Sometype Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-eyebrow { font-size: 16px; letter-spacing: 3.2px; margin-bottom: 22px; }
  .hero-stencil-title { width: 280px; margin-bottom: 22px; }
  .hero-stencil-important { width: 150px; margin-bottom: 22px; }
  .hero-copy p { font-size: 11px; }
  .hero { padding-bottom: 40px; }
}

/* Accordions */
.accordions {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1px;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUpSmall 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.acc-item.open { border-color: var(--ap-blue-soft); }

/* Corner brackets */
.corners { position: absolute; inset: 0; pointer-events: none; }
.corner { position: absolute; }
.corner span { display: block; background-color: rgba(255, 255, 255, 0.22); }
.acc-item.open .corner span { background-color: rgba(67, 70, 255, 0.5); }
.corner.tl { top: 0; left: 0; }
.corner.tr { top: 0; right: 0; }
.corner.bl { bottom: 0; left: 0; }
.corner.br { bottom: 0; right: 0; }
.corner .h { width: 12px; height: 1px; }
.corner .v { width: 1px; height: 12px; }
.corner.tr .h, .corner.br .h { margin-left: auto; }
.corner.tr .v, .corner.br .v { margin-left: auto; }

.acc-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 17px 22px 24px;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 640px) {
  .acc-button { padding: 18px; }
}

.acc-button-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
@media (max-width: 640px) {
  .acc-button-left { gap: 14px; }
}

.acc-index {
  font-family: "Sometype Mono", monospace;
  font-size: 11px;
  color: var(--ap-blue);
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
@media (max-width: 640px) { .acc-index { font-size: 10px; } }

.acc-sep {
  display: block;
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.15);
}

.acc-title {
  font-family: "Sometype Mono", monospace;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .acc-title { font-size: 13px; letter-spacing: 2.8px; }
}

.acc-plus {
  font-family: "Sometype Mono", monospace;
  font-size: 16px;
  color: var(--ap-blue);
  letter-spacing: 0;
  line-height: 1;
  width: 16px;
  text-align: center;
  display: inline-block;
}
@media (max-width: 640px) { .acc-plus { font-size: 14px; width: 14px; } }

/* Accordion content */
.acc-content {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc-item.open .acc-content { grid-template-rows: 1fr; opacity: 1; }

.acc-content-inner { min-height: 0; }
.acc-divider { height: 1px; width: 100%; background-color: rgba(255, 255, 255, 0.1); }
.acc-body {
  padding: 26px 24px;
}
@media (max-width: 640px) {
  .acc-body { padding: 20px 18px; }
}

.acc-list { display: flex; flex-direction: column; gap: 12px; }
.acc-list.tight { gap: 12px; }

/* KV rows (LOCATION section) */
.kv-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
@media (max-width: 640px) {
  .kv-row { flex-direction: column; gap: 4px; }
}
.kv-label {
  font-family: "Sometype Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  min-width: 120px;
}
@media (max-width: 640px) {
  .kv-label { font-size: 10px; min-width: auto; }
}
.kv-value {
  font-family: "Sometype Mono", monospace;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  line-height: 1.6;
}
@media (max-width: 640px) { .kv-value { font-size: 12px; } }
.kv-value .dim { color: rgba(255, 255, 255, 0.75); }

/* Bullet list row */
.dt-row { display: flex; align-items: flex-start; gap: 12px; }
.dt-bullet {
  font-family: "Sometype Mono", monospace;
  font-size: 12px;
  color: var(--ap-blue);
  line-height: 1.5;
  flex-shrink: 0;
  padding-top: 2px;
}
.dt-text {
  font-family: "Sometype Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  line-height: 1.8;
}
@media (max-width: 640px) { .dt-text { font-size: 11px; } }
.dt-text.bold { font-weight: 700; }

/* Inline link */
.lnk {
  color: var(--ap-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
.lnk:hover { opacity: 0.7; }
.note .lnk { color: var(--ap-blue-italic); }

/* Italic blue note */
.note {
  font-family: "Sometype Mono", monospace;
  font-style: italic;
  font-size: 10px;
  color: var(--ap-blue-italic);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  line-height: 1.65;
}
.note + * { margin-top: 0; }

/* Sub-heading (REQUIRED / GENERAL / etc) */
.ca-row { display: flex; align-items: center; gap: 10px; }
.ca-row.mt { margin-top: 22px; }
.ca-label {
  font-family: "Sometype Mono", monospace;
  font-weight: 700;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 3.2px;
  white-space: nowrap;
}
@media (max-width: 640px) { .ca-label { font-size: 10px; } }
.ca-line { flex: 1; height: 1px; background-color: rgba(255, 255, 255, 0.1); }

/* Paragraph block inside accordion (SAFETY intro, FINAL WORD) */
.lu-p {
  font-family: "Sometype Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  line-height: 1.85;
}
@media (max-width: 640px) { .lu-p { font-size: 11px; } }
.lu-p + .lu-p { margin-top: 12px; }
.lu-p + .ca-row { margin-top: 22px; }

/* "See you on the factory floor" stencil */
.see-you {
  width: 100%;
  max-width: 760px;
  margin-top: 64px;
  display: flex;
  justify-content: flex-start;
}
.see-you-stencil {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.see-you-text {
  display: none;
  font-family: "Sometype Mono", monospace;
  font-weight: 700;
  color: var(--ap-blue);
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 4px;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 0 1px var(--ap-blue);
}
@media (max-width: 640px) {
  .see-you { margin-top: 48px; }
  .see-you-text { font-size: 18px; letter-spacing: 2.4px; }
}

/* Footer */
.footer {
  width: 100%;
  max-width: 760px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Sometype Mono", monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 2px;
}
@media (max-width: 640px) {
  .footer { margin-top: 56px; font-size: 9px; }
}

/* Staggered entrance */
.acc-item:nth-child(1) { animation-delay: 0.20s; }
.acc-item:nth-child(2) { animation-delay: 0.27s; }
.acc-item:nth-child(3) { animation-delay: 0.34s; }
.acc-item:nth-child(4) { animation-delay: 0.41s; }
.acc-item:nth-child(5) { animation-delay: 0.48s; }
.acc-item:nth-child(6) { animation-delay: 0.55s; }
