* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000089;
  min-height: 100vh;
  font-family: "IBM Plex Mono", monospace;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* background grid image */
.bg {
  position: fixed;
  inset: 0;
  background-image: url("../images/grid.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}

/* main content wrapper */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 40px;
  width: min(680px, 90vw);
}

/* text block container */
.text-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* each line stretches full width with space-between */
.line {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.name {
  font-size: 52px;
  font-weight: 400;
  color: #ff4f00;
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.descriptor {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  padding-top: 6px;
}

/* contact email button */
.contact-trigger {
  font-size: 11px;
  font-weight: 300;
  color: #ff4f00;
  letter-spacing: 0.1em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: "IBM Plex Mono", monospace;
  transition: opacity 0.2s;
}

.contact-trigger:hover {
  opacity: 0.6;
}

/* contact form */
.form-wrap {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.form-wrap.visible {
  display: flex;
}

.form-wrap input,
.form-wrap textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  padding: 10px 12px;
  outline: none;
  letter-spacing: 0.04em;
  resize: none;
  transition: border-color 0.2s;
}

.form-wrap input::placeholder,
.form-wrap textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-wrap input:focus,
.form-wrap textarea:focus {
  border-color: #ff4f00;
}

.form-wrap button[type="submit"] {
  background: none;
  border: 1px solid #ff4f00;
  color: #ff4f00;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}

.form-wrap button[type="submit"]:hover {
  background: #ff4f00;
  color: #000089;
}

/* success message */
.success {
  display: none;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

/* footer */
.bottom {
  position: fixed;
  bottom: 32px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
}
