.page-content {
  flex: 1;
  background: repeating-linear-gradient(
    to bottom,
    #000 0 12px,
    #141414 12px 13px
  );
}

.statement {
  padding-block-end: 86px;
  background: transparent;
}

.page-end {
  flex: none;
  block-size: 72px;
  border-block-start: 6px double #670000;
  background: repeating-linear-gradient(
    to bottom,
    #000 0 12px,
    #141414 12px 13px
  );
}

.personal-story {
  border-block-start: 1px solid #282726;
  padding: 48px 32px 64px;
  background: #100f0f;
  color: #cecdc3;
}

.story-inner {
  max-inline-size: 672px;
  margin-inline: auto;
}

.page-content .story-inner {
  transform: translateX(20px);
}

.personal-intro {
  margin-block-end: 40px;
  color: #f2f0e5;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.personal-intro p {
  margin: 0;
}

.work-story {
  border-block-start: 1px solid #403e3c;
  padding-block: 28px 32px;
}

.work-story h2 {
  margin: 0;
  color: #f2f0e5;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.story-detail {
  margin: 8px 0 16px;
  color: #fe9900;
  font-size: 12px;
  line-height: 1.6;
}

.work-story > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.background-note {
  border-block-start: 1px solid #403e3c;
  padding-block-start: 28px;
  font-size: 15px;
  line-height: 1.7;
}

.background-note h2 {
  margin: 0 0 16px;
  color: #fe9900;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.background-note p {
  margin: 0;
}

.background-note p + p {
  margin-block-start: 12px;
}

.contact-section {
  margin-block-start: 36px;
  border-block-start: 1px solid #403e3c;
  padding-block-start: 28px;
}

.contact-section h2 {
  margin: 0;
  color: #f2f0e5;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.contact-section > p {
  margin: 12px 0 22px;
  font-size: 15px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 18px;
  font-size: 15px;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: grid;
  gap: 8px;
  min-inline-size: 0;
}

.contact-field label {
  color: #a3a19a;
  font-size: 12px;
  line-height: 1.5;
}

.contact-field input,
.contact-field textarea {
  box-sizing: border-box;
  inline-size: 100%;
  min-inline-size: 0;
  border: 1px solid #403e3c;
  border-radius: 4px;
  padding: 10px 12px;
  background: #1c1b1a;
  color: #f2f0e5;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.contact-field input {
  min-block-size: 44px;
}

.contact-field textarea {
  min-block-size: 140px;
  resize: vertical;
}

.contact-field input:hover,
.contact-field textarea:hover {
  border-color: #575653;
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  border-color: #fe9900;
  outline: 2px solid #fe9900;
  outline-offset: 2px;
}

.contact-actions {
  display: flex;
  align-items: center;
}

.contact-actions button {
  min-block-size: 40px;
  border: 1px solid #403e3c;
  border-radius: 4px;
  padding: 9px 16px;
  background: #282726;
  color: #a3a19a;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.contact-actions button:disabled {
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .personal-story {
    padding: 32px 24px 44px;
  }

  .page-content .story-inner {
    transform: translateX(8px);
  }

  .personal-intro {
    margin-block-end: 32px;
  }

  .work-story {
    padding-block: 26px 28px;
  }

  .contact-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-actions {
  flex-wrap: wrap;
  gap: 12px 20px;
}

.contact-actions button {
  min-inline-size: 130px;
  color: #f2f0e5;
  cursor: pointer;
}

.contact-actions button:hover:not(:disabled) {
  border-color: #fe9900;
  background: #343331;
}

.contact-actions button:focus-visible,
.contact-actions a:focus-visible {
  outline: 2px solid #fe9900;
  outline-offset: 3px;
}

.contact-actions button:disabled {
  color: #a3a19a;
  opacity: 0.7;
}

.contact-form[aria-busy="true"] button {
  cursor: wait;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  color: #a3a19a;
  font-size: 12px;
  line-height: 1.5;
  text-underline-offset: 4px;
}

.contact-actions a:hover {
  color: #fe9900;
}

.contact-actions a[hidden] {
  display: none;
}

.contact-status,
.contact-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-status {
  min-block-size: 18px;
  color: #a3a19a;
}

.contact-error,
.contact-status[data-state="error"] {
  color: #ffb5a8;
}

.contact-field [aria-invalid="true"] {
  border-color: #ffb5a8;
}

.contact-honeypot[hidden],
.contact-error[hidden] {
  display: none;
}

.contact-fallback {
  flex: 1;
}

.contact-fallback h2 {
  margin: 0;
  color: #f2f0e5;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.contact-fallback .story-inner > p {
  margin: 12px 0 22px;
  font-size: 15px;
  line-height: 1.7;
}

.contact-fallback a {
  color: #fe9900;
  text-underline-offset: 4px;
}
